Setting Up XSD Validation
To access the LATAM E-Document Certification SuiteApp documentation in Brazilian Portuguese (Português do Brasil), see LATAM E-Document Certification.
XSD validation verifies which XML elements and attributes must be present in the XML of your generated e-document. The validation helps you prevent certification failures caused by issues with the XML schema.
NetSuite uses XSD files to perform the validation during the e-document generation process. When NetSuite finds issues during the validation, it displays them in the e-document audit trail.
To set up the validation of your e-documents, associate an XSD file to a certification service operation record and enable the XSD validation feature. You can set up different XSD files for distinct tax authorities, operations, and environments.
To set up XSD validation on a certification service operation:
-
Go to Setup > E-Document Certification > Tax Authority Certification Service.
-
Click View next to the tax authority certification service you want.
-
Click the Operations subtab.
-
Click the name of the certification service operation record you want.
-
To associate an XSD validation file to the certification service operation, do the following:
-
Click the XSD Validation subtab.
-
Click New XSD Validation.
A new XSD validation record opens.
-
In the XSD File field, select the XSD file from your account's File Cabinet that you want to use to validate your generated e-documents.
-
If the validation requires several XSD files, in the XSD File Path field, enter the path to the File Cabinet folder that contains the additional files.
-
In the Certification Environment field, select the environment for which you want to validate e-documents before you send them for certification.
-
Click Save.
-
-
After you associate the XSD validation file, enable the validation on the certification service operation:
-
Click Edit.
-
Check the Enable the XSD Validation box.
-
Click Save.
-
Related Topics
- Creating a Tax Authority Certification Service Record
- Creating Certification Service Operations
- Adding Digital Signature Tags
- Adding Certification Service URLs
- Defining E-Document Certification Settings
- Adding Custom Fields for Certification
- Creating E-Document Series
- Defining E-Document Sending Preferences
- Adding Municipal Taxation Codes