generalLedgerEntry resource type

Represents a general 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 generalLedgerEntry generalLedgerEntry Gets a general ledger entry object.
Navigation Return Type Description
account account Gets the account of the generalLedgerEntry.
attachments attachments Gets the attachments of the generalLedgerEntry.
dimensionSetLines dimensionSetLines Gets the dimensionsetlines of the generalLedgerEntry.

Properties

Property Type Description
id GUID The unique ID of the general ledger entry. Non-editable.
entryNumber integer G/L Entry number.
postingDate date The date that the general ledger entry is posted.
documentNumber string Specifies a document number for the general ledger entry.
documentType NAV.genJournalDocumentType Specifies the document type of the general ledger entry. It can be " ", "Payment", "Invoice", "Credit Memo", "Finance Charge Memo", "Reminder" or "Refund".
accountId GUID The id of the account that the general ledger entry is related to.
accountNumber string The number of the account that the general ledger entry is related to.
description string Specifies the description of the general ledger entry.
debitAmount decimal Specifies the debitAmount of the general ledger entry.
creditAmount decimal Specifies the creditAmount of the general ledger entry.
additionalCurrencyDebitAmount decimal
additionalCurrencyCreditAmount decimal
lastModifiedDateTime datetime The last datetime the general ledger entry was modified. Read-Only.

JSON representation

Here is a JSON representation of the generalLedgerEntry resource.

{
    "id": "GUID",
    "entryNumber": "integer",
    "postingDate": "date",
    "documentNumber": "string",
    "documentType": "NAV.genJournalDocumentType",
    "accountId": "GUID",
    "accountNumber": "string",
    "description": "string",
    "debitAmount": "decimal",
    "creditAmount": "decimal",
    "additionalCurrencyDebitAmount": "decimal",
    "additionalCurrencyCreditAmount": "decimal",
    "lastModifiedDateTime": "datetime"
}

GET generalLedgerEntry