3 Working with European Union Electronic Invoice Processing

This chapter contains the following topics:

3.1 Understanding EU Electronic Invoice Processing

Companies in European Union are required to submit a digital version of the invoices in the EN16391 template. The countries can define a country-specific version (CIUS). The information in this electronic document is issued as an Extensible Markup Language (XML) file based on the EN16391 standards using a common template.

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

See European Union (EU) - Electronic Invoicing - XML Mapping (Doc ID 2533515.1).

3.1.1 Understanding XML File Generation

The system uses Oracle's BI Publisher (Business Intelligence Publisher) to produce the required XML files.

To generate the different XML files that comply with the output information and format required by the fiscal authorities, the system uses specific templates and report definitions. Review the relationships in the following table:

Output Batch Version Program Version Template BI Publisher Report Definition
EU Electronic Invoice XML File R7030040 ZJDE0004 TP7030040TS1 RD7030044
EU Electronic Invoice Credit Note XML File R7030040 ZJDE0005 TP7030040TS2 RD7030045

3.2 Working with Accounts Receivable Invoice Processing

This section provides an overview of the process to work with AR invoices, lists prerequisites, the forms used to work with AR invoices, and discusses how to:

  • Set the processing options for the PO - Localization Invoice Entry Program (P7433B11)

  • Set the processing options for the Generic Invoice Grouping Program (R7030030).

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

  • Run the Legal Document Print Program (R7430030).

3.2.1 Prerequisites

Before you generate the electronic invoice:

3.2.2 The AR Invoice Process

To work with the Accounts Receivable invoice process for EU:

  1. Generate Accounts Receivable Invoices using standard programs and processes.

  2. Follow the country-specific localizations implementation guide to add additional information for the accounts receivable transactions.

  3. Post the invoices using the General Ledger Post Program (R09801).

  4. Run the Legal Document Print Process Program (R7430030) to launch the electronic invoice process and generate a digital XML electronic invoice file.

    If the option Generate Electronic Invoice in the additional information entered for the customer is enabled the system will generate the electronic invoice.

  5. If applicable, submit the XML file that the system generates, to the fiscal authorities.


Important:

Ensure to change the name of the .XML file generated by the system to meet the naming conventions specified by the fiscal authorities.


Note:

The system dynamically generates the XML file name and removes special characters such as slash (/), backslash (\), colon (:), and so on added to the file name. The dynamically generated file name will be of the following structure:

Country Code appended by Tax ID Number_Formatted Legal Number.


3.2.3 Forms Used To Work With AR Invoices

Form Name Form ID Navigation Usage
Work With Versions (PO - Localization Invoice Entry) W7433B11A Electronic Invoice Setup (G74DOC), PO - Localization Invoice Entry Select the version for the Localization Standard Invoice Entry Program (P03B11) and set up the applicable processing options.
Work With Customer Ledger Inquiry W03B2002A Customer Invoice Entry (G03B11), Standard Invoice Entry Select or review invoices
Standard Invoice Entry W03B11A On the Work With Customer Ledger Inquiry form, click Add. Enter invoices.

3.2.4 Setting Processing Options for the PO - Localization Invoice Entry Program (P7433B11)

Navigate to Electronic Invoice Setup (G74DOC), PO - Localization Invoice Entry Program (P7433B11).

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

The Standard Invoice Entry Program (P03B11) uses these processing options when you enter an invoice.

3.2.4.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.

3.2.4.2 Legal Number

  1. Issue Place

    Specify the issue place for the legal document number.

3.2.4.3 Related Invoices

  1. Related Invoices Entry

    Enter 1 to allow the entry of related invoices for a debit or credit note. Leave this processing option blank to not allow 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. Force 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 record associated to 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 issued with an Issue Place different than the issue place in 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. Display Error/Warning for Duplicate Related Invoices

    Enter 1 to display an error when the user enters a duplicated related invoice. Leave this processing option blank or enter any value other than 1 to have the system display a warning if the user enters a duplicated related invoice.

3.2.5 Setting Processing Options for the Generic Group Invoicing Program (R7030030)

Navigate to Electronic Invoice Setup (G74DOC), Generic Invoice Grouping Program (R7030030).

Set these processing options to specify how the system should group the transaction records, use the invoice or the credit template, and generate the electronic XML file.

3.2.5.1 Process

1. Invoice Group Code

Select a value from the Invoice Group Code UDC table (70/IG) to specify whether the system should generate a single lot per invoice or a lot grouping invoices that meets a specific criteria when you work with electronic invoices. Values are:

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

2: The system groups the transactions for the same customer into a single XML electronic file.

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


Note:

For EU electronic invoice processing, the only valid value is 1.

2. EU E-Invoice (Y/N)

Select a value to specify whether the EU electronic invoice should be generated. Values are:

Blank or N: The EU electronic invoice will not be generated.

Y: The EU electronic invoice will be generated.

3. Invoice/Credit Note Template

Select a value to specify whether the invoice should be in the credit note template. Values are:

Blank: The system generates the invoice using the invoice template.

2: The system generates the invoice in the credit note template.


Note:

This option is applicable only when the EU E-Invoice (Y/N) option is enabled.

3.2.6 Setting the Processing Options for the Legal Document Print Process Program (R7430030)

Processing options enable you to specify default processing values.

3.2.6.1 General

  1. Print 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 process records in domestic currency. Enter F to process records in foreign currency.

    If you leave this processing option blank, the system processes records in domestic 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 contact information address number or leave this processing option blank to use legal document type option instead.

3.2.7 Running the Legal Document Print Program (R7430030)

Navigate to Daily Processing (G74EUD), Print Legal Documents from A/R (R7430030).

3.2.7.1 Generating the Electronic Invoice in Proof Mode

To generate the AR invoice in proof mode:

  • In the General processing options for the Legal Document Print Process Program (R7430030), leave the Print Mode option blank.

3.2.7.2 Generating the Electronic Invoice in Final Mode

To generate the AR invoice in final mode:

  • In the General processing options for the Legal Document Print Process Program (R7430030), enter 1 for the Print Mode option.

3.3 Working with Sales Order Processing

This section provides an overview of the Sales Order Processing, lists the prerequisites, and discusses how to:

  • Set the processing options for the Generic Invoice Grouping Program (R7030030).

  • Set the processing options for the PO - Print Legal Documents from Sales Orders Program (P7420565).

  • Run the Invoice Print Program (R42565).

3.3.1 Prerequisites

Before you generate the electronic invoice:

3.3.2 The Sales Order Process

You use standard JD Edwards EnterpriseOne Sales Order Management to work with sales orders. You use country-specific programs to generate electronic invoices of your legal documents.

To work with sales orders, complete these tasks:

Process Description
Enter sales orders. You use the Sales Order Entry Program (P4210) to enter sales orders.
Manage existing sales orders. You can use the Manage Existing Order Program (P42101) to manage the existing sales orders.
Set processing options for the Generic Invoice Grouping Program (R7030030). You set these processing options to specify how the system should group the transaction records to generate the electronic XML file. See Setting the Processing Options for the Legal Document Print Process Program (R7430030)
Set processing options for the PO - Print Legal Documents from Sales Orders Program (P7420565). You set these processing options to specify additional parameters for the Standard Invoice Print Program (R42565). You must set up corresponding versions for P7420565 and R42565.

The system uses the additional parameters to generate electronic invoices.

Run the Print Invoices program to generate printable or electronic invoices. You use the Print Invoices Program (R42565) to generate a digital XML version of the sales orders that meets the requirements.The system automatically launches the Electronic Invoice process if the option Generate Electronic Invoice in the additional information entered for the customer is enabled.

After completing these steps, submit the XML file that the system generates for the electronic invoices to the fiscal authorities (if applicable).


Important:

Ensure to change the name of the .XML file generated by the system to meet the naming conventions specified by the fiscal authorities.


Note:

The system dynamically generates the XML file name and removes special characters such as slash (/), backslash (\), colon (:), and so on added to the file name. The dynamically generated file name will be of the following structure:

Country Code appended by Tax ID Number_Formatted Legal Number.


3.3.3 Forms Used to Work With Sales Order Processing

Form Name Form ID Navigation Usage
Work With Sales Order Headers W4210H
  • Sales Order Processing (G4211), Enter Orders Header
  • Sales Order Processing (G4211), Sales Order Detail

    On the Customer Service Inquiry form, select SO Header Browse from the Form menu.

Review and select sales order header records, or access forms to add a new sales order.

3.3.4 Setting Processing Options for the Invoice Print Program (P7420565)

Navigate to Electronic Invoice Setup (G74DOC), Print Legal Documents from Sales.

Use these processing options to specify the default values that the system uses when you run the Print Invoices Program (R42565) to print legal documents or generate electronic invoices. The system uses the PO - Print Legal Documents from Sales Orders Program (P7420565) when you run the Invoice Print Program.

3.3.4.1 General

  1. Document Issue Place

    Specify the legal document issue place.

  2. Internal Document Type for Invoices

    Specify the document type that you use to identify invoices for electronic invoices. The value that you enter must exist in the Document Type (00/DT) UDC table.

    You must set up same document type for the Print Invoices Program (R42565) and the Print Invoice/Invoice Correction - PO Program (P7420565).

  3. Internal Document Type for Shipment Notes

    This processing option is not applicable.

  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. If you leave this processing option blank, the system prints all the lines in the sales order.

  6. Automatic Printing

    Leave this processing option blank to call the R7030030 Program and automatically generate electronic invoices. Generally, you leave this option blank. Enter 1 to suppress the automatic process.

  7. Contact Information Address Number

    Enter the contact information address number or leave this processing option blank to use legal document type option instead.

3.3.4.2 Shipment Notes

  1. Weight Unit of Measure

    Specify the unit of measure that the system uses to print the weight of the shipment. The value that you enter must exist in the Unit of Measure (00/UM) UDC table. If you do not complete this processing option, the system uses Item as the unit of measure.

    This processing option is not applicable.

  2. Volume Unit of Measure

    This processing option is not applicable.

3.3.4.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

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

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

  4. Next Status Code for Shipment Notes

    Specify the next status code to which shipment notes will be moved. The value that you enter must exist in the Activity/Status Codes (40/AT) UDC table. If the shipment note 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 832 as the last status code.

3.3.5 Running the Invoice Print Program (R42565)

From the Daily Processing menu (G74EUD), select Print Invoices.

If the option Generate E-Invoice is enabled in the additional information entered for the customer, the system generates an electronic .xml file document.

3.3.5.1 Generating the Electronic Invoice in the Proof Mode

To generate the EU electronic invoice in the proof mode:

  • In the General processing options for the PO - Sales Legal Document Generation Program (P7420565), leave the Mode field blank.

  • In the Default processing options for the Print Invoices Program (R42565):

    • Enter 1 in the Prevent Next Status Update field.

    • Enter 1 in the Prevent A/R Number Assignment field.

3.3.5.2 Generating the Electronic Invoice in the Final Mode

To generate the EU electronic invoice in the final mode:

  • In the General processing options for the PO - Sales Legal Document Generation Program (P7420565) enter 1 in the Mode field.

  • In the Default processing options for the Print Invoices Program (R42565):

    • Leave the Prevent Next Status Update field blank.

    • Leave the Prevent A/R Number Assignment field blank.