Tax Reports
Preview a tax report
Computes the breakdown of a tax report without persisting a generation or writing files. Ideal for interactive UIs that confirm totals before commit.
post/companies/{company}/tax-reports/preview
Request
- Base URL: https://api.factuarea.com/v1
- URL: https://api.factuarea.com/v1/companies/{company}/tax-reports/preview
- 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.
Request body
Response
Example response
{
"data": {
"object": "tax_report_preview",
"type": "modelo_303",
"period": {
"year": 2026,
"quarter": 2,
"label": "2026 Q2"
},
"breakdown_303": {
"4": {
"base": 50000,
"cuota": 2000
},
"10": {
"base": 250000,
"cuota": 25000
},
"21": {
"base": 1000000,
"cuota": 210000
}
},
"totals": {
"baseDevengada": 1300000,
"cuotaDevengada": 237000,
"baseSoportado": 400000,
"cuotaSoportado": 84000,
"resultadoLiquidacion": 153000
},
"clients_347": [],
"suppliers_347": [],
"invoice_count": 42,
"purchase_invoice_count": 18,
"warnings": []
}
}Changes
No recorded changes to this operation across all 1 revision of this API.