# If a Spanish client promises a net amount, what invoice base should you write?

Start from the net amount you want to keep after IRPF withholding, then work back to the invoice base, the 15% or 7% withholding, and 21% VAT. See what the client pays and what you keep after withholding.

Page: https://straightgate.pages.dev/t/spain-invoice-net-irpf-iva/

## Formula and worked examples

### Want 1,350 euro net, 15% IRPF, 21% VAT

Inputs: net = 1350, irpf = 0.15, iva = 0.21, ceuta = False

Results: rate = 0.15, base = 1588.24, withholding = 238.24, vat = 333.53, client_pays = 1683.53, take_home = 1350

### Want 1,350 euro net, 7% new-activity IRPF, 21% VAT

Inputs: net = 1350, irpf = 0.07, iva = 0.21, ceuta = False

Results: rate = 0.07, base = 1451.61, withholding = 101.61, vat = 304.84, client_pays = 1654.84, take_home = 1350

### Want 1,350 euro net, 15% IRPF, no VAT on the invoice

Inputs: net = 1350, irpf = 0.15, iva = 0, ceuta = False

Results: rate = 0.15, base = 1588.24, withholding = 238.24, vat = 0, client_pays = 1350, take_home = 1350

## Related spreadsheets

- [Libro de Facturas en Divisas para Autónomos — Excel y Google Sheets (tipo BCE, modelo 303, 349 y 130)](https://straightgate.pages.dev/p/vmerzv.md) — $6.50. Buy: https://straightgate.gumroad.com/l/vmerzv?wanted=true
