Payment amount incorrectly calculated by the system for invoices with cash discounts

Purchase To Pay: Outgoing Payment Version 11.12

The payment amount was incorrectly calculated by the system for foreign invoices with cash discounts paid from a domestic cash account. This has now been fixed.