@sameer what is the exact error code that you receive?
If you issue advance payment invoice with zero rated VAT Category Code while actual supply is towards a standard rated good / service, this will result in under-reporting of VAT at the time of receiving advance.
@sameer SDK already contains sample XMLs with different VAT rates in advancement payment adjustment scenarios (5% rate at the time of receiving advance and 15% rate in final invoice from which advance payment is adjusted).