validate_rfc_mx
Validates a Mexican RFC (Registro Federal de Contribuyentes) format for both individuals (13 characters) and companies (12 characters). Use this tool when processing Mexican invoices (CFDI), tax forms, supplier registrations, or any document requiring a valid Mexican taxpayer identifier. Returns whether the RFC format is valid, the detected type (individual or company), and the cleaned RFC. Note: validates format only, does not verify against the SAT registry.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rfc | Yes | The Mexican RFC to validate. Spaces are automatically removed. Example: 'GODE561231GR8' for individual or 'GME9412171A3' for company |