Magidoc

getGLAccounts
Query

Lists the workspace chart of accounts, optionally with posted balances through a UTC calendar day. Access: accounting read permission in the workspace.

Arguments

#

workspaceId

ID !
Non-null

includeInactive

includeBalances = true

includeArchived

Include archived accounts in the response. Archived rows are useful for historical balance reads, while callers that render selectable accounts should leave this false.

asOf

Balances through the end of this UTC calendar day. Defaults to today in UTC.

Response

#

Returns [GLAccount !]!.

Example

#