Factuarea APIDevelopers

Get the default series for a document type

Returns the default numbering series for a document type (invoice, quote, proforma, delivery_note). - For invoices, pass invoice_kind (default complete, simplified, corrective, simplified_corrective). - Returns 404 if no default exists; 422 series_invoice_kind_invalid for an unknown kind.

GET
/companies/{company}/series/default

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

Query Parameters

document_type*string

Document type whose default series is requested.

Value in"invoice" | "quote" | "proforma" | "delivery_note"
invoice_kind?string

Purpose of the invoice series (only with document_type=invoice; default complete). 404 if the company has no series of that purpose yet.

Value in"complete" | "simplified" | "corrective" | "simplified_corrective"

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

application/json