Get G/L Account by ID

Beta

Retrieves a single G/L account by its system ID.

Path parameters

tenantstringRequired

Your Entra Tenant ID. More details.

environmentstringRequired

Your Business Central Environment. More details.

companystringRequired

Your Business Central Company. More details.

idUUIDRequired

The UUID of the G/L Account.

Headers

AuthorizationstringRequired

Bearer authentication of the form Bearer <token>, where token is your auth token.

x-api-versiondateOptional

Used for API versioning. More details.

Response

This endpoint returns an object.
idUUID

The unique identifier for the G/L Account (SystemId).

numberstring

The G/L account number.

displayNamestring

The display name of the G/L account.

categorystring

The category of the G/L account (e.g., Assets, Liabilities, Equity, Income, Cost of Goods Sold, Expense).

subCategorystring

The descriptive subcategory of the G/L account.

blockedboolean

Specifies if the G/L account is blocked from posting.

accountTypestring

The type of account (e.g., Posting, Heading, Total, Begin-Total, End-Total).

directPostingboolean

Specifies if direct posting is allowed to this G/L account.

netChangedouble

The net change in the G/L account balance. This is a calculated flowfield.

consolidationTranslationMethodstring

The consolidation translation method (e.g., Average Rate (Manual), Closing Rate, Historical Rate).

consolidationDebitAccountstring
The consolidation debit account number.
consolidationCreditAccountstring
The consolidation credit account number.
excludeFromConsolidationboolean

Specifies if this G/L account should be excluded from consolidation.

lastModifiedDateTimedatetime

The date and time the G/L account was last modified.

rowVersionstring or null
The row version for data synchronization, required for the 'sync' parameter.