Create invoice
Issue a new invoice for a buyer with line items, payment method and dates.
MCP tool szamlazz_hu_write → create_invoice
write Confirm
Issues a numbered invoice, which Számlázz.hu then reports to NAV. Returns the invoice number and the net, VAT and gross totals. The buyer gets the invoice by email only if send_email is true; the default is false. An issued invoice cannot be deleted, only cancelled with cancel_invoice. By default you confirm each call; you can switch that off for this tool.
Parameters
| Name | Type | Description |
|---|---|---|
| buyer_name string required | string | Buyer name as it should print on the invoice. |
| buyer_tax_number string | string | Buyer tax number, for business buyers. |
| buyer_address string required | string | Postal code, city and street. |
| buyer_email string | string | Email for the invoice copy; used only if send_email is true. |
| items array required | array | Line items: name, quantity, unit, net_unit_price and vat_rate, for example "27%". |
| payment_method string required | string | Payment method as the invoice form names it, for example 'Átutalás'. |
| delivery_date date required | date | Delivery (teljesítés) date. |
| due_date date required | date | Payment due date. |
| currency string | string | Currency code such as 'HUF'. Default: HUF. |
| comment string | string | Comment printed on the invoice. |
| send_email boolean | boolean | Email the invoice to the buyer. Default: false. |
tools/call
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "szamlazz_hu_write",
"arguments": {
"operation": "create_invoice",
"arguments": {
"buyer_name": "buyer name",
"buyer_address": "buyer address",
"items": "items",
"payment_method": "payment method",
"delivery_date": "2026-10-01",
"due_date": "2026-10-01"
}
}
}
} Example response
{
"content": [
{
"type": "text",
"text": "{ ... same JSON as structuredContent ... }"
}
],
"structuredContent": {
"invoice_number": "ABC-2026-00148",
"net": 120000,
"vat": 32400,
"gross": 152400,
"currency": "HUF",
"emailed": false
},
"isError": false
}