Skip to main content

Request

To reverse (storno) an invoice, send a single XML file in an HTTP POST request.

Requirements

  • Base URL: https://www.szamlazz.hu/szamla/ (request target)
  • Method: POST
  • Content type: multipart/form-data
  • Form field name: action-szamla_agent_st
  • File content: the reversal request data as XML – the identifier of the invoice to reverse and the request settings (structure: XSD schema; sample: XML example)
  • Identifying the invoice to reverse: the invoice number (szamlaszam) in the <fejlec> block is required; optionally, you can also reference it by external identifier (szamlaKulsoAzon) in the <beallitasok> block, if it was set when the invoice was created

Sample HTML form

The request can be sent for example with a form like this:

<html>
<head><meta content="text/html; CHARSET=UTF-8"></head>
<body>
<form action="https://www.szamlazz.hu/szamla/" method="post" enctype="multipart/form-data">
<input type="file" name="action-szamla_agent_st">
<input type="submit" name="generate" value="Reverse invoice">
</form>
</body>
</html>

Try it:

Upload your edited XML file
tip

We recommend validating your XML against the XSD before sending.