When you get a refund
If the 3% withheld exceeds your IRNR capital gains liability — for example you sold at a modest profit or a loss after purchase costs — AEAT must return the excess. Many German sellers in Baleares (Mallorca, Calvià), Canarias and Costa Blanca successfully recover thousands of euros.