Factuarea APIDevelopers

Download current or retained Facturae XML

Stream the Facturae 3.2.2 XML of an issued invoice: signed .xsig with a signing certificate, otherwise .xml (see X-Facturae-Signed). - Without submission_id it exports the current legal source; draft and scheduled invoices return 422 invoice_not_emittable_for_facturae. - With an own submission_id it returns that attempt's exact retained bytes, never regenerated or completed with live data. - Hash and ETag only accompany a known retained artifact.

GET
/companies/{company}/invoices/{invoice}/facturae

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
invoice*string

Public identifier (UUID v7) of the invoice.

Formatuuid

Query Parameters

submission_id?|

Own FACe attempt to export. Omitted or null exports the current legal source; a UUID returns the exact retained bytes of that attempt, never regenerated or re-signed.

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/xml

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json