-
Deferral Schedule should EXCLUDE Sales Tax for the Invoices with Prepayment
Deferral's logic is wrongly insisting on balancing out the total deferral's sum of lines with the amount of the invoice including VAT.
This happens in cases where the invoice has had a prepayment because the PO had to have gross amount to be prepaid in the line, and the PO Invoice had to have a line manually set in net amount with the Sales tax calculated based on the tax setup on the line.
The SUM of the deferral should be net amount of the invoice (line excluding VAT).