# 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<../enabling-apis-for-dynamics-nav>.
## Methods
Method|Return Type|Description
../api/dynamics_generalledgerentry_get|generalLedgerEntry|Gets a general ledger entry object.
## Navigation
Navigation|Return Type|Description
dynamics_account|account|Gets the account of the generalLedgerEntry.
dynamics_attachment|attachments|Gets the attachments of the generalLedgerEntry.
dynamics_dimensionsetline|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's a JSON representation of the generalLedgerEntry resource.
```json
{
    "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"
}
```
## Related information
../api/dynamics_generalledgerentry_get

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