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.
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) |