Skip to main content
This guide will help you perform your first SAT invoice extraction using the Taxo API.

Before you start

You need:
  • A Taxo API key (get it here)
  • CIEC or FIEL credentials from a taxpayer
  • A tool to make HTTP requests (cURL, Postman, or code)

Step 1: Set up authentication

Store your API key securely:

Step 2: Create your first extraction

Let’s extract received invoices from 2024 for a specific RFC:
Expected response:
Save the publicId - you’ll need it to check status and download documents.

Step 3: Monitor progress

Extraction is an asynchronous process. Check the status regularly:

Step 4: Download documents

Once the extraction is complete, you can download the documents:

Complete example script

Here’s a complete script that performs the entire process:

Next steps

Congratulations! You now know how to use the basic Taxo API. You can now:

Set up webhooks

Receive automatic notifications when extractions are ready

Explore endpoints

Discover all advanced filtering and configuration options

Best practices

Learn how to optimize performance and handle errors

Official SDKs

Use our official libraries for your favorite language

Need help?

If you have problems following this guide, contact our support team: