Get G/L Accounts

Beta

Get a list of G/L accounts with pagination. Supports filtering and replication.

Path parameters

tenantstringRequired

Your Entra Tenant ID. More details.

environmentstringRequired

Your Business Central Environment. More details.

companystringRequired

Your Business Central Company. More details.

Headers

AuthorizationstringRequired

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

x-api-versiondateOptional

Used for API versioning. More details.

Query parameters

numberstringOptional

Filter by G/L Account number. Supports Business Central filter syntax.

categorystringOptional

Filter by G/L Account category.

pageSizeintegerOptional
The maximum number of accounts to return per page.
pageKeystringOptional
The key for the next page of results, obtained from a previous response.
lastRowVersionstringOptional
The last row version received, used for synchronization.
syncbooleanOptional
Enables synchronization mode, which sorts by rowVersion.

Response

This endpoint returns an object.
morePagesboolean
nextPageKeystring
nextPageURLstring
datalist of objects