# agedAccountsPayable resource type (v1.0)
> NEW VERSION This is v1.0 of the Business Central API. For the newest version, see Business Central API (V2.0)<../../v2.0>.
Represents an agedAccountsPayable object in Business Central, which is showing the aging of a vendor account.
> 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|Get agedAccountsPayable object
## Properties
Property|Type|Description
vendorId|GUID|The unique ID of vendor.
vendorNumber|string|Specifies vendor's number.
name|string|Specifies vendor's name.
currencyCode|string|Specifies the currency.
before|numeric|Specifies balance before first aging period.
period1|numeric|Specifies balance in the first aging period.
period2|numeric|Specifies balance in the second aging period.
period3|numeric|Specifies balance in the third aging period.
after|numeric|Specifies balance after third aging period.
balance|numeric|Specifies vendor's total balance.
periodStartDateFilter|date|Specifies period start date used to calculate aging periods.
periodLengthFilter|string|Specifies the length of the periods.
## Relationships
None
## JSON representation
Here is a JSON representation of the resource.
```json
{
    "vendorId": "GUID",
    "vendorNumber": "string",
    "name": "string",
    "currencyCode": "string",
    "before": "decimal",
    "period1": "decimal",
    "period2": "decimal",
    "period3": "decimal",
    "after": "decimal",
    "balance": "decimal",
    "periodStartDateFilter": "date",
    "periodLengthFilter": "string"
}
```
## Related information
Get Aged Accounts Payable<../api/dynamics_agedaccountspayable_get>
Aged Accounts Receivable<dynamics_agedaccountsreceivable>
dynamics_account

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/v1.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/v1.0/resources/dynamics_agedaccountspayable/
