Request
Querying the document (PDF)
The requested document (PDF) can be of two types:
- 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.
To request the document in PDF, 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: exactly
action-szamla_agent_pdf(one file upload) - File content: the request data as XML (structure: XSD schema; sample: XML example)
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_pdf">
<input type="submit" name="generate" value="Query document (PDF)">
</form>
</body>
</html>
Try it:
tip
We recommend validating your XML against the XSD before sending.