Skip to content

feat: [P3] Catálogos SUNAT cacheados (Cat 02 productos, 03 unidades, 06 docs, 51 operación)#29

Draft
Railly wants to merge 1 commit into
mainfrom
afk/issue-19-p3-cat-logos-sunat-cacheados-cat-02-productos-03
Draft

feat: [P3] Catálogos SUNAT cacheados (Cat 02 productos, 03 unidades, 06 docs, 51 operación)#29
Railly wants to merge 1 commit into
mainfrom
afk/issue-19-p3-cat-logos-sunat-cacheados-cat-02-productos-03

Conversation

@Railly
Copy link
Copy Markdown
Contributor

@Railly Railly commented May 2, 2026

Summary

  • add cached CPE catalog modules for Cat 02, 03, 06, and 51
  • expose them through sunat schema cpe-catalogos
  • add catalog coverage warnings to factura preview/dry-run without blocking SUNAT-new codes
  • make Cat 51 tipoOperacion configurable while defaulting to 0101

Closes #19

Validation

  • bun test tests/unit/catalogos.test.ts
  • bun test tests/e2e/cpe-cli.test.ts
  • bun run test (331 pass, 2 skipped)
  • bun run check attempted; fails on pre-existing Biome lint errors in browser/rhe/lukea files (for example control-character regex and forEach callback return), after which unrelated --write churn was reverted

@vercel
Copy link
Copy Markdown

vercel Bot commented May 2, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
sunat-cli-website Ready Ready Preview, Comment May 2, 2026 6:04am

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[P3] Catálogos SUNAT cacheados (Cat 02 productos, 03 unidades, 06 docs, 51 operación)

1 participant