Record tax or insurance payment
record_paymentRecords advance or settlement payments to income tax, ČSSZ, health insurance, or VAT authorities so tax overviews show what is paid and what remains.
Instructions
Record a payment the user made to an authority — an advance (záloha) or settlement (doplatek) of income tax, ČSSZ (social insurance), health insurance or VAT. tax_overview and advance_schedule use these to show what is paid and what remains.
Appends to ~/.ucetka/payments.json. Not idempotent: there is no duplicate check, so calling twice records the payment twice (there is no tool to delete one). Pays nothing and contacts no one. Returns a confirmation. For invoices paid by customers use mark_paid; for paid supplier invoices use mark_expense_paid.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"kind": "<kind>",
"amount": "<amount>"
},
"name": "record_payment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | What was paid: 'dpfo' = personal income tax, 'cssz' = ČSSZ social insurance, 'zp' = health insurance, 'dph' = VAT. | |
| note | No | Free-text note, e.g. 'doplatek za 2025' (settlement for 2025). | |
| amount | Yes | Amount paid in CZK, positive, e.g. 4759. | |
| period | No | For a monthly advance: the month it covers, YYYY-MM, e.g. '2026-03'. Leave empty for a settlement (doplatek) or other one-off payment. | |
| paid_on | No | Date of the payment YYYY-MM-DD. Omitted = today. | |
| tax_year | No | Tax year the payment belongs to, e.g. 2025 for a settlement paid in 2026. Omitted = year of period if given, otherwise year of paid_on. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |