Skip to content

Emission counts by day-of-week × hour (CR local)

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

Sparse 7×24 matrix of accepted-document counts bucketed by CR-local weekday and hour — surfaces peak invoicing times. Missing cells are zero.

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
cells
required

Sparse cells; missing (dow,hour) pairs are zero.

Array<object>
object
dow
required

Day of week, 0=Sunday..6=Saturday (CR local).

number
hour
required

Hour 0..23 (CR local).

number
count
required

Accepted documents issued in that weekday and hour across the range, in every type (credit notes included) and currency.

number
Examplegenerated
{
"cells": [
{
"dow": 1,
"hour": 1,
"count": 1
}
]
}