SifenConsultarDE
Description
Section titled “Description”Queries SIFEN for the status of an Electronic Document using its CDC (siConsDE), the 44-digit Control Code that DNIT assigns to every voucher. It is useful to verify whether a DE was approved, to reconcile status after a timeout during synchronous issuance, or to validate a voucher received from a third party.
Configuration
Section titled “Configuration”| Field | Type | Required | Description |
|---|---|---|---|
| credentials_id | credentials | Yes | SIFEN credential |
| cdc | text | No | DE’s CDC, 44 digits. If left empty, taken from the input data |
Credentials
Section titled “Credentials”This module requires a sifen credential (.p12 certificate, RUC and environment). See the full field list in SifenEmitirDE.
Output
Section titled “Output”{ "success": true, "cdc": "01800123456001001000001234567890123456789012", "codigo": "0422", "mensaje": "Consulta CDC exitosa", "encontrado": true, "detalle": { "estado": "Aprobado", "fechaProceso": "2026-08-05T10:15:00" }}Usage Example
Section titled “Usage Example”{ "credentials_id": "cred-sifen-prod", "cdc": "01800123456001001000001234567890123456789012"}- The CDC must be exactly 44 digits; if the format is wrong the node rejects the query before contacting SIFEN
- It does not require a digital signature, only the credential (certificate and environment) to authenticate the SOAP connection
- If
encontradoisfalse, the CDC does not exist in SIFEN for the queried environment (test and prod are separate databases)
Related Nodes
Section titled “Related Nodes”- SifenEmitirDE - Issue the DE that is later queried
- SifenCancelarDE - Cancel an already-approved DE
- SifenKuDE - Generate the DE’s KuDE (PDF/QR)