Create journal receipt
Save a journal receipt with debit and credit rows as Unfinished.
MCP tool procountor_write → create_journal_receipt
write Confirm
Creates the receipt the way New journal receipt does. Name, VAT type, VAT status and receipt date are required. Rows use plus for debit and minus for credit and must balance. The receipt stays Unfinished and editable; it is not part of the official accounts until someone clicks Approve in Procountor. By default you confirm each call; you can switch that off for this tool.
Parameters
| Name | Type | Description |
|---|---|---|
| name string required | string | Receipt name. |
| receipt_date string required | string | YYYY-MM-DD. |
| vat_type string required | string | VAT type as named in Procountor. |
| vat_status string required | string | VAT status as named in Procountor. |
| rows array required | array | Accounting rows: account, amount (plus debit, minus credit). |
tools/call
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "procountor_write",
"arguments": {
"operation": "create_journal_receipt",
"arguments": {
"name": "Jane Doe",
"receipt_date": "receipt date",
"vat_type": "vat type",
"vat_status": "vat status",
"rows": "rows"
}
}
}
} Example response
{
"content": [
{
"type": "text",
"text": "{ ... same JSON as structuredContent ... }"
}
],
"structuredContent": {
"receipt_id": "jr_3301",
"name": "October rent accrual",
"receipt_date": "2026-10-31",
"status": "unfinished",
"rows": [
{
"account": "7000",
"amount": 1200
},
{
"account": "1900",
"amount": -1200
}
]
},
"isError": false
}