v1

latestOpenAPI 3.1.02026-07-24111224223.3 KB
Journal Entries

Updates a journal entry

Replaces the lines and header metadata on an existing manual journal entry, subject to the same balancing rules as creation. Always include the complete line list retrieved beforehand because partial payloads can clear fields the API treats as optional.

put/journal-entries/{journal_entry_id}

Path parameters

journal_entry_idstring required

UUID of the journal entry to be used in this operation.

Request body

namestring required
currencystring required

Currency code following ISO-4217

datestring date required
reversal_datestring date
attachmentUrlstring uri

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"
  }
}