agedAccountsPayable resource type
Important: Currently all requests to API v2.0 must append $schemaversion=2.0 to the request URL to work properly. This is to uptake the new improved $metadata model avaliable from Business Central 17. An update will be applied shortly to apply the schemaversion automatically to API v2.0. For all other APIs $schemaversion=1.0 will be the default, unless specified in the request URL with $schemaversion=2.0. A solution is being worked on, where the schemaversion will be defined in the extension.
Represents an aged accounts payable 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 agedAccountsPayable | agedAccountsPayable | Gets a aged accounts payable object. |
Navigation
Navigation | Return Type | Description |
---|---|---|
vendor | vendor | Gets the vendor of the agedAccountsPayable. |
Properties
Property | Type | Description |
---|---|---|
vendorId | GUID | The unique ID of vendor. |
vendorNumber | string | Specifies vendor's number. |
name | string | Represents the aged accounts payable's name. |
currencyCode | string | The default currency code for the aged accounts payable. |
balanceDue | decimal | Specifies total balance due. |
currentAmount | decimal | Specifies the current balance. |
period1Amount | decimal | Specifies balance in the first aging period. |
period2Amount | decimal | Specifies balance in the second aging period. |
period3Amount | decimal | Specifies balance in the third aging period. |
agedAsOfDate | date | The period start date. |
periodLengthFilter | string | Specifies the length of the periods. |
JSON representation
Here is a JSON representation of the agedAccountsPayable resource.
{
"vendorId": "GUID",
"vendorNumber": "string",
"name": "string",
"currencyCode": "string",
"balanceDue": "decimal",
"currentAmount": "decimal",
"period1Amount": "decimal",
"period2Amount": "decimal",
"period3Amount": "decimal",
"agedAsOfDate": "date",
"periodLengthFilter": "string"
}