Skip to main content

Get Purchase Order Invoice Draft

GET 

/api/supplier-portal/purchase-orders/:purchaseOrder/invoice-draft

What the "Create invoice" form needs for one purchase order: every product line with ordered, received/shipped (basis_quantity), already invoiced and still invoiceable quantities and the PO unit cost, plus the payment terms and the pay date the terms give an invoice dated today.

Buyer portal token

Called by a B2B portal buyer with the bearer token POST /api/portal/auth/login returns (or the buyer's feed key) — not with a staff Personal Access Token.

can_invoice is false with blocked_reason canceled or nothing_to_invoice.

Returns 404 when the invoices capability is switched off for your supplier, or the record is not yours.

Request​

Responses​

OK

Response Headers
    Content-Type