Guide
E-Invoicing in Spain
Key formats, routing options, and a practical checklist for sending compliant e-invoices in Spain.
What matters in practice
This Spain guide explains when Facturae or UBL is expected, how FACe-style routing works, and which VAT and identity checks most often decide whether an invoice is accepted.
This article treats E-Invoicing in Spain as a practical reference, not just a navigation page. It explains the term or workflow in context, shows why it matters for European e-invoicing, and connects the topic to invoice creation, validation, routing, archiving, and ERP implementation decisions.
Common e-invoice formats
Common e-invoice formats is where the general explanation of E-Invoicing in Spain becomes operational. The section focuses on Facturae and UBL (sector-dependent), so it can be used to check the required fields, process decisions, and validation controls before the invoice workflow is used in production.
- Facturae
- UBL (sector-dependent)
Routing & delivery
Routing & delivery connects E-Invoicing in Spain with the next useful reference pages and tools. These links are included to support a complete workflow, from understanding FACe to validating or converting the invoice file.
Common identifiers
Common identifiers is where the general explanation of E-Invoicing in Spain becomes operational. The section focuses on NIF/CIF and VAT ID, so it can be used to check the required fields, process decisions, and validation controls before the invoice workflow is used in production.
- NIF/CIF
- VAT ID
Mandate & scope
Spain combines national formats (Facturae) with sector-specific UBL usage, typically delivered via government portals for public sector workflows.
Mandate & scope
Mandate & scope is where the general explanation of E-Invoicing in Spain becomes operational. The section focuses on B2G: public sector recipients often rely on portal delivery and specific format requirements, Formats: Facturae is common; some sectors use UBL mappings and Identifiers: NIF/CIF is a key national identifier alongside VAT ID, so it can be used to check the required fields, process decisions, and validation controls before the invoice workflow is used in production.
- B2G: public sector recipients often rely on portal delivery and specific format requirements.
- Formats: Facturae is common; some sectors use UBL mappings.
- Identifiers: NIF/CIF is a key national identifier alongside VAT ID.
How to send (practical steps)
How to send (practical steps) is where the general explanation of E-Invoicing in Spain becomes operational. The section focuses on Confirm whether the recipient requires Facturae or a UBL-based format, Collect the correct buyer routing/portal requirements and identifiers (NIF/CIF) and Generate and validate the XML with the correct profile and code list values, so it can be used to check the required fields, process decisions, and validation controls before the invoice workflow is used in production.
- Confirm whether the recipient requires Facturae or a UBL-based format.
- Collect the correct buyer routing/portal requirements and identifiers (NIF/CIF).
- Generate and validate the XML with the correct profile and code list values.
- Submit via the portal/channel and keep delivery confirmation.
Validation & compliance
Validation & compliance is where the general explanation of E-Invoicing in Spain becomes operational. The section focuses on Keep identifiers and party data consistent across invoice header and party blocks, Validate VAT category, rates, and totals carefully (rejections often stem from mismatches) and Use correct unit/currency codes aligned with the recipient profile, so it can be used to check the required fields, process decisions, and validation controls before the invoice workflow is used in production.
- Keep identifiers and party data consistent across invoice header and party blocks.
- Validate VAT category, rates, and totals carefully (rejections often stem from mismatches).
- Use correct unit/currency codes aligned with the recipient profile.
Common pitfalls
Common pitfalls is where the general explanation of E-Invoicing in Spain becomes operational. The section focuses on Using the wrong format (Facturae vs UBL) for the recipient, Missing/incorrect NIF/CIF values and Totals/rounding inconsistencies across lines and totals, so it can be used to check the required fields, process decisions, and validation controls before the invoice workflow is used in production.
- Using the wrong format (Facturae vs UBL) for the recipient.
- Missing/incorrect NIF/CIF values.
- Totals/rounding inconsistencies across lines and totals.
Frequently asked questions
Frequently asked questions answers the practical questions that usually appear after reading the main explanation of E-Invoicing in Spain. The answers focus on Which invoice format is most common in Spain and What should I check before sending to Spain and are written to clarify implementation choices quickly.
Which invoice format is most common in Spain?
Facturae is the most common national format, although some sectors and channels use UBL mappings instead.
What should I check before sending to Spain?
Verify NIF or CIF, the recipient channel, VAT totals, and the chosen syntax so the invoice fits the destination profile.
Official links
Official links connects E-Invoicing in Spain with the next useful reference pages and tools. These links are included to support a complete workflow, from understanding FACe (public invoicing portal) to validating or converting the invoice file.