VAT is not posting to GL account for Advance payments


VIP Member
We have setup VAT and everything works fine except supplier advances.
While posting the standard voucher entry, it hits the correct account for the VAT amount.
RNV 1050
Supplier -1000
VAT -50

But while posting the advance voucher entry, if hits the VAT account with zero. So the whole amount is going to AP Trade Payable.
Trade Payabales -1050
Advances to Suppliers 1050

Any input is highly appreciated.