<a href="https://www.openledger.com/contact" target="_blank">We are iterating quickly on our docs, please reach out if you need latest and greatest! 🔥🚀</a>
Get a demoPostman Collection
GuideAPI Reference
GuideAPI Reference
  • API Overview
    • Reference
    • Authentication
    • Rate Limits
We are iterating quickly on our docs, please reach out if you need latest and greatest! 🔥🚀
LogoLogo
Get a demoPostman Collection
API OverviewAPI EndpointsReports

Generate General Ledger

GET
/reports/general-ledger
GET
/v1/reports/general-ledger
1curl -G https://api.openledger.com/v1/reports/general-ledger \
2 -H "Authorization: Bearer <token>" \
3 -d entityId=entityId
Try it
200Retrieved
1{
2 "accounts": [
3 {
4 "name": "string",
5 "type": "string",
6 "financialType": "string",
7 "accountCode": 1,
8 "subTypeCode": 1,
9 "balance": {
10 "debits_pending": "string",
11 "debits_posted": "string",
12 "credits_pending": "string",
13 "credits_posted": "string"
14 }
15 }
16 ],
17 "entries": [
18 {}
19 ],
20 "pdf_url": "string",
21 "hierarchy": {}
22}
Generate a general ledger report for an entity
Was this page helpful?
Previous

Create Plaid Link Token

Next
Built with
Create Plaid Link Token
Generate a general ledger report for an entity

Headers

AuthorizationstringRequired
Bearer authentication of the form `Bearer <token>`, where token is your auth token.

Query parameters

entityIdstringRequired
entity ID
monthstringOptional
Month (1-12)
yearstringOptional
Year (YYYY)

Response

General ledger report
accountslist of objects or null
entrieslist of objects or null
pdf_urlstring or nullformat: "uri"
hierarchyobject or null

Errors

entity ID

Bearer authentication of the form Bearer <token>, where token is your auth token.

Month (1-12)

Year (YYYY)