Tax Reports
Retrieve tax report stats
Returns aggregate KPIs of the generated tax report history: totals by type and format, accumulated file size, and the current fiscal quarter/year.
get/companies/{company}/tax-reports/stats
Request
- Base URL: https://api.factuarea.com/v1
- URL: https://api.factuarea.com/v1/companies/{company}/tax-reports/stats
- Auth: one of:
- HTTP bearer
- API key in header X-API-Key
Path parameters
companystring uuid required
Public identifier (UUID v7) of the company. Get it from GET /v1/me (data.scope[].id).
Headers
Factuarea-Versionstring date
Example:2026-06-01
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
Example response
{
"data": {
"object": "tax_report_stats",
"total_reports": 12,
"by_type": {
"modelo_303": 8,
"modelo_347": 3,
"modelo_130": 1
},
"by_format": {
"txt_aeat": 6,
"pdf": 4,
"excel": 2
},
"total_size_bytes": 24576,
"current_quarter": {
"year": 2026,
"quarter": 2
},
"current_year": 2026
}
}Changes
No recorded changes to this operation across all 1 revision of this API.