Bearbeiten

Freigeben über


account resource type

Represents an account 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 account account Gets a account object.
Navigation Return Type Description
trialBalance trialBalance Gets the trialbalance of the account.

Properties

Property Type Description
id GUID The unique ID of the account. Non-editable.
number string Specifies the number of the account.
displayName string Specifies the account's name. This name will appear on all sales documents for the account.
category NAV.glAccountCategory Specifies the category of the account. It can be " ", "Assets", "Liabilities", "Equity", "Income", "Cost of Goods Sold" or "Expense".
subCategory string Specifies the subcategory of the account category of the G/L account.
blocked boolean Specifies that entries cannot be posted to the account. True indicates account is blocked and posting is not allowed.
accountType NAV.glAccountType The type of the account that the account is related to. It can be "Posting", "Heading", "Total", "Begin Total" or "End Total".
directPosting boolean Specifies whether direct posting is enabled.
netChange decimal The account net change.
consolidationTranslationMethod string
consolidationDebitAccount string
consolidationCreditAccount string
excludeFromConsolidation boolean
lastModifiedDateTime datetime The last datetime the account was modified. Read-Only.

JSON representation

Here is a JSON representation of the account resource.

{
    "id": "GUID",
    "number": "string",
    "displayName": "string",
    "category": "NAV.glAccountCategory",
    "subCategory": "string",
    "blocked": "boolean",
    "accountType": "NAV.glAccountType",
    "directPosting": "boolean",
    "netChange": "decimal",
    "consolidationTranslationMethod": "string",
    "consolidationDebitAccount": "string",
    "consolidationCreditAccount": "string",
    "excludeFromConsolidation": "boolean",
    "lastModifiedDateTime": "datetime"
}

GET account