Skip to content

SIFEN — Electronic Invoicing Paraguay (DNIT / e-Kuatia)

The SIFEN nodes connect your workflows with Paraguay’s electronic invoicing system (SIFEN / e-Kuatia, from the DNIT) through direct integration with the official Web Services: no intermediary provider and no per-document fee. Floogos builds the Electronic Document (DE) XML, computes its CDC, digitally signs it with your certificate, sends it over SOAP with mutual TLS and generates the KuDE (graphical representation with QR).

NodeSIFEN serviceWhat it does
SIFEN: Issue e-invoice (sifenEmitirDE)siRecepDEIssues a DE synchronously (invoice, credit/debit note, remission, self-invoice)
SIFEN: Send batch of DE (sifenEnviarLote)siRecepLoteDESends up to 50 DE at once (asynchronous)
SIFEN: Query batch (sifenConsultarLote)siResultLoteDEFetches a batch result and reconciles each DE
SIFEN: Query DE by CDC (sifenConsultarDE)siConsDEChecks a DE status
SIFEN: Query RUC (sifenConsultarRUC)siConsRUCValidates a RUC in the DNIT registry
SIFEN: Cancel DE (sifenCancelarDE)siRecepEventoCancels an approved DE (signed event)
SIFEN: Generate KuDE (PDF/QR) (sifenKuDE)—Generates the printable graphical representation with QR

The nodes use a SIFEN credential. Create it under Credentials → Add → SIFEN with these fields:

FieldDescription
Certificate (.p12)Your signing certificate, base64-encoded, issued by a DNIT-authorized provider.
Certificate passwordThe .p12 password. Never shown in logs.
RUC and DVThe issuer’s RUC (without check digit) and its DV.
Environmenttest or prod.
CSC ID and CSCThe taxpayer security code and its identifier — required for the KuDE QR hash.
Establishment and Point of issueThe issuer’s default codes (can be overridden per document).

The same certificate is used both to sign the DE and to authenticate to SIFEN via mutual TLS. If the certificate is expired, the issuing nodes stop with a clear message.

  1. Prepare the DE as a JSON object (issuer, recipient, operation and items). The issuer, establishment and point of issue are filled from the credential if omitted.

  2. Issue with Issue e-invoice (synchronous) or Send batch (several at once). Floogos computes the CDC, signs the XML and sends it.

  3. SIFEN responds with Approved or Rejected. For batches, fetch the result later with Query batch.

  4. Generate the KuDE with Generate KuDE to deliver/print the document with its QR.

  5. If needed, cancel the DE with Cancel DE within the DNIT deadline.

Node: SIFEN: Issue e-invoice. The document comes from the de field (JSON) or the input data. Example of a cash invoice:

{
"tipoDE": 1,
"timbrado": "12558946",
"fechaEmision": "2026-07-29T10:00:00",
"numero": "0000123",
"receptor": { "naturaleza": 2, "tipoOperacion": 2, "nombre": "Final Consumer" },
"operacion": { "condicionVenta": 1, "moneda": "PYG", "indicadorPresencia": 1 },
"items": [
{ "codigo": "P1", "descripcion": "Perfume 100ml", "cantidad": 1, "precioUnitario": 110000, "afectacionIVA": 1, "tasaIVA": 10 }
]
}

Output (approved):

{
"cdc": "0180012345600100100001232202607291071136690X",
"estado": "Aprobado",
"protocolo": "998877",
"codigo": "0300"
}
tipoDEDocumentExtra requirements
1E-invoice—
4Self-invoicevendedor (non-taxpayer seller data)
5Credit notedocumentoAsociado (original invoice CDC) + motivoEmision
6Debit notesame as the credit note
7Remission notetransporte + motivoRemision (no amounts)

For high volumes, Send batch of DE signs each document, compresses them and sends them together (up to 50). SIFEN immediately returns a protocol (dProtConsLote); the actual result of each DE is fetched later with Query batch, which also reconciles each one’s status.

{ "documentos": [ { "numero": "0000124", "items": [ /* ... */ ] }, { "numero": "0000125", "items": [ /* ... */ ] } ] }
  • Query DE by CDC (sifenConsultarDE): checks a document status; useful to reconcile after a timeout.
  • Query RUC (sifenConsultarRUC): fetches legal name and status of a RUC in the registry — ideal to validate the recipient before issuing.

Cancel DE issues a signed cancellation event. It requires the CDC and a reason (5 to 500 characters), and is only valid within the DNIT deadline after approval.

cdc: 0180012345600100100001232202607291071136690X
reason: Wrong invoiced amount

Generate KuDE produces the printable document in HTML (the browser can export it to PDF), with the public-lookup QR code. You can pass the CDC of an already-issued DE (it retrieves the signed XML from the database) or a DE JSON to preview. The QR includes the cHashQR, a hash computed with your CSC; without the correct CSC the QR won’t validate.

SituationRetryableWhat to do
SIFEN rejection (code in the response)NoThe node returns SIFEN’s code and message. Fix the document.
Expired certificateNoRenew the .p12 and update the credential.
Invalid data (missing item, bad CDC/reason)NoThe node validates before sending and explains what’s missing.
Network / TimeoutYesTransient issue; retried automatically.