Skip to content

Reports

Reporting aggregates your emission data into analytics. All reports are read-only and scoped to the tenant + environment.

Ventana de terminal
GET /v1/reports/overview # headline KPIs
GET /v1/reports/sales # sales over time
GET /v1/reports/customers # by customer
GET /v1/reports/products # by product
GET /v1/reports/proformas # quote pipeline
GET /v1/reports/recurring # recurring performance
GET /v1/reports/tax-summary # IVA / tax breakdown
GET /v1/reports/compliance # acceptance / rejection health
GET /v1/reports/sales-by-province # geographic
GET /v1/reports/emission-heatmap # activity by day/hour
GET /v1/reports/:report/export # CSV / XLSX
  • Reports count each document on its issue date (fechaEmision, the one its XML declares) in Costa Rica time, so a document issued at 11pm CR lands in the right local day — and an offline sale replayed days later, or a document signed and sent hours after it was numbered, lands on the day it was issued, not the day it reached Hacienda.
  • Date-range filters (from / to) and the usual pagination apply where relevant.
  • export streams the same data as CSV or XLSX; exports are audited.

Every money-carrying report accepts ?convertToCrc=true (“All · ≈ CRC” in the web UI’s currency selector). With it, the currency filter is dropped and each document aggregates as its total times its own snapshotted exchange rate (the TipoCambio the document was emitted with — never today’s rate; credit notes subtract as usual). The response reports currency: "CRC".

Non-CRC documents without a snapshot rate (rare: imported XMLs without TipoCambio, or pre-feature rows) are excluded from the sums — never converted at 1:1 — and counted in unconvertedCount so the number stays honest. The recurring report’s MRR converts each schedule using the exchange rate of its latest materialized invoice (a real persisted rate, not an estimate). Exports inherit the mode and label money columns (CRC).

Individual reports may be gated by the tenant’s plan tier — a higher tier unlocks the richer analytics. Check entitlements for what’s included. Access also requires the reporting scope.