Including Line Items in an Invoice

You can itemize invoices by including the line item fields in your request when you create, draft, and update an invoice.
Line items
are used to include information about your customers' purchases. Information can include product name, quantity, and price.
Line items are included in a request in the
lineItem[]
array request field.
You can include the line item fields in these requests:
These fields are required for each line item in your request:
These fields are optional for each line item in your request:
Example: Including Line Items
This excerpt from a request shows three valid line items.
{ "orderInformation": { "lineItems": [ { "productSku": "ABCD1234", "productName": "First line item's name", "quantity": "20", "unitPrice": "12.05", "discountAmount": "13.04", "taxAmount": "0.0", "taxRate": "0.0", "totalAmount": "247.86" }, { "productSku": "EFGH5678", "productName": "Second line item's name", "quantity": "20", "unitPrice": "12.05", "discountAmount": "13.04", "taxAmount": "0.0", "taxRate": "0.0", "totalAmount": "247.86" }, { "productSku": "IJKL9999", "productName": "Third line item's name", "quantity": "20", "unitPrice": "12.05", "discountAmount": "13.04", "taxAmount": "0.0", "taxRate": "0.0", "totalAmount": "247.86" } ] } }