v2

latestSwagger 2.02026-08-01139174369.1 KB
Accruals

Returns information about a single parent Accrual. Child accruals are not exposed by the public API.

get/v1/accruals/{id}

Path parameters

idinteger required

Id of the parent Accrual to return.

Response

OK

idinteger
acCodestring
entryDatestring date-time
procDatestring date-time
referencestring
totalnumber double
timestampstring byte
firstDetailstring
secondDetailstring

Example response

{
  "id": 12345,
  "acCode": "4000",
  "entryDate": "2024-03-01T00:00:00",
  "procDate": "2024-03-15T00:00:00",
  "reference": "ACC0001",
  "total": 1200,
  "timestamp": "6NJA5vbv3gg=",
  "firstDetail": "Insurance accrual",
  "secondDetail": "March 2024"
}