Electronic Accounts Receivable Audit Report

The function 'Accounts Receivable Audit Report. Start' (AAS370) is used for the creation of audit files required in different countries. Selection fields can be used to select the invoices to be included. When the user confirms the selection done, a batch job will create the requested file and save it in the MVXFILETRANSFER folder.

Background

The Hungarian tax authority requires the possibility to generate an electronic invoice report out of the ERP system at any moment, to be presented to the tax auditors upon request. Another requirement is that the invoices to be included in the report must be selectable by invoice number range or invoice date range. The report is in XML format and validated against the 23_2014_szamlasema.xsd schema published by the National Tax and Customs Administration of Hungary (NTCA).

Follow these steps to create XML file for Hungarian tax authority audit data

Open the program (AAS370) to enter selections for the invoices to be included.

  1. Select the following:

    Field Field description
    Output file rep 1-'Hungarian tax authority audit data'
    Invoice year
    interval for 'Invoice no' Optional
    interval for 'Invoice date' Optional
    Base country The recommendation is to set this to 'HU' (Hungary)
    File name Must end with .XML
    Folder name Enter a name or leave this field blank. The folder must be located in the folder used for MVXFILETRANSFER and set up before the report is submitted.
  2. Click Next or press Enter to start the creation of the XML file.

If a file with the same file name already exists in the folder, a message will appear saying that the specified file already exists. The check box 'Replace doc' will be displayed. Select the check box to replace the existing file, or change the file name and click Next to create the file.

The XML file will automatically be placed in the folder used for MVXFILETRANSFER or in the specified subfolder.

Limitations

  • Only one invoice per voucher number can be handled.
  • Summary invoices are not supported.
  • Only invoice details for the following invoice types are included; customer order invoices in (OIS350), manual invoices in (ARS120), (ARS100), and (FAS130), and internal invoices in (MFS100) . Support for other type of invoices (service order/rental and leasing agreements in (SOS350), maintenance orders in (COS350), and project invoices in (POS100) will be provided in a second step. Only the header and summary information will be included for these in the file, but no invoice details.
  • For one customer order invoice there can only be one delivering warehouse, if there are products subject to product charges where CsK/KT codes and information of the delivering party should be specified in the addendum (zaradekok) section of the report.
  • The XML file can only be created for one division (DIVI) at a time.

Overview of the structure and content of the report

Structure XML element Content
File szamlak Invoice report file particulars.
Header fejlec Invoice header.
szamlakibocsato Particulars of the issuer of the invoice. Details from 'Company. Connect Division' (MNS100).
vevo Particulars of the person to whom the invoice is directed. Details from 'Customer. Open' (CRS610).
kepviselo Representative. Details from 'Supplier. Open' (CRS620) of the fiscal representative, if any.
Lines

termek_szolgaltatas_tetelek

atas_tetelek

Description of goods and services items. Invoice details from different programs/files depending on the type of invoice.
Invoice additional modosito_szla Revised invoice. Details for corrective invoice or credit notes.
gyujto_szla Summary invoice. Not supported.
zaradekok Addendums.
nem_kotelezo Optional entries group.
Totals osszesites Invoice totals. Calculations based on invoice amounts from the vouchers in the general ledger.

VAT amounts in the report

The currency of the VAT amounts in the report is from the currency set up in 'Country. Open' (CRS045) for the base country code specified in (AS370). All other amounts in the report are in the invoice currency, which may be identical to the one used by the base country.

Invoice report file particulars (szamlak)

The szamlak section contains basic data for the XML file and is created once per file.

XML element Description Details
export_datuma Date created

Date when the XML file was created.

Report run date

export_szla_db Number of Number of invoices included in the XML file.
kezdo_ido Opening date

Opening date for period to which the data disclosure pertains.

The 'From' invoice date entered in (AAS370).

zaro_ido Closing date

Closing date for period to which the data disclosure pertains.

The ‘To’ invoice date entered in (AAS370).

kezdo_szla_szam Number of first invoice Invoice number of the first invoice issued in the data disclosure period.
zaro_szla_szam Number of last invoice Invoice number of the last invoice issued in the data disclosure period.
szamla Invoice

Information that an invoice may contain.

Start and end element for each invoice: <szamla>

Invoice header (fejlec)

The fejlec section is created once per invoice.

XML element Description Details
szlasorszam Invoice number Sequential number, which uniquely identifies the invoice beyond any doubt.
szlatipus Type of invoice

Type of invoices:

1 – Invoice, if AR additional info 235 or 255 does not exist in (ARS216).

3 - Revised invoice (Corrective invoice), if AR additional info 235 or 255 exists in (ARS216).

Example: <szlatipus>1</szlatipus>

szladatum Invoice date Issuing date for the invoice.
teljdatum Date of delivery

VAT date

- delivery date, or

- in connection with payments on account, date when the amount of VAT payable is charged, if other than the invoice date.

‘VAT date’ from the invoice voucher.

Particulars of the issuer of the invoice (szamlakibocsato)

One section is created per invoice. The information is retrieved from 'Company. Connect Division' (MNS100). For more information, see the Configuration chapter of the setup in (MNS100).

XML element Description Details
adoszam Tax number

Tax number of the issuer of the invoice.

Organization number 2 from (MNS100/G) is used if this exists, otherwise the VAT registration number is used.

Organization number 2 is converted from the 12618398209 format to the 12618398-2-09 format in the XML element.

kozadoszam VAT tax reg number VAT registration number of the issuer of the invoice with a leading country code from (MNS100/G).
kisadozo Low tax-bracket entrepreneur Not used/updated.
nev Name

Name of the issuer of the invoice (name of the division).

Company name + Address line 1 from (MNS100/E).

Cim Address

Address of the issuer of the invoice.

Start tag.

iranyitoszam Postal code Postal code from (MNS100/E).
telepules Town/city City from (MNS100/E).
kerulet District Not used/updated.
kozterulet_neve Street name Address lines 2 and 3 from (MNS100/E).
kozterulet_jellege Destination type Not used/updated.
hazszam No.

If there are digits or digits and only one letter (e.g. 10A) at the end of the 'Address line 2' field in (MNS100/E), those will be retrieved and entered in this element. A blank space must precede the digits, e.g. 'building no 72'.

Example: <hazszam>72</hazszam>.

epulet Building Not used/updated.
lepcsohaz Block Not used/updated.
szint Floor Not used/updated.
ajto Door No. Not used/updated.
egyeni_vallalkozo Private entrepreneur designation Not used/updated.
ev_nyilv_tart_szam Private entrepreneur register number Not used/updated.
ev_neve Private entrepreneur name Not used/updated.

Particulars of the person to whom the invoice is directed (vevo)

One section is created per invoice. The information is retrieved from 'Customer. Open' (CRS610). For more information, see the Configuration chapter of the setup in (CRS610).

XML element Description Details
adoszam Recipients tax number

Tax number of the customer to whom the goods or services are supplied.

Organization no 2 from (CRS610/J) is used as a tax number. If this does not exist, the VAT reg no from the invoice accounting lines in the general ledger (FGLEDG) is used instead. Organization no 2 is converted from the 12618398209 format to the 12618398-2-09 format in the XML element.

kozadoszam VAT tax reg number

VAT tax reg number of the customer to whom the goods or services are supplied.

VAT registration number is retrieved from the invoice accounting lines in the general ledger (FGLEDG).

nev Name of recipient

Name of the customer to whom the goods or services are supplied.

Customer name + Address line 1 from (CRS610/E).

cim Address of recipient

Address of the customer to whom the goods or services are supplied.

Start tag.

iranyitoszam Postal code Postal code from (CRS610/E).
telepules Town/city City from (CRS610/E).
kerulet District Not used/updated.
kozterulet_neve Street name Address lines 2 and 3 from (CRS610/E).
kozterulet_jellege Destination type Not used/updated.
hazszam No.

If there are digits or digits and only one letter (e.g. 10A) at the end of the 'Address line 2' field in (CRS610/E), those will be retrieved and entered in this element. A blank space must precede the digits, e.g. ‘building no 72’.

Example: <hazszam>72</hazszam>

epulet Building Not used/updated.
lepcsohaz Block Not used/updated.
szint Floor Not used/updated.
ajto Door No. Not used/updated.

Representative (kepviselo)

One section is created per invoice if a representative exists. Details from 'Supplier. Open' (CRS620) and 'Supplier. Connect address' (CRS622) of the fiscal representative supplier number found in 'Fiscal representation. Open' (TXS030) for the base country code entered in (AAS370).

XML element Description Details
adoszam Tax number of representative

Where a financial representative is involved, tax number of the financial representative.

Organization no 2 from (CRS620/E) is used as a tax number. If this does not exist, the VAT reg no is used instead.

Organization no 2 is converted from the 12618398209 format to the 12618398-2-09 format in the XML element.

nev Name of representative

Where a financial representative is involved, the name of the financial representative (issuer of the invoice).

Supplier name + Address line 1 from (CRS622/E) and address type 01 if this exists, else from type 02 if this exists, otherwise from (CRS620/E).

cim Address of representative

Where a financial representative is involved, the address of the financial representative.

Start tag.

iranyitoszam Postal code Postal code from address type 01 if this exists, else from type 02 in (CRS622/E).
telepules Town/city City from address type 01 if this exists, else from type 02 in (CRS622/E).
kerulet District Not used/updated.
kozterulet_neve Street name Address lines 2 and 3 from address type 01 if this exists, else from type 02 in (CRS622/E).
kozterulet_jellege Destination type Not used/updated.
hazszam No.

If there are digits or digits and only one letter (e.g. 10A) at the end of the 'Address line 2' field in (CRS622/E), those will be retrieved and entered in this element. A blank space must precede the digits, e.g. 'building no 72'.

Example: <hazszam>72</hazszam>

epulet Building Not used/updated.
lepcsohaz Block Not used/updated.
szint Floor Not used/updated.
ajto Door No. Not used/updated.

Description of goods and services items (termek_szolgaltatas_tetelek) - customer order invoices (OIS350)

Invoice line details for customer order invoices from 'Invoice. Display' (OIS350). One or more sections are created per invoice.

XML element Description Details
termeknev Description

Description of goods and/or services supplied.

For item lines, the item description is retrieved from the language ‘HU’ in 'Item. Enter Names/Language' (MMS030) if this exists, else from the item name on the customer order.

For external header charges, the description is retrieved from the language ‘HU’ if this exists in 'CO Charge Enter Names/Language' (OIS029), else from 'CO Charge. Open' (OIS030).

For service charges in the header, the description is retrieved from the language ‘HU’ if this exists in 'Service Charge Enter Names/Lang' (OIS033), else from 'Service Charge. Open' (OIS031).

For advance invoiced lines, the description is retrieved from text lines 1 and 2 in 'Customer Order. Invoice in Advance' (OIS105) if this exists, else the invoice reference and customer order number are used.

For lines with a settled amount, previously advance invoiced, the description consists of invoice reference, customer order, and delivery number.

gyujto_szla_csoport Summary invoice group Not used/updated.
eloleg Payment on account Not used/updated.
besorszam Classification number

Heading or SZJ Code of the goods and/or services invoiced.

Customs statistical number from 'Item. Connect Facility' (MMS003/E).

menny Quantity of goods and/or services

Quantity of goods and/or services supplied, if this can be expressed in a unit of measurement.

For advance invoiced lines and header charges where no quantity exists, ‘1’ is entered since this element is mandatory.

mertekegys Unit of measurement of goods and/or services

Unit of measurement of goods and/or services supplied, if this can be expressed in a unit of measurement.

The U/M is retrieved from the language ‘HU’ in 'Unit of Measure. Enter Names/Language' (CRS052) this if exists, else from ‘U/M’ in 'Item. Open' (MMS001).

For advance invoiced lines and header charges where no U/M exists, ‘db’ (means pcs in Hungarian) is entered since this element is mandatory.

kozv_szolgaltatas Supply of services by

If services are supplied by intermediaries, the invoice must contain an indication thereof.

If ‘Charge ID’ exists in 'Business Message Data Translation. Displ' (CRS881)/(CRS882), this indicates a supply of services by intermediaries and ‘true’ will be written for this element. For more information, see the Configuration chapter of the setup.

nettoar Price of goods and/or services

Taxable base amount in foreign currency (invoice currency).

Net amount for item lines + any line charge – any external line discount.

nettoegysar Net unit price of goods and/or services Net price from 'Customer Order. Open Line' (OIS101/E).
dohany_ar Retail selling price of tobacco products supplied, as shown on their tax seal Not used/updated.
adokulcs Tax rate The VAT rate applied.
adoertek Amount of VAT charged

The VAT amount payable, except where, in accordance with the law, such a detail is excluded. The amount of VAT charged must be indicated in forints (HUF) even if all other details are expressed in another currency.

The currency set up in 'Country. Open' (CRS045) for the base country code specified in (AAS370) is used for the VAT amounts in the XML file.

For item lines (type 31), this element shows the total VAT amount of the item line + VAT amount of any line charges – VAT amount of any external line discounts.

szazalekertek Percentage

In the case of simplified invoices the percentage of the VAT rate applied.

Calculated percentage. For VAT rates 27, 18, and 5 the rates 21.26, 15.25, and 4.76 respectively will be entered in the element.

bruttoar Gross price of goods and/or

Total amount payable, including VAT in foreign currency (invoice currency).

Gross amount (including VAT) for item line + any line charges – any external line discounts.

arengedm Discounts and rebates Any discount or rebate provided, if not included in the unit price. External line discounts (information types 32 and 34).
vellenertek Purchase price paid at auction Not used/updated.
vkozteher Taxes, duties, levies, contributions, agricultural levies and charges having equivalent effect

Item line charges.

The amount of taxes, duties, levies, contributions, agricultural levies and charges having equivalent effect.

vktg Incidental expenses, charged by the organizer of a sale by public auction to the auction buyer Not used/updated.
vkistag Deductions Same as the vkozteher element.
kozl_eszk_inf Means of transport information Not used/updated.
foldikozl Means of land transport Not used/updated.
hengerur Displacement Not used/updated.
teljesitmeny Performance Not used/updated.
forgba_datum Date of first registration Not used/updated.
futottkm Mileage Not used/updated.
legikozl Means of air transport Not used/updated.
felsztomeg Full weight capacity for take-off Not used/updated.
legiker Air transport Not used/updated.
forgba_datum Date of first registration Not used/updated.
repultora Number of hours flown Not used/updated.
vizikozl Means of water transport Not used/updated.
hajo_hossz Length Not used/updated.
vizitev Activity Not used/updated.
forgba_datum Date of first registration Not used/updated.
hajozott_ora Number of hours sailed Not used/updated.

asvanyolaj

homerseklet

tomeg

tomeg_mert

suruseg

suruseg_mert

terfogat

terfogat_mert

minoseg

tanusitas

Mineral oil released from a tax warehouse Not used/updated.

Description of goods and services items (termek_szolgaltatas_tetelek) - manual invoices (ARS120, ARS100, FAS130)

Details for invoices from 'Customer Invoice. Enter' (ARS100), 'Customer Invoice. Enter manual' (ARS120), and 'Fixed Asset. Sell' (FAS130).

One or many sections are created per invoice. The invoice details are based on the voucher lines in the general ledger, 'Voucher. Display' (GLS200) and grouped per VAT code.

Note: For manual invoices, the voucher text must be updated with the item description and the quantity given for the XML file to be correctly updated.
XML element Description Details
termeknev Description

Description of goods and/or services supplied.

Voucher text is used as the item description for manual invoices.

gyujto_szla_csoport Summary invoice group Not used/updated.
eloleg Payment on account Not used/updated.
besorszam Classification number = customs stat. No. Not used/updated.
menny Quantity of goods and/or services

Quantity of goods and/or services supplied, if this can be expressed in a unit of measurement.

The quantity must be given during the accounting of the invoices for this element to be correctly updated.

mertekegys Unit of measurement of goods and/or services

Unit of measurement of goods and/or services supplied, if this can be expressed in a unit of measurement.

‘U/M’ does not exist in the voucher, why ‘db’ (Hungarian for pcs) is entered since this element is mandatory.

kozv_szolgaltatas Supply of services by

If services are supplied by intermediaries, the invoice must contain an indication thereof.

If entering a service code for a manual invoice and this code has been added in (CRS881), this will indicate a supply of services by intermediaries and return ‘true’ in this element. For more information, see the Configuration chapter of the setup.

nettoar Price of goods and/or services Taxable base amount in foreign currency (invoice currency), grouped per VAT code.
nettoegysar Net unit price of goods and/or Not used/updated.
dohany_ar Retail selling price of tobacco products supplied, as shown on their tax seal Not used/updated.
adokulcs Tax rate The VAT rate applied.
adoertek Amount of VAT charged

The VAT amount payable, except where, in accordance with the law, such a detail is excluded.

The amount of VAT charged must be indicated in forints (HUF) even if all other details are expressed in another currency.

The currency set up in 'Country. Open' (CRS045) for the base country code specified in (AAS370) is used for the VAT amount. The amounts are grouped per VAT code.

szazalekertek Percentage

In the case of simplified invoices the percentage of the VAT rate applied.

Calculated percentage. For VAT rates 27, 18, and 5, the rates 21.26, 15.25, and 4.76 respectively will be entered in the element.

bruttoar Gross price of goods and/or Total amount payable, including VAT in foreign currency (invoice currency), grouped per VAT code.
arengedm Discounts and rebates Not used/updated.
vellenertek Purchase price paid at auction Not used/updated.
vkozteher Taxes, duties, levies, contributions, agricultural levies and charges having equivalent effect Not used/updated.
vktg Incidental expenses, charged by the organizer of a sale by public auction to the auction buyer Not used/updated.
vkistag Deductions Not used/updated.
kozl_eszk_inf Means of transport information Not used/updated.
foldikozl Means of land transport Not used/updated.
hengerur Displacement Not used/updated.
teljesitmeny Performance Not used/updated.
forgba_datum Date of first registration Not used/updated.
futottkm Mileage Not used/updated.
legikozl Means of air transport Not used/updated.
felsztomeg Full weight capacity for take-off Not used/updated.
legiker Air transport Not used/updated.
forgba_datum Date of first registration Not used/updated.
repultora Number of hours flown Not used/updated.
vizikozl Means of water transport Not used/updated.
hajo_hossz Length Not used/updated.
vizitev Activity Not used/updated.
forgba_datum Date of first registration Not used/updated.
hajozott_ora Number of hours sailed Not used/updated.

asvanyolaj

homerseklet

tomeg

tomeg_mert

suruseg

suruseg_mert

terfogat

terfogat_mert

minoseg

tanusitas

Mineral oil released from a tax warehouse Not used/updated.

Description of goods and services items (termek_szolgaltatas_tetelek) - internal invoices (MFS100)

Details for invoices from 'Internal Invoice. Create (MFS100). One or more sections are created per invoice.

Any roundings that can occur if VAT amounts are recalculated to the base country currency (the currency of the base country entered in (AAS370)) will be entered on the last item line.

For more information, see the Configuration chapter about internal invoices and VAT.

XML element Description Details
termeknev Description

Description of goods and/or services supplied.

The item description is retrieved from the language ‘HU’ in (MMS030) if this exists, else from (MMS001).

gyujto_szla_csoport Summary invoice group Not used/updated.
eloleg Payment on account Not used/updated.
besorszam Classification number

Heading or SZJ code of the goods and/or services invoiced.

Customs statistical number from (MMS003/E).

menny Quantity of goods and/or services Quantity of goods and/or services supplied, if this can be expressed in a unit of measurement.
mertekegys Unit of measurement of goods

Unit of measurement of goods and/or services supplied, if this can be expressed in a unit of measurement.

The U/M is retrieved from the language ‘HU’ in (CRS052) if this exists, else from ‘U/M’ in (MMS001).

kozv_szolgaltatas Supply of services by Not used/updated.
nettoar Price of goods and/or services Taxable base amount in foreign currency (invoice currency).
nettoegysar Net unit price of goods and/or Not used/updated.
dohany_ar Retail selling price of tobacco products supplied, as shown on their tax seal Not used/updated.
adokulcs Tax rate The VAT rate applied from the item line in 'Internal Transfer. Display btw Divisions' (MFS200) (table CMUFTR 'Int dely between divisions') or the general ledger voucher depending on the setup. For more information, see the Configuration chapter about internal invoices and VAT.
adoertek Amount of VAT charged

The VAT amount payable, except where, in accordance with the law, such a detail is excluded.

The amount of VAT charged must be indicated in forints (HUF) even if all other details are expressed in another currency.

The currency set up in 'Country. Open' (CRS045) for the base country code specified in (AAS370) is used for the VAT amount.

szazalekertek Percentage

In the case of simplified invoices the percentage of the VAT rate applied

Calculated percentage. For VAT rates 27, 18, and 5 the rates 21.26, 15.25, and 4.76 respectively will be entered in the element.

bruttoar Gross price of goods and/or Total amount payable, including VAT in foreign currency (invoice currency).
arengedm Discounts and rebates Not used/updated.
vellenertek Purchase price paid at auction Not used/updated.
vkozteher Taxes, duties, levies, Not used/updated.
vktg Incidental expenses, charged by the organizer of a sale by public auction to the auction buyer Not used/updated.
vkistag Deductions Not used/updated.
kozl_eszk_inf Means of transport information Not used/updated.
foldikozl Means of land transport Not used/updated.
hengerur Displacement Not used/updated.
teljesitmeny Performance Not used/updated.
forgba_datum Date of first registration Not used/updated.
futottkm Mileage Not used/updated.
legikozl Means of air transport Not used/updated.
felsztomeg Full weight capacity for take-off Not used/updated.
legiker Air transport Not used/updated.
forgba_datum Date of first registration Not used/updated.
repultora Number of hours flown Not used/updated.
vizikozl Means of water transport Not used/updated.
hajo_hossz Length Not used/updated.
vizitev Activity Not used/updated.
forgba_datum Date of first registration Not used/updated.
hajozott_ora Number of hours sailed Not used/updated.

asvanyolaj

homerseklet

tomeg

tomeg_mert

suruseg

suruseg_mert

terfogat

terfogat_mert

minoseg

tanusitas

Mineral oil released from a tax warehouse Not used/updated.

Revised invoice (modosito_szla)

One section is created per invoice, if applicable.

XML element

Descript

ion

Details
eredeti_sorszam Original invoice number

Reference to the initial invoice that is being modified.

For corrective invoices, the invoice number from AR additional information, category 235 or 255, is used.

For more information, see the Configuration chapter on corrective invoices and credit notes.

Summary invoice (gyujto_szla)

This section is not created since M3 BE does not support summary invoices in Hungary.

XML element Description Details
gyujtocsopo_ossz Summary invoice group Not used/updated.
gyujtocsopo_nossz Summary invoice net total Not used/updated.
gyujtocsopo_bossz Summary invoice gross total Not used/updated.

Addendums (zaradekok)

One section is created per invoice, if applicable.

XML element Description Details
penzforgelsz Cash accounting Not used/updated.
onszamla Self-billing Not used/updated.
ford_ado

Reverse charge procedure

Based on VAT code

Indication of the term "fordított adózás" (reverse charge procedure), where the customer to whom the goods and/or services are supplied is liable for payment of VAT.

If a VAT code exists in (CRS881)/(CRS882), this indicates a reverse charge procedure and ‘true’ will be written for this element. For more information, see the Configuration chapter of the setup.

adoment_hiv Reference to exemption

In the case of an exemption, reference to the applicable provision of law or to the VAT Directive, or any other reference indicating that the supply of goods or services is exempt from the payment of VAT.

If a VAT code exists in (CRS881)/(CRS882), this indicates a VAT exemption and ‘true’ will be written for this element. For more information, see the Configuration chapter of the setup.

kulonb_szer_szab Margin scheme Not used/updated.
termekdij_szlas_atvallalas The following must be indicated on the invoice where product charges are assumed by way of invoice Not used/updated.
termekdij_szerzes_atvallalas The following must be indicated on the invoice where product charges are assumed under contract Not used/updated.
bekezdes_pontja Paragraph of Subsection where product charges are assumed under contract Not used/updated.
bekezdes_alpontja Subparagraph of Subsection where product charges are assumed under contract Not used/updated.
vissz_igeny Obligation to indicate product charges in cases where so requested by the debtor and the debtor's buyers eligible for refund

Start tag.

The elements under this element is applicable for customer order invoices (OIS350) and internal invoices (MFS100) if there are item charge(s) subject to this type of product charge. Internal invoices must be linked to such a customer order invoice.

For more information, see the Configuration chapter of the setup in (CRS881/882).

vissz_igenytetel Refund entries Start tag.
csk CsK Code

Customer order invoices

If a charge ID for an external item charge (information type 67) is set up in (CRS881)/(CRS882) with a translation to a CsK code, this indicates a product subject to product charge. The CsK code is entered for this element.

Internal invoice

If an internal invoice is connected to a customer order invoice that has an item charge identified with a CsK code in (CRS881)/(CRS882), this code will be entered for this element.

For more information, see the Configuration chapter of the setup.

kt KT code As description for CsK code above, except that this element shows the KT code instead, if this exists.
termdij_összeg Amount of product charges The total amount of the item charges identified in the elements above with a CsK and/or KT code.
szla Number of debtor's invoice

Customer order invoices

For a customer order invoice that has item charge(s) identified with a CsK and/or KT code and is linked to an internal invoice in (MFS100), this element will display the invoice number of the internal invoice. If there is no connection to an internal invoice, the invoice number of the customer order invoice is entered for this element.

Internal invoice

For an internal invoice linked to a customer order invoice identified with a CsK and/or KT code, this element will show the invoice number of the internal invoice.

szla_kelte Date of debtor's invoice Invoice date of the invoice identified in the element above.
kotelezett_neve Debtor's name

Customer order invoices

For a customer order invoice that has item charge(s) identified with a CsK and/or KT code and is linked to an internal invoice in (MFS100), this element will display the name of the internal supplier for the internal invoice found in the accounts payable of the receiving division. The supplier name + address line 1 are retrieved from (CRS622) together with address type 01, or, if this does not exist, type 02, and if none of those exists from (CRS620/E). If not linked to an internal invoice, the name of the internal supplier of the delivering warehouse in (MMS005) will be used instead. If this does not exist, the name of the delivering division is retrieved from (MNS100).

Internal invoice

For an internal invoice linked to a customer order invoice identified with a CsK and/or KT code, this element will display the name of the internal supplier for the internal invoice. See details for (OIS350) invoices above.

kotelezett_cime Debtor's address

Start tag.

The address information of the supplier identified in the element above is retrieved from address type 01 – ‘Postal address‘ from (CRS622/E). If this does not exist, the address from type 02 – ‘Street address‘ is used instead. If none of those address types exists in (CRS622), the address elements below will not be created.

iranyitoszam Postal code Postal code from (CRS622/E).
telepules Town/city City from (CRS622/E).
kerulet District Not used/updated.
kozterulet_neve Street name Address lines 2 and 3 from (CRS622/E)
kozterulet_jellege Destination type Not used/updated.
hazszam No.

If there are digits or digits and only one letter (e.g. 10A) at the end of the ‘Address line 2’ field, those will be retrieved and entered in this element. A blank space must precede the digits, e.g. ‘building no 72’.

Example: <hazszam>72</hazszam>

epulet Building Not used/updated.
lepcsohaz Block Not used/updated.
szint Floor Not used/updated.
ajto Door No. Not used/updated.
kotelezett_adószama Debtor's tax number

Tax number of the internal supplier identified for element kotelezett_neve above.

Organization no. 2 from (CRS620/E) is used as a tax number. If this does not exist, the VAT registration number from the invoice accounting lines in the general ledger (FGLEDG) is used. Organization no 2 is converted from the 12618398209 format to the 12618398-2-09 format in the XML element.

csomszer_forg_hoz Obligation to indicate product charges in cases where packaging products are supplied for the first time in the internal market

Start tag.

The elements under this element is applicable for customer order invoices (OIS350) and internal invoices (MFS100) having item charge(s) subject to this type of product charge. Internal invoices must be linked to such a customer order invoice.

For more information, see the Configuration chapter of the setup in (CRS881/882).

termek_dij Product charges The total amount of the item charges identified in (CRS881/882) for the reszenkent_forg_hoz element below.
reszenkent_forg_hoz Used as a component part of

Customer order invoices

If a charge ID for an external item charge (information type 67) exists in (CRS881)/(CRS882), this indicates this specific type of product charge and ‘true’ will be written for this element.

Internal invoice

If an internal invoice is linked to a customer order invoice that has item charges identified in (CRS881)/(CRS882) for this specific type of product charge, ‘true’ will be written for this element.

For more information, see the Configuration chapter of the setup.

vevo_nyilatkozat Parts of buyer's statement Not used/updated.
vevo_nem_fizet Buyer in default Not used/updated.
iktatott_idoszak Registered period Not used/updated.
reklam_papir Obligation to indicate product charges in cases where commercial printing paper is supplied for the first time in the internal market Not used/updated.
energia_ado Energy sales Not used/updated.
neta Public health product fee (NETA) Not used/updated.
ahk ARC Not used/updated.
csomagk_jovedeki_ado Proof of origin of excise goods supplied by mail-order vendors Not used/updated.
operatorsjovedeki_vamtarifa Supply of excise goods by authorized tax warehouse Not used/updated.
eng_import_ado Amount of tax paid by the authorized tax warehouse operator/importer/registered trader/authorized trader Not used/updated.
gazolaj_beszerz Invoice on gas oil purchases Not used/updated.
rendszam License plate number Not used/updated.
km_ora_allas Odometer reading Not used/updated.
jov_eng_ker Supply of excise goods by Not used/updated.
jov_eng_keresk_jov_ert Supplies of excise goods by Not used/updated.
number eng_szam Excise license number Not used/updated.
vevo_szam Buyer's tax identification number or small-scale producer license number Not used/updated.
jov_eng_keresk_szla Applies when an authorized trader uses his warehouse or storage tank facility as a commercial sales location that does not have an excise license. Not used/updated.
nem_jov_eng_keresk_szla Supply of excise goods by a Not used/updated.
import_vamtarifa Supply of excise goods by Not used/updated.
betet_dij Deposit/core charge Not used/updated.
rezsicsokkentes Invoicing household overhead cuts Not used/updated.

beszallokartya

jaratszam

kedv_neve

uticel

Sales by a transit tax warehouse operator, from a transit tax warehouse Not used/updated.

Non-mandatory entries group (nem_kotelezo)

One section is created per invoice.

XML element Description Details
fiz_hatarido Payment due date Deadline by which the payment is to be made.
fiz_mod Mode of payment

Mode in which the payment will be made.

Payment terms text 1 and 2 from 'Payment Term. Open' (CRS075) if this exists for the language ‘HU’, else from the language ‘GB’. If no text exists in (CRS075), payment terms from the customer invoice is used.

penznem Currency Currency code in which the sums on the invoice are denominated.
szla_forma Form of invoice Not used/updated.
kibocsato_bankszla Bank account number of the issuer of the invoice Not used/updated.
befogado_bankszla Bank account number of the recipient Not used/updated.

Invoice totals (osszesites)

Totals per invoice. One section is created per invoice. The section for afarovat is subtotals per VAT rate and the section for vegosszeg is the invoice total amounts summarized from the afarovat elements.

XML element Description Details
afarovat Sub-totals for each VAT rate

Start tag.

This element can occur several times.

Records with the same VAT rate are accumulated.

nettoar Net amount per VAT rate Base amount for tax calculation per VAT rate in foreign currency (invoice currency).
adokulcs VAT rate

VAT rate applied expressed as a percentage.

For exemptions, the tax rate is set to 0 (zero).

adoertek VAT amount per VAT rate

VAT amount per VAT rate.

The currency set up in (CRS045) for the base country code specified in (AAS370) is used for the VAT amount.

bruttoar Gross amount per VAT rate Summarized amount, including VAT in foreign currency (invoice currency), per VAT rate.
vegosszeg Grand total payable

Start tag.

Created once per invoice.

nettoarossz Total taxable net amount

Totals per invoice.

Amounts from the elements under afarovat are summarized.

afaertekossz Total VAT amount

Total VAT amount per invoice.

Amounts from the elements under afarovat are summarized.

bruttoarossz Total gross amount payable

Totals per invoice.

Amounts from the elements under afarovat are summarized.

afa_tartalom Amount of VAT paid Not used/updated.

Configuration

There is a general document, User Guidelines for Invoicing in Hungary M3, with recommended settings of how to set up M3 BE in Hungary, which is assumed to have been considered prior to setting up a Hungarian division.

Below is a list of the most important settings and considerations with specific information used when creating the invoice audit XML file.

Settings - General Ledger (CRS750)

Settings in (CRS750).

Program ID Field Heading Description
(CRS750/F) VAT date type

The recommendation is to use alternative 3-‘Delivery date (acc date)’ or 4-‘Delivery date (inv date)’.

It is possible to use individual definitions on specific VAT codes in 'VAT Code. Open' (CRS030).

(CRS750/F) VAT printout Consider using alternative 3-‘VAT on inv & in AP‘ for ‘VAT printout‘ in order to print the VAT amount in local currency on invoices.

Settings - Customer Order Invoicing (CRS722)

Note that each invoice must have a separate voucher number in the financial system controlled by the ‘Sep voucher no’ parameter in (CRS722/E).

Original invoice number for corrective invoices or credit notes

The original invoice number that is displayed for corrective invoices and credit notes in the column ‘Orig invoice’ in (OIS350) is stored on the AR information category 235 or 255 in 'Customer Invoice. Display Add Info' (ARS216).

Note that this extra information triggers the indication that the invoice is a credit note (element szlatipus = 3 in the fejlec section), and the creation of the element eredeti_sorszam in the modosito_szla section, displaying the original invoice number for a credit note.

AR information category number 255-‘Original invoice number – Credit note‘, can be added manually to an original invoice in (ARS216).

For more details, see NCR 8454.

Company. Connect Division (MNS100)

The division (invoice issuer) address must be formatted as per the below in (MNS100).

Program ID Field Heading Description
(MNS100/E) Company name The name of the company.
(MNS100/E) Address

Address line 1 indicates the company name extension if the ’Company name‘ field is not long enough.

Address line 2 indicates the street name and number.

Address line 3 indicates the postal code and city.

Address line 4 indicates the name of the country.

(MNS100/E) City The field indicates the city.
(MNS100/E) Postal code The field indicates the postal code.
(MNS100/E) Country The field indicates the country code.
(MNS100/G) Organization number 2 The field is used for the company tax number and is entered without dashes (e.g. 11240132311). The number will automatically be converted to the correct format with dashes (e.g. 11240132-3-11) in the XML file (element: szamlakibocsato/adoszam).
(MNS100/G) VAT reg no. The field indicates the VAT registration number.

Customer. Open (CRS610)

A customer address and organization number is set up in (CRS610/E) and formatted as described below.

Program ID Field Heading Description
(CRS610/E) Name The field indicates the name of the customer.
(CRS610/E) Address

Address line 1 indicates the customer name extension if the 'Name' field is not long enough.

Address line 2 indicates the street name and number.

Address line 3 indicates the postal code and city.

Address line 4 indicates the country.

(CRS610/E) City The field indicates the city.
(CRS610/E) Postal code The field indicates the postal code.
(CRS610/E) Country The field indicates the country.
(CRS610/J) Organization number 2

The field is used for customer tax number in the XML file for the adoszam element and is entered without dashes (e.g. 11240132311). The number will automatically be converted to the correct format with dashes (e.g. 11240132-3-11) in the file.

If no organization number exists, the ‘VAT registration number‘ from the invoice accounting lines in the general ledger (FGLEDG) is used.

(CRS610/J) VAT reg no. The field indicates the VAT registration number.

Supplier. Open (CRS620)

Information from a supplier is used if a fiscal representative (kepviselo) is used or if a customer order invoice or an internal invoice (linked to a customer order) has item charges related to specific product charges with a CsK or KT code. Those codes, as well as information about the internal supplier (the owner of the supplying warehouse who pays those fees), should be supplied in the addendum (zaradekok) section.

Program ID Field Heading Description
(CRS620/E) Organization number 2

This field is used for the supplier tax number in the XML file and is entered without dashes (e.g. 11240132311). The number will automatically be converted to the correct format with dashes (e.g. 11240132-3-11) in the file.

If no organization number exists, the ‘VAT registration number‘ from the invoice accounting lines in the general ledger (FGLEDG) is used.

(CRS620/E) VAT reg no. The field indicates the VAT registration number.

A supplier address is set up in 'Supplier. Connect Address' (CRS622/E) and formatted as described below. Address type 01–'Postal code' will be entered in the file. If this does not exist type 02–'Street address' will be used instead. If none of these exists, no address elements will be created in the XML file for the supplier.

Program ID Field Heading Description
(CRS622/E) Name This field indicates the name of the supplier.
(CRS622/E) Address

Address line 1 indicates the supplier name extension if the 'Name' field is not long enough.

Address line 2 indicates the street name and number.

Address line 3 indicates the postal code and city.

Address line 4 indicates the country.

(CRS622/E) City This field indicates the city.
(CRS622/E) Postal code This field indicates the postal code.
Country This field indicates the country.

Item. Enter Names/Language (MMS030)

If the item name and description exist for the language ‘HU’ in (MMS030), these are entered in the XML file for the termek_szolgaltatas_tetelek /termeknev element as the item description, else from the item name on the customer order for customer order invoices or from the item master in (MMS001) for internal invoices.

Unit of Measure. Enter Names/Language (CRS052)

If the unit of measure (U/M) of the items exists for the language ‘HU’ in (CRS052), this is entered in the XML file for the termek_szolgaltatas_tetelek /mertekegys element, else the U/M from the item master in (MMS001) is used.

For header charges where no U/M exists, ‘db’ (Hungarian for pcs) is entered in the XML file since the element for U/M (<mertekegys>) is mandatory.

CO Charge. Enter Names/Language (OIS029)/(OIS030)

If the header charge description of the customer order exists for the language ‘HU’ in (OIS029), this is entered in the XML file, else the description from (OIS030).

Service Charge. Enter Names/Lang (OIS033)/(OIS031)

If the service charge description of the customer order exists for the language ‘HU’ in (OIS033), this is entered in the XML file, else the description from (OIS031).

Item. Connect Facility (MMS003)

To enter the heading or SZJ Code of the goods and/or services invoiced in the XML file for the termek_szolgaltatas_tetelek/besorszam element, this information must be entered in the ‘Customs stat no’ field in (MMS003/E) for the items in the applicable facility. This applies to customer order invoices and internal invoices.

Payment Term. Open (CRS075)

If a text for payment terms exists for the language ‘HU’ in (CRS075), the terms text 1 and 2 are entered in the XML file for the nem_kotelezo/ fiz_mod element. If this does not exist, the payment terms from the customer invoice are used.

Setup indication of services by intermediaries

It is possible to indicate whether services are supplied by intermediaries for the kozv_szolgaltatas element found under the parent element termek_szolgaltatas_tetelek, by setting up such charge IDs in 'Business Message Data Translation. Displ' (CRS881)/(CRS882). The charge IDs and/or service codes are defined per division.

For customer order invoices

If charge IDs for information type 60 (‘External charge per delivery and charge ID’) and/or 67 (‘External item charge’) in (OIS350) is found in 'Business Message Data. Translate' (CRS882), these will return the value ‘true’ in the XML file for the kozv_szolgaltatas element.

For manual invoices

If entering a service code when registering the invoice and this code has been added in (CRS882), this will return the value ‘true’ in the XML file for this element.

Run (AAS370) once to automatically create the header record for translation in (CRS881). After the first (AAS370) run, select the record in (CRS881) with the following values:

To define the charge IDs or service codes, use the related option ‘Translate’ (CTRL+11) in (CRS881/B) to open (CRS882). In (CRS882), enter the translation by using the following values:

Description Field Value
Message standard MSTD M3BE
Version MVRS 1
Message BMSG HU-TaxAuthAuditData
I/O IBOB O
Parent elements ELMP termek_szolgaltatas_
Data element ELMD kozv_szolg

To define the charge IDs or service codes, use the related option ‘Translate’ (CTRL+11) in (CRS881/B) to open (CRS882). In (CRS882), enter the translation by using the following values:

Description Field Value
External partner EXTP Blank
M3 data MVXD Charge ID or service code that should indicate services by intermediaries
Message data MBMD Blank

Example

M3 data Message data
MHLC01

Setup indication of VAT exemption

To indicate a VAT exemption in the addendum section (zaradekok) for the adoment_hiv element, the applicable VAT codes can be set up in (CRS881)/(CRS882). Those VAT codes will then return the value ‘true’ in the XML file for this element. The VAT exemptions are defined per division.

Run (AAS370) once to automatically create the header record for translation in (CRS881). After the first (AAS370) run, select the record in (CRS881) with the following values:

Description Field Value
Message standard MSTD M3BE
Version MVRS 1
Message BMSG HU-TaxAuthAuditData
I/O IBOB O
Parent elements ELMP zaradekok
Data element ELMD adoment_hi

To define the VAT codes, use the related option ‘Translate’ (CTRL+11) in (CRS881/B) to open (CRS882). In (CRS882), enter the translation by using the following values:

Description Field Value
External partner EXTP Blank
M3 data MVXD VAT code indicating the exemption
Message data MBMD Blank

The VAT codes should be entered without leading zeros, meaning that if for example VAT code 02 is used, this should be entered as 2.

M3 data Message data
2

Setup indication of reverse charge procedure for VAT

To indicate a reverse charge procedure in the addendum section zaradekok for the ford_ado element, the applicable VAT codes can be set up in (CRS881)/(CRS882). These VAT codes will then return the value ‘true’ in the XML file for this element and are defined per division in (CRS882).

Run (AAS370) once to automatically create the header record for translation in (CRS881). After the first (AAS370) run, select the record in (CRS881) with the following values:

Description Field Value
Message standard MSTD M3BE
Version MVRS 1
Message BMSG HU-TaxAuthAuditData
I/O IBOB O
Parent elements ELMP zaradekok
Data element ELMD ford_ado

To define the VAT codes, use the related option ‘Translate’ (CTRL+11) in (CRS881/B) to open (CRS882). In (CRS882), enter the translation by using the following values:

Description Field Value
External partner EXTP Blank
M3 data MVXD VAT code that should indicate reverse charge procedure
Message data MBMD Blank

The VAT codes should be entered without leading zeros, meaning that if for example VAT code 01 is used, this should be entered as 1.

M3 data Message data
1

Setup indication and translation of product charges for CsK codes

To indicate products subject to product charges with CsK codes in the addendum section (zaradekok/vissz_igeny/vissz_igenytetel) for the csk element, the applicable external item charges (information type 67 in (OIS350)/’Invoice. Display Lines’ (OIS351)) should be set up in (CRS881)/(CRS882) with their translations to the corresponding CsK codes. This is applicable for customer order invoices (OIS350) and internal invoices (MFS100) if linked to a customer order invoice with such charges. Translations are defined per division.

Run (AAS370) once to automatically create the header record for translation in (CRS881). After the first (AAS370) run, select the record in (CRS881) with the following values:

Description Field Value
Message standard MSTD M3BE
Version MVRS 1
Message BMSG HU-TaxAuthAuditData
I/O IBOB O
Parent elements ELMP vissz_igenytetel
Data element ELMD Csk

To define the CsK codes, use the related option ‘Translate’ (CTRL+11) in (CRS881/B) to open (CRS882). In (CRS882), enter the translation by using the following values:

Description Field Value
External partner EXTP Blank
M3 data MVXD M3 charge ID that is subject to product charge
Message data MBMD CsK code

Example

M3 data Message data
HUECO1 E221001

Setup indication and translation of product charges for KT codes

To indicate products subject to product charges with KT codes in the addendum section (zaradekok/vissz_igeny/vissz_igenytetel) for the kt element, the applicable external item charges (information type 67 in (OIS350)/(OIS351)) should be set up in (CRS881)/(CRS882) with their translations to the corresponding KT codes. This is applicable for customer order invoices (OIS350) and internal invoices (MFS100) if linked to a customer order invoice with such charges. Translations are defined per division.

Run (AAS370) once to automatically create the header record for translation in (CRS881). After the first (AAS370) run, select the record in (CRS881) with the following values:

Description Field Value
Message standard MSTD M3BE
Version MVRS 1
Message BMSG HU-TaxAuthAuditData
I/O IBOB O
Parent elements ELMP vissz_igenytetel
Data element ELMD kt

To define the KT codes, use the related option ‘Translate’ (CTRL+11) in (CRS881/B) to open (CRS882). In (CRS882), enter the translation by using the following values:

Description Field Value
External partner EXTP Blank
M3 data MVXD M3 charge ID that is subject to product charge with a KT code
Message data MBMD KT code

Example

M3 data Message data
HUECO1 E991001

Setup indication of product charges for reszenkent_forg_hoz element

To indicate products subject to specific product charges related to the zaradekok/csomszer_forg_hoz/reszenkent_forg_hoz element in the addendum section, the applicable external item charges (information type 67 in (OIS351)) should be set up in (CRS881)/(CRS882). Those charge IDs will then return the value ‘true’ in the XML file for this element if any of these exist for a customer order invoice (OIS350) or for an internal invoice (MFS100) if linked to a customer order invoice with such a charge ID. The charge IDs are defined per division.

In addition, the amounts are summed for all charge IDs on the customer order invoice found for this record in (CRS882) and entered into the csomszer_forg_hoz/termek_dij element. This is also applicable to an internal invoice that is linked to a CO invoice with those types of charge IDs.

Run (AAS370) once to automatically create the header record for translation in (CRS881). After the first (AAS370) run, select the record in (CRS881) with the following values:

Description Field Value
Message standard MSTD M3BE
Version MVRS 1
Message BMSG HU-TaxAuthAuditData
I/O IBOB O
Parent elements ELMP csomszer_forg_hoz_
Data element ELMD reszenkent_forg_hoz

To define the charge IDs, use the related option ‘Translate’ (CTRL+11) in (CRS881/B) to open (CRS882). In (CRS882), enter the translation by using the following values:

Description Field Value
External partner EXTP Blank
M3 data MVXD M3 charge ID that is subject to product charge
Message data MBMD

Example

M3 data Message data
HUECO1

Setup for internal invoices (MFS100) and VAT information

Information is updated in the CMUFTR table (‘Int dely between divisions’) to know if any further configuration is needed. If there are old invoices in the system, the VAT details for the internal invoices may exist in the general ledger voucher (the FGLEDG table) only, not in CMUFTR. If this is the case, the VAT details must be retrieved from FGLEDG in the XML report for those invoices. This also means that those invoices can be created for one VAT situation (one VAT code/VAT rate) per invoice only, since there is no information in FGLEDG of which VAT rate that corresponds to which item line.

To check if the VAT information is updated in CMUFTR, open 'Internal Transfer. Display btw Divisions' (MFS200) and add the columns ‘Calculated VAT amount 1’ (CWCVT1), ‘VAT code’ (CWVTCD), ‘VAT rate 1’ (CWVTP1), and ‘Entry date’ (CWRGDT) to the view, to see whether the information is updated for the applicable invoices. Another option is to run a database query for the CMUFTR table.

If the VAT details exist in CMUFTR, no configuration needs to be done and the steps described below can be disregarded. If they are missing, note down the entry date from when the VAT information exists for the invoices and follow the steps below.

Run (AAS370) once to automatically create the header record needed in (CRS881), if this does not already exist. The setup in (CRS881) is defined per division. After the first (AAS370) run, select the record in (CRS881) with the following values:

Description Field Value
Message standard MSTD M3BE
Version MVRS 1
Message BMSG HU-TaxAuthAuditData
I/O IBOB O
Parent elements ELMP szamlak
Data element ELMD szamla

To define the entry date, use the related option ‘Translate’ (CTRL+11) in (CRS881/B) to open (CRS882). In (CRS882), enter the translation by using the following values:

Description Field Value
External partner EXTP Blank
M3 data MVXD Blank
Message data MBMD Entry date in the YYYYMMDD format

The example below reveals that the entry date 20160901 (September 1, 2016) has been entered in the field ‘Message data’. VAT information will then be retrieved from FGLEDG for all internal invoices that were created before this date. For invoices created this date and forward, the VAT information (per item line) in CMUFTR will instead be used.

Example

M3 data Message data
20160901
Note: If no date is entered in (CRS882), the information in CMUFTR will be used for all invoices.

Setup replacement of characters

A character in a data element containing text under the szamla element that is not allowed by the UTF-8 format can be translated by using (CRS881)/(CRS882). Translations are defined per division. Note that this setup only needs to be done if problems with the characters are discovered.

Run (AAS370) once to automatically create the header record for translation in (CRS881). After the first (AAS370) run, select the record in (CRS881) with the following values:

Description Field Value
Message standard MSTD M3BE
Version MVRS 1
Message BMSG HU-TaxAuthAuditData
I/O IBOB O
Parent elements ELMP szamlak
Data element ELMD szamla

To define the charge IDs, use the related option ‘Translate’ (CTRL+11) in (CRS881/B) to open (CRS882). In (CRS882), enter the translation by using the following values:

Description Field Value
External partner EXTP Blank
M3 data MVXD Characters that should be replaced
Message data MBMD Replacement character, can be replaced by a blank value

The replacement value is depending on the position in the ‘Message data’ field. If the M3 characters in the table below are to be replaced, the data in (CRS882) are defined as:

M3 data = áéíóöúü

Message data = aeioouu

M3 character Replacement value
á a
é e
í i
ó o
ö o
ú u
ü u