Skip to main content
PUT
/
service
/
general-ledger
/
journal-entries
/
{journal_entry_id}
curl -X PUT https://kube.acho.io/service/general-ledger/journal-entries/JE-2024-002 \
  -H "Authorization: jwt YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "memo": "Updated memo - Office supplies",
    "lines": [
      {
        "line_number": 1,
        "account_id": "a35mjFPFRW33BJRCQr",
        "debit": 600,
        "credit": 0,
        "memo": "Updated expense"
      },
      {
        "line_number": 2,
        "account_id": "a35mjFPFRW33BJRCQs",
        "debit": 0,
        "credit": 600,
        "memo": "Updated payment"
      }
    ]
  }'
{
  "journal_entry_id": "JE-2024-002",
  "tran_date": "2024-01-16",
  "posting_period_id": "a3UM4R8nYh33A6hgda",
  "memo": "Updated memo - Office supplies",
  "entry_type": "Standard",
  "currency": "USD",
  "status": "Draft",
  "total_debit": 600,
  "total_credit": 600,
  "lines": [
    {
      "line_number": 1,
      "account_id": "a35mjFPFRW33BJRCQr",
      "debit": 600,
      "credit": 0,
      "memo": "Updated expense"
    },
    {
      "line_number": 2,
      "account_id": "a35mjFPFRW33BJRCQs",
      "debit": 0,
      "credit": 600,
      "memo": "Updated payment"
    }
  ],
  "updated_at": "2024-01-16T11:00:00Z"
}

Request

Update a journal entry that is in Draft status. Entries that have been submitted for approval cannot be updated.

Headers

Authorization
string
required
JWT authentication token. Format: jwt YOUR_TOKEN
Content-Type
string
required
Must be application/json

Path Parameters

journal_entry_id
string
required
The unique identifier of the journal entry

Body Parameters

memo
string
Updated description
lines
array
Updated array of line items. The full lines array must be provided.
Only entries in Draft status can be updated. Use the Request Change workflow action to return an entry to Draft status.
curl -X PUT https://kube.acho.io/service/general-ledger/journal-entries/JE-2024-002 \
  -H "Authorization: jwt YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "memo": "Updated memo - Office supplies",
    "lines": [
      {
        "line_number": 1,
        "account_id": "a35mjFPFRW33BJRCQr",
        "debit": 600,
        "credit": 0,
        "memo": "Updated expense"
      },
      {
        "line_number": 2,
        "account_id": "a35mjFPFRW33BJRCQs",
        "debit": 0,
        "credit": 600,
        "memo": "Updated payment"
      }
    ]
  }'
{
  "journal_entry_id": "JE-2024-002",
  "tran_date": "2024-01-16",
  "posting_period_id": "a3UM4R8nYh33A6hgda",
  "memo": "Updated memo - Office supplies",
  "entry_type": "Standard",
  "currency": "USD",
  "status": "Draft",
  "total_debit": 600,
  "total_credit": 600,
  "lines": [
    {
      "line_number": 1,
      "account_id": "a35mjFPFRW33BJRCQr",
      "debit": 600,
      "credit": 0,
      "memo": "Updated expense"
    },
    {
      "line_number": 2,
      "account_id": "a35mjFPFRW33BJRCQs",
      "debit": 0,
      "credit": 600,
      "memo": "Updated payment"
    }
  ],
  "updated_at": "2024-01-16T11:00:00Z"
}