accounts resource type

NEW VERSION This is v1.0 of the Business Central API. For the newest version, see Business Central API (V2.0).

Represents an account object in Dynamics 365 Business Central.

Note

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

Methods

Method Return Type Description
GET accounts accounts Get accounts object.

Properties

Property Type Description
id GUID The unique ID of the account.
number string, maximum size 20 Specifies the number of the G/L account.
displayName string, maximum size 50 Specifies the name of the G/L account.
category string, maximum size 20 Specifies the category of the G/L account.
subCategory string, maximum size 80 Specifies the subcategory of the account category of the G/L account.
blocked boolean Specifies that entries cannot be posted to the G/L account. True indicates account is blocked and posting is not allowed.
lastModifiedDateTime datetime The last datetime the account was modified.

Relationships

None

JSON representation

Here is a JSON representation of the resource.

{
  "id": "GUID",
  "number": "string",
  "displayName": "string",
  "category": "string",
  "subCategory": "string",
  "blocked": "boolean",
  "lastModifiedDateTime": "datetime"
}

See also

Get Account
Aged Accounts Payable
Aged Accounts Receivable