How does Számla Agent work?
The diagram shows a classic webshop purchase flow, illustrating how the external system communicates with Számla Agent to create and deliver an invoice or receipt.

- Purchase: the customer initiates a transaction in the external system (e.g. webshop).
- XML file / Sending the request: the webshop sends an XML file with the document data in an HTTP POST request to
https://www.szamlazz.hu/szamla/. - Generated PDF / Processing and response: Számla Agent processes the XML, generates the document, and sends back the generated PDF to the requesting system.
- Sending the document / Delivery: the external system (webshop) can forward the received PDF to the customer.
- E-mail: the customer's e-mail address and a request to send the e-mail can be included in the XML request, allowing Számlázz.hu to deliver the document directly to the customer.
Next steps
- Authentication: set up your Agent key to authenticate requests
- Sending requests: learn how to structure and send XML requests
- Create invoice: generate your first invoice