Earlier, when you generated an XML draft in the Sales invoices (AR301000) window, the system would generate multiple VAT category codes in the XML file: AllowanceCharge and TaxTotal-TaxSubTotal. This has now been fixed and only one VAT category code is generated.