Why does the system show the error ‘invalid taxbase’ while saving Payment against voucher?

Cause:
In Payment against voucher, the system shows the error ‘OOTAXBASE1’, ‘ Invalid TaxBase!’ if the tax entered is invalid in the master’s from where the taxes get populated in payment against voucher. This error is shown when the tax class is invalid in supplier and transporter master.
Suggestions:
Users need to ensure the taxes entered in the masters such as supplier and transporters are properly entered . As in payment against vouchers the tax details as tax class and environment gets populated from these masters.
Tax class gets populated from the supplier master, the supplier selected in Purchase order. Tax environment can be selected and it depends on the site and the supplier can be defined as a site supplier.
Note: 1) Tax class, Tax Chapter and Tax environment should be first defined in Tax class master, Tax chapter and Tax environment masters respectively.