Book journal entry

Book a general journal entry with debit and credit lines.

POST https://cotlet.dev/api/v1/exact-online/journal-entries

write Confirm

Books one general journal entry with its lines. Exact gives entries made this way type 90 (Other), and opening balances cannot be created. Debits and credits must balance. It writes to the ledger. By default you confirm each call; you can switch that off for this tool.

Parameters

Parameters: book_journal_entry
NameTypeDescription
division integer integer Division (company) code from list_divisions. Default: the account's current division.
entry_date date required date Date of the entry.
description string required string Entry description.
lines array required array Objects with gl_account and either debit or credit.

Request

cURL
curl -X POST https://cotlet.dev/api/v1/exact-online/journal-entries \
  -H "Authorization: Bearer $COTLET_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"division":1234567,"entry_date":"2026-10-31","description":"Rent accrual October","lines":[{"gl_account":"4000","debit":1200},{"gl_account":"1800","credit":1200}]}'
Python
result = client.call("exact-online", "book_journal_entry", {"division":1234567,"entry_date":"2026-10-31","description":"Rent accrual October","lines":[{"gl_account":"4000","debit":1200},{"gl_account":"1800","credit":1200}]})
Node.js
const result = await cotlet.call('exact-online', 'book_journal_entry', {"division":1234567,"entry_date":"2026-10-31","description":"Rent accrual October","lines":[{"gl_account":"4000","debit":1200},{"gl_account":"1800","credit":1200}]});
CLI
cotlet call exact-online book_journal_entry --data '{"division":1234567,"entry_date":"2026-10-31","description":"Rent accrual October","lines":[{"gl_account":"4000","debit":1200},{"gl_account":"1800","credit":1200}]}'

Example response

JSON

{
  "entry_number": 90001234,
  "entry_date": "2026-10-31",
  "description": "Rent accrual October",
  "lines": [
    {
      "gl_account": "4000",
      "debit": 1200
    },
    {
      "gl_account": "1800",
      "credit": 1200
    }
  ],
  "status": "booked"
}

Sign in once. Your agent does the rest.

Sign up and add the apps you need. Free 7-day trial with 2,000 credits, no card needed.