Factuarea APIDevelopers

Purchase Orders error codes

Every public API error code emitted by Purchase Orders, with its HTTP status, its type and a page per code.

Error codes emitted by Purchase Orders. Each code links to its own page with the cause and the action to take.

CodeTypeHTTPDescription
goods_receipt_already_postedinvalid_request_error422The receipt is already posted in the stock ledger, and a posted receipt is immutable: its movements are part of the audited stock history.
goods_receipt_exceeds_ordered_quantityinvalid_request_error422The receipt declares more units than the purchase order still has pending, so accepting it would post stock that nobody ordered.
goods_receipt_not_foundnot_found_error404No goods receipt of the authenticated company matches that identifier; a receipt of another company is indistinguishable from one that does not exist.
goods_receipt_sheet_not_availableinvalid_request_error422The goods receipt no longer has a receipt sheet: only a receipt in created status is counted at the dock, and this one is posted or cancelled.
purchase_invoice_quantity_mismatchinvalid_request_error422The quantity on the purchase invoice does not match the quantity received against the purchase order, so the three-way match —order, receipt and invoice— cannot be closed.
purchase_order_already_billedinvalid_request_error422The purchase order is already matched to a purchase invoice, and a matched order admits neither a second match nor further edits: the billed amount is already committed.
purchase_order_not_foundnot_found_error404No purchase order of the authenticated company matches that identifier. A purchase order of another company answers exactly like one that never existed.

On this page

Need a hand?Contact support