Posted Sales Invoices Realtime-enabled
GETTable: Sales Invoice Header
Read-only feed of posted sales invoice headers, the posted-transaction counterpart of the writable Sales Invoices endpoint. Its integrationId is mirrored from the source order at post time, so you can fetch a posted invoice by your own store key; see Posted Documents for the read-only rationale and how lines work.
Lines
Two selectable line collections, $expand=salesInvoiceLines for the lightweight lines, or $expand=salesInvoiceTrackingLines when you need serial/lot/package numbers (heavier, resolved per line). See Posted Documents for why tracking is a separate, costlier collection. $expand=documentAttachments for attached files.
$filter on number, orderNumber, sellToCustomerNumber, postingDate, or your integrationId. currencyCode is blank for LCY.The work description
workDescription returns the free-text note the document was posted with. It is read-only here: the note belongs to the open document, and posting carries it across.