finance > G/L Entry Service

Get G/L Entry by ID

Changed on

Retrieves a single G/L entry by its system ID.

get/{tenant}/{environment}/{company}/generalledger/entry/{id}

Request

Path parameters

tenantstring required

Your Entra Tenant ID. More details.

environmentstring required

Your Business Central Environment. More details.

companystring required

Your Business Central Company. More details.

idstring uuid required

The UUID of the G/L Entry.

Headers

x-api-versionstring date

Used for API versioning. More details.

Response

Response with status 200

idstring uuid required

The unique identifier for the G/L Entry (SystemId).

entryNumberinteger required

The unique sequential number of the G/L entry.

postingDatestring date required

The date the entry was posted to the general ledger.

documentNumberstring required

The number of the document that the entry belongs to.

documentType' ' | 'Payment' | 'Invoice' | 'Credit Memo' | 'Finance Charge Memo' | 'Reminder' | 'Refund' required

The type of the document that created the G/L entry.

accountIdstring uuid required

The unique identifier of the G/L account.

accountNumberstring required

The G/L account number that the entry was posted to.

descriptionstring required

A description of the transaction.

debitAmountnumber double required

The debit amount of the entry.

creditAmountnumber double required

The credit amount of the entry.

additionalCurrencyDebitAmountnumber double required

The debit amount in the additional reporting currency.

additionalCurrencyCreditAmountnumber double required

The credit amount in the additional reporting currency.

lastModifiedDateTimestring date-time required

The date and time the G/L entry was last modified.

rowVersionstring

The row version for data synchronization, required for the 'sync' parameter.

Changes

    • breaking

      the response's body type changed from no type to object for status

    • warning

      deleted the header request parameter x-np-api-key

    • info

      the endpoint scheme security NPApiKeyAuthScheme was added to the API

    • info

      added the optional property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      api operation id get-entry-by-id removed and replaced with finance_glentry_getEntryById