Skip to main content
GET
/
service
/
general-ledger
/
journal-entries
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
  }
}

Request

Retrieve a list of journal entries with optional filtering.

Headers

Authorization
string
required
JWT authentication token. Format: jwt YOUR_TOKEN

Query Parameters

status
string
Filter by status: Draft, Pending Approval, On Hold, Approved, Posted, Rejected, Voided
entry_type
string
Filter by entry type: Standard, Adjusting, Closing, Reversing
start_date
string
Filter entries with transaction date on or after (YYYY-MM-DD)
end_date
string
Filter entries with transaction date on or before (YYYY-MM-DD)
posting_period_id
string
Filter by accounting period
limit
number
default:"20"
Maximum number of records to return (max 100)
offset
number
default:"0"
Number of records to skip for pagination
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
  }
}