agedAccountsPayable resource type

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

MethodReturn TypeDescription
GET agedAccountsPayableagedAccountsPayableGets a aged accounts payable object.
NavigationReturn TypeDescription
vendorvendorGets the vendor of the agedAccountsPayable.

Properties

PropertyTypeDescription
vendorIdGUIDThe unique ID of vendor.
vendorNumberstringSpecifies vendor's number.
namestringRepresents the aged accounts payable's name.
currencyCodestringThe default currency code for the aged accounts payable.
balanceDuedecimalSpecifies total balance due.
currentAmountdecimalSpecifies the current balance.
period1AmountdecimalSpecifies balance in the first aging period.
period2AmountdecimalSpecifies balance in the second aging period.
period3AmountdecimalSpecifies balance in the third aging period.
agedAsOfDatedateThe period start date.
periodLengthFilterstringSpecifies 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"
}

GET agedAccountsPayable