Create finance voucher
Post a finance voucher to a journal.
POST https://cotlet.dev/api/v1/e-conomic/journals/{journal_number}/finance-vouchers
write Confirm
Creates a voucher with one finance entry: account, contra account, amount, date and text of up to 250 characters, with an optional VAT code. A negative amount marks the opposite side. It changes the books, so check the accounts in the call. By default you confirm each call; you can switch that off for this tool.
Parameters
| Name | Type | Description |
|---|---|---|
| journal_number integer required | integer | Journal number, e.g. 1. |
| accounting_year string required | string | Accounting year, e.g. 2026. |
| date date required | date | Voucher date, YYYY-MM-DD. |
| account_number integer required | integer | Account number. |
| contra_account_number integer required | integer | Contra account number. |
| amount number required | number | Amount. Negative marks the opposite side. |
| text string | string | Entry text, up to 250 characters. |
| vat_code string | string | VAT code for the entry. |
Request
curl -X POST https://cotlet.dev/api/v1/e-conomic/journals/1/finance-vouchers \
-H "Authorization: Bearer $COTLET_API_KEY" \
-H "Content-Type: application/json" \
-d '{"accounting_year":"2026","date":"2026-10-31","account_number":7200,"contra_account_number":1920,"amount":4500,"text":"Office rent October"}' result = client.call("e-conomic", "create_finance_voucher", {"journal_number":1,"accounting_year":"2026","date":"2026-10-31","account_number":7200,"contra_account_number":1920,"amount":4500,"text":"Office rent October"}) const result = await cotlet.call('e-conomic', 'create_finance_voucher', {"journal_number":1,"accounting_year":"2026","date":"2026-10-31","account_number":7200,"contra_account_number":1920,"amount":4500,"text":"Office rent October"}); cotlet call e-conomic create_finance_voucher --data '{"journal_number":1,"accounting_year":"2026","date":"2026-10-31","account_number":7200,"contra_account_number":1920,"amount":4500,"text":"Office rent October"}' Example response
{
"voucher_number": 312,
"accounting_year": "2026",
"journal_number": 1,
"account_number": 7200,
"contra_account_number": 1920,
"amount": 4500,
"date": "2026-10-31",
"text": "Office rent October"
}