Skip to main content

CUDE & CDC SIFEN e-Invoice Generator (Paraguay)

Generate 44-digit CDC control codes with Mod 11 check digit and SHA-256 CUDE hashes for Paraguay SIFEN / DNIT.

Waiting for generation...

About CDC and CUDE in Paraguay (SIFEN / DNIT)

The 44-digit CDC (Código Digital de Control) is the mandatory unique access key regulated by DNIT for Paraguay's SIFEN electronic invoicing system.

The 44th digit is the Check Digit calculated using the Modulo 11 algorithm with weights 2 to 11 applied from right to left across the 43 base digits.

Anatomy & Structure of SIFEN CDC / CUDE (Paraguay)

The 44-digit CDC key is the official electronic document identifier for electronic tax invoices in Paraguay:

PositionFieldLengthRegulatory Meaning in SIFENExample
1 & 2DTE Type2 digits01=Factura Electrónica, 04=Autofactura, 05=Credit Note, 06=Debit Note.01
3 to 10Issuer RUC8 digitsTax identification number of the issuing company.80012345
11RUC Check Digit1 digitCheck digit of issuer's RUC.6
12 to 14Establishment3 digitsIssuing branch or headquarters code (e.g. 001).001
15 to 17Expedition Point3 digitsTerminal or point-of-sale code (e.g. 001).001
18 to 24Document Serial7 digitsSequential invoice number.0012345
25Taxpayer Type1 digit1=Individual, 2=Legal Entity.2
26 to 33Issue Date8 digitsDate in YYYYMMDD format.20260826
34Emission Type1 digit1=Standard live, 2=Contingency.1
35 to 43Security Code9 digitsPseudo-random numeric security code.123456789
44CDC Check Digit1 digitModulo 11 check digit using cyclic weights from 2 to 11.8

CDC Check Digit Calculation Algorithm (SIFEN Modulo 11)

The 44th digit is computed via Modulo 11 per SET/DNIT official guidelines:

CheckDigit = 11 - (Σ (d[i] × Weight[i]) % 11) (Remainders 0 and 1 result in 0)
  1. 1. Cyclic Weights: from right to left over the first 43 digits, apply weights [2, 3, 4, 5, 6, 7, 8, 9, 10, 11] cyclically.
  2. 2. Sum and Remainder: calculate the sum of all 43 products and divide by 11 to obtain the remainder.
  3. 3. SIFEN Rule: if remainder is 0 or 1, check digit is 0. If remainder > 1, check digit is 11 minus remainder (11 - remainder).

Frequently Asked Questions (FAQ)