Match each payment to an invoice by reference, date, and amount. If you use bank sync, double-check duplicates and partials.