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

MethodReturn TypeDescription
GET generalLedgerEntrygeneralLedgerEntryGets a general ledger entry object.
NavigationReturn TypeDescription
accountaccountGets the account of the generalLedgerEntry.
attachmentsattachmentsGets the attachments of the generalLedgerEntry.
dimensionSetLinesdimensionSetLinesGets the dimensionsetlines of the generalLedgerEntry.

Properties

PropertyTypeDescription
idGUIDThe unique ID of the general ledger entry. Non-editable.
entryNumberintegerG/L Entry number.
postingDatedateThe date that the general ledger entry is posted.
documentNumberstringSpecifies a document number for the general ledger entry.
documentTypeNAV.genJournalDocumentTypeSpecifies the document type of the general ledger entry. It can be " ", "Payment", "Invoice", "Credit Memo", "Finance Charge Memo", "Reminder" or "Refund".
accountIdGUIDThe id of the account that the general ledger entry is related to.
accountNumberstringThe number of the account that the general ledger entry is related to.
descriptionstringSpecifies the description of the general ledger entry.
debitAmountdecimalSpecifies the debitAmount of the general ledger entry.
creditAmountdecimalSpecifies the creditAmount of the general ledger entry.
additionalCurrencyDebitAmountdecimal
additionalCurrencyCreditAmountdecimal
lastModifiedDateTimedatetimeThe last datetime the general ledger entry was modified. Read-Only.

JSON representation

Here's 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