Skip to main content

Get Sales Order Billing Summary

GET 

/api/sales-orders/:salesOrder/invoices

How a sales order is invoiced: its invoicing policy and where it came from, invoice status and a one-line verdict, ordered / invoiced / paid / credited totals, one lane per shipment (invoiced, ready to invoice, skipped, or voided after invoicing), per-line reconciliation (ordered, shipped, invoiced, credited, billable), fee remainders and the order's invoices.

Required scope: orders:read

Grant this scope to your token under Settings → Developer → Personal Access Tokens.

Requires orders:read and sales_invoices.index.

Lane state: invoiced, ready, skipped, voided_after_invoice, or covered (shipped and not linked to an invoice, but every unit it shipped is already billed by the invoice of a shipment voided after invoicing — it becomes ready once that invoice is voided or credited). Lane invoice includes invoice_date.

Consolidated invoices that bill this order alongside other orders are listed in invoices too; the order's invoiced_total, paid_total and credited_total count only this order's share of them.

Request​

Responses​

OK

Response Headers
    Content-Type