API Reference

# Find a postal code

Recover the postal code SAT has registered for an RFC from the RFC and the taxpayer's name, for invoicing flows that need the receiver's zip code under CFDI 4.0.

POST

`/v1/rfc/find-zip`

Recover the SAT-registered postal code for an RFC + name pair via SAT's massive consultation endpoint. Skips the cert lookup, so callers must provide a clean name.
Completes in 7–9 s. Webhook supported.

Use this when an invoicing flow needs the zip code but the customer name is already on file. Skipping the cert lookup saves the 1–3 s profile step.

To see which state, municipality, and colonias a zip code covers, use [`/geo/zip`](https://mexcheck.com/docs/endpoints/geo-zip) on MexCheck, with this same API key.

## Request body


| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `rfc` | string | Yes | The RFC to look up. |
| `name` | string | Yes | SAT-registered taxpayer name. See [Name formatting](/docs/names). |
| `webhook_url` | string | No | Optional URL for async delivery. |


## Example request

curl

```bash
curl -X POST https://rfccheck.com/v1/rfc/find-zip \
  -H "x-api-key: rfc_your_api_key" \
  -H "Content-Type: application/json" \
  -d '{"rfc": "ACME010101AAA", "name": "ACME CONSULTORES"}'
```

## Response (200)

200 OK

```json
{
  "rfc": "ACME010101AAA",
  "valid": true,
  "zip": "06600",
  "message": "RFC válido, y susceptible de recibir facturas"
}
```