# vendorPurchase resource type
Represents a vendor purchase 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_vendorpurchase_get|vendorPurchase|Gets a vendor purchase object.
## Properties
Property|Type|Description
vendorId|GUID|The unique ID of vendor.
vendorNumber|string|Specifies vendor's number.
name|string|Represents the vendor purchase's name.
totalPurchaseAmount|decimal|Represents the vendor purchases.
dateFilter_FilterOnly|date|Represents the date filter for the vendor purchase.
## JSON representation
Here's a JSON representation of the vendorPurchase resource.
```json
{
    "vendorId": "GUID",
    "vendorNumber": "string",
    "name": "string",
    "totalPurchaseAmount": "decimal",
    "dateFilter_FilterOnly": "date"
}
```
## Related information
../api/dynamics_vendorpurchase_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_vendorpurchase, 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_vendorpurchase/
