The advance payments you received are considered liabilities until the income is actually earned. I can help you with recording it.
You'll need a liability account to track the amount of the advance payment. Follow these steps:
Go to the Accounting menu and select Chart of Accounts.
Select New. From the Account Type drop-down menu, select Other Current Liabilities.
From the Detail Type drop-down menu, select Trust Accounts - Liabilities.
Enter a name for the account. Tap Save and close.
Once done, you also need to set up an item that you'll use in recording the payment. Then, you can create an invoice or sales receipt for the amount you received.