Ledga

Reports

Trial balance and income statement, computed from posted entries on request.

Endpoints

MethodPathDescription
GET /reports/trial-balance Get trial balance report
GET /reports/income-statement Get income statement report

Trial balance

Every system account with debit and credit totals, plus one roll-up line for customer accounts. Debits equal credits or the ledger is inconsistent.

curl "https://ledga.io/api/v1/reports/trial-balance?as_of_date=2026-01-31&layer=settled" \
  -H "Authorization: Bearer sk_xxxxxxxx_your_secret"

Income statement

Revenue and expense accounts for a date range, grouped by system and customer accounts, with net income. from_date and to_date are required.

curl "https://ledga.io/api/v1/reports/income-statement?from_date=2026-01-01&to_date=2026-01-31" \
  -H "Authorization: Bearer sk_xxxxxxxx_your_secret"