What this does
The Reports API gives you programmatic access to your key financial reports. You can pull profit and loss, balance sheet, trial balance, and aged receivables data in JSON format for use in dashboards, spreadsheets, or external reporting tools.
When to use it
Use this endpoint to build custom dashboards, feed data into business intelligence tools, or generate automated management reports.
Endpoints
Profit and Loss
GET /api/v1/reports/profit-and-loss?from=2026-01-01&to=2026-03-31
Returns income, cost of sales, expenses, and net profit for the period.
{
"income": 45000.00,
"costOfSales": 12000.00,
"grossProfit": 33000.00,
"expenses": 18000.00,
"netProfit": 15000.00
}
Balance Sheet
GET /api/v1/reports/balance-sheet?asOf=2026-03-31
Returns assets, liabilities, and equity as at the specified date (asOf, YYYY-MM-DD; leave it out for today).
Trial Balance
GET /api/v1/reports/trial-balance?asOf=2026-03-31
Returns every account with its balance at the date (asOf, YYYY-MM-DD; leave it out for today). Each row has debit and credit: the balance sits in one of them (a debit balance in debit, a credit balance in credit), the other is 0. grandDebit and grandCredit are the totals of those balances and are equal when the books balance. Each row also carries total_debit, total_credit and net: the account's movements up to the date.
Aged Receivables
GET /api/v1/reports/aged-receivables
Returns what customers owe, grouped into ageing buckets: current, 1-30 days, 31-60 days, 61-90 days, and 90+ days overdue. It is built from your Debtors ledger, so the total always matches Debtors on the Balance Sheet: each invoice shows what is still unpaid after payments and credit notes, and fully settled invoices drop off. Add ?asOf=2026-03-31 for a past date.
{
"data": {
"asOf": "2026-10-13",
"rows": [
{
"id": "9edd6489-74dc-43d4-a29a-e38706dae134",
"kind": "invoice",
"invoiceNumber": "INV-2026-1588",
"clientName": "Ashdown Garden Centre",
"dueDate": "2026-11-12",
"amount": 3690.00,
"currency": "GBP",
"daysOverdue": 0,
"dueInDays": 30
},
{
"id": "3f2b1c9e-0a4d-4e8b-9c1a-2d5e6f7a8b90",
"kind": "credit_note",
"invoiceNumber": "CN-2026-0250",
"clientName": "Mill Pond Yoga",
"dueDate": null,
"amount": -120.00,
"currency": "GBP",
"daysOverdue": 0,
"dueInDays": 0
}
],
"summary": {
"current": [ "...rows..." ],
"days30": [],
"days60": [],
"days90": [],
"over90": []
}
}
}
Each row: kind is invoice, credit_note (not linked to an invoice) or journal (manual journal to Debtors); amount is the amount still open, negative for credits; dueDate is set for invoices only; dueInDays is the days until an invoice is due (0 once due). Credit note and journal rows always sit in current.
Change, 13 Oct 2026: amount is now the open amount (after payments and credit notes) rather than the invoice total; dueDate can be null; kind and dueInDays are new; currency is the business's base currency; ?asOf= is supported.
Cash Flow Forecast
GET /api/v1/reports/cashflow
Returns a 90-day forward-looking cash flow forecast based on outstanding invoices and unpaid bills. All figures are in GBP.
{
"openingBalance": 12500.00,
"totalIncome": 34000.00,
"totalExpenses": 18500.00,
"weeks": [
{
"weekStart": "2026-04-01",
"weekEnd": "2026-04-07",
"expectedIncome": 5200.00,
"expectedExpenses": 1800.00,
"net": 3400.00,
"runningBalance": 15900.00
}
]
}
weeks contains one entry per week for the next 13 weeks. runningBalance is the cumulative projected balance at the end of each week.