RFC validation by CURP v2

Check for valid CURP, use obtained data to calculate RFC and then validate the RFC.
If CURP is not found then renapo_valid field will be false.

rfcMessageCode gives the machine-readable reason for the RFC outcome:

CodeMeaning
RFC_VALIDRFC exists in SAT and can receive invoices. The only code with validRFC: true.
RFC_VALID_NOT_INVOICEABLERFC exists and is valid, but is not able to receive invoices. A cancelled or suspended RFC is reported here.
RFC_NOT_FOUNDRFC is not registered in SAT's padrón de contribuyentes.
RFC_FORMAT_INVALIDThe calculated RFC is malformed.
RFC_PROVIDER_UNAVAILABLEThe RFC could NOT be checked because the provider failed. This is not a verdict on the RFC — do not reject the user on this code alone.
CURP_PROVIDER_UNAVAILABLEThe CURP provider failed or is in maintenance, so no RFC could be calculated. This is not a verdict on the CURP or the RFC.
CURP_NOT_FOUNDThe CURP is not registered in RENAPO, so no RFC could be calculated.
CURP_INVALIDRENAPO rejected the CURP (deactivated, malformed, multiple matches or invalid format), so no RFC could be calculated.
CURP_DATA_INSUFFICIENTThe CURP resolved but carried too little data to build an RFC.
RFC_UNKNOWNThe provider answered with something not yet in this catalog.

This endpoint falls back to a secondary provider when the primary one is unreachable. The fallback can confirm RFC_VALID, RFC_NOT_FOUND and RFC_FORMAT_INVALID; it cannot currently distinguish a cancelled RFC, which is reported as RFC_PROVIDER_UNAVAILABLE rather than guessed at.

rfcStatus, rfcValidationMessage and rfcErrorMessage keep their existing values; rfcMessageCode is additive.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
string
length ≥ 1
string
Headers
string
required
Defaults to 1.0
Responses

500

Internal error during CURP validation.

504

The request to validate the CURP exceeded the allowed time limit

Language
Credentials
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json