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.
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
- 200
Successful response