post
https://demo-api.incodesmile.com/api/validate/rfc-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:
| Code | Meaning |
|---|---|
RFC_VALID | RFC exists in SAT and can receive invoices. The only code with validRFC: true. |
RFC_VALID_NOT_INVOICEABLE | RFC exists and is valid, but is not able to receive invoices. A cancelled or suspended RFC is reported here. |
RFC_NOT_FOUND | RFC is not registered in SAT's padrón de contribuyentes. |
RFC_FORMAT_INVALID | The calculated RFC is malformed. |
RFC_PROVIDER_UNAVAILABLE | The 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_UNAVAILABLE | The 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_FOUND | The CURP is not registered in RENAPO, so no RFC could be calculated. |
CURP_INVALID | RENAPO rejected the CURP (deactivated, malformed, multiple matches or invalid format), so no RFC could be calculated. |
CURP_DATA_INSUFFICIENT | The CURP resolved but carried too little data to build an RFC. |
RFC_UNKNOWN | The 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
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
500Internal error during CURP validation.
504The request to validate the CURP exceeded the allowed time limit
