Skip to main content
Use these examples when creating extractions through the API. Each request uses an entity IRI and an extractor name. Some extractors also accept options that control the period, direction, file types, or provider product. For endpoint details, see Create an extraction.

SAT

Invoices

Set period.from and period.to explicitly to the range you want to extract. If omitted, period.from defaults to the start of the year three years ago and period.to defaults to the current date and time. Use issued and received to control the direction (CFDIs the entity emitted, received, or both), and xml and pdf to control which file types are downloaded. Keep xml and pdf enabled. XML downloads count toward SAT’s daily download limits; disable xml only when you are certain your use case requires it to be disabled. PDF downloads do not count toward those limits. Invoice payments, batch payments, line items, relations, and credit notes are derived from invoice CFDI data. Include type P invoices for payment records and type E invoices for credit notes when selecting invoice types.

Tax retentions

Tax returns

Use the extractor for the tax return type you need.
Use monthly_tax_return or rif_tax_return in the same request shape when you need those return types.

Tax status

Tax compliance checks

Electronic accounting

SAT certificates

RPC

The rpc extractor creates RPC entidades, actos, and socios when the registry returns matching data.

RUG

The rug extractor creates RUG guarantees and operations when the registry returns matching data.

BIL

Buró de Crédito

The entity must have taxpayer data and a valid Buró de Crédito authorization before the extraction can run.
The productType option controls which Buró de Crédito product is requested.

Background checks

Run a background check for an entity. The background_check extractor can be used in one-off extractions and in recurring scheduler rules to keep screening results current for monitored entities.
For the resulting records and PDF report, see Background checks.

Infonavit

Check whether an entity’s employer registration appears in the Infonavit Créditos Firmes list of firm (overdue) housing-credit obligations. The infonavit extractor matches on the entity name, so no SAT credentials are required.
The infonavit extractor does not accept any options. Send an empty options object or omit the field entirely. If the entity does not appear in the list, the extraction still finishes successfully and returns no records. For the resulting records, see Infonavit overdue credits.