6 Working with Invoices and Other Legal Documents for Hungary

This chapter contains the following topics:

6.1 Understanding Invoices for Hungary

When working with sales and purchase transactions in Hungary, you might need to produce several types of invoices. The JD Edwards EnterpriseOne software for Hungary enables you to work with these types of invoices:

  • Hungarian-specific invoices for goods and services.

    You can print Hungarian-specific invoices from the JD Edwards EnterpriseOne Sales Order Management system and the JD Edwards EnterpriseOne Accounts Receivable system.

  • Correction invoice.

    When you run the Print Invoices program (R42565) or the Print Legal Documents from A/R program (R7430030), the system calls one of these programs:

    Print Invoice - Hungary - SOP/AR program (R74H3040), if the Calculate Taxes option is selected in the Legal Document Types program (P7400002). Use this program to print information on the invoice that is required for Hungary for transactions that include VAT. You use the Print Invoice - Hungary - SOP/AR program to print invoices for domestic currency and foreign currency transactions.

    Print Legal Document (R7430040), if the Calculate Taxes option is not selected in the Legal Document Types program.


    Note:

    The Print Legal Documents from A/R program retrieves country information from the Legal Document Type setup and prints the company information by country on the Invoice Print report. The report processes only those transactions from A/R and SOP that have company and tax/area combination belonging to the specific country. (Release 9.1 Update)

  • Reversing invoices (Storno)

The invoice for Hungary includes:

  • Invoice number and date.

  • Invoice due date, date of performance (shipment date), and the service tax date.

  • Information for foreign currency transactions:

    • Total taxable amount

    • Total tax amount

    • Total gross amount

    • Exchange rate

    • Exchange rate date

    When you generate an invoice in a foreign currency, the system includes the amounts in both the foreign currency and in HUF. The foreign amounts appear in the body of the invoice. The domestic amounts, the exchange rate, and the exchange rate dates appear in a footer at the bottom of the invoice.

  • Statistical classification number (custom tariff number).

    You must provide this information when the product or service is taxed at a rate that is lower than the general rate.

  • Bank account information including:

    • Name

    • Address

    • Postal code

    • Bank account number

    • IBAN (International Bank Account Number)

    • SWIFT (Society for Worldwide Interbank Financial Telecommunications) number

  • Item information, net amount, tax rate, tax amount, and gross amount for each line on the invoice.

  • For foreign currency invoices, the document language must be Hungarian.

  • For sales within the EU, the EU tax registration number must be supplied.

Invoices can be printed in Hungarian or in another language. However, if you are audited, the government might require you to provide a translation of invoices that are printed in a foreign language.

Invoices should be uniquely numbered, without any gaps. You can use multiple sequences of numbers, such as a different sequence for domestic and foreign invoices. You can restart the numbering each year or continue the numbering into a new year. Use the JD Edwards EnterpriseOne programs for legal numbering to set up the numbering sequence for invoices.

See "(CZE, HUN, POL, and RUS) Setting Up Legal Numbering for Legal Documents" in the JD Edwards EnterpriseOne Applications Localizations for European Reporting and SEPA Processing Implementation Guide.

6.1.1 Correction Invoices

You issue correction invoices when a previously issued invoice must be corrected because of incorrect information, including the quantity, tax code, and so on. The correction invoice must refer to the original invoice and provides information about the original data, the modified data, and the difference between the original and modified data. The JD Edwards EnterpriseOne system maintains a one-to-one relationship between original and correction invoices.

The correction invoice must include:

  • Correction Invoice as the document title.

  • Reference to the original invoice that is being corrected.

  • Line item of the original invoice, notated as a negative amount.

  • New lines showing the corrected data.

  • Differences between the data on the original invoice and the correction invoice.

6.1.2 Reversing Invoices (Storno)

You issue a reversing invoice when the goods or services on an original invoice were not provided, or if an invoice is issued to the wrong customer. The reversing invoice must include:

  • Storno Invoice as the document title.

  • Reference to the original invoice that is being reversed.

  • Line items of the original invoice, notated as a negative amount.

The JD Edwards EnterpriseOne system maintains a one-to-one relationship between original and reversed invoices.

You enter a credit note to generate a reversing invoice.


Note:

The hard-coded document type for reversing invoices is CD in the Legal Document Type Group (74/DG) user-defined code (UDC) table. Use this document type when setting up legal document types for reversing invoices in the Legal Document Types program (P7400002).

6.1.3 Generating the Document in Lieu of an Invoice

To generate the document in lieu of an invoice:

  1. Use the Sales Order Entry program (P4210) to enter a credit note.

  2. On the Invoices Related to a Sales Order form, specify the sales order for which you process the credit to associate the credit note with the original sales order.

  3. Create a header attachment to explain the credit note, if desired.

  4. Run the version of the Print Invoices program that you set up for documents in lieu of an invoice.

    You set data selection to specify the documents to print.

    The system launches the Print Invoice - Hungary - SOP/AR program to assign the legal number and internal document number.

    See "Entering Sales Orders" in the JD Edwards EnterpriseOne Applications Sales Order Management Implementation Guide.

6.1.4 Prerequisites

Before you complete the tasks in this chapter:

  • Verify that numbering for legal documents is set up.

  • Verify that UDCs for legal documents are set up.

See "(CZE, HUN, POL, and RUS) Setting Up Legal Numbering for Legal Documents" in the JD Edwards EnterpriseOne Applications Localizations for European Reporting and SEPA Processing Implementation Guide.

6.2 Understanding Electronic Invoices for Hungary (Release 9.1 Update)

Companies in Hungary are required to submit a digital version of the invoices issued that meet a specific criteria. The information in this electronic document is issued as an Extensible Markup Language (XML) file that complies with specific format and content requirements.

JD Edwards EnterpriseOne Localizations for Hungary uses the standard programs to generate a printable invoice document, and country-specific generic invoice functionality to generate a digital electronic invoice.

When you work with electronic invoices, the system generates the electronic document in accordance with Hungarian regulations so you can later submit it to the fiscal authorities.

6.2.1 Understanding the System Setup to Work With Hungary Electronic Invoices (Release 9.1 Update)

Before you can start working with electronic invoices for Hungary, you must enable the functionality, set up additional information, legal companies, and the legal documents.

JD Edwards EnterpriseOne Localizations for Hungary simplifies the process to set up your system and generate electronic invoices that meet legal requirements.

6.2.2 Setting Up UDCs to Work With Electronic Invoices for Hungary

Verify that the UDC tables required to work with electronic accounting are correctly set up in your system.

6.2.3 Setting Processing Options for the Generic Invoice Grouping Program (R7030030) (Release 9.1 Update)

Processing options enable you to specify default processing values for programs and reports.

6.2.3.1 Process

1. Invoice Group Code

Select a value from the Invoice Group Code UDC table (70/IG) to specify if the system generates a single lot per invoice, a lot grouping invoices, or by grouping invoices based on the invoice range that you specify when you work with electronic invoices.

Valid values are:

1 - One lot per invoice: The system generates one XML electronic file per invoice.

2 - One lot per "Invoice To" AB record: The system groups the transactions for the same customer into a single XML electronic file.

3 - Invoice Range: The system groups the transactions based on the invoice range that you specify into a single XML electronic file.


Note:

For Hungary, the only valid value is 3 for electronic invoices.

6.3 Printing Invoices

This section provides an overview of the print process for legal documents and discusses how to:

  • Print invoices from the JD Edwards EnterpriseOne Sales Order Management system.

  • Print invoices from the JD Edwards EnterpriseOne Accounts Receivable system.

  • Reprint invoices.

  • Set processing options for PO - Print Legal Document from Sales Order (P7420565).

  • Set processing options for Legal Document Print Process (R7430030).

6.3.1 Understanding the Print Process for Legal Documents

When you print legal documents for Hungary, the system uses the legal numbering setup to determine the print format, attachments, and legal number to print legal documents.

You use the PO - Print Legal Documents from Sales Orders program to set up versions for each of the legal documents that you print. For example, you might set up a version for a standard invoice and set up a version for a correction invoice.

For each version that you set up in the PO - Print Legal Documents from Sales Orders program, you must set up a corresponding version in the Print Invoices program. For example, if you set up a version named CorInv in the PO - Print Legal Documents from Sales Orders program, you must set up a version named CorInv in the Print Invoices program. When you run the Print Invoices program, the system uses the document type that you specified in the processing options for the PO - Print Legal Documents from Sales Orders program to determine which legal document to print.

Set the processing options for the Print Invoice program as shown in this table:

Processing Option Value for Proof Mode Value for Final Mode
Prevent A/R Number Assignment 1 blank
Prevent Next Status Update 1 blank
Invoice Document Type any any
Print Item Number 2 (if you need to print the statistical classification number) 2 (if you need to print the statistical classification number)
Customer Cross Reference The item cross-reference table that includes the statistical classification number The item cross-reference table that includes the statistical classification number

6.3.1.1 Printing Invoices from the JD Edwards EnterpriseOne Sales Order Management System

Run the Print Invoices program to print invoices from the JD Edwards EnterpriseOne Sales Order Management system. When you run the Print Invoices program, the system:

  • Uses the criteria that is set up in data selection to select the sales orders to process.

  • Makes the standard validations and calculations.

  • Reads the processing options for the corresponding version of the PO - Print Legal Documents from Sales Orders program.

  • Launches the Print Invoice - Hungary - SOP/AR program to assign the legal number and internal document number.

You can print invoices in proof or final mode. When you print in proof mode, the system does not generate a legal number and does not update tables.

(Release 9.1 Update) When you run the Print Invoices program (R42565) to generate electronic invoice for Hungary, the system runs the Generic Invoice Grouping program (R7030030) and Generic Legal Document Extractor (R7030040) to generate the invoice in the XML format. The system runs the ZJDE0002 version of the Generic Legal Document Extractor program to generate XML output for Hungary.


Note:

(Release 9.1 Update) To generate the XML output in the format specified by the Hungarian government, you must select data based on order range or the date range of the sales orders while running the Print Invoices program.

6.3.1.2 Printing Invoices from the JD Edwards EnterpriseOne Accounts Receivable System

Run the Print Legal Documents from A/R program to print invoices from the JD Edwards EnterpriseOne Accounts Receivable system. When you run the Print Legal Documents from A/R program, the system:

  • Reads invoices from the Customer Ledger table (F03B11) that were posted to the general ledger.

  • Launches the Print Legal Print Invoice - Hungary - SOP/AR program to assign the legal number and internal document number.

You can print invoices in proof or final mode. When you print in proof mode, the system does not generate a legal number and does not update tables.

(Release 9.1 Update) When you run the Print Legal Documents from A/R program, the system runs the Generic Invoice Grouping program (R7030030) and Generic Legal Document Extractor program (R7030040) to generate the invoice in the XML format.

(Release 9.1 Update) You need to define the processing options in the Print Legal Documents from A/R program to specify whether to process the invoices based on date range or invoice number range.

See Section 6.3.6.2, "Export (Release 9.1 Update)"

6.3.1.3 Reprinting Invoices

Use the Reprint Legal Document program (P7430031) to reprint selected documents. When you reprint a document, the system prints the same legal number as is used on the original legal document. When you select to reprint, the system verifies whether the record is included in the Legal Document Header table (F7430030) table. If the record is not in the F7430030 table, the system adds the record to the table as well as to the Legal Document Detail table (F7430032).

6.3.2 Printing Invoices from the JD Edwards EnterpriseOne Sales Order Management System

Select Invoice Processing (G42113), Invoice Print.

6.3.3 Printing Invoices from the JD Edwards EnterpriseOne Accounts Receivable System

Select A/R Legal Document Processing (G70LD03B), Print Legal Documents from A/R.

6.3.4 Reprinting Invoices

Use one of these navigations:

  • A/R Legal Document Processing (G70LD03B), Reprint Legal Document

  • Sales Legal Document Processing (G70LD42), Reprint Legal Document

6.3.5 Setting Processing Options for PO - Print Legal Document from Sales Order (P7420565)

Use these processing options to specify default values for Hungary that the system uses when you run the Print Invoices program to print legal documents.

6.3.5.1 General

1. Document Issue Place

Specify the legal document issue place. The value that you enter must exist in the Legal Document Issue Places table (F7400004) table.

2. Internal Document Type for Invoices

Specify the document type that you use for the business purpose to identify invoices. The value that you enter must exist in the Document Type (00/DT) UDC table and should be the document type that you specified for invoices in the Legal Doc. Types Relationship program (P74R0003).

The document type that you select must be different from the document type that you specify as the invoice document type in the Print Invoices program.

3. Internal Document Type for Shipment Notes

This processing option is not used for Hungary.

4. Mode

Enter 1 to print in final mode. Leave this processing option blank to print in proof mode.

5. Summarize Sales Order Lines by Item

Enter 1 to summarize sales order lines by item. Leave this processing option blank to have the system print all sales order lines.

6. Automatic Printing

Oracle recommends that you suppress the automatic printing for invoices for Hungary.

Enter 1 to suppress printing.

6.3.5.2 Shipment Notes

The processing options on this tab are not used for invoices for Hungary.

6.3.5.3 Error Processing

1. Last Status Code for Invoices

Specify the last status code that invoices should have attained. The value that you enter must exist in the Activity/Status Codes (40/AT) UDC table. If the invoice has not attained the status code that you specify, the system displays an error message.

If you leave this processing option blank, the system uses 931 as the last status code.

2. Next Status Code for Invoices

Specify the next status code to which invoices will be moved. The value that you enter must exist in the Activity/Status Codes (40/AT) UDC table. If the invoice does not move to the status code that you specify, the system displays an error message.

If you leave this processing option blank, the system uses 831 as the last status code.

3. Last Status Code for Shipment Notes

This processing option is not used for Hungary.

4. Next Status Code for Shipment Notes

This processing option is not used for Hungary.

6.3.6 Setting Processing Options for Legal Document Print Process (R7430030)

Use these processing options to specify additional parameters for tax invoices that you print from the JD Edwards EnterpriseOne Accounts Receivable system.

6.3.6.1 General

1. Mode

Enter 1 to process records in final mode. Leave this processing option blank to process records in proof mode.

2. Print Currency

Enter D to print the invoice in domestic currency. If the invoice was entered in a foreign currency, enter F to print the invoice in the foreign currency.

3. Launch UBE Automatically (launch universal batch engine automatically)

Leave this processing option blank to automatically launch the Print Invoice - PO program (R7430030). Enter 1 to suppress the automatic launch of this program.

4. Print Line Attachment

Enter 1 to print the attachment that you specified when you entered the invoice. Leave this processing option blank to suppress printing of the attachment.

5. Contact Information Address Number

Enter the address book number of the person who is the contact person. If you leave this processing option blank, the system uses the contact person who is associated with the legal document type.

6.3.6.2 Export (Release 9.1 Update)

Date Invoice From

Enter the beginning date of the range of dates for which you want to process the invoices in XML format while running the electronic invoice.

Date Invoice Thru

Enter the ending date of the range of dates for which you want to process the invoices in XML format while running the electronic invoice.

Invoice Number From

Enter the beginning number of the invoice number range for which you want to process the invoices in XML format while running the electronic invoice.

Invoice Number Thru

Enter the ending number of the invoice number range for which you want to process the invoices in XML format while running the electronic invoice.


Note:

You need to enter either the date range or invoice range to process the invoices. If you enter both ranges, the system processes the invoices based on the invoice number range.

6.4 Entering Credit and Debit Notes

This section provides an overview of credit and debit notes and discusses how to:

  • Running the PO - Sales Order Entry program.

  • Set processing options for PO - Sales Order Entry (P7424210).

  • Running the PO - Invoice Entry program.

  • Set processing options for PO - Invoice Entry (P7433B11).

  • Enter additional information for invoices.

  • Add related invoices.

6.4.1 Understanding Credit and Debit Notes

You can use a credit note (credit memo) to reduce the VAT charged and reclaimed on goods or services sold. You can reduce the value of the goods or service only if an order is canceled, returned, or if a contractual price reduction occurs. You can use a debit note (debit memo) to increase the value of the goods or service if a price increase occurs or if, based on agreed contractual terms, the final payment is higher than the price that is quoted on the original VAT invoice. The amount of VAT that is credited or debited must be separately itemized on the credit or debit note. You must associate the original VAT invoice with the credit or debit note.

6.4.1.1 Additional Processing Options for Sales Order Entry (P4210)

If you enter credit and debit notes from the JD Edwards EnterpriseOne Sales Order Management system, you use the PO - Sales Order Entry program (P7424210) to set additional processing options that the system uses to enable or disable an option to enter related invoices to credit notes or debit notes.

You must set up corresponding versions for the Sales Order Entry program and the PO - Sales Order Entry program.

6.4.1.2 Additional Processing Options for Standard Invoice Entry (P03B11)

If you enter credit and debit notes from the JD Edwards EnterpriseOne Accounts Receivable system, you use the PO - Invoice Entry program (P7433B11) to set additional processing options that the system uses to enable or disable an option to enter related invoices to credit notes or debit notes.

You must set up corresponding versions for the Standard Invoice Entry program and the PO - Invoice Entry program.

6.4.2 Forms Used to Work with Debit and Credit Notes

Form Name FormID Navigation Usage
Work With Customer Ledger Inquiry W03B2002A Customer Invoice Entry (G03B11), Standard Invoice Entry Select or review invoices from the JD Edwards EnterpriseOne Accounts Receivable system.
Standard Invoice Entry W03B11A On the Work With Customer Ledger Inquiry form, click Add. Enter invoices.
Invoice Related Information W7430011A After completing the Company and Address Number fields on the Standard Invoice Entry form, select Regional Info from the Form menu. Enter additional information for Hungary invoices.
Invoices Related to DN/CN W7430015A On the Invoice Related Information form, select Invoice Related from the Form menu. Enter one or more legal documents that are related to a credit or debit memo.

6.4.3 Running the PO - Sales Order Entry Program

Select Sales Legal Document Processing (G70LD42), PO - Sales Order Entry.

When you launch this program, you add or select a version. When you select a version, the system displays the processing options.

6.4.4 Setting Processing Options for PO - Sales Order Entry (P7424210)

You use the standard Sales Order Entry program to generate sales orders. Before you generate sales orders, you set the processing options for the PO - Sales Order Entry program. This program exists solely to contain processing options. The system uses the processing options that you set for the PO - Sales Order Entry program as additional parameters for the Sales Order Entry program.

6.4.4.1 Related Invoices

Although processing options are set up during JD Edwards EnterpriseOne implementation, you can change processing options each time you run a program.

1. Related Invoices

Specify whether the system enables the entry of related invoices for a debit or credit note. Values are:

Blank: Disallow the entry of related invoices.

1: Enable the entry of related invoices for a debit or credit note.

2. Multiple Related Invoices

Specify whether the system enables the entry of multiple related invoices for a credit or debit note. Complete this processing option if you entered 1 in the Related Invoices processing option. Values are:

Blank: Enable the entry of only one related invoice.

1: Enable the entry of multiple related invoices for a credit or debit note.

3. Require Entry of Related Invoices

Specify whether the system displays an error or warning message when no related invoice is entered. Values are:

Blank: Display a warning message when no related invoice is entered. The warning message enables the user to continue without entering a related invoice.

1: Display an error message and do not allow the user to continue until a related invoice is entered.

4. Allow Different Address Number

Specify whether the system allows the entry of a related invoice that has a different address book number from the credit or debit note. Values are:

Blank: Display an error message if the user enters a related invoice with a different address book number.

1: Allow the entry of a related invoice that has a different address book number from the credit or debit note.

6.4.5 Running the PO - Invoice Entry Program

Select A/R Legal Document Processing (G70LD03B), PO - Invoice Entry.

When you launch this program, you add or select a version. When you select a version, the system displays the processing options.

6.4.6 Setting Processing Options for PO - Invoice Entry (P7433B11)

These processing options are used by the Standard Invoice Entry program to enable or disable an option to enter related invoices to credit notes or debit notes.

6.4.6.1 General

1. Shipment Mandatory Date

Enter 1 to require entry of the shipping date. Leave this option blank or enter 0 to allow, but not require, the entry of the shipping date.

6.4.6.2 Legal Number

1. Issue Place

Specify the issue place for the legal document number.

6.4.6.3 Related Invoices

1. Related Invoices

Enter 1 to allow the entry of related invoices for a debit or credit note. Leave this processing option blank to prevent entry of related invoices.

2. Multiple Related Invoices

Enter 1 to allow the entry of multiple related invoices for a credit or debit note. Leave this processing option blank to allow the entry of only one related invoice.

Complete this processing option if you entered 1 in the Related Invoices processing option.

3. Require Entry of Related Invoices

Enter 1 to require the entry of a related invoice. If no related invoice is entered, the system displays an error message and does not allow the user to continue until a related invoice is entered.

Leave this processing option blank to have the system display a warning message when no related invoice is entered. The warning message allows the user to continue without entering a related invoice.

4. Allow Different Address Number

Enter 1 to allow the entry of a related invoice with a different address book number from the credit or debit note. Leave this processing option blank to have the system display an error message if the user enters a related invoice with a different address book number.

5. Allow Different Issue Place

Enter 1 to allow the entry of a related invoice with a different issue place from the credit or debit note. Leave this processing option blank to have the system display an error message if the user enters a related invoice with a different issue place.

6.4.7 Entering Additional Information for Invoices

Access the Invoice Related Information form.

Actual Ship Date

Enter the date on which the shipment to the customer is confirmed. The system updates the Sales Order Detail (F4211) table with this date.

Approval Date

Enter the date on which the invoice was approved.

6.4.8 Adding Related Invoices

Access the Invoices Related to DN/CN form.

Legal Company

Enter the legal company to which you add related invoices. The value that you enter must exist in the F7400010 table.

Legal Document Type

Enter the legal document type of related invoices. The value that you enter must exist in the F7400002 table.

Issue Place

Enter the place of issue of the legal document to which you add related invoices. The value that you enter must exist in the F7400004 table.

Legal Number

Enter the legal number that is assigned to the invoice.

Address Number

Enter the address number of the company to which you add related invoices.

6.5 Reviewing Legal Documents

This section provides an overview of how to review legal documents and lists the forms used to review legal documents.

6.5.1 Understanding How to Review Legal Documents

You use the Sales Legal Doc. Inquiry by Int. Doc (Sales Legal Document Inquiry by Internal Document) program (P7420001) to locate information about sales orders using the document type.

You use the Sales Legal Doc. Inquiry by Legal Number program (P7420002) to locate information about sales orders by using the legal document number.

6.5.2 Forms Used to Review Legal Documents

Form Name FormID Navigation Usage
Sales Legal Document Inquiry by Internal Document W7420001A Sales Legal Document Processing (G70LD42), Sales Legal Doc. Inquiry by Int. Doc Review information about sales orders using the document type.
Sales Legal Document Inquiry by Legal Number W7420002A Sales Legal Document Processing (G70LD42), Sales Legal Doc. Inquiry by Legal Number

Select a version on the Work with Versions form, and click Select.

Review information about sales orders by using the legal document number.