CFDI Validation API

Integrate tax validation into your systems. REST API with bilingual JSON responses.

Base URL: https://herramientasfiscales.mx

Anonymous

10 req / day

No registration

With API Key

100 req / day

Free, request below

Pro

10,000 req / day

$299 MXN/month — Pro Plan

See plans →

Endpoints

Response fields

valid

boolean — true if no errors

cfdiInfo

Issuer, receiver, total, date data

issues[].severity

"error" | "warning" | "info"

issues[].code

SAT code (CRP20265) or custom (EQUIV_DR_INCORRECT)

issues[].message

Bilingual explanation in natural language

issues[].howToFix

Concrete fix steps

issues[].autoFixable

true if auto-fixable

issues[].isRootCause

true if root cause of other errors

Rate limit headers

http
X-RateLimit-Limit: 100
X-RateLimit-Remaining: 99
X-RateLimit-Reset: 2026-03-30T23:59:59Z
X-Tier: free

HTTP codes

200Validation successful (check valid field)
400Invalid request (empty XML, wrong format)
401Invalid or inactive API key
413File too large (max 10MB)
429Rate limit exceeded

Request API Key

Free. You'll receive your key within 24 hours.