Perhaps the indicator of whether to include the taxes as part of the discount base should be part of the payment Terms.
_________________________
Andrew Bates