# Mexican CFDI Electronic Invoice Verification (SAT)

> Mexican CFDI Electronic Invoice Verification (SAT) is a paid API for AI agents from x402-api-24223879872.us-east1.run.app, paid per call via x402, $0.05/call, status unknown (last checked 2026-10-13).

Verifies a Mexican electronic invoice (CFDI) against SAT systems, returning its status (vigente/cancelado), cancelability, and EFOS validation for the issuer and receiver.

## Facts

- Endpoint: POST https://x402-api-24223879872.us-east1.run.app/v1/mx/cfdi?utm_source=zero.xyz
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/mexican-cfdi-electronic-invoice-verification-sat-3e356768
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_dZM98BeaosBldzDyDX0zt

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability mexican-cfdi-electronic-invoice-verification-sat-3e356768 -d '<json body>'
```

Example prompt: Can you verify this Mexican CFDI invoice for me? The UUID is 6128396f-c09b-4ec6-8699-43c5-d7b1-ef23, the issuer RFC is ABC010101XYZ, the receiver RFC is DEF020202ABC, and the total is 15420.00 — I need to know if it's vigente or cancelled and whether it passes EFOS validation before I approve the payment.

## When to prefer this

Use this endpoint when you need to programmatically verify the legitimacy and status of a Mexican CFDI invoice against SAT, especially in accounts payable automation, compliance auditing, or fraud detection workflows where confirming vigente status and EFOS clearance is required before processing payments to Mexican suppliers.

## Known failure modes

- 404 returned for non-existent or illustrative UUIDs not found in SAT records
- Invalid RFC format causes validation rejection
- Malformed UUID format returns an error
- SAT service unavailability may cause timeouts
- Mismatched total or RFCs not matching SAT records may return not-found or mismatch errors

## How this service works

Verifies a Mexican electronic invoice (CFDI) with SAT (JSON body, not query params): status (vigente/cancelado), cancelability, and EFOS validation. Requires a real CFDI's UUID, issuer and receiver RFCs, and total; the example values are illustrative and return 404 (not charged).

## Output

Returns the CFDI's SAT status (vigente or cancelado), whether it can be cancelled, and EFOS validation results for both the issuing and receiving RFC — confirming the invoice's authenticity and fiscal standing with Mexican tax authorities.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "uuid": {
   "type": "string",
   "description": "CFDI UUID (8-4-4-4-12 hex; not necessarily UUID v4)"
  },
  "total": {
   "type": "string",
   "description": "CFDI total, as a decimal string"
  },
  "rfcEmisor": {
   "type": "string"
  },
  "rfcReceptor": {
   "type": "string"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/mexican-cfdi-electronic-invoice-verification-sat-3e356768/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-api-24223879872.us-east1.run.app](https://www.zero.xyz/host/x402-api-24223879872.us-east1.run.app/llms.txt)
