Request
warning
It is important to note that only the data of internal outgoing invoices (issued in Számlázz.hu) can be retrieved via this interface.
To query the document in XML, 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_xml - File content: the request data as XML (structure: XSD schema; sample: XML example)
- Identifying the document: by invoice number (
szamlaszam), order number (rendelesSzam) or external identifier (szamlaKulsoAzon) – if multiple documents share the same order number, the last one is returned; the external identifier is only usable if it was set when the document 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_xml">
<input type="submit" name="generate" value="Query document (XML)">
</form>
</body>
</html>
Try it:
tip
We recommend validating your XML against the XSD before sending.