v1

latestOpenAPI 3.0.12026-07-26222700728.0 KB
GL Accounts

Query GL accounts

Query GL accounts for the authenticated user

post/v6/accounting/glAccounts/query

Request body

cursorstring nullable

Cursor from the previous paginated response

limitinteger

Page size, i.e. number of items to return per page

Response

Success

result'SUCCESS' | 'FAILURE'

The result of the action performed.

Example response

{
  "data": [
    {
      "id": "gla_38560327",
      "status": "ACTIVE",
      "name": "Officer(s) Salaries and Wages",
      "accountNo": "60210",
      "parentGlAccount": {
        "id": "gla_38560327",
        "accountNo": "60000",
        "name": "Payroll Expenses"
      },
      "type": "EXPENSE",
      "cashFlowType": "OPERATING",
      "level": 1,
      "taxCategory": "ADVERTISING",
      "customData": {
        "internal_key": "some_internal_key",
        "some_other_field": 23434
      }
    }
  ]
}