An advance creates its own tax point: issue an e-invoice for it when you receive it. The final e-invoice then covers only the rest and refers back to the advance.
An example.
| Step | Net | VAT |
|---|---|---|
| Contract | 10,000 | 500 |
| Advance received, invoice ADV-001 | 1,000 | 50 |
| Final invoice, referring to ADV-001 | 9,000 | 450 |
The worked example in the Ministry of Finance guidelines, in AED.
Why.
VAT is due at the earliest of the supply, the invoice and the payment. An advance is a payment, so the VAT on it is due when it arrives, before the work is done.
What goes wrong.
Invoicing the full contract at the end without deducting the advance, so the advance is taxed twice. Or taking a deposit and invoicing nothing until delivery.
Related.
Sources.
This page explains the rules in plain words. It is not legal or tax advice.