Response
Expected results of sending a receipt
Whether sending the receipt was successful depends on <sikeres>true</sikeres> or <sikeres>false</sikeres>. On failure you receive <hibakod/> and <hibauzenet/>.
tip
If the response indicates an error, look up the code on the Error handling & error codes page. If you cannot find the code or experience an unexpected issue, contact support.
- XML response
- XSD schema
Example response: success
<?xml version="1.0" encoding="UTF-8"?>
<xmlnyugtasendvalasz xmlns="http://www.szamlazz.hu/xmlnyugtasendvalasz" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.szamlazz.hu/xmlnyugtasendvalasz http://www.szamlazz.hu/docs/xsds/nyugta/xmlnyugtasendvalasz.xsd">
<sikeres>true</sikeres>
<hibakod></hibakod>
<hibauzenet></hibauzenet>
</xmlnyugtasendvalasz>
Example response: failed
<?xml version="1.0" encoding="UTF-8"?>
<xmlnyugtasendvalasz xmlns="http://www.szamlazz.hu/xmlnyugtasendvalasz" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.szamlazz.hu/xmlnyugtasendvalasz http://www.szamlazz.hu/docs/xsds/nyugta/xmlnyugtasendvalasz.xsd">
<sikeres>false</sikeres>
<hibakod>7</hibakod>
<hibauzenet>Hiányzó adat: emailtargy elem.</hibauzenet>
</xmlnyugtasendvalasz>
warning
Elements marked minOccurs="1" are always present in the response. Elements marked minOccurs="0" may not always be included.
<?xml version="1.0" encoding="UTF-8"?>
<schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.szamlazz.hu/xmlnyugtasendvalasz" xmlns:tns="http://www.szamlazz.hu/xmlnyugtasendvalasz" elementFormDefault="qualified">
<element name="xmlnyugtasendvalasz">
<complexType>
<all>
<element name="sikeres" type="boolean" maxOccurs="1" minOccurs="1"></element>
<element name="hibakod" type="int" maxOccurs="1" minOccurs="0"></element>
<element name="hibauzenet" type="string" maxOccurs="1" minOccurs="0"></element>
</all>
</complexType>
</element>
</schema>