v1

latestOpenAPI 3.1.02026-07-24111224223.3 KB
Journal Entries

Creates a journal entry

Posts a balanced manual journal entry with explicit debit and credit lines, posting date, and subsidiary scope for GL corrections. Prefer dedicated AR or AP APIs when the business event already exists; reserve this for adjustments your automation cannot model yet.

post/journal-entries

Request body

namestring required
currencystring required

Currency code following ISO-4217

datestring date required
reversal_datestring date
attachmentUrlstring uri
subsidiary_idstring uuid

Example request

{
  "currency": "USD",
  "items": [
    {
      "amount": {
        "amount": "1.01",
        "currency": "USD"
      },
      "account_code": "11112"
    }
  ],
  "exchange_rate": {
    "base": "USD",
    "target": "USD"
  }
}

Response

OK

idstring uuid required
subsidiary_idstring uuid
namestring required
currencystring required

Currency code following ISO-4217

datestring date required

The date this journal entry was posted to the general ledger.

reversal_datestring date
attachmentUrlstring uri
updated_atstring date-time required

ISO 8601 timestamp in UTC timezone (must end with 'Z')

Example response

{
  "currency": "USD",
  "items": [
    {
      "amount": {
        "amount": "1.01",
        "currency": "USD"
      },
      "original_transaction_amount": {
        "amount": "1.01",
        "currency": "USD"
      },
      "account_code": "11112"
    }
  ],
  "exchange_rate": {
    "base": "USD",
    "target": "USD"
  }
}