List purchase orders a purchase invoice can be linked to
List up to ten purchase orders of the invoice supplier it could be linked to, those whose reference matches the invoice first, each with whether it can be matched now (eligible, ineligible_reason), its receipts, what is received and not invoiced, what is pending to receive and, when eligible, a preview of the match.
- Nothing is saved. - Needs the READ scope of the PURCHASE ORDER. - Only for an invoice that can still be edited: any other answers 422
business_rule_violationwith subcodepurchase_invoice_not_editable_in_current_state. - An invoice of another company answers 404.
Your API key as a bearer token: fact_live_… in production, fact_test_… in sandbox. See the authentication guide.
In: header
Path Parameters
Public identifier (UUID v7) of the company. Get it from GET /v1/me (data.scope[].id).
uuidPublic identifier (UUID v7) of the purchase invoice.
uuidHeaders
Pin the API version (YYYY-MM-DD, Stripe-style date versioning) for this request; omit to use the key's pinned version, or the latest if none. Unsupported version → 400 unsupported_api_version; malformed → 400 parameter_invalid_format. The effective version is echoed in the Factuarea-Version response header. See the Versioning guide.
dateResponse Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json