Discount
This field captures a discount given by the vendor. If this field has a value, it is used in the invoice Total calculation.
This field is not mandatory but the system converts and extracted value to a valid amount and uses this value in the following validation calculation that is applied against all amount fields.
Invoice Total = Line item total + total tax + freight + miscellaneous charge – discount – withholding tax – ISR Retention
If line items are not mandatory then the amount fields can also be validation with the following formula.
Invoice Total = SubTotal + total tax + freight + miscellaneous charge – discount – withholding tax – ISR Retention
Where Total Tax is the total amount of all taxes on the document. This can include Tax Amount and any other country-specific tax fields.
The tolerance for the above calculations is set in the Tolerance Settings and the system applied the tolerance based on the tolerance group linked to the currency of the invoice.