# 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<../enabling-apis-for-dynamics-nav>.
## Methods
Method|Return Type|Description
../api/dynamics_agedaccountspayable_get|agedAccountsPayable|Gets a aged accounts payable object.
## Navigation
Navigation|Return Type|Description
dynamics_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.
```json
{
    "vendorId": "GUID",
    "vendorNumber": "string",
    "name": "string",
    "currencyCode": "string",
    "balanceDue": "decimal",
    "currentAmount": "decimal",
    "period1Amount": "decimal",
    "period2Amount": "decimal",
    "period3Amount": "decimal",
    "agedAsOfDate": "date",
    "periodLengthFilter": "string"
}
```
## Related information
../api/dynamics_agedaccountspayable_get

Copyright (c) Microsoft Corporation. CC BY 4.0, https://creativecommons.org/licenses/by/4.0/; code samples MIT. From https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/api-reference/v2.0/resources/dynamics_agedaccountspayable, MicrosoftDocs/dynamics365smb-devitpro-pb at 828b6ee (2026-11-19). Changed: includes filled in, links to this site, and for agents shortened without dropping a fact. https://jonas-paprotka.de/docs/dev-itpro/api-reference/v2.0/resources/dynamics_agedaccountspayable/
