Represents an aged accounts payable 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 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's 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"
}