This error usually occurs when the Vendor Bill has term and discount amount.
To resolve, consider the following:
• Update the CSV import file. Payment amount should be equal to the actual payment amount due which is net of discounts. (Amount – Disc. Amt. = Payment Amount Due)
• If there should be no discount on the Vendor Bills, update the Bill records and clear out the Terms and Disc. Amt. fields.
Note: This also applies when importing Customer Payments.