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.
Request
- Base URL: https://api.factuarea.com/v1
- URL: https://api.factuarea.com/v1/accounts/{account}/companies/stats
- Auth: one of:
- HTTP bearer
- API key in header X-API-Key
Path parameters
Public identifier (UUID v7) of your account. Get it from GET /v1/me (data.account.id).
Query parameters
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.
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.
Headers
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.
Response
AccountNifStatsListV1Resource
Example response
{
"data": [
{
"object": "company_stats",
"company_id": "01931b3e-7c4a-7f2e-9a8b-4d6e7f8a9b0c",
"tax_id": "B12345674",
"name": "Talleres García SL",
"invoices_count": 3,
"total_invoiced": "363.00",
"last_invoice": {
"number": "F-2026-003",
"issued_on": "2026-09-20",
"total": "121.00"
}
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.