PE · PEN · clearance

What the tool checks

Explore electronic invoicing formats, identifiers, rules, deadlines and free technical tools for Peru. UBL 2.1 XML. Technical checks do not guarantee acceptance by a tax authority or receiving platform.

mandatoryP1Reviewed 2026-08-02
Validation stack

How to validate CPE electronic documents

  1. 1
    File integrity and parsing

    Preserve the source bytes and hash, then confirm the file is readable and well formed.

  2. 2
    Syntax and profile

    Apply the correct schema and profile identifiers for UBL 2.1 XML.

  3. 3
    Semantic business rules

    Validate parties, dates, lines, taxes, totals, references and payment data.

  4. 4
    National and network rules

    CPE electronic documents format or profile signals · Local tax/business identifier structure · Core invoice fields and arithmetic consistency

  5. 5
    Identity, security and routing

    Confirm national identities, signatures, hashes, QR and recipient routing as applicable.

  6. 6
    Official outcome

    Use Tax-authority clearance, registration or reporting platform. and preserve the response from SUNAT.