The effect of Tax Amount in customers account

The tax amount is deducted from the customer’s account for onward submission to the government department, but the system subtracts the tax from the customer’s account instead of adding it.

I am talking regarding sale invoice

If you can post a screen shot of the EDIT view of the sales invoice and the tax code it might reveal errors in your settings.