Factuarea APIDevelopers

Get the three-way match of a purchase invoice

Read the three-way match of a supplier invoice from the invoice: its status, the linked order and its current status, the line detail with the deviations and their effect in euros (without and with VAT), the lines left out, the tolerance in force, whether resolving it closes the order, whether it can be resolved now, the current decision in resolution and its stock effect. - Needs the READ scope of the PURCHASE ORDER. - Without a linked order it answers not_applicable with stock.previously_linked_order naming the order it was last unlinked from.

An invoice of another company answers 404.

GET
/companies/{company}/purchase-invoices/{purchase_invoice}/match

Authorization

AuthorizationBearer <token>

Your API key as a bearer token: fact_live_… in production, fact_test_… in sandbox. See the authentication guide.

In: header

Path Parameters

company*string

Public identifier (UUID v7) of the company. Get it from GET /v1/me (data.scope[].id).

Formatuuid
purchase_invoice*string

Public identifier (UUID v7) of the purchase invoice.

Formatuuid

Headers

Factuarea-Version?string

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.

Formatdate

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json