Transaction detail by account
Every Profit & Loss line in the period grouped by income and expense account (sections income, expenses, and Ask Client accounts), with date, type, entry number, journalEntryId, customer or vendor name (the assigned contact, never the raw bank text), bankPayee (the raw bank payee text), memo, and amountCents. Each account totalCents equals the Profit & Loss amount for the same dates and basis; netIncomeCents equals Profit & Loss net income. accountId limits the report to one account (the Profit & Loss drill-down) and omits net income. Amounts are integer cents with income and expense both positive.
Request
- Base URL: https://ledgerhq.pro/api/v1
- URL: https://ledgerhq.pro/api/v1/reports/transaction-detail
- Auth: one of:
- HTTP bearer and API key in header x-organization-id
- HTTP bearer and API key in header x-organization-id
Query parameters
Financial reporting basis. Omit to use the company's default_report_basis. Cash responses include coverage metadata and structured issues; amounts remain integer cents.
Inclusive period start, YYYY-MM-DD.
Inclusive period end, YYYY-MM-DD.
Limit to one income or expense account.
Response
Transaction detail grouped by section and account
Changes
No recorded changes to this operation across all 5 revisions of this API.