> ## Documentation Index
> Fetch the complete documentation index at: https://docs-mx.taxo.ws/llms.txt
> Use this file to discover all available pages before exploring further.

# Mexico Tax Document Extraction

> Automate extraction of Mexican tax documents from SAT (Servicio de Administración Tributaria)

## Overview

Mexico's tax system is managed by the **SAT (Servicio de Administración Tributaria)**, the country's tax authority. Taxo's Mexico integration allows you to automatically extract various types of tax documents directly from SAT's systems.

## Supported Tax Documents

> [card] CFDI Invoices
>
> Electronic invoices (Comprobante Fiscal Digital por Internet) in XML and PDF formats

> [card] Tax Status Certificates
>
> Constancia de Situación Fiscal (CSF) documents showing taxpayer status

> [card] Tax Retention Documents
>
> Comprobantes de Retención for tax withholding documentation

## Mexican Tax System Context

### Key Concepts

> [accordion] RFC (Registro Federal de Contribuyentes)
>
> The unique taxpayer identification number in Mexico. Every individual and business must have an RFC to conduct tax-related activities.
>
> **Format Examples:**
>
> * Individual: `GACJ841128H87` (13 characters)
> * Company: `GAC841128A87` (12 characters)

> [accordion] CIEC Credentials
>
> Clave de Identificación Electrónica Confidencial - the digital credentials used to access SAT's online services.
>
> **Components:**
>
> * RFC (username)
> * CIEC Password (confidential password)

> [accordion] CFDI System
>
> Mexico's electronic invoicing system that requires all tax documents to be digitally signed and validated by SAT.
>
> **Features:**
>
> * XML structure with digital signatures
> * Real-time validation with SAT
> * Mandatory for most business transactions

## Available Information Types

| Type | Description | Formats | Use Cases |
| - | - | - | - |
| `INVOICE` | CFDI invoices (emitted/received) | XML, PDF | Accounting, expense tracking, audit |
| `TAX_STATUS` | Constancia de Situación Fiscal | PDF | Tax compliance, banking, contracts |
| `TAX_RETENTION` | Tax retention certificates | XML, PDF | Payroll, contractor payments |

## Direction Types (for Invoices)

> [!TIP]
>
> Only applicable to `INVOICE` information type.

| Direction | Description | Use Case |
| - | - | - |
| `INBOUND` | Invoices received by the taxpayer | Expense tracking, accounts payable |
| `OUTBOUND` | Invoices issued by the taxpayer | Revenue tracking, accounts receivable |

## Getting Started with Mexico

**1. Prepare SAT Credentials**

Ensure you have valid CIEC credentials for the taxpayer

**2. Choose Document Type**

Determine which type of documents you need to extract

**3. Configure Extraction**

Set up your extraction request with appropriate filters

**4. Monitor Progress**

Track job status and download documents when ready

## Quick Links

> [card] [SAT API Quickstart](https://docs-mx.taxo.ws/countries/mx/tax-authorities/sat/quickstart.md)
>
> Start extracting documents from SAT in minutes

> [card] [SAT API Reference](https://docs-mx.taxo.ws/countries/mx/tax-authorities/sat/endpoints/create-extraction.md)
>
> Detailed API documentation for SAT integration

> [card] [CFDI Invoices Guide](https://docs-mx.taxo.ws/countries/mx/document-types/cfdi-invoices.md)
>
> Learn about Mexico's electronic invoicing system

> [card] [Use Cases](https://docs-mx.taxo.ws/countries/mx/use-cases/accounting-automation.md)
>
> Common implementation patterns for Mexican businesses

## Compliance & Legal Considerations

> [!WARNING]
>
> **Tax Document Retention**: Mexican law requires businesses to retain tax documents for at least 5 years. Ensure your document storage strategy complies with local regulations.

> [!NOTE]
>
> **SAT System Availability**: SAT's systems may have maintenance windows that affect document extraction. Check SAT's official status page for system availability.

## Support for Mexico

For Mexico-specific questions and support:

* **Technical Issues**: [support@taxo.co](mailto:support@taxo.co)
* **SAT Integration**: Our team has extensive experience with Mexican tax requirements
* **Compliance Questions**: We can help ensure your integration meets local regulations

***

Ready to start extracting Mexican tax documents? Head to our [SAT Quickstart Guide](https://docs-mx.taxo.ws/countries/mx/tax-authorities/sat/quickstart.md) to begin your integration.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.