Using JD Edwards EnterpriseOne to Validate EU VAT ID Using VIES

JD Edwards EnterpriseOne is set up to communicate with the VIES Web service, enabling you to validate VAT identification numbers for customers or suppliers directly in the JD Edwards EnterpriseOne system. You can activate or deactivate the VIES VAT identification number validation for a customer. When you activate the VIES validation, the system performs the VAT identification number validation via VIES and does not use the JD Edwards EnterpriseOne validation routine.

To validate EU VAT identification numbers using the VIES system, you must activate the VIES validation in the 74/VV UDC table. After you activate the VIES validation, the system automatically validates a new VAT identification number that you enter in the Tax field of the standard application, for example, Address Book, Supplier Master, or Customer Master. You enter the VAT identification number by prefixing the country code of the country issuing the VAT number. For example, you enter the VAT ID 12345678981 issued by Italy as IT12345678981 into the Tax field. If an error occurs in the process, the system displays the error and does not save the address book record until you correct the error.

You can receive a consultation number from VIES for each VAT identification number that you validate if you provide a valid requestor's VAT identification number during validation. You use this consultation number to prove to a tax administrator of a member country that you validated the VAT identification number and obtained a validation result.

The system fetches the requestor's VAT identification number from the address number of the business unit. If the system finds a valid VAT ID, it generates a consultation number along with the VAT ID validation result from VIES. If an error exists in the record, the system will report the error. If the system finds a blank value in the requestor's VAT ID field, it will not return a consultation number, but it will perform the validation. The system will update the Additional Address Book & Vat table (F74101) with successful VIES validation results.

This table lists and describes the warnings and errors that can occur during the validation process:

Warning/Error

Warning/Error Description

Invalid requestor VAT ID entered in the processing option

The requester VAT ID set up in the processing option is invalid.

Resolution: Enter the correct VAT ID which belongs to a member state in the EU or leave the processing option blank.

Note: If you leave the requestor's VAT ID in the processing option blank, the system will search the requestor's details from the business unit setup.

Invalid requester details

The provided requester VAT ID is invalid.

Resolution: Check whether the country code and the tax ID are set up correctly for the business unit associated with the address number. Check the VIES Validation UDC table for the country code setup. You must enter the correct details or leave the field blank.

Note: If you leave the requestor details blank, VIES authorities will not generate a consultation number.

Country code not equal to the VAT number prefix

The first two characters of the VAT number (Tax ID) are not equal to the country code. This happens when the country code of the country that issued the VAT ID is different from the resident country that is set up in the mailing tab of the address book. For example, a customer's resident country entered in the mailing tab of the address book is FR for France, but the customer has the VAT Identification number IT12345678981 issued by Italy.

Resolution: Correct the country code or the VAT number in the Address Book Revisions program.

Note: If you bypass this, the system will use the country code that is prefixed with the VAT ID for validation.

Invalid input

The provided country code is invalid or the tax ID field is empty.

Resolution: Enter the correct country code and tax ID.

VIES Web service unavailable

The VIES Web service is unavailable at present.

Resolution: Try again later.

Member state (country code) service unavailable

The member state service is unavailable at present.

Resolution: Try again later or try with another VAT ID that belongs to a different member state.

VIES Web service time out

The member state service could not be reached at the moment.

Resolution: Try again later or try with another VAT ID that belongs to a different member state.

VIES server busy

The service cannot process your request.

Resolution: Try again later.

Invalid tax ID

The tax ID entered is invalid.

Resolution: Enter the correct tax ID and also verify that the country code is set up correctly in the Address Book Revisions program.

Requester details not found

The requester VAT ID is not set up.

Resolution: Set up the country code and the tax ID of the business unit associated with the address number.

Note: If you leave the requestor details blank, VIES authorities will not generate a consultation number.

Unknown error occurred

The tax ID entered cannot be validated because an unknown error occurred when trying to call the VIES Web service.

Resolution: Try again later.

Invalid blank tax ID

The tax ID cannot be left blank for the address number.

Resolution: Enter the correct tax ID.

If you don't know the tax ID, enter 0 in the Personal/Corporation Code field to override the VIES VAT ID validation.

Note: The system saves the country code of the country that issued the VAT ID in the F74101 table. This can be different from the country code set up in the address book mailing tab when the country code of the VAT ID issuing country is different from the resident country.

The system saves the VIES response in the F74101 table after a VAT ID is successfully validated. If you delete the address book number from the Address Book program, Supplier Master program, or Customer Master program, the system automatically deletes the related record from the F74101 table to maintain data integrity.