Skip to main content

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.

Szamla Agent draw

  1. Purchase: the customer initiates a transaction in the external system (e.g. webshop).
  2. 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/.
  3. Generated PDF / Processing and response: Számla Agent processes the XML, generates the document, and sends back the generated PDF to the requesting system.
  4. Sending the document / Delivery: the external system (webshop) can forward the received PDF to the customer.
  5. 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

  1. Authentication: set up your Agent key to authenticate requests
  2. Sending requests: learn how to structure and send XML requests
  3. Create invoice: generate your first invoice