Skip to content
ES

SENIAT compliance

RuleScope
Providencia SNAT/2024/000102Digital printer and Digital Fiscal Control Number (NCF-D) issuance.
Providencia SNAT/2024/000121Compliance duties: immutable ledger, fiscal books and SENIAT transmission.
RequirementZentto implementation
Issuance by authorized digital printerZentto assigns the NCF-D from its own series (imprenta."ControlSerie").
Unique, gap-free control numberAtomic counter fn_assign_control_serie with SELECT ... FOR UPDATE.
Integrity and immutabilitySHA-256 hash-chain per issuer RIF; chain verification (verifyChainIntegrity).
Two-level numberingDocument number (issuer) + control number (Zentto), tracked separately.
Document typesInvoice (01), CN (02), DN (03), guide (04), VAT withholding (05), ISLR withholding (06), ARCV (07 local).
Tax handlingRates G (16%), R (8%), A, E and IGTF (3%) on foreign-currency payments, per tax subtotal.
UTC-0 datesAll dates stored in UTC; display converts to company timezone.
Immutable ledger + books + transmissionCompliance system zentto-seniat-compliance. See SENIAT Compliance.
SENIAT lookupRead-only /seniat/* endpoints (by NCF-D, listing, sales book) with X-Seniat-Key.
Retentionfiscal."DigitalInvoice" store with 10-year retention (config compliance.retention_years).

Mapping to Providencia 102 (digital printer / NCF-D)

Section titled “Mapping to Providencia 102 (digital printer / NCF-D)”
  • In-house NCF-D. fiscal."NcfdSequence" + fn_assign_ncfd(rif) assign the number per issuer RIF in Prefix-Series-Number format, atomic and gap-free.
  • Graphical representation. Each document produces its PDF with the fiscal data (see Document examples).
  • Permanent SENIAT access. Endpoints /seniat/consulta/{ncfd} and /seniat/listado allow the Tax Administration to query; each access is recorded in the ledger.
  • Immutable ledger. compliance."EventLedger" records each fiscal event (INVOICE_ISSUED, CREDIT_NOTE, DEBIT_NOTE, WITHHOLDING_ISSUED, …) with SHA-256 hash-chain and per-tenant lock (pg_advisory_xact_lock).
  • Fiscal books. compliance."FiscalReport" and the sales-book generator (libro-ventas.generator).
  • Transmission. compliance."DispatchQueue" with exponential backoff to SENIAT.

Full detail in SENIAT Compliance.