Skip to main content

Bank Transactions

Starting from version 4.0 of the online data connection, Számlázz.hu is capable of forwarding bank transactions stored in the invoicing account. An existing connection can be easily expanded by providing an additional parameter (URL for receiving transactions) as defined in the registration section. The operational logic described in How It Works applies equally to bank transactions as it does to incoming and outgoing invoices.

Request XSD

XSD for transaction submission: https://www.szamlazz.hu/szamla/docs/xsds/banktranz/banktranz.xsd

<?xml version="1.0" encoding="UTF-8"?>
<schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://www.szamlazz.hu/banktranz" targetNamespace="http://www.szamlazz.hu/banktranz" elementFormDefault="qualified">
<simpleType name="iranyTipus">
<restriction base="string">
<enumeration value="BE" />
<enumeration value="KI" />
</restriction>
</simpleType>
<complexType name="partnerTipus">
<sequence>
<element name="nev" type="string" maxOccurs="1" minOccurs="0" />
<element name="bankszamla" type="string" maxOccurs="1" minOccurs="0" />
</sequence>
</complexType>
<element name="banktranz">
<complexType>
<sequence>
<element name="id" type="int" maxOccurs="1" minOccurs="1" />
<element name="bankszamla" type="string" maxOccurs="1" minOccurs="1" />
<element name="erteknap" type="date" maxOccurs="1" minOccurs="1" />
<element name="irany" type="tns:iranyTipus" maxOccurs="1" minOccurs="1" />
<element name="tipus" type="string" maxOccurs="1" minOccurs="0" />
<element name="technikai" type="boolean" maxOccurs="1" minOccurs="1" />
<element name="osszeg" type="double" maxOccurs="1" minOccurs="1" />
<element name="devizanem" type="string" maxOccurs="1" minOccurs="1" />
<element name="partner" type="tns:partnerTipus" maxOccurs="1" minOccurs="0" />
<element name="kozlemeny" type="string" maxOccurs="1" minOccurs="0" />
</sequence>
</complexType>
</element>
</schema>

Response XSD

Receiving endpoint requirements

We can only work reliably with endpoints that return HTTP 200 (OK) and the correct response XML in a single HTTP response body. We do not support endpoints that answer only with HTTP 302 (redirect) when receiving the request, for example Google Apps Script (or similar web apps). See Registration for details.

And the expected response XSD: https://www.szamlazz.hu/szamla/docs/xsds/banktranz/banktranzvalasz.xsd

<?xml version="1.0" encoding="UTF-8"?>
<schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://www.szamlazz.hu/banktranzvalasz" targetNamespace="http://www.szamlazz.hu/banktranzvalasz" elementFormDefault="qualified">
<simpleType name="hibakodTipus">
<restriction base="string">
<enumeration value="KEY_ERR" />
<enumeration value="KEY_DEL" />
</restriction>
</simpleType>
<element name="banktranzvalasz">
<complexType>
<sequence>
<element name="hibakod" type="tns:hibakodTipus" maxOccurs="1" minOccurs="0" />
</sequence>
</complexType>
</element>
</schema>