Create finance voucher
Post a finance voucher to a journal.
MCP tool e_conomic_write → create_finance_voucher
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. |
tools/call
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "e_conomic_write",
"arguments": {
"operation": "create_finance_voucher",
"arguments": {
"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
{
"content": [
{
"type": "text",
"text": "{ ... same JSON as structuredContent ... }"
}
],
"structuredContent": {
"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"
},
"isError": false
}