Edit

generalLedgerAccount resource type (Beta)

Important

The finance reports API is announced as deprecated starting with Business Central 2026 release wave 2 and will be removed in Business Central 2027 release wave 1. We recommend that you transition to the Analytics API instead. Learn more in Analytics API overview.

Represents a general ledger account in Business Central.

Note

For information about enabling APIs for Business Central see Enabling the APIs for Dynamics 365 Business Central.

Methods

Method Return Type Description
GET generalLedgerAccount generalLedgerAccount Gets a general ledger account object.
Navigation Return Type Description
generalLedgerBudgets generalLedgerBudgets Gets the generalledgerbudgets of the generalLedgerAccount.
businessUnit businessUnit Gets the businessunit of the generalLedgerAccount.

Properties

Property Type Description
id GUID The unique ID of the general ledger account. Non-editable.
accountNumber string The number of the account that the general ledger account is related to.
accountName string
accountType string The type of the account that the general ledger account is related to.
accountCategory string
accountSubcategoryEntryNumber integer
accountSubcategoryDescription string
indentation integer The general ledger account item indentation used in report layout.
netChange decimal The general ledger account net change.
incomeBalance string
budgetFilter string
businessUnitFilter string
parentAccountNumber string
lastModifiedDateTime datetime The last datetime the general ledger account was modified. Read-Only.

JSON representation

Here is a JSON representation of the generalLedgerAccount resource.

{
    "id": "GUID",
    "accountNumber": "string",
    "accountName": "string",
    "accountType": "string",
    "accountCategory": "string",
    "accountSubcategoryEntryNumber": "integer",
    "accountSubcategoryDescription": "string",
    "indentation": "integer",
    "netChange": "decimal",
    "incomeBalance": "string",
    "budgetFilter": "string",
    "businessUnitFilter": "string",
    "parentAccountNumber": "string",
    "lastModifiedDateTime": "datetime"
}

GET generalLedgerAccount