1curl -G https://api-staging.openledger.com/v1/ledger/journal-entries \2 -H "Authorization: Bearer <token>" \3 -d entityId=ent_1234567890abcdef \4 -d month=3 \5 -d year=2024 \6 -d startDate=2024-01-01 \7 -d endDate=2024-12-31 \8 -d page=1 \9 -d limit=20
1{2 "entries": [3 {4 "id": "je_1234567890abcdef",5 "date": "2024-03-15T10:30:00Z",6 "created_at": "2024-03-15T10:30:00Z",7 "description": "Monthly rent payment",8 "debit_account_id": "acc_1234567890abcdef",9 "debit_account_name": "Rent Expense",10 "debit_account_type": "EXPENSE",11 "credit_account_id": "acc_0987654321fedcba",12 "credit_account_name": "Cash - Operating Account",13 "credit_account_type": "ASSET",14 "amount": "250000",15 "status": "POSTED",16 "transaction_type": "journal_entry",17 "reference": "INV-2024-001",18 "memo": "Office rent for March 2024"19 }20 ],21 "totalEntries": 150,22 "totalPages": 8,23 "currentPage": 124}
Bearer authentication of the form Bearer <token>, where token is your auth token.
Bearer <token>
1-12
format: "date"
>=1
1-100
Start date for filtering (YYYY-MM-DD)
Filter by month (1-12)
End date for filtering (YYYY-MM-DD)