Input tax is the value-added tax that is included in the total purchase price when an enterprise buys something, and output tax is the value-added tax that is included in the total sales price when an enterprise takes something out.
The enterprise subtracts all output tax from the input tax every month. If it is positive, it must pay tax to the tax bureau. If it is zero or negative, it doesn't have to pay it.