trialBalance resource type

Represents a trial balance in Business Central.

Note

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

Methods

MethodReturn TypeDescription
GET trialBalancetrialBalanceGets a trial balance object.
NavigationReturn TypeDescription
accountaccountGets the account of the trialBalance.

Properties

PropertyTypeDescription
accountIdGUIDThe id of the account that the trial balance is related to.
numberstringSpecifies the number of the trial balance.
accountTypeNAV.glAccountTypeThe type of the account that the trial balance is related to. It can be "Posting", "Heading", "Total", "Begin Total" or "End Total".
displaystringThe trial balance item display name.
totalDebitstringRepresents total debit amount in G/L Account.
totalCreditstringRepresents total credit amount in G/L Account.
balanceAtDateDebitstringRepresents positive Balance at Date amount in G/L Account.
balanceAtDateCreditstringRepresents negative Balance at Date amount in G/L Account.
dateFilterdateThe date filter used to calculate the trial balance items.

JSON representation

Here's a JSON representation of the trialBalance resource.

{
    "accountId": "GUID",
    "number": "string",
    "accountType": "NAV.glAccountType",
    "display": "string",
    "totalDebit": "string",
    "totalCredit": "string",
    "balanceAtDateDebit": "string",
    "balanceAtDateCredit": "string",
    "dateFilter": "date"
}

GET trialBalance