v1

latestOpenAPI 3.0.12026-07-26222700728.0 KB
GL Entries

Query GL entries

Query GL entries for the authenticated user

post/v6/accounting/glAccounts/{id}/generalLedger

Path parameters

idstring required

Request body

cursorstring nullable

Cursor from the previous paginated response

limitinteger

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

accountingMethod'ACCRUAL' | 'CASH'

Accounting method to generate the report in. Defaults to the company's configured accounting method.

Example request

{
  "filter": {
    "dimensionValues": [
      {
        "dimensionId": "tdim_439512"
      }
    ]
  }
}

Response

Success

result'SUCCESS' | 'FAILURE'

The result of the action performed.

beginningBalanceinteger

Beginning balance in cents. Present on the first page when applicable; null on subsequent pages.

Example response

{
  "data": [
    {
      "id": "glt_12345678",
      "entity": {
        "id": "btxn_158998869",
        "description": "Gusto payroll",
        "displayName": "Gusto",
        "secondaryDisplayName": "Business Checking *1687",
        "glAccount": {
          "id": "gla_38560327",
          "name": "Officer(s) Salaries and Wages",
          "accountNo": "60210",
          "type": "EXPENSE",
          "iconUrl": "https://cdn.sandbox.tight.com/icons/glAccountTypes/expense.png",
          "displayName": "#60210 Officer(s) Salaries and Wages"
        }
      },
      "description": "Monthly payroll entry",
      "date": "2025-06-26",
      "runningBalance": 100000,
      "drAmount": 100000,
      "type": "EXPENSE"
    }
  ]
}