Error codes · verifactu · Spain
BR-ES-02Partly
Missing VeriFACTU hash chain in Spain
This is the rejection, word for word: „[BR-ES-02] Spanish VeriFACTU invoices must include the hash chain for audit trail.“
Why this matters in Spain
Spain requires (B2G) e-invoicing using Facturae 3.2.x. An invoice with this error is rejected; it cannot be processed under Spain's rules.
VeriFACTU requires chained hashes for tamper-proof audit trail.
What to have readyThe correct figures from your bookkeeping; we show you which field is affected.
What we doInclude required hash chain elements.
How to fix BR-ES-02
01Calculate hashSHA-256 of invoice data
02Chain referenceInclude previous invoice hash
03Sign resultElectronic signature of hash
Spain e-invoicing requirements
| Phase | Status | Scope |
|---|---|---|
| B2G | Live (Jan 2015) | All public administration suppliers |
| SII reporting | Live (Jul 2017) | Companies >€6M revenue |
| VeriFactu | Jan 2027 / Jul 2027 | Corporations Jan 2027, all others Jul 2027 |
| B2B e-invoicing | Pending regulation | Timeline TBD — awaiting ministerial order |
Known causes
Missing hash
Broken chain
Invalid signature