Pick the question and the nature of your activity: article 95 of the RIRPF decides whether there is any withholding before it decides how much.
They transfer you
€1,060.00
You keep, once the tax is paid over
€850.00
| Net amount | €1,000.00 |
| VAT at 21 % | €210.00 |
| Invoice total | €1,210.00 |
| IRPF withholding at 15 % | − €150.00 |
| They transfer you | €1,060.00 |
Withholding always runs on the net amount, never on the net plus the tax: article 95.1 says «on the gross income paid».
Adjustments: start of activity, notice to the payer, Ceuta and Melilla
Spanish freelance invoice by Calculadora Capital