{"title":"vendorPayment resource type","url":"https://jonas-paprotka.de/docs/dev-itpro/api-reference/v2.0/resources/dynamics_vendorpayment/","by":"JOP-AL","license":"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.","credit":"Microsoft Corporation, CC BY 4.0","origin":"https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/api-reference/v2.0/resources/dynamics_vendorpayment","source":{"name":"Business Central developer and IT pro docs","repo":"https://github.com/MicrosoftDocs/dynamics365smb-devitpro-pb","commit":"828b6ee72fcd75755627cd6011f3d20899217ab2","date":"2026-11-19"},"checked":"2026-11-19","description":"A vendor payment object in Dynamics 365 Business Central.","date":"2026-08-21","meta":{"topic":"reference"},"outline":[{"level":1,"title":"vendorPayment resource type","slug":"vendorpayment-resource-type","at":0,"chars":3116},{"level":2,"title":"Methods","slug":"methods","at":237,"chars":482},{"level":2,"title":"Navigation","slug":"navigation","at":719,"chars":530},{"level":2,"title":"Properties","slug":"properties","at":1249,"chars":1107},{"level":2,"title":"JSON representation","slug":"json-representation","at":2356,"chars":552},{"level":2,"title":"Related information","slug":"related-information","at":2908,"chars":208}],"text":"# vendorPayment resource type\nRepresents a vendor payment in Business Central.\n> NOTE\n> For information about enabling APIs for Business Central see Enabling the APIs for Dynamics 365 Business Central<../enabling-apis-for-dynamics-nav>.\n## Methods\nMethod|Return Type|Description\n../api/dynamics_vendorpayment_get|vendorPayment|Gets a vendor payment object.\n../api/dynamics_vendorpayment_delete|none|Deletes a vendor payment object.\nPOST vendorPayment<../api/dynamics_vendorpayment_create>|vendorPayment|Creates a vendor payment object.\nPATCH vendorPayment<../api/dynamics_vendorpayment_update>|vendorPayment|Updates a vendor payment object.\n../api/dynamics_vendorpayment_get|vendorPayment|Gets a vendor payment object.\n## Navigation\nNavigation|Return Type|Description\ndynamics_customerpaymentjournal|customerPaymentJournal|Gets the customerpaymentjournal of the vendorPayment.\ndynamics_vendor|vendor|Gets the vendor of the vendorPayment.\ndynamics_dimensionsetline|dimensionSetLines|Gets the dimensionsetlines of the vendorPayment.\napplyVendorEntries<dynamics_applyvendorentry>|applyVendorEntries|Gets the applyvendorentries of the vendorPayment.\ndynamics_vendorpaymentjournal|vendorPaymentJournal|Gets the vendorpaymentjournal of the vendorPayment.\n## Properties\nProperty|Type|Description\nid|GUID|The unique ID of the vendor payment. Non-editable.\njournalId|GUID|The ID of the journal.\njournalDisplayName|string|The display name of the journal that this line belongs to. Read-Only.\nlineNumber|integer|The vendor payment item line number.\nvendorId|GUID|The unique ID of vendor.\nvendorNumber|string|Specifies vendor's number.\npostingDate|date|The date that the vendor payment is posted.\ndocumentNumber|string|Specifies a document number for the vendor payment.\nexternalDocumentNumber|string|Specifies an external document number for the vendor payment.\namount|decimal|Specifies the total amount (including VAT) that the vendor payment consists of.\nappliesToInvoiceId|GUID|The unique ID of the invoice that the vendor payment is related to.\nappliesToInvoiceNumber|string|The number of the invoice that the vendor payment is related to.\ndescription|string|Specifies the description of the vendor payment.\ncomment|string|A user specified comment on the vendor payment.\nlastModifiedDateTime|datetime|The last datetime the vendor payment was modified. Read-Only.\n## JSON representation\nHere's a JSON representation of the vendorPayment resource.\n```json\n{\n    \"id\": \"GUID\",\n    \"journalId\": \"GUID\",\n    \"journalDisplayName\": \"string\",\n    \"lineNumber\": \"integer\",\n    \"vendorId\": \"GUID\",\n    \"vendorNumber\": \"string\",\n    \"postingDate\": \"date\",\n    \"documentNumber\": \"string\",\n    \"externalDocumentNumber\": \"string\",\n    \"amount\": \"decimal\",\n    \"appliesToInvoiceId\": \"GUID\",\n    \"appliesToInvoiceNumber\": \"string\",\n    \"description\": \"string\",\n    \"comment\": \"string\",\n    \"lastModifiedDateTime\": \"datetime\"\n}\n```\n## Related information\n../api/dynamics_vendorpayment_get\n../api/dynamics_vendorpayment_delete\nPOST vendorPayment<../api/dynamics_vendorpayment_create>\nPATCH vendorPayment<../api/dynamics_vendorpayment_update>"}