Tax for Allowance.

How to handle taxes for allowance amounts. We are adding document level discounts in the xml tag cac:AllowanceCharge. Is tax mandatory for discounts also? What is some of the discounts does not have any tax deductions.