Invoice line items
AI agents: read /llms.txt; add .md to any page URL. This page as Markdown: /reference/invoice-line-items.md. Index of every page and the rules for every call: /llms.txt. Guides and concepts in one file: /llms-full.txt. OpenAPI: /openapi.json.
The lines of an invoice: billed sales order lines, shipping fees, discounts and one tax line.
Learn more: Invoice an order
6 operations
- POSTAdd a line to an invoice
/Adds one line to an invoice and recalculates it.v2/ api/ store/ {team_slug}/ v2/ invoice/ {unique_key}/ item - POSTAdd, change and remove invoice lines at once
/Applies several line changes to one invoice in one transaction: all of them are saved, or none.v2/ api/ store/ {team_slug}/ v2/ invoice/ {unique_key}/ item/ bulk - GETList the lines of an invoice
/Returns every line of an invoice: billed sales order lines, shipping fees, discounts and the tax line.v2/ api/ store/ {team_slug}/ v2/ invoice/ {unique_key}/ item - GETGet an invoice line
/Returns one invoice line:v2/ api/ store/ {team_slug}/ v2/ invoice/ item/ {unique_key} product(kind and fields; fororder_item,_meta.parentholds the sales order line),pricing,quantity,tax,position,lock_versionandauto_invoice_managed. - PUTUpdate an invoice line
/Changes one invoice line and recalculates the invoice.v2/ api/ store/ {team_slug}/ v2/ invoice/ item/ {unique_key} - DELETERemove a line from an invoice
/Removes one line from an invoice and recalculates it.v2/ api/ store/ {team_slug}/ v2/ invoice/ item/ {unique_key}
