RFC Validation API
Verify Federal Taxpayer Registry for individuals and businesses with Machine Learning technology.
An API key is required to use this API. Official SAT source.
Sign Up to Get StartedFeatures
✓ Individual & Business RFC
Complete validation for individual RFC (13 characters) and business RFC (12 characters).
✓ Format Verification
Automatic validation of structure, check digit, and format according to SAT standards.
✓ OCR & ML Validation
Optical character recognition and machine learning technology to validate documents.
✓ Detailed Error Messages
Comprehensive feedback on format, structure, or validation errors.
API Endpoint
GET https://api.tlaloc.sh/mx/v1/rfc?rfc={rfc}
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
rfc |
string | Yes | RFC to validate (12 or 13 characters) |
Example Request
curl -X GET "https://api.tlaloc.sh/mx/v1/rfc?rfc=JUPC850621AB5"
Example Response
{
"valid": true,
"accept_cfdi": true,
"reason": "Valid RFC and can receive electronic invoices"
}
Use Cases
Electronic Invoicing
Validate customer RFC before issuing electronic invoices.
Tax Compliance
Verify that suppliers and partners have valid RFC.
E-commerce
Validate RFC during checkout for automatic invoicing.
Payroll Management
Verify employee RFC for correct tax calculations.