finance > G/L Account Service
Get G/L Accounts
Get a list of G/L accounts with pagination. Supports filtering and replication.
get/{tenant}/{environment}/{company}/generalledger/account
Path parameters
tenantstring required
Your Entra Tenant ID. More details.
environmentstring required
Your Business Central Environment. More details.
companystring required
Your Business Central Company. More details.
Query parameters
numberstring
Filter by G/L Account number. Supports Business Central filter syntax.
categorystring
Filter by G/L Account category.
pageSizeinteger
The maximum number of accounts to return per page.
pageKeystring
The key for the next page of results, obtained from a previous response.
lastRowVersionstring
The last row version received, used for synchronization.
syncboolean
Enables synchronization mode, which sorts by rowVersion.
Headers
x-np-api-keystring required
x-api-versionstring date
Used for API versioning. More details.
Response
Response with status 200
GlaccountPaginatedGLAccounts required— unresolved $ref
Changes
No recorded changes to this endpoint across all 1 revision of this API.