Get general ledger report
Generates a detailed general ledger report with account balances and journal entries
Headers
Authorization
Bearer authentication of the form Bearer <token>
, where token is your auth token.
Query parameters
entityId
The ID of the entity to generate the report for
month
Month number (1-12) for the report period
year
Year for the report period (e.g., 2024)
startDate
Start date for filtering transactions (ISO 8601 format)
endDate
End date for filtering transactions (ISO 8601 format, defaults to current date)
Response
General ledger report generated successfully
accounts
entries
Journal entries for the period
pdf_url
URL to the generated PDF report
hierarchy
Hierarchical view of accounts