errorESPverifactu

BR-ES-02:Missing VeriFACTU hash chain

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

Fix this in your source system

MANUAL

VeriFACTU invoices require a cryptographic hash chain for audit trail. This must be generated by certified invoicing software that implements the Spanish VeriFACTU regulations. Update your invoicing system to a VeriFACTU-compliant solution.

See the step-by-step instructions below to fix this error manually.

Why This Error Matters

VeriFACTU requires chained hashes for tamper-proof audit trail.

How to Fix It

1

Calculate hash

SHA-256 of invoice data

2

Chain reference

Include previous invoice hash

3

Sign result

Electronic signature of hash

Code Example

<!-- VeriFACTU hash chain structure -->
<Huella>
  <EncadenamientoFacturaAnterior>ABC123...</EncadenamientoFacturaAnterior>
  <HuellaActual>DEF456...</HuellaActual>
</Huella>

Technical Details

XPath: VeriFACTU-specific hash elements

Common Causes

  • Missing hash
  • Broken chain
  • Invalid signature

Commonly Seen In

Spanish VeriFACTU systems

Frequently Asked Questions

Spanish VeriFACTU invoices must include the hash chain for audit trail.
Include required hash chain elements. You can also use Invoice Navigator's automatic Fixer tool to correct this instantly.
Yes, BR-ES-02 is a critical error that will cause invoice rejection. It must be fixed before submission to ensure your invoice is accepted by the recipient's system.
Many instances of BR-ES-02 can be automatically corrected using Invoice Navigator's Fixer tool. Upload your invoice and the tool will identify and fix common issues, including missing verifactu hash chain.
BR-ES-02 is commonly seen in exports from Spanish VeriFACTU systems. These software packages sometimes generate invoices that need adjustment to meet full compliance standards.

Related Errors

Last updated: 18 January 2026

Share this guide: