generalLedgerEntries resource type

Represents a generalLedgerEntry object in Dynamics 365 Business Central.

Note

For information about enabling APIs for Dynamics NAV 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.
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",
  "accountId": "GUID",
  "accountNumber": "string",
  "description": "string",
  "debitAmount": "decimal",
  "creditAmount": "decimal",
  "lastModifiedDateTime": "datetime"
}

See also

Working with Dynamics 365 Business Central in Microsoft Graph
Enabling the APIs for Dynamics 365 Business Central
Endpoints for the APIs
Error Codes
General Ledger Entries
Get General Ledger Entries