IVA summary by tariff (D-104 aligned)
const url = 'https://api.emite.cr/v1/reports/tax-summary?from=2026-06-01&to=2026-06-30';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://api.emite.cr/v1/reports/tax-summary?from=2026-06-01&to=2026-06-30' \ --header 'Authorization: Bearer <token>'IVA (codigo 01) broken down by tariff with taxable base (Σ line subtotal, not reversed from the tax amount), tax charged and exonerated amount, plus the resumen-level gravado/exento/exonerado/no-sujeto buckets. Credit notes subtract.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”Example
2026-06-01Inclusive start (CR-local YYYY-MM-DD).
Example
2026-06-30Inclusive end (CR-local YYYY-MM-DD).
ISO 4217 code. Defaults to the tenant default currency.
When true: no currency filter — all documents aggregate in CRC via each document's snapshotted exchange rate. Takes precedence over currency.
Responses
Section titled “Responses”object
Currency of the amounts: currency as requested, else the company's default, or CRC with convertToCrc.
IVA (codigo 01) breakdown by tariff.
object
IVA tariff code (08=13%, 04=4%, 03=2%, 02=1%, 01=0%).
Tariff percentage. Numeric string.
Taxable base — Σ line subtotal for this tariff (NOT reversed from the tax amount). Numeric string.
Σ IVA charged for this tariff. Numeric string.
Σ exonerated amount on this tariff. Numeric string.
Resumen-level buckets from invoice totals.
object
Σ TotalGravado (taxed sales of goods and services), credit notes subtracted. Numeric string.
Σ TotalExento (exempt sales), credit notes subtracted. Numeric string.
Σ TotalExonerado (exonerated sales), credit notes subtracted. Numeric string.
Σ TotalNoSujeto (sales not subject to the tax), credit notes subtracted. Numeric string.
Σ TotalImpuesto — every tax charged, not only IVA — credit notes subtracted. Numeric string.
Non-CRC documents excluded from the CRC equivalent for lacking a snapshot exchange rate. Only set with convertToCrc.
Example
{ "byTariff": [ { "codigoTarifa": "08" } ]}