Spain Peppol XML BIS 3.0 & EN 16931 rules.
Businesses invoicing public-sector bodies or Peppol-enabled enterprise buyers in Spain use OASIS UBL 2.1 structured XML conforming to CEN semantic standard EN 16931-1:2017 and OpenPeppol BIS Billing 3.0, addressed via Electronic Address Scheme 9920 (ES Agencia Española de Administración Tributaria (AEAT NIF)) and ES-prefixed VAT identifiers.
General regulatory information, not legal or tax advice. Statutory penalties and exemptions depend on the facts of each case and current national texts.
| Parameter | Requirement / Scope | Statutory or Technical Citation |
|---|---|---|
| Primary EU & CEN framework | Directive 2014/55/EU on electronic invoicing in public procurement, CEN semantic standard EN 16931-1:2017, and OpenPeppol BIS Billing 3.0 | Directive 2014/55/EU, Art. 1 & Art. 7; CEN EN 16931-1:2017 |
| Peppol & public-procurement oversight | OpenPeppol AISBL / national Peppol Authority and public contracting authorities in Spain bound by Directive 2014/55/EU | Directive 2014/55/EU, Art. 7; OpenPeppol Internal Regulations |
| Application status | Central contracting authorities required to receive and process EN 16931 e-invoices since 18 April 2019 (sub-central maximum deferral 18 April 2020) | Directive 2014/55/EU, Art. 11(1)–(2) |
| Covered B2G & B2B exchange | Suppliers billing public contracting authorities in Spain above EU procurement thresholds, plus cross-border and domestic B2B buyers connected to the Peppol network | Directive 2014/55/EU, Art. 2 & Art. 7; OpenPeppol BIS Billing 3.0 |
| Peppol BIS Billing 3.0 CustomizationID (BT-24) | urn:cen.eu:en16931:2017#compliant#urn:fdc:peppol.eu:2017:poacc:billing:3.0 | OpenPeppol BIS Billing 3.0 Specification (UBL 2.1 syntax binding) |
| Peppol Business Process ProfileID (BT-23) | urn:fdc:peppol.eu:2017:poacc:billing:01:1.0 | OpenPeppol BIS Billing 3.0 Specification |
| Primary Peppol EAS schemes in Spain | 9920 (ES Agencia Española de Administración Tributaria (AEAT NIF)); 0088 (GS1 Global Location Number (GLN)); 0199 (Legal Entity Identifier (LEI)) | OpenPeppol Electronic Address Scheme (EAS) Code List v9.x (ISO/IEC 6523 ICD) |
| Statutory & procurement consequences | Set by national law | Directive 2014/55/EU, Art. 7 & Council Directive 2006/112/EC, Art. 273 |
Spain (ES) operational context
Jurisdiction parameters & identifiers.
Exact language, tax-identifier, routing and calendar values used when checking Peppol BIS Billing 3.0 & EN 16931 records for Spain.
| Country parameter | Value in Spain | Authority / Specification Source |
|---|---|---|
| Spain seller VAT syntax (BT-31) | Prefix ES followed by 9-character NIF/CIF/NIE (alphanumeric start, 7 digits, alphanumeric check character) (regex ^[A-Z0-9]\d{7}[A-Z0-9]$) | Council Directive 2006/112/EC, Art. 215; VIES VAT number structure table |
| Deterministic check-digit verification | 9-character NIF/CIF alphanumeric syntax verified deterministically before live VIES REST API lookup | National tax-identifier check-digit specification & Peppol BIS 3.0 |
| Canonical SMP participant URI format | iso6523-actorid-upis::9920:<participant-id> | OpenPeppol Policy for use of Identifiers v4.x |
| Default billing currency & language(s) | EUR · Spanish / Castilian (Español / Castellano; plus co-official regional languages where applicable) | Council Regulation (EC) No 974/98 on the introduction of the euro; Spanish Constitution, Art. 3; Real Decreto Legislativo 1/2007 (TRLGDCU), Art. 18 |
Honest verification boundary
Automated check vs manual review.
Software checks catch deterministic syntax, schema, DNS and DOM defects rapidly, while legal interpretation and physical or human-factors testing stay outside automation. Both sides are stated plainly below.
Deterministic & browser pipeline
Automated checkWhat PreviewFix checks or generates
- Builds and validates Peppol BIS Billing 3.0 UBL 2.1 Invoices and CreditNotes against EN 16931 core rules (BR-01..BR-65, BR-CO, BR-S/Z/E/AE/K/G/O) and PEPPOL-EN16931 constraints.
- Validates Spain Peppol participant identifiers (EAS 9920, EAS 0088, EAS 0199) and formats canonical iso6523-actorid-upis SMP URIs.
- Checks ES VAT syntax plus SEPA IBAN MOD 97 digits.
- Verifies penny-exact line net amounts, document allowances/charges and VAT category subtotals without floating-point drift.
Out of scope for automation
Requires human / legal reviewWhat still requires manual or legal sign-off
- Our service generates and validates compliant Peppol BIS 3.0 XML files; delivering them across the live Peppol eDelivery network requires a Peppol Access Point account.
- Public-sector contracts in Spain may require specific BuyerReference (BT-10), OrderLineReference or national CIUS extensions stated in the contract notice.
- VAT category selection (Standard 'S', Intra-Community 'K', Reverse Charge 'AE', Export 'G') remains your finance or tax adviser's responsibility.
General regulatory information, not legal or tax advice.
Engineering & data format details
Technical syntax & implementation.
Technical note 01
Peppol EndpointID & PartyTaxScheme setup for Spain
Peppol BIS Billing 3.0 requires both Seller (cac:AccountingSupplierParty) and Buyer (cac:AccountingCustomerParty) to carry a cbc:EndpointID with a valid EAS @schemeID (commonly 9920 in Spain), while cac:PartyTaxScheme/cbc:CompanyID carries the full country-prefixed VAT number (ES...):
<cbc:CustomizationID>urn:cen.eu:en16931:2017#compliant#urn:fdc:peppol.eu:2017:poacc:billing:3.0</cbc:CustomizationID>
<cbc:ProfileID>urn:fdc:peppol.eu:2017:poacc:billing:01:1.0</cbc:ProfileID>
<cbc:DocumentCurrencyCode>EUR</cbc:DocumentCurrencyCode>
<!-- Participant endpoint using ES Agencia Española de Administración Tributaria (AEAT NIF) -->
<cbc:EndpointID schemeID="9920">...</cbc:EndpointID>Technical note 02
EN 16931 rounding and monetary reconciliation (BR-CO-10 to BR-CO-17)
Peppol schematron validation rejects invoices with even a 0.01 rounding discrepancy: LineExtensionAmount (BT-106) must equal the exact sum of InvoiceLine/LineExtensionAmount (BT-131), and TaxInclusiveAmount (BT-112) must equal TaxExclusiveAmount (BT-109) plus TaxTotal/TaxAmount (BT-110).
Matching deliverable
Fixed-price deliverable & live preview.
EU Digital Product Passport & Peppol Pack
A scannable product passport and a validated e-invoice, ready for EU buyers.
DPP JSON-LD, GS1 Digital Link QR pack and Peppol BIS 3.0 validation.
VAT included where applicable · Card or PayPal, zero surcharges · 14-day fix-or-refund promise
Spain Q&A
Frequently asked questions.
Which Peppol EAS scheme code is used to address organisations in Spain?
Does this pack include an ongoing Peppol Access Point subscription?
Can UK or US exporters send Peppol BIS 3.0 invoices to buyers in Spain?
Continue exploring
Related rules & jurisdictions.
Spain — European Accessibility Act (EAA)
Directive (EU) 2019/882 (European Accessibility Act) and Ley 11/2023, de 8 de mayo, Título I (transposition of Directive (EU) 2019/882)
Spain — EU Battery Passport (Reg. 2023/1542)
Regulation (EU) 2023/1542 concerning batteries and waste batteries, Art. 77, Art. 78 & Annex XIII
Spain — Omnibus 30-Day Lowest Prior Price
Directive 98/6/EC, Article 6a (inserted by Directive (EU) 2019/2161 — Omnibus Directive, Art. 2)
Portugal — Peppol BIS Billing 3.0 & EN 16931
Directive 2014/55/EU on electronic invoicing in public procurement, CEN semantic standard EN 16931-1:2017, and OpenPeppol BIS Billing 3.0
France — Peppol BIS Billing 3.0 & EN 16931
Directive 2014/55/EU on electronic invoicing in public procurement, CEN semantic standard EN 16931-1:2017, and OpenPeppol BIS Billing 3.0
Italy — Peppol BIS Billing 3.0 & EN 16931
Directive 2014/55/EU on electronic invoicing in public procurement, CEN semantic standard EN 16931-1:2017, and OpenPeppol BIS Billing 3.0