v2

latestSwagger 2.02026-08-01139174369.1 KB
NominalJournalBatches

Returns information about a single Nominal Journal Batch.

get/v1/nominalJournalBatches/{id}

Path parameters

idinteger required

Id of Nominal Journal Batch to return.

Response

OK

idinteger
bookTranTypeIdinteger
entryDatestring date-time
procDatestring date-time
totalnumber double
timestampstring byte

Example response

{
  "id": 12345,
  "bookTranTypeId": 7,
  "entryDate": "2024-01-15T00:00:00",
  "procDate": "2024-01-15T00:00:00",
  "total": 100,
  "timestamp": "AZhF5vbv3gg=",
  "accountTransactions": [
    {
      "id": 1,
      "acCode": "400",
      "description": "Sales",
      "procDate": "2024-01-15T00:00:00",
      "reference": "NJ0001",
      "debit": 100,
      "credit": 0,
      "firstDetail": "Line 1",
      "secondDetail": "",
      "timeStamp": "AZhF5vbv3gg="
    },
    {
      "id": 2,
      "acCode": "800",
      "description": "Expenses",
      "procDate": "2024-01-15T00:00:00",
      "reference": "NJ0001",
      "debit": 0,
      "credit": 100,
      "firstDetail": "Line 2",
      "secondDetail": "",
      "timeStamp": "AZhF5vbv3gg="
    }
  ]
}