v1

latestOpenAPI 3.0.12026-07-26222700728.0 KB
GL Accounts

Delete GL account

Delete a GL account for the given id

delete/v6/accounting/glAccounts/{id}

Path parameters

idstring required

The id of the GL account

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
    }
  }
}