v2

latestSwagger 2.02026-08-01139174369.1 KB
NominalJournalBatches

Creates a new Nominal Journal Batch.

post/v1/nominalJournalBatches

Request body

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

Example request

{
  "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="
    }
  ]
}

Response

OK

object required