Edit

vendorLedgerEntry resource type (Beta)

Important

The finance reports API is announced as deprecated starting with Business Central 2026 release wave 2 and will be removed in Business Central 2027 release wave 1. We recommend that you transition to the Analytics API instead. Learn more in Analytics API overview.

Represents a vendor ledger entry in Business Central.

Note

For information about enabling APIs for Business Central see Enabling the APIs for Dynamics 365 Business Central.

Methods

Method Return Type Description
GET vendorLedgerEntry vendorLedgerEntry Gets a vendor ledger entry object.

Properties

Property Type Description
entryNumber integer G/L Entry number.
documentType string Specifies the document type of the vendor ledger entry.
description string Specifies the description of the vendor ledger entry.
postingDate date The date that the vendor ledger entry is posted.
documentNumber string Specifies a document number for the vendor ledger entry.
externalDocumentNumber string Specifies an external document number for the vendor ledger entry.
balancingAccountNumber string The balancing G/L Account number.
balancingAccountType string
vendorNumber string Specifies vendor's number.
open boolean
dimensionSetID integer
currencyCode string The default currency code for the vendor ledger entry.
lastModifiedDateTime datetime The last datetime the vendor ledger entry was modified. Read-Only.
amount decimal Specifies the total amount (including VAT) that the vendor ledger entry consists of.
debitAmount decimal Specifies the debitAmount of the vendor ledger entry.
creditAmount decimal Specifies the creditAmount of the vendor ledger entry.
amountLocalCurrency decimal
debitAmountLocalCurrency decimal
creditAmountLocalCurrency decimal

JSON representation

Here is a JSON representation of the vendorLedgerEntry resource.

{
    "entryNumber": "integer",
    "documentType": "string",
    "description": "string",
    "postingDate": "date",
    "documentNumber": "string",
    "externalDocumentNumber": "string",
    "balancingAccountNumber": "string",
    "balancingAccountType": "string",
    "vendorNumber": "string",
    "open": "boolean",
    "dimensionSetID": "integer",
    "currencyCode": "string",
    "lastModifiedDateTime": "datetime",
    "amount": "decimal",
    "debitAmount": "decimal",
    "creditAmount": "decimal",
    "amountLocalCurrency": "decimal",
    "debitAmountLocalCurrency": "decimal",
    "creditAmountLocalCurrency": "decimal"
}

GET vendorLedgerEntry