{
"_links": {
"aging": "/api/suppliers/aging/by-id/88",
"overview": "/api/suppliers/by-id/88/overview",
"self": "/api/suppliers/by-id/88/statement?from=2026-01-01&to=2026-04-30"
},
"cache": {
"age_seconds": 0,
"cached_at": "2026-05-12T09:12:00-04:00",
"expires_at": "2026-05-12T13:12:00-04:00",
"force_refreshed": false,
"key_hash": "sha1:8c4d2f9a1b...",
"status": "miss",
"ttl_policy": "current_period_4h",
"ttl_remaining_seconds": 14400
},
"closing_balance": 50,
"lines": [],
"metadata": {
"extracted_at": "2026-05-12T09:12:00-04:00",
"organisation_id": "mastodonte",
"scope": "non_archived_only",
"sdk_indexes_used": {
"invoice_ap": 6,
"payment_ap": 1
}
},
"opening_balance": 1250,
"period": {
"from": "2026-01-01",
"to": "2026-04-30"
},
"supplier": {
"code": "F0012",
"id": 88,
"name": "Bois Mégantic Inc."
},
"totals": {
"credits": 7300,
"credits_count": 1,
"debits": 8500,
"invoices_count": 6,
"net_change": 1200,
"other_count": 0,
"payments_count": 5
}
}