Skip to main content

Request

Querying the invoice PDF

There are two different types of the requested pdf:

  • In the case of a regular, paper-based invoice, it contains the next copy, or it can be 1 or 2 copies in the case it has not been printed before, depending on the settings.
  • In the case of an e-invoice, there is no such thing as copies, so it will give the original version back.

Data of post request

Here is a short HTML code example of the reverse invoice (storno) call for Számla Agent:

So the request must be multiform/form-data type and must contain one file with the name action-szamla_agent_pdf.

<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_pdf"><br>
<input type="submit" name="generate" value="Query invoice pdf">
</form>
</body>
</html>

You can also try out the same HTML code here:

XML file