{
"_links": {
"self": "/api/sales/summary?from=2026-01-01&to=2026-04-30&group_by=month"
},
"cache": {
"age_seconds": 0,
"cached_at": "2026-05-13T09:12:00-04:00",
"expires_at": "2026-05-13T13:12:00-04:00",
"force_refreshed": false,
"key_hash": "sha1:aff479c00fb088436e5e544ceaf45071c7777953",
"status": "miss",
"ttl_policy": "current_period_4h",
"ttl_remaining_seconds": 14400
},
"currency": "CAD",
"metadata": {
"credits_scope": "none",
"extracted_at": "2026-05-13T09:12:00-04:00",
"invoice_types_included": [
"invoice"
],
"organisation_id": "entreprise_exemple",
"scope": "invoicing_only",
"sdk_index_used": 6
},
"period": {
"from": "2026-01-01",
"group_by": "month",
"to": "2026-04-30"
},
"series": [
{
"active_customers_count": 22,
"bucket": "2026-01",
"credits_amount": 0,
"credits_count": 0,
"discounts": 0,
"from": "2026-01-01",
"invoices_count": 32,
"is_partial": false,
"revenue_gross": 58200,
"revenue_net": 58200,
"subtotal": 50620.27,
"taxes": 7579.73,
"to": "2026-01-31"
},
{
"active_customers_count": 24,
"bucket": "2026-02",
"credits_amount": 0,
"credits_count": 0,
"discounts": 0,
"from": "2026-02-01",
"invoices_count": 35,
"is_partial": false,
"revenue_gross": 61450,
"revenue_net": 61450,
"subtotal": 53446.38,
"taxes": 8003.62,
"to": "2026-02-28"
}
],
"totals": {
"active_customers_count": 38,
"average_invoice": 1750,
"credits_amount": 0,
"credits_count": 0,
"discounts": 0,
"invoices_count": 142,
"revenue_gross": 248500,
"revenue_net": 248500,
"subtotal": 216135.35,
"taxes": 32364.65
}
}