Emission counts by day-of-week × hour (CR local)
GET
/v1/reports/emission-heatmap
const url = 'https://api.emite.cr/v1/reports/emission-heatmap?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/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.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”from
string
Example
2026-06-01Inclusive start (CR-local YYYY-MM-DD).
to
string
Example
2026-06-30Inclusive 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.
Responses
Section titled “Responses”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 } ]}