What is Számla Agent?
Számla Agent is Számlázz.hu's API interface, in continuous operation since 2010. This documentation is for developers who need to automate billing workflows, e.g. generating invoices and receipts, querying documents, managing payment status through simple XML messages sent over HTTP.
What can you automate?
Invoices
- Create invoice: generate a regular invoice, prepayment invoice, final invoice or corrective invoice from XML data
- Reverse invoice: issue a storno invoice
- Register credit entry: record payment or partial payment on an invoice
Documents
- Query document in PDF: download a created document as a PDF
- Query document in XML: fetch the raw XML of a created document
Pro-forma invoices and delivery notes
- Create pro-forma invoice: available through the invoice creation operation – there is no separate endpoint
- Create delivery note: also available through the invoice creation operation – there is no separate endpoint
- Delete pro-forma invoice: remove a pro-forma invoice
Receipts
- Create receipt: generate a receipt
- Reverse receipt: cancel an existing receipt
- Query receipt: retrieve receipt data
- Send receipt: e-mail the receipt to the customer
Other
- Query taxpayer: look up a company's data by tax number
Next steps
- How does Számla Agent work?: understand the request/response flow with a diagram
- Authentication: set up your Agent key
- Sending requests: learn how to structure and send XML requests