generalLedgerEntries resource type (v1.0)

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

MethodReturn TypeDescription
GET generalLedgerEntriesgeneralLedgerEntriesGet a G/L entry object.

Properties

PropertyTypeDescription
idGUIDThe unique ID of the G/L Entry.
numbernumericSpecifies the number of the G/L Entry.
postingDatedateSpecifies the posting date of the G/L Entry.
documentNumberstring, maximum size 20Specifies the document number of the G/L Entry.
documentTypestringSpecifies the document type of the G/L Entry.
dimensionsNAV.dimensionTypedimensions of the G/L Entry.
accountIdGUIDSpecifies the accountId of the G/L Entry.
accountNumberstring, maximum size 20Specifies the accountNumber of the G/L Entry.
descriptionstring, maximum size 50Specifies the description of the G/L Entry.
debitAmountnumericSpecifies the debitAmount of the G/L Entry.
creditAmountnumericSpecifies the creditAmount of the G/L Entry.
lastModifiedDateTimedatetimeThe 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"
}

General Ledger Entries
Get General Ledger Entries