← Back to global tracker
🇵🇪

Country deep dive

Peru

Americas · PE · Non-EU
Last updated: 21 July 2026
Compliance model: Centralised clearance (SUNAT / OSE)
UBL 2.1
Exclusive XML format since 2019
SHA-256
Integrity hash
100+
OSE business validation rules
5 yrs
Archive requirement
100%
Taxpayer coverage since Jun 2022
01

Compliance timeline

Peru's rollout followed the classic Latin American pattern — largest taxpayers first, then a steady widening until essentially the entire economy was covered.

2017
2017In effect
Mandatory rollout begins with large taxpayers

SUNAT starts requiring the largest businesses to issue Comprobantes de Pago Electrónicos, establishing the clearance infrastructure the rest of the economy would later join.

2019
1 Mar 2019In effect
UBL 2.1 becomes the only supported format

Earlier UBL 2.0 documents are no longer accepted — every CPE from this date must be structured according to UBL 2.1.

1 Jul 2019In effect
OSE validation compulsory for big contributors

Large taxpayers with automated billing must use an authorised Electronic Services Operator (OSE) for validation, rather than relying on SUNAT's own free tools.

June 2022
1 Jun 2022In effect
E-invoicing mandatory for 100% of taxpayers

With micro, small, and medium-sized enterprises now fully incorporated, both issuing and receiving CPE becomes mandatory for the entire Peruvian taxpayer base, B2B and B2G alike.

August 2026
1 Aug 2026Due soon
New airline ticket reporting system takes effect

Superintendency Resolution No. 000033-2026/SUNAT introduces a digital reporting system for commercial airlines providing scheduled passenger transport, replacing the older PDT No. 3540-based model with one aligned to the standard e-invoicing infrastructure.

02

File format & data specification

CPE is a broad umbrella term — Peru covers far more document types under this single framework than most countries in this tracker.

Format

SyntaxUBL 2.1 XML, exclusively since March 2019
EncodingUTF-8
Signature standardX.509 v3
IntegritySHA-256 hash

Article 2 of the implementing regulation is explicit: only documents meeting all these technical characteristics simultaneously are legally valid — partial compliance doesn't count.

CPE document family

SalesInvoices, boletas de venta
AdjustmentsCredit and debit notes
Tax-relatedWithholding and perception vouchers
OtherPublic service receipts, electronic purchase settlements, GRE (dispatch/transport guides)

Choosing the correct CPE type for your specific transaction is critical — the wrong type can undermine your ability to deduct expenses or claim tax credits, not just create a paperwork headache.

Document naming

Examples"Factura Electrónica", "Boleta de Venta Electrónica"

These are formal, specific document names defined in regulation — get the label as well as the content right.

Archiving

Retention period5 years minimum, from the first day of the following year
What to keepXML, CDR, rejection notices, daily summaries

The exact retention obligation varies slightly by taxpayer regime — confirm your specific rule rather than assuming a flat 5-year figure applies uniformly.

03

Transmission protocol

Peru's model has a genuinely distinctive feature: OSEs aren't mere intermediaries — they carry the same legal validation authority as SUNAT itself.

The three roles

PSEOptional — builds and signs the XML on the taxpayer's behalf
OSEValidates the CPE with the same legal authority as SUNAT — not a mere go-between
SEESUNAT's own direct electronic issuance system

This is worth internalising: an OSE's validation is legally equivalent to SUNAT validating it directly. But an OSE cannot validate delivery/transport documents — that distinction matters for logistics-heavy businesses.

The clearance flow

1. Generate UBL 2.1 XML2. Sign digitally3. Submit to OSE/SUNAT4. Validate against 100+ rules5. CDR issued

The CDR (Constancia de Recepción) is Peru's equivalent of a clearance receipt — it's what confirms the document has full legal and tax validity, similar in function to Poland's UPO or Italy's Ricevuta di Consegna.

Choosing your operating tier

SEE-SOLLow volume (<1,000/month), free web portal
PSEMedium volume, external facilitation
OSEHigh volume, own ERP integration
SEE FacturadorBusinesses without in-house technical development capacity

Match your tier to your actual transaction volume and technical capacity — over-engineering a low-volume business onto a full OSE integration wastes effort that a free SOL portal account would have covered.

A permitted but risky shortcut

Asynchronous deliveryTechnically allowed — sending to the buyer before SUNAT/OSE validation
RiskExplicitly flagged as risky practice by practitioners

Just because the regulation permits sending an invoice before validation completes doesn't make it good practice — a subsequently rejected document creates real reconciliation problems for both parties.

04

Getting set up

Verifying your provider's authorisation status matters more here than in most countries — unauthorised PSE/OSE providers issue documents with no legal validity at all.

Obtain your RUC and register as an electronic issuer

Your Registro Único de Contribuyentes number and electronic-issuer registration with SUNAT are the prerequisites for everything that follows.

Choose your operating tier based on volume

SEE-SOL for low volume, PSE for medium volume with external help, OSE for high volume with your own ERP, or SEE Facturador if you lack in-house development capacity.

Obtain a valid X.509 v3 digital certificate

This is what authenticates and signs every CPE you issue.

Verify any PSE/OSE provider against SUNAT's current list

Check cpe.sunat.gob.pe before contracting — an unauthorised provider's output carries no legal tax validity, regardless of how correct the XML looks.

Configure UBL 2.1 XML generation with SHA-256 integrity

Confirm your system produces conformant output before your first production submission.

Build a CDR storage and reconciliation workflow

Every issued CPE needs its corresponding CDR retained alongside it — treat the pair as a single compliance record, not two separate files.

Avoid asynchronous delivery shortcuts

Wait for SUNAT/OSE validation before delivering to the buyer, even though the regulation technically permits sending first.

05

Related considerations

Peru's e-invoicing and e-reporting framework is described by practitioners as comprehensive and technologically advanced — the practical risk is invalidity, not just fines.

SUNAT