curl -X GET "https://kube.acho.io/service/general-ledger/journal-entries?status=Draft&start_date=2024-01-01&end_date=2024-01-31&limit=20&offset=0" \
-H "Authorization: jwt YOUR_TOKEN"
{
"data": [
{
"journal_entry_id": "JE-2024-001",
"tran_date": "2024-01-15",
"posting_period_id": "a3UM4R8nYh33A6hgda",
"memo": "Monthly depreciation",
"entry_type": "Standard",
"currency": "USD",
"status": "Draft",
"total_debit": 1000,
"total_credit": 1000,
"created_at": "2024-01-15T09:00:00Z"
},
{
"journal_entry_id": "JE-2024-002",
"tran_date": "2024-01-16",
"posting_period_id": "a3UM4R8nYh33A6hgda",
"memo": "Office supplies purchase",
"entry_type": "Standard",
"currency": "USD",
"status": "Draft",
"total_debit": 500,
"total_credit": 500,
"created_at": "2024-01-16T10:00:00Z"
}
],
"pagination": {
"total": 15,
"limit": 20,
"offset": 0,
"has_more": false
}
}
List journal entries with optional filters
curl -X GET "https://kube.acho.io/service/general-ledger/journal-entries?status=Draft&start_date=2024-01-01&end_date=2024-01-31&limit=20&offset=0" \
-H "Authorization: jwt YOUR_TOKEN"
{
"data": [
{
"journal_entry_id": "JE-2024-001",
"tran_date": "2024-01-15",
"posting_period_id": "a3UM4R8nYh33A6hgda",
"memo": "Monthly depreciation",
"entry_type": "Standard",
"currency": "USD",
"status": "Draft",
"total_debit": 1000,
"total_credit": 1000,
"created_at": "2024-01-15T09:00:00Z"
},
{
"journal_entry_id": "JE-2024-002",
"tran_date": "2024-01-16",
"posting_period_id": "a3UM4R8nYh33A6hgda",
"memo": "Office supplies purchase",
"entry_type": "Standard",
"currency": "USD",
"status": "Draft",
"total_debit": 500,
"total_credit": 500,
"created_at": "2024-01-16T10:00:00Z"
}
],
"pagination": {
"total": 15,
"limit": 20,
"offset": 0,
"has_more": false
}
}
jwt YOUR_TOKENDraft, Pending Approval, On Hold, Approved, Posted, Rejected, VoidedStandard, Adjusting, Closing, Reversingcurl -X GET "https://kube.acho.io/service/general-ledger/journal-entries?status=Draft&start_date=2024-01-01&end_date=2024-01-31&limit=20&offset=0" \
-H "Authorization: jwt YOUR_TOKEN"
{
"data": [
{
"journal_entry_id": "JE-2024-001",
"tran_date": "2024-01-15",
"posting_period_id": "a3UM4R8nYh33A6hgda",
"memo": "Monthly depreciation",
"entry_type": "Standard",
"currency": "USD",
"status": "Draft",
"total_debit": 1000,
"total_credit": 1000,
"created_at": "2024-01-15T09:00:00Z"
},
{
"journal_entry_id": "JE-2024-002",
"tran_date": "2024-01-16",
"posting_period_id": "a3UM4R8nYh33A6hgda",
"memo": "Office supplies purchase",
"entry_type": "Standard",
"currency": "USD",
"status": "Draft",
"total_debit": 500,
"total_credit": 500,
"created_at": "2024-01-16T10:00:00Z"
}
],
"pagination": {
"total": 15,
"limit": 20,
"offset": 0,
"has_more": false
}
}