XML not well formed
This error occurs while filing KVAT if the number of transactions in the annexure do not match the exported XML, or if the order of entries in the XML is not correct.
The possible fixes are listed below on the basis of the scenario.
The number of transactions in the annexure do not match the exported XML.
For example, in local sales, the number of transaction is 1, but when we export to XML, two transactions are displayed.
Transactions displayed in e-VAT annexure:
Transactions displayed in XML File:
In this case, the transaction is booked in voucher mode wherein the ledger selected in the transaction is sales @12.5 %, but VAT/Tax class is selected as Interstate Sales Exempted and Output VAT 12.5% -VAT/Tax class is selected as Output vat 12.5%.
Note: In the above transaction VAT/TAX class selected for sales and output is different.
● Export local sales in XML format and check whether two transactions are displayed. If there are two transactions shown, then correct the same and then upload it.
● Check the VAT/TAX class in the transactions, correct if required, and upload.
The order of entries in the XML file is not correct.
While verifying the XML file, check the correctness of the order. Re-look into these transactions, check the correctness of the XML file, and then perform an upload.
Refer to the following images for more details: