/v1/csf/verify
Read a Constancia de Situación Fiscal (CSF) and check it with SAT. Send the PDF and get back the fiscal address, tax regimes, economic activities, tax obligations, and start date of operations it prints, SAT's confirmation of when the constancia was issued, and the taxpayer's data as SAT has it today. Completes in about 2 seconds.
A PDF proves nothing by itself: it is easy to edit, and a real one goes stale when the taxpayer moves or changes regime. So nothing is taken from the file on trust. The two QR codes on the constancia are the questions SAT answers: the one on the first page returns the taxpayer's current record, and the one beside the seal returns the moment SAT issued the document. What the file prints is then compared with those answers.
Use it to onboard a customer or supplier from the constancia they send, to enforce a rule such as "issued in the last 3 months" with SAT's date instead of the printed one, or to refresh a stored fiscal address from the QR alone.
This check is one step of a larger job. The MexCheck guide walks through all of them: Supplier verification.
Request body
Send one of: the file, the QR text, or rfc with id_cif. A request that mixes them is rejected with 422.
| Field | Type | Required | Description |
|---|---|---|---|
file |
file or string | To read a constancia | The constancia, uploaded as a file (multipart/form-data) or sent as base64 in a JSON body. The PDF SAT generated gives the most: its text is read and compared with SAT. A PNG or JPEG image, or a scanned PDF, is only read for its QR codes. Up to 8 MB. |
qr |
string or array | Instead of the file | The text of a QR code printed on the constancia (a siat.sat.gob.mx URL), or an array with both. The first-page QR returns the taxpayer; the seal QR returns the issue date. |
rfc |
string | With id_cif | The taxpayer's RFC. |
id_cif |
string | With rfc | The idCIF printed under the taxpayer's name on the first page. Together with the RFC it is what the first-page QR carries. |
Try it
/v1/csf/verify
Sign in to send a real request from this page.
New accounts get a $5 USD signup credit, no card required.
Example request: the PDF
curl -X POST https://rfccheck.com/v1/csf/verify \
-H "x-api-key: rfc_your_api_key" \
-F [email protected]
A JSON body works too, with the file as base64: {"file": "JVBERi0xLjQK..."}. A data: URL prefix is accepted.
Example request: the QR or the idCIF
curl -X POST https://rfccheck.com/v1/csf/verify \
-H "x-api-key: rfc_your_api_key" \
-H "Content-Type: application/json" \
-d '{
"rfc": "ACME010101AAA",
"id_cif": "10010100002"
}'
Response (200)
{
"rfc": "ACME010101AAA",
"id_cif": "10010100002",
"found": true,
"message": "SAT issued this constancia and its data matches SAT's current record.",
"taxpayer": {
"person_type": "moral",
"name": "ACME CONSULTORES",
"capital_regime": "SA DE CV",
"incorporation_date": "2001-01-01",
"start_date": "2001-01-01",
"status": "ACTIVO",
"status_date": "2001-01-01",
"address": {
"zip": "06600",
"street_type": "CALLE",
"street": "AVENIDA DE EJEMPLO",
"exterior_number": "200",
"interior_number": null,
"neighborhood": "COLONIA DE EJEMPLO",
"municipality": "CUAUHTEMOC",
"state": "CIUDAD DE MEXICO",
"tax_office": "CIUDAD DE MEXICO 1"
},
"regimes": [
{
"name": "Régimen General de Ley Personas Morales",
"start_date": "2001-01-01",
"end_date": null
}
]
},
"document": {
"issuance": "verified",
"issued_at": "2026-10-16T08:45:15",
"issued_in": "CUAUHTEMOC, CIUDAD DE MEXICO",
"age_days": 30,
"matches_sat": true,
"differences": [],
"alert": null,
"data": {
"person_type": "moral",
"name": "ACME CONSULTORES",
"trade_name": "ACME",
"capital_regime": "SOCIEDAD ANONIMA DE CAPITAL VARIABLE",
"start_date": "2001-01-01",
"status": "ACTIVO",
"status_date": "2001-01-01",
"address": {
"zip": "06600",
"street_type": "CALLE",
"street": "AVENIDA DE EJEMPLO",
"exterior_number": "200",
"interior_number": null,
"neighborhood": "COLONIA DE EJEMPLO",
"locality": "CUAUHTEMOC",
"municipality": "CUAUHTEMOC",
"state": "CIUDAD DE MEXICO",
"between_street": "CALLE UNO",
"and_street": "CALLE DOS"
},
"economic_activities": [
{
"order": 1,
"activity": "Servicios de consultoría en computación",
"percentage": 100,
"start_date": "2001-01-01",
"end_date": null
}
],
"regimes": [
{
"name": "Régimen General de Ley Personas Morales",
"start_date": "2001-01-01",
"end_date": null
}
],
"obligations": [
{
"description": "Pago definitivo mensual de IVA.",
"due": "A más tardar el día 17 del mes inmediato posterior al periodo que corresponda.",
"start_date": "2001-01-01",
"end_date": null
}
]
}
}
}
taxpayer: SAT's current record
taxpayer is what SAT answers today for the idCIF and RFC, whatever the file says: identity, start date of operations (start_date), status in the registry, fiscal address, and current regimes. Dates are ISO 8601; every other value is SAT's text. It is null when found is not true, or when only a seal QR was sent.
A persona física has curp, names, paternal_surname, mothers_maiden_name, and birthdate. A persona moral has capital_regime and incorporation_date instead. Fields the taxpayer does not have are omitted, not null. SAT's live answer does not include economic activities or obligations: those come from the file, in document.data.
To see which state, municipality, and colonias a zip code covers, use
/geo/zip
on MexCheck, with this same API key.
document: the constancia you sent
document is present when you sent a file or a seal QR, and null otherwise.
| Field | Description |
|---|---|
issuance |
verified: SAT confirms it issued a constancia with this seal. rejected: SAT says it did not, or the seal belongs to another taxpayer. not_verifiable: the constancia predates SAT's online seal check (its seal QR carries no folio), or the file has no seal QR. null: SAT could not be asked about the seal. |
issued_at |
When the constancia was issued, in Mexico City time. SAT's own record when issuance is verified; otherwise what the constancia states, which an edited file can misstate. Older constancias carry the date without the time. |
issued_in |
The place of issue the constancia prints. Null without a readable PDF. |
age_days |
Days from issued_at to today in Mexico City. |
data |
What the file prints, in the same shape as taxpayer plus trade_name, the address's locality and cross streets, economic_activities (with each one's percentage and dates), regimes with their end dates, and obligations (each return or payment the taxpayer must file, with when it falls due). Null for an image or a scanned PDF. |
matches_sat |
Whether data agrees with SAT's current record. Null when there is no data or no taxpayer to compare. |
differences |
The fields that do not agree, such as address.zip, regimes, or issued_at. A difference means the taxpayer changed that data after the constancia was issued, or the file was edited: either way, trust taxpayer. |
alert |
The verdict on the file: edited, outdated_or_edited, or null when nothing is wrong or nothing could be compared. See below. |
What only the file has: activities and obligations
document.data carries two tables that SAT's live answer does not. Both are read from the PDF's text, so they are absent for a photo or a scan, and SAT cannot confirm them: an edit to either goes unnoticed.
economic_activities
| Field | Description |
|---|---|
order |
SAT's order number for the activity. |
activity |
The activity, in SAT's words. |
percentage |
Its share of the taxpayer's income, 0 to 100. |
start_date |
When the taxpayer registered the activity. |
end_date |
When it ended. Null while it is current. |
obligations
The returns and payments the taxpayer must file, such as monthly VAT or payroll withholdings. They follow from the regimes and activities, and tell you what a supplier should be able to show it has filed.
| Field | Description |
|---|---|
description |
The obligation, in SAT's words. |
due |
When it falls due, in SAT's words. It is a rule (the 17th of the following month), not a date. |
start_date |
When the obligation began. |
end_date |
When it ended. Null while it is current. |
When the file and SAT disagree
matches_sat is false when anything the file prints differs from SAT's answer. The comparison covers the name, CURP, start date of operations, status and its date, every part of the fiscal address, and the current regimes with their start dates. It also checks that the RFC and idCIF in the text are the ones in the QR code, and that the dates the file states are the date of issue. Accents, capitals, and spacing are ignored.
alert turns that comparison, and SAT's answer about the seal, into a verdict:
- edited: SAT answered that it did not issue a constancia with this seal, or differences has rfc, id_cif, issued_at, curp, or start_date. Those do not change after a constancia is issued, so the file was edited or assembled from another document. Reject it.
- outdated_or_edited: differences has only address fields, regimes, status, status_date, or name. The taxpayer may have changed them since, or the file was edited. age_days tells them apart: a constancia issued days ago that already disagrees with SAT deserves a fraud review, while an old one is most likely out of date. Ask for a new constancia.
In both cases taxpayer is the data to keep. A null alert is not proof that the file is untouched. Economic activities, obligations, the trade name, and the email are not part of SAT's answer, so they are never compared and an edit to them goes unnoticed. And when issuance is not_verifiable, SAT could not confirm the date of issue.
found
found |
Meaning |
|---|---|
true |
SAT has a constancia for that idCIF and RFC, and taxpayer carries its current record. Check document.issuance and document.matches_sat before trusting the file itself. |
false |
SAT answered that the idCIF and RFC match nothing it issued. message carries SAT's own explanation, in Spanish. |
null |
SAT's validator could not be reached. Retry later. |
Other responses
Every answer SAT gives comes back as a 200 with the same fields. These are the ones that differ from the example above. They leave out taxpayer and document.data, which keep the shape shown there.
The constancia is out of date, or was edited
The file prints an address SAT no longer has. taxpayer carries the current one.
{
"rfc": "ACME010101AAA",
"id_cif": "10010100002",
"found": true,
"message": "SAT has this taxpayer, but the constancia differs from SAT's current record: it is out of date or was edited. See document.differences.",
"document": {
"issuance": "verified",
"issued_at": "2025-12-16T08:45:15",
"issued_in": "CUAUHTEMOC, CIUDAD DE MEXICO",
"age_days": 334,
"matches_sat": false,
"differences": ["address.zip", "address.street"],
"alert": "outdated_or_edited"
}
}
The constancia was edited
SAT has the taxpayer, but answered that it issued no constancia with this seal. The same alert comes with a verified seal when differences has a field that cannot change after issue, such as start_date.
{
"rfc": "ACME010101AAA",
"id_cif": "10010100002",
"found": true,
"message": "SAT has this taxpayer, but did not issue a constancia with this seal.",
"document": {
"issuance": "rejected",
"issued_at": "2025-12-16T08:45:15",
"issued_in": "CUAUHTEMOC, CIUDAD DE MEXICO",
"age_days": 334,
"matches_sat": true,
"differences": [],
"alert": "edited"
}
}
An older constancia, whose date of issue SAT cannot confirm
The data was still compared with SAT's current record. issued_at is what the file states, and carries no time.
{
"rfc": "PEMJ800101AB3",
"id_cif": "10010100001",
"found": true,
"message": "The constancia's data matches SAT's current record. SAT cannot confirm when it was issued: see document.issuance.",
"document": {
"issuance": "not_verifiable",
"issued_at": "2025-03-04",
"issued_in": "CUAUHTEMOC, CIUDAD DE MEXICO",
"age_days": 621,
"matches_sat": true,
"differences": [],
"alert": null
}
}
SAT has no constancia for that idCIF and RFC
Charged, since SAT answered. message is SAT's own text.
{
"rfc": "ACME010101AAA",
"id_cif": "10010100002",
"found": false,
"message": "Al RFC: ACME010101AAA no se le ha emitido su Cédula de identificación fiscal",
"taxpayer": null,
"document": null
}
SAT could not be asked
Not charged. document still carries what was read from the file, with issuance null. Retry later.
{
"rfc": "ACME010101AAA",
"id_cif": "10010100002",
"found": null,
"message": "SAT's constancia validator is temporarily unavailable. Please retry.",
"taxpayer": null,
"document": {
"issuance": null,
"issued_at": "2025-12-16T08:45:15",
"issued_in": "CUAUHTEMOC, CIUDAD DE MEXICO",
"age_days": 334,
"matches_sat": null,
"differences": [],
"alert": null
}
}
Billing
Each request costs 5 credits. Answers with found: null and 422 errors are not charged. A found: false answer is charged, because SAT answered the question you asked.
Errors
Missing, mixed, or malformed fields are rejected with 422 invalid_fields, listing every field to fix. A file that is not a PDF or an image, or that carries no constancia QR code, is rejected the same way with file.
{
"error": "invalid_fields",
"fields": ["file"]
}