Identify the tax number your customer needs
A domestic customer may ask for your Spanish tax ID for its invoice records. For cross-border dealings between EU businesses, a form may ask specifically for an ‘EU VAT number’.
The Spanish format starts with ES. Check the registration status to confirm an active number. See the Spanish tax agency’s list of relevant transactions.