List Invoiceable Purchase Orders
GET/api/supplier-portal/invoiceable-purchase-orders
The "Ready to invoice" queue: your purchase orders with received (or, for dropship, shipped) units not yet invoiced and a value left to invoice above zero. A fully invoiced or canceled order leaves the queue. Sorted oldest receipt first. The dashboard's ready-to-invoice count and total use this same query.
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.
Values are PO unit cost after the line discount: received_value, invoiced_value, left_to_invoice. summary ignores search and is in your most-used currency.
Returns 404 when the invoices capability is switched off for your supplier, or the record is not yours.
A purchase order that already has a PDF-only invoice (an invoice with no lines yet) is left out — it can't take a second invoice until that one's lines are keyed. Creating an invoice on such an order returns 409 naming the existing invoice; edit that invoice instead.
Request
Responses
- 200
- 401
- 403
- 404
- 429
OK
Response Headers
Unauthenticated — the bearer token is missing, revoked, expired, or malformed. Never retry automatically; fix the credential. See the Errors guide.
Forbidden — the token lacks a required scope, the endpoint is not available to API tokens, or the user behind the token lacks the permission. A human must adjust the token scopes or user permissions; do not retry.
Not Found
Response Headers
Rate limited — platform limit is 1,000 requests/min; individual tokens may carry lower limits. Honor the Retry-After header before retrying. See the Rate Limits guide.