Retrieves the properties and relationships of a general ledger setup object for Business Central.
HTTP request
Replace the URL prefix for Business Central depending on environment following the guideline.
GET businesscentralPrefix/companies({id})/generalLedgerSetup({id})
Request headers
| Header | Value |
|---|---|
| Authorization | Bearer {token}. Required. |
Request body
Don't supply a request body for this method.
Response
If successful, this method returns a 200 OK response code and a generalLedgerSetup object in the response body.
Example
Request
Here's an example of the request.
GET https://{businesscentralPrefix}/api/v2.0/companies({id})/generalLedgerSetups({id})
Response
Here's an example of the response.
{
"id": "00000000-0000-0000-0000-000000000001",
"allowPostingFrom": "2025-01-01",
"allowPostingTo": "2025-12-31",
"additionalReportingCurrency": "EUR",
"localCurrencyCode": "USD",
"localCurrencySymbol": "$",
"lastModifiedDateTime": "2025-03-15T09:45:12Z",
"allowQueryFromConsolidation": true
}