In order to validate the XML files generated from the VAT reporting feature, you may use an XML validator application to compare the XML file against the XSD schema.
One of the available free tools online is from FreeFormatter.com. You may use other XML validator applications as long as they support XSD schema.
To validate the VAT report XML file using the tool from FreeFormatter:
Download the XML file NetSuite using the Latvian VAT reporting feature.
Go to https://www.freeformatter.com/xml-validator-xsd.html .
Under the XML Input section, use the option to and choose the XML file downloaded in step 1.
Download the file below
Under the XSD Input section, choose the PVN6.xsd file.
Click the Validate XML button.
Check the results of the validation.
Review the errors against the Electronic "Document of the VAT taxation period" format documentation
Files
PVN6 XSD Schema: