CIF is valid (ES)
What this tool does
This tool checks if a Spanish corporate tax identification number (CIF) follows the official structure and check digit rules. It helps users confirm the mathematical validity of a company ID before using it for administrative or financial records. It does not verify if the company is currently active or registered.
When to use it
- Validating company IDs entered on supplier registration forms.
- Checking data quality in customer databases.
- Confirming tax details on invoices.
- Preparing tax filings and ensuring ID accuracy.
What to expect
You will receive a clear yes or no indicator showing if the tax ID format is mathematically correct.
Limitations
- It only checks the ID structure, not the company's legal status.
- It is specific to Spanish tax IDs.
- It does not verify the existence of the business entity.
When it fails
- The input is missing or empty.
- The ID is not nine characters long.
- The ID contains invalid letters or numbers in specific positions.
Good to know
- Ensure you enter the full nine-character code.
- The check digit is calculated from the first seven digits.
Input data
| Parameter | Required | Example | Description |
|---|---|---|---|
cif | Yes | A58818501 | Enter the 9-character Spanish CIF code (e.g., 'A58818501'). This field is required. If the code is missing or too short, the check will fail. |
Output data
| Field | Description |
|---|---|
result | A yes/no indicator showing whether the CIF code is valid (true) or invalid (false). |