RFC API
Tags |
---|
DEPRECATED
I will close this API on 2022-02-28T29:59:59Z−0800 because costs money and time which I don’t want to spend on this project: I’m tired. If you watch these docs after that date the API won’t work.
Overview
Validate RFC from the SAT.
🕑 Average Latency ~640 ms 🕑 Worst Latency ~1000 ms 🧑⚖️ Success Rate 80%
Getting started
- Log in, and go to settings, and copy API Key. If you use email, we need to verify it. Check your inbox.
- You either can test directly in your browser or use Postman. Remember substitute API Key.
Request
GET https://api.sanchezcarlosjr.com/rfc
Parameters
Name | Description |
---|---|
rfc | string (legal or natural person) |
apiKey | string You need to sign up on https://sanchezcarlosjr.com for you to get it. |
Response
If successful, this method returns a response body with the following structure:
{
"isBlockList": "boolean",
"isLRFC": "boolean"
}
Example Request
https://api.sanchezcarlosjr.com/rfc?apiKey=pT32raieZC3&rfc=AAL741030G97
Example Success Response
{
"rfcBlockListStatus": null,
"isLRFC": false,
}
Errors
The error messages that the API could return in response to a call to this method.
Error Type | Error detail | Description |
---|---|---|
forbidden (401) | forbidden | api key not found |
badRequest (400) | bad RFC format | Remember to follow instructions by call |
internalError (500) | internalError |
Contact
Reviews in Video YouTube Comments
Web on https://sanchezcarlosjr.com/
Do you have any questions, suggestions, or issues? Contract the support service. Select the Senior L5 - Manager L1 membership level on Patreon
Roadmap
FAQ
Which are judgment states?
0 null. SIn precedentes.
1 Presuntos. Contribuyente recién publicado, está pendiente de presentar evidencias para desvirtuarse. Significa que deberias ser cautoloso con la relacion con el cliente o proveedor frente a SAT. Posible entrada a lista negra. Y te van revisar tus cuentas.
2 Favorables. Contribuyente que presentó un medio de defensa ante la presunción de operaciones inexistentes. Significa que deberias ser un 50% menos cautoloso con la relacion con el cliente o proveedor frente a SAT. Esta en un estado Schrödinger cat.
3 Definitivos. Contribuyente que aportó evidencias insuficientes o en su caso las omitió, confirmando la inexistencia de las operaciones. Significa que no debes relacionarte oficialmente con dicho cliente o proveedor frente a SAT. Es la lista negra.
4 Desvirtuado. Contribuyente que aportó evidencias suficientes para demostrar la existencia de las operaciones. Significa que puedes relacionarte oficialmetne con dicho cliente o proveedor frente a SAT. Sale de la contraversia.
Does the API Key have a expire time?
No. It doesn't. You're free to use unlimited it. But, We don't responsible by bad use.
How can you help yourself, and me too? No money. Yes learning.
Do you want to learn about high computer science? Then subscribe to my Arsus Channel. Thank you so much.
But, if you want extra service or you want to help me with money. Select the Senior L5 - Manager L1 membership level on Patreon
Is this an open-source project?
Yes, this a open-source project on GitHub. Happy code!