- Getting Started with HYEGRO API
- User Guide
- Developer Guide
- HYEGRO Developer Docs
- HYEGRO CRM API v1.0
- Users
- Leads
- Contacts
- Accounts
- Products & Inventory
- Deals
- Quotations
- Orders
- Invoices
- Cases
- Activities & Tasks
- Search
- METADATA API
- Files & Attachments
Create Invoice Item
POST
https://backend.test-hyegro.com/invoices/{invoice_id}/items/
Request
Path Params
invoice_id
integer
Invoice Id
Query Params
schema
Schema
Any of
Body Params application/json
description
Description
Any of
quantity
Quantity
Any of
rate
Rate
Any of
tax
Tax
Any of
amount
Amount
Any of
product_id
Product Id
Any of
product_name
Product Name
Any of
unit_price
Unit Price
Any of
total_price
Total Price
Any of
discount_percentage
Discount Percentage
Any of
discounted_price
Discounted Price
Any of
Example
{
"description": "string",
"quantity": 0,
"rate": 0,
"tax": 0,
"amount": 0,
"product_id": 0,
"product_name": "string",
"unit_price": 0,
"total_price": 0,
"discount_percentage": 0,
"discounted_price": 0
}
Responses
🟢200OK
application/json
Body
description
Description
Any of
quantity
Quantity
Any of
rate
Rate
Any of
tax
Tax
Any of
amount
Amount
Any of
product_id
Product Id
Any of
product_name
Product Name
Any of
unit_price
Unit Price
Any of
total_price
Total Price
Any of
discount_percentage
Discount Percentage
Any of
discounted_price
Discounted Price
Any of
id
integer
Id
invoice_id
integer
Invoice Id
Example
{
"description": "string",
"quantity": "string",
"rate": "string",
"tax": "string",
"amount": "string",
"product_id": 0,
"product_name": "string",
"unit_price": "string",
"total_price": "string",
"discount_percentage": "string",
"discounted_price": "string",
"id": 0,
"invoice_id": 0
}
🟠422Parameter Error
Modified at 2025-04-14 16:23:20