CUSTOMER CASE STUDY

Custom Odoo Solution for Peru’s SUNAT Tax Compliance, Built for Speed and Scale

A client in Lima, Peru partnered with Creyox Technologies to build a custom Odoo solution for Peru’s SUNAT tax requirements. The project covered automated data import, a high-performance comparison engine, and generation of PLE-ready electronic books such as Registro de Compras, Registro de Ventas, and Diario and Mayor. Using parallel processing, AWS ECS microservices, S3 file storage, and an Aurora database, Creyox cut batch comparison time to under 2 minutes and delivered automated SUNAT-compliant book generation on a scalable, modular architecture.

CLIENT PROFILE

Peru SUNAT Tax System Integration

  • Industry Accounting and Tax Compliance
  • Platform Odoo on AWS
  • Country flag Peru
  • Key Metric Under 2 min (Batch comparison for large datasets)

Background & Business Context

The client operates in Lima, Peru and provides accounting and tax compliance services to high-volume enterprises. To satisfy Peruvian tax authority (SUNAT) mandates, the client needed to process millions of monthly transaction records and generate strict PLE-compliant electronic books without system bottlenecks.

Project Scope & Tech Stack

Core modules, architectural components, and technical boundaries delivered by Creyox Technologies:

Odoo on AWS
SUNAT PLE Tax Compliance
AWS ECS Microservices
Amazon Aurora
S3 Storage
High-Performance Comparison Engine

Operational & Architectural Obstacles

Meeting strict tax regulations with very large datasets

Massive data volumes & timeouts

Comparing monthly purchase and sales registers against external tax agency logs involved hundreds of thousands of lines, causing standard Odoo processes to freeze or timeout.

Strict SUNAT PLE formatting standards

Peruvian electronic books (PLE 5.1 / 5.2) have exact character-level formatting, validation codes, and checksum requirements where any error causes immediate filing rejection.

Server resource contention

Running heavy comparison queries inside the core Odoo server degraded system performance for everyday accounting users.

Audit trail and secure document archiving

Generated tax files and comparison diffs required immutable, secure cloud storage with instant retrieval for tax auditors.

Structured Implementation & Execution Strategy

Three purpose-built modules on a scalable cloud architecture

01

Automated data ingestion pipeline

Built high-speed asynchronous parsers capable of ingesting raw text, CSV, and XML billing datasets directly into staged database structures.

02

AWS-powered parallel comparison engine

Offloaded intensive comparison computations to containerized microservices running on AWS ECS with Aurora DB, executing diff calculations in parallel.

03

Automated SUNAT PLE electronic book generator

Engineered automated generators for Registro de Compras (8.1, 8.2), Registro de Ventas (14.1), and Libro Diario & Mayor (5.1, 6.1) compliant with SUNAT specifications.

04

S3-secured document archiving and audit logs

Integrated Amazon S3 for encrypted file storage and generated cryptographic checksums for every exported tax filing package.

Measurable Outcomes & Business Impact

Faster processing, full compliance, and a system built to scale

Under 2 min
Batch comparison for large datasets
100%
SUNAT PLE compliance rate
AWS ECS
Container-based background scaling
S3 Secured
Encrypted tax document storage

Key Project Outcomes

  • Drastic speed improvement: Reduced multi-hour comparison cycles down to under 2 minutes through parallelized container microservices.
  • Zero-error compliance: 100% automated validation against SUNAT structure specifications eliminated filing rejections and penalties.
  • Modular, cloud-ready architecture: Decoupled backend processing prevents UI latency for day-to-day accounting users.
  • Enterprise security: Immutable cloud storage on AWS S3 ensures compliant document preservation for government tax audits.
  • Multi-company capability: Easily handles tax book generation across multiple corporate subsidiaries simultaneously.

A Partnership That Endures

Beyond the implementation: Ongoing cloud and tax evolution

This project went beyond adding a local feature to Odoo. It produced a modular, high-performance platform in which import, comparison, and tax book generation function seamlessly alongside cloud infrastructure.

Creyox continues to support the client with infrastructure monitoring, AWS optimization, and rapid adaptations whenever SUNAT introduces new regulatory filing formats.
START YOUR ERP TRANSFORMATION

Ready to Achieve Similar Results With Odoo ERP?

Whether you need a complex version migration, custom module development, or an end-to-end ERP implementation, Creyox Technologies is ready to turn your operational challenges into a competitive advantage.