Skip to content

Argentina CUIT Generator & Validator | Test Tax IDs

Generate and validate Argentina CUIT numbers for testing. Create mathematically valid tax IDs with correct check digits or verify existing CUITs instantly.

Argentina CUIT Generator & Validator

Generate mathematically valid Argentina CUIT numbers for testing or validate existing tax identification codes instantly.

CUIT Generator

Select Entity Type

CUIT Validator

Format: XX-XXXXXXXX-X

About CUIT

CUIT (Código Único de Identificación Tributaria) is the tax identification code used in Argentina for individuals and legal entities.

  • The format is XX-XXXXXXXX-X where X are digits.
  • The first two digits indicate the type of entity (20 for male individuals, 27 for female individuals, 30 for companies, etc.).
  • The last digit is a verification digit calculated using a specific algorithm based on the previous digits.
Loading calculator...
📚

Documentation

What Is a CUIT?

A CUIT (Código Único de Identificación Tributaria) is Argentina's tax identification number. AFIP, Argentina's federal tax authority, assigns a CUIT to every person and business that carries out formal economic activity, such as opening a bank account, signing an employment contract, or issuing an invoice. A CUIT is 11 digits long, written as XX-XXXXXXXX-X.

This calculator generates CUIT numbers that follow AFIP's official format and check-digit rule, and it checks whether an existing CUIT is mathematically valid. Numbers it generates are not registered with AFIP; they exist only for software testing, development, and teaching.

CUIT Structure and Type Codes

The 11 digits split into three parts.

PartDigitsMeaning
Type codefirst 2Identifies the kind of taxpayer
Numbernext 8A unique identifying number
Check digitlast 1Confirms the other 10 digits were entered correctly

The type code shows what kind of entity holds the CUIT:

Entity typeType code
Individual, male20
Individual, female27
Association33
Company, foundation, society, government body, foreign company, or trust30

AFIP groups several kinds of organizations — companies, foundations, partnerships, government bodies, foreign companies, and trusts — under the single code 30. The finer distinction between them lives in AFIP's own registration records, not in the CUIT number itself.

How to Calculate the CUIT Check Digit

The check digit uses a weighted mod-11 checksum, the same family of method used by ISBN book codes and many other identification systems. It is built to catch typos and swapped digits, not to encode any hidden meaning.

Steps:

  1. Write the first 10 digits: the 2-digit type code followed by the 8-digit number.
  2. Multiply each digit by a fixed weight, in order: 5, 4, 3, 2, 7, 6, 5, 4, 3, 2.
  3. Add the 10 products together.
  4. Divide the sum by 11 and find the remainder.
  5. If the remainder is 0, the check digit is 0.
  6. If the remainder is 1, there is no valid check digit for that type code and number. This tool follows that rule: the generator quietly tries a new random number when this happens, and the validator marks any CUIT with this pattern as invalid, no matter what digit appears last.
  7. For any other remainder, the check digit equals 11 minus the remainder.

Worked Example

Calculate the check digit for type code 30 and number 12345678.

The first 10 digits are 3, 0, 1, 2, 3, 4, 5, 6, 7, 8. Multiply each by its weight and add the results:

(3×5) + (0×4) + (1×3) + (2×2) + (3×7) + (4×6) + (5×5) + (6×4) + (7×3) + (8×2) = 15 + 0 + 3 + 4 + 21 + 24 + 25 + 24 + 21 + 16 = 153

153 divided by 11 leaves a remainder of 10. 11 − 10 = 1.

The check digit is 1, so the full CUIT is 30-12345678-1.

For contrast, type code 20 with number 00000001 gives a sum of 12, which leaves a remainder of 1 when divided by 11. No check digit exists for that combination, so no valid CUIT can end that way under type code 20.

How the Validator Checks a CUIT

The validator runs two checks on the text entered.

  1. Format. The input must match XX-XXXXXXXX-X, or 11 plain digits with no separators; the tool adds the hyphens automatically.
  2. Check digit. The tool recalculates the check digit from the first 10 digits, using the steps above, and compares it to the last digit entered.

The validator does not check whether the 2-digit prefix is one of the type codes AFIP actually uses (20, 27, 30, 33). A string such as 12-34567890-3 will pass if its checksum happens to be correct, even though AFIP does not assign the prefix 12 to any entity type. Passing this validator confirms only that a number is arithmetically well-formed, not that AFIP issued it. To confirm registration, use AFIP's own Constancia de Inscripción lookup service.

Using the Generator and Validator

To generate a test CUIT, choose an entity type — company, individual, association, and so on — and select "Generate CUIT." The tool produces a randomly numbered CUIT with a correct check digit for that type.

To check a CUIT, type or paste it into the validator field and select "Validate CUIT." The result shows whether the format and check digit are both correct.

Numbers made by the generator are not registered with AFIP. Using one on a real tax filing, contract, or invoice would be fraud under Argentine law. Use generated CUITs only for software testing, staging environments, and teaching.

CUIT vs CUIL

CUIT and CUIL share the same 11-digit format and the same check-digit algorithm. CUIT applies to taxpayers who run a business or work independently. CUIL (Código Único de Identificación Laboral) applies to employees under a labor contract. Many Argentine forms accept either number, since the digits and validation rule are identical; only the underlying AFIP registration differs.

Background

Before the CUIT existed, different Argentine agencies tracked taxpayers with separate, incompatible numbering systems, which made enforcement difficult. AFIP introduced the CUIT in the early 1990s, first for businesses and self-employed workers, then extended it to employees later in the same decade. It later became required for banking, employment contracts, and electronic invoicing. Today, opening a business bank account, signing most employment contracts, or issuing an electronic invoice in Argentina requires a CUIT.

Frequently Asked Questions

What is a CUIT number?

A CUIT is Argentina's tax identification number: 11 digits in the format XX-XXXXXXXX-X, assigned by AFIP to individuals and businesses that carry out formal economic activity.

Can this tool tell me if a CUIT is real?

No. It confirms only that a number is correctly formatted and that the check digit matches. AFIP's own registration records, not any offline calculation, determine whether a CUIT was actually issued. Use AFIP's Constancia de Inscripción service to confirm registration.

Can I use a generated CUIT on a real form?

No. Generated CUITs are mathematically valid but not registered with AFIP. Using one for a real filing, contract, or invoice is fraud under Argentine law. Generated numbers are meant for software testing and teaching only.

Why does type code 30 cover so many kinds of entities?

AFIP assigns 30 to companies, foundations, partnerships, government bodies, foreign companies, and trusts alike. The finer distinction between them is stored in AFIP's registration database, not encoded in the CUIT itself.

Does the CUIT need hyphens?

No. The validator accepts both the hyphenated form (30-12345678-1) and the plain 11-digit form (30123456781); it inserts the hyphens itself before checking.

What is the difference between a CUIT and a CUIL?

Both use the same 11-digit format and check-digit method. CUIT identifies taxpayers running a business or working independently; CUIL identifies employees under a labor contract.

Do CUITs ever change?

A CUIT is normally permanent for its holder. AFIP updates or reissues one for reasons such as a legally recognized gender change, a company merger, or confirmed identity theft.