Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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 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. |
Properties
| Property | Type | Description |
|---|---|---|
| id | GUID | The unique ID of the general ledger entry. Non-editable. |
| number | integer | |
| description | string | Specifies the description of the general ledger entry. |
| postingDate | date | The date that the general ledger entry is posted. |
| accountNumber | string | The number of the account that the general ledger entry is related to. |
| businessUnitCode | string | |
| reveresd | boolean | |
| documentNumber | string | Specifies a document number for the general ledger entry. |
| externalDocumentNumber | string | Specifies an external document number for the general ledger entry. |
| sourceType | string | |
| sourceNumber | string | |
| sourceCode | string | |
| amount | decimal | Specifies the total amount (including VAT) that the general ledger entry consists of. |
| debitAmount | decimal | Specifies the debitAmount of the general ledger entry. |
| creditAmount | decimal | Specifies the creditAmount of the general ledger entry. |
| vatAmount | decimal | |
| additionalCurrencyAmount | decimal | |
| dimensionSetID | integer | |
| globalDimension1Code | string | |
| globalDimension2Code | string | |
| 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",
"number": "integer",
"description": "string",
"postingDate": "date",
"accountNumber": "string",
"businessUnitCode": "string",
"reveresd": "boolean",
"documentNumber": "string",
"externalDocumentNumber": "string",
"sourceType": "string",
"sourceNumber": "string",
"sourceCode": "string",
"amount": "decimal",
"debitAmount": "decimal",
"creditAmount": "decimal",
"vatAmount": "decimal",
"additionalCurrencyAmount": "decimal",
"dimensionSetID": "integer",
"globalDimension1Code": "string",
"globalDimension2Code": "string",
"lastModifiedDateTime": "datetime"
}