Document types
The following document types can be created through this interface. The type is set in the <fejlec> (header) block of the XML request:
- Invoice – the default type; no special field required.
- Prepayment invoice –
<elolegszamla>true</elolegszamla>(advance invoice to record a partial payment before the final invoice). - Final invoice –
<vegszamla>true</vegszamla>(issued after a prepayment invoice to settle the remaining amount).
In Számlázz.hu, one prepayment invoice can have exactly one final invoice. It is not possible to issue multiple partial invoices from a single prepayment invoice, nor to combine multiple prepayment invoices into one final invoice.
- Corrective invoice –
<helyesbitoszamla>true</helyesbitoszamla>+<helyesbitettSzamlaszam>(set to the number of the invoice being corrected). - Pro forma invoice –
<dijbekero>true</dijbekero>(a payment request; not a legally binding invoice). - Delivery note – use the
<szamlaSablon>SzlaFuvarlevelesAlap</szamlaSablon>template; shipping details go in the<fuvarlevel>block. - Reversal (storno) invoice – handled by a separate interface; see Reversing an invoice.
For tour operators, the invoice, pro forma invoice, prepayment invoice, final invoice and reversal invoice can be issued with a simplified invoice image that hides price and VAT details from the buyer; see Simplified item data for tour operators (simpleItems).
E-invoice or paper invoice
Számla Agent can generate both e-invoices and regular paper-based invoices. The <eszamla> field in the XML controls this: true creates an e-invoice, false creates a traditional paper-based invoice. To issue e-invoices you need your own certificate, or you can use the certificate provided by Számlázz.hu (this is the default option).
Referencing a pro forma invoice
You can issue an invoice by referencing an existing pro forma invoice. For this, set the pro forma invoice number in <dijbekeroSzamlaszam></dijbekeroSzamlaszam> in the invoice request <fejlec> block.
Recommended flow:
- Make sure you have the exact pro forma invoice number you want to reference.
- Prepare the invoice creation XML.
- In
<fejlec>, fill<dijbekeroSzamlaszam>with that pro forma invoice number. - Submit the invoice creation request based on the sample shown on Create invoice > Sample XML.
- Agent creates the invoice linked to that pro forma invoice based on the provided number.