@jonathanb@Nisa please ensure that the value of charge indicator under the tag cac:InvoiceLine / cac:Price / cac:AllowanceCharge / cbc:ChargeIdicator is not “true”
Just to confirm, in the updated logic, should ChargeIndicator always be set to false for Credit Notes, Debit Notes, and Tax Invoices, even if there is a non-zero discount amount present in the document?
@NISAMUDHEEN Charge Indicator “False” represents discount. Indicator “True” represents a “charge” which effectively increases the taxable value (such as service charge / transportation charge etc). Discount should always have Charge Indicator value set to “false”.