# vendorPayment resource type
Represents a vendor payment 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_vendorpayment_get|vendorPayment|Gets a vendor payment object.
../api/dynamics_vendorpayment_delete|none|Deletes a vendor payment object.
POST vendorPayment<../api/dynamics_vendorpayment_create>|vendorPayment|Creates a vendor payment object.
PATCH vendorPayment<../api/dynamics_vendorpayment_update>|vendorPayment|Updates a vendor payment object.
../api/dynamics_vendorpayment_get|vendorPayment|Gets a vendor payment object.
## Navigation
Navigation|Return Type|Description
dynamics_customerpaymentjournal|customerPaymentJournal|Gets the customerpaymentjournal of the vendorPayment.
dynamics_vendor|vendor|Gets the vendor of the vendorPayment.
dynamics_dimensionsetline|dimensionSetLines|Gets the dimensionsetlines of the vendorPayment.
applyVendorEntries<dynamics_applyvendorentry>|applyVendorEntries|Gets the applyvendorentries of the vendorPayment.
dynamics_vendorpaymentjournal|vendorPaymentJournal|Gets the vendorpaymentjournal of the vendorPayment.
## Properties
Property|Type|Description
id|GUID|The unique ID of the vendor payment. Non-editable.
journalId|GUID|The ID of the journal.
journalDisplayName|string|The display name of the journal that this line belongs to. Read-Only.
lineNumber|integer|The vendor payment item line number.
vendorId|GUID|The unique ID of vendor.
vendorNumber|string|Specifies vendor's number.
postingDate|date|The date that the vendor payment is posted.
documentNumber|string|Specifies a document number for the vendor payment.
externalDocumentNumber|string|Specifies an external document number for the vendor payment.
amount|decimal|Specifies the total amount (including VAT) that the vendor payment consists of.
appliesToInvoiceId|GUID|The unique ID of the invoice that the vendor payment is related to.
appliesToInvoiceNumber|string|The number of the invoice that the vendor payment is related to.
description|string|Specifies the description of the vendor payment.
comment|string|A user specified comment on the vendor payment.
lastModifiedDateTime|datetime|The last datetime the vendor payment was modified. Read-Only.
## JSON representation
Here's a JSON representation of the vendorPayment resource.
```json
{
    "id": "GUID",
    "journalId": "GUID",
    "journalDisplayName": "string",
    "lineNumber": "integer",
    "vendorId": "GUID",
    "vendorNumber": "string",
    "postingDate": "date",
    "documentNumber": "string",
    "externalDocumentNumber": "string",
    "amount": "decimal",
    "appliesToInvoiceId": "GUID",
    "appliesToInvoiceNumber": "string",
    "description": "string",
    "comment": "string",
    "lastModifiedDateTime": "datetime"
}
```
## Related information
../api/dynamics_vendorpayment_get
../api/dynamics_vendorpayment_delete
POST vendorPayment<../api/dynamics_vendorpayment_create>
PATCH vendorPayment<../api/dynamics_vendorpayment_update>

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_vendorpayment, 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_vendorpayment/
