Jhony Benítez
AboutSkillsAIArchitecturesProjectsChangelogCertificationsContactAll projects
ESEN
ESEN
AboutSkillsAIArchitecturesProjectsChangelogCertificationsContactAll projects

Jhony Benítez

jhonyben.94@gmail.com

© 2026 Jhony Benítez. All rights reserved.

GitHubLinkedInAll projectsChangelog
Built with Next.js
← Back to projects

Zentra — Customer API and DNIT sync

Node service that syncs Paraguay DNIT RUC registry, updates Zentra customers, and exposes lookup by RUC or business name.

Problem

Keep tax-aligned data with the official source and fast lookups without overloading PostgreSQL.

Stack

Node.js · Fastify · PostgreSQL · Redis · TypeScript

Architecture: Tax sync service

Key features

  • Cron download and parsing of DNIT ZIPs
  • Optional Redis cache per RUC
  • HTTP API and lightweight lookup UI

Components

Fastify, Winston, ioredis, scheduled jobs, same DB as zentra-backend.

Main flow

DNIT → ingestion → dnit_ruc / customer → queries via Redis or SQL.

Technical decisions

Fastify + PostgreSQL pool shared with Zentra; Redis only as a read accelerator.

Benefits

Reliable batch updates and low latency on frequent queries.