Skip to content

KPIs, monthly trend and document-type mix for a date range

GET
/v1/reports/overview
curl --request GET \
--url 'https://api.emite.cr/v1/reports/overview?from=2026-06-01&to=2026-06-30' \
--header 'Authorization: Bearer <token>'

Accepted documents only, credit notes (docType 03) subtracted, in a single currency (defaults to the tenant default). Time buckets are CR-local. Range defaults to the current calendar month.

from
string
Example
2026-06-01

Inclusive start (CR-local YYYY-MM-DD).

to
string
Example
2026-06-30

Inclusive end (CR-local YYYY-MM-DD).

currency
string

ISO 4217 code. Defaults to the tenant default currency.

convertToCrc
boolean

When true: no currency filter — all documents aggregate in CRC via each document's snapshotted exchange rate. Takes precedence over currency.

Media typeapplication/json
object
kpis
required

Headline figures of the range.

object
currency
required

Currency of the monetary KPIs.

string
netRevenue
required

Net sales (Σ TotalVentaNeta), credit notes subtracted. Numeric string.

string
totalTax
required

Σ TotalImpuesto, credit notes subtracted. Numeric string.

string
grandTotal
required

Σ TotalComprobante, credit notes subtracted. Numeric string.

string
documentCount
required

Count of accepted sales documents (excludes credit notes).

number
creditNoteCount
required

Count of accepted credit notes (docType 03).

number
averageTicket
required

GrandTotal / documentCount. Numeric string.

string
unconvertedCount

Non-CRC documents excluded from the CRC equivalent for lacking a snapshot exchange rate. Only set with convertToCrc.

number
comparison
required

Same-length prior period, for period-over-period deltas.

object
netRevenue
required

Net sales of the prior period — the same number of days right before from, not the previous calendar month — credit notes subtracted. Numeric string.

string
grandTotal
required

Σ TotalComprobante of the prior period, credit notes subtracted. Numeric string.

string
documentCount
required

Accepted documents of the prior period, credit notes not counted.

number
trend
required

Monthly trend across the range.

Array<object>
object
period
required

Bucket key (YYYY-MM-DD for day/week, YYYY-MM for month).

string
netRevenue
required

Net sales of the bucket (Σ TotalVentaNeta), credit notes subtracted. Numeric string.

string
grandTotal
required

Σ TotalComprobante of the bucket, credit notes subtracted. Numeric string.

string
documentCount
required

Accepted documents of the bucket, credit notes not counted.

number
docTypeMix
required

Document mix by type (in currency).

Array<object>
object
docType
required

Hacienda document type code.

string
count
required

Accepted documents of this type in the range.

number
grandTotal
required

Σ TotalComprobante of this type, never negated: credit notes (03) are a row of their own. Numeric string.

string
availableCurrencies
required

Currencies present in the range (for the UI switcher).

Array<string>
Example
{
"trend": [
{
"period": "2026-06"
}
],
"docTypeMix": [
{
"docType": "01"
}
]
}