create_receipt
Issue a new receipt with itemized lines and an optional payment breakdown, including optional PDF output for Számlázz.hu.
Instructions
Issue a new receipt with items and an optional payment breakdown.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | Receipt items | |
| callId | No | Call id (prevents duplicates) | |
| prefix | Yes | Receipt number prefix (required, e.g. 'NYGTA-2024-') | |
| comment | No | Comment | |
| company | No | Company name (or part of it) or Számlázz.hu company id. Optional: defaults to the login's current company. list_companies lists the choices. | |
| currency | No | Currency (default: HUF) | |
| payments | No | Payment breakdown (optional) | |
| includePdf | No | Include the PDF in the answer (default: false) | |
| pdfTemplate | No | PDF template id | |
| exchangeRate | No | Exchange rate | |
| buyerLedgerId | No | Buyer's general ledger id | |
| paymentMethod | Yes | Payment method (cash, card, ...), as printed, in the receipt's language | |
| exchangeRateBank | No | Bank of the exchange rate (non-HUF) |