User is trying to create an invoice for a phased project, but is getting a negative retainer amount.
This issue usually happens if the Auto-apply retainer option is checked. You can fix this issue by entering zero amount in the Retainer column and unchecking the Auto-apply retainer option.