Modifier

Partager via


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

Method Return Type Description
GET trialBalance trialBalance Gets a trial balance object.
Navigation Return Type Description
account account Gets the account of the trialBalance.

Properties

Property Type Description
accountId GUID The id of the account that the trial balance is related to.
number string Specifies the number of the trial balance.
accountType NAV.glAccountType The type of the account that the trial balance is related to. It can be "Posting", "Heading", "Total", "Begin Total" or "End Total".
display string The trial balance item display name.
totalDebit string Represents total debit amount in G/L Account.
totalCredit string Represents total credit amount in G/L Account.
balanceAtDateDebit string Represents positive Balance at Date amount in G/L Account.
balanceAtDateCredit string Represents negative Balance at Date amount in G/L Account.
dateFilter date The date filter used to calculate the trial balance items.

JSON representation

Here is 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