Skip to content

Invoice line items

Open .md

API reference Invoices and payments Invoices

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/v2/api/store/{team_slug}/v2/invoice/{unique_key}/itemAdds one line to an invoice and recalculates it.
  • POSTAdd, change and remove invoice lines at once/v2/api/store/{team_slug}/v2/invoice/{unique_key}/item/bulkApplies several line changes to one invoice in one transaction: all of them are saved, or none.
  • GETList the lines of an invoice/v2/api/store/{team_slug}/v2/invoice/{unique_key}/itemReturns every line of an invoice: billed sales order lines, shipping fees, discounts and the tax line.
  • GETGet an invoice line/v2/api/store/{team_slug}/v2/invoice/item/{unique_key}Returns one invoice line: product (kind and fields; for order_item, _meta.parent holds the sales order line), pricing, quantity, tax, position, lock_version and auto_invoice_managed.
  • PUTUpdate an invoice line/v2/api/store/{team_slug}/v2/invoice/item/{unique_key}Changes one invoice line and recalculates the invoice.
  • DELETERemove a line from an invoice/v2/api/store/{team_slug}/v2/invoice/item/{unique_key}Removes one line from an invoice and recalculates it.