Quickbooks Online Sync Error: Cannot import payment - it would result in overpayment

Why the sync error occurs:

This error occurs because at least one bill/invoice or more in the corresponding Key CashFlow℠ Payable or Receivables payment has either a credit applied, is partially paid, or fully paid in in Quickbooks Online.

How to fix the sync error:

  1. Delete the credit/payment for the bill/invoice in Quickbooks Online
  2. Sync again