NEW VERSION This is v1.0 of the Business Central API. For the newest version, see Business Central API (V2.0).
Represents a generalLedgerEntry object 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 generalLedgerEntries | generalLedgerEntries | Get a G/L entry object. |
Properties
| Property | Type | Description |
|---|---|---|
| id | GUID | The unique ID of the G/L Entry. |
| number | numeric | Specifies the number of the G/L Entry. |
| postingDate | date | Specifies the posting date of the G/L Entry. |
| documentNumber | string, maximum size 20 | Specifies the document number of the G/L Entry. |
| documentType | string | Specifies the document type of the G/L Entry. |
| dimensions | NAV.dimensionType | dimensions of the G/L Entry. |
| accountId | GUID | Specifies the accountId of the G/L Entry. |
| accountNumber | string, maximum size 20 | Specifies the accountNumber of the G/L Entry. |
| description | string, maximum size 50 | Specifies the description of the G/L Entry. |
| debitAmount | numeric | Specifies the debitAmount of the G/L Entry. |
| creditAmount | numeric | Specifies the creditAmount of the G/L Entry. |
| lastModifiedDateTime | datetime | The last datetime the G/L Entry was modified. |
Relationships
None
JSON representation
Here is a JSON representation of the resource.
{
"id": "GUID",
"number": "int",
"postingDate": "Date",
"documentNumber": "string",
"documentType": "string",
"dimensions": "string",
"accountId": "GUID",
"accountNumber": "string",
"description": "string",
"debitAmount": "decimal",
"creditAmount": "decimal",
"lastModifiedDateTime": "datetime"
}