To apply the payment to the invoice, go to [Finance], [Receivables], [Update], then
Enter the Customer ID.
Choose the Payment Form from the drop-down list.
Delete all outstanding items from the box except for the two that you want to offset
against each other.
Click Payment on the top right-hand side of the table and then Submit.