Skip to main content

Get Shipment Prefill (From Invoice)

GET 

/api/purchase-invoices/:purchaseInvoice/shipment-prefill

Build the prefill payload used by the Create Inbound Shipment from Invoice form.

Required scope: purchase-orders:read

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

Returns header info (supplier, PO, invoice number, default destination warehouse from PO), one row per non-fully-shipped invoice line with quantity_remaining_to_ship pre-filled, and soft warnings (e.g. fully-shipped lines).

Authentication: Requires Bearer token.

Request

Responses

OK