Project Name
You might receive a customer payment before it is earned and before you have sent an invoice, possibly even before you receive the order.
To handle a customer prepayment, do the following:
Receive the payment without applying it to an invoice
If the amount is paid to existing invoices clear the payments
Accept the warning that you have not applied all the payments