Factuarea APIDevelopers

Retrieve invoicing statistics per company

Return one company_stats row per company of the account that your credential reads, with invoices_count, total_invoiced and last_invoice. - Period is date_from/date_to (YYYY-MM-DD, inclusive); default is the current calendar year. - Not paginated: has_more is always false.

A bad date or range returns 422 invalid_param_value.

GET
/accounts/{account}/companies/stats

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

account*string

Public identifier (UUID v7) of your account. Get it from GET /v1/me (data.account.id).

Formatuuid

Query Parameters

date_from?string

Start of the period, by issue date (YYYY-MM-DD, inclusive); without it, January 1 of the year of date_to or of the current year.

Formatdate
date_to?string

End of the period, by issue date (YYYY-MM-DD, inclusive, not before date_from); without it, December 31 of the year of date_from or of the current year.

Formatdate

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