📄️ What is Számla Agent?
Számla Agent is an old and well-established Számlázz.hu API that has been in continuous operation since 2010. Its main purpose is to generate invoices and receipts, retrieve their data, send them and manage their payment. The service receives simple XML messages and is able to process them according to the information received:
📄️ How does Számla Agent work?
The basic mechanics of the system are shown on the image. The case illustrated is a classic webshop purchase initiated by the customer where a transaction document - invoice or receipt - is created and sent to the customer.
📄️ Authentication (API key)
Számla Agent requests must be authenticated. You can use either an Agent key (recommended) or a username and password (the latter is only recommended for self-billing / invoicing on behalf of others).
📄️ Error handling
When a Számla Agent request fails (e.g. invoice or receipt is not created), the cause is usually in the request data or parameters. Sending the same request again without changing anything will not resolve the problem.
📄️ Session cookies
The operation of the Számla Agent is optimized such that the management of session cookies, i.e., storing and using session cookies during calls, is the responsibility of the calling party (e.g., a web store).
📄️ Network and security
Inbound IPs
📄️ Sending requests
Base URL and form field