create_receipt
Create a receipt (chitanță) recording a received amount. A receipt has NO line items — it records a single amount, optionally linked to an invoice it pays.
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": {
"currency": "<currency>",
"amount": "<amount>"
},
"name": "create_receipt"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | Yes | Amount received (the receipt value) | |
| series | No | Receipt series name (uses account default if omitted; call list_series to find a valid name for the document year) | |
| currency | Yes | Currency code, e.g. "RON" | |
| client_id | No | Client ID (when not linking an invoice) | |
| invoice_id | No | Invoice this receipt pays (optional; when set, client and invoice details are copied from it) | |
| client_city | No | Client city | |
| client_name | No | Client name (when not linking an invoice) | |
| document_date | No | Date in YYYY-MM-DD format (defaults to today) | |
| client_address | No | Client address | |
| client_country | No | Client country code | |
| document_series_counter | No | Number within the series (auto-incremented if omitted) |