How to record advance while creating invoice?

To record the advance payment while creating an invoice, please refer to the steps mentioned below:

Step 1: Click on sales >> Click on create invoice

Step 2: Enter the customer >> enter product to the invoice >> scroll down>> Select the payment mode >> Add note as Advance >> Save