E-Invoice Error Reference

1350+ documented errors for Peppol, UBL, CII, and EN16931 validation errors.

15 errors found for Spain

errorES-R-002ESPfacturaeBLOCKED

Invalid FacturaE format

Spanish B2G invoices must use FacturaE 3.2.x format.

errorES-R-003ESPfacturaeINPUT

FACe routing codes required

Spanish B2G invoices need OC (oficina contable), OG (organo gestor), UT (unidad tramitadora).

errorES-R-004ESPfacturaeBLOCKED

Digital signature required

Spanish FacturaE invoices require XAdES digital signature.

errorBR-ES-01ESPpeppol-bis-3INPUT

Spanish NIF/CIF required

Spanish invoices must include the NIF (individuals) or CIF (companies) tax identifier.

warningES-R-005ESPubl-2.1INPUT

SII reporting reference

Invoices reported to Spanish SII should include reporting reference.

warningES-R-006ESPubl-2.1INPUT

Recargo de equivalencia for retailers

Spanish retail sales may require equivalence surcharge.

errorBR-ES-02ESPverifactuBLOCKED

Missing VeriFACTU hash chain

Spanish VeriFACTU invoices must include the hash chain for audit trail.

errorSII-001ESPSIIINPUT

Clave de régimen especial missing

SII requires a regime key (clave de régimen especial) for each invoice indicating the type of operation: 01=General, 02=Export, 03=Gold operations, etc.

errorFACE-001ESPFacturaeINPUT

NIF/CIF format invalid

Spanish tax ID must be valid NIF (individuals) or CIF (companies) format with correct checksum letter. NIF uses 8 digits + letter, CIF uses letter + 7 digits + control character.

errorFACE-002ESPFacturaeINPUT

DIR3 codes missing or invalid

FACe B2G invoices require three administrative unit codes (DIR3): Órgano Gestor, Unidad Tramitadora, and Oficina Contable. These codes route the invoice within government.

errorFACE-003ESPFacturaeBLOCKED

Digital signature invalid

Facturae requires XAdES-EPES digital signature with a valid Spanish digital certificate (certificado digital) from an accredited CA.

errorFACE-004ESPSIIBLOCKED

SII deadline exceeded

SII (Suministro Inmediato de Información) subjects must report invoices within 4 days of issue. Late submissions are flagged.

errorFACE-005ESPFacturaeBLOCKED

IVA calculation mismatch

Tax calculation must be correct: base imponible × tipo = cuota. Spanish IVA rates are 21% (general), 10% (reduced), 4% (super-reduced), 0% (exempt).

warningFACE-006ESPFacturaeINPUT

Recargo de equivalencia missing

Retail equivalence surcharge (recargo de equivalencia) must be included for certain retail customers who operate under this special regime.

warningES-01ESPCIUS-ES (Spain)BLOCKED

Spanish sellers should include NIF/CIF

Spanish sellers should include NIF/CIF. This validation rule ensures Invoice compliance with CIUS-ES (Spain).

Handle These Errors Automatically in Your Pipeline

The compliance engine auto-remediates validation errors with controlled safety policies and evidence pack generation.

Get API Access