SAT Data Stage vs. Anexo 24 Reconciliation: How to Audit Records 501, 551 & 554

In Mexican customs compliance, there is only one source of truth for what your company legally imported and exported: SAT’s SAAI database, delivered to importers each month as the Data Stage (Glosa) report.

A common failure mode in US-owned Mexican manufacturing plants occurs when the trade compliance team feeds Anexo 24 solely from the PDF pedimentos and .M files emailed by their primary customs broker, without cross-reconciling against the monthly Data Stage file issued directly by SAT. Within a single year, missed air-freight clearances, uncommunicated R1 rectifications, late-closing consolidated pedimentos, and unit-of-measure discrepancies between Table 551 and the plant’s ERP will break both the Anexo 24 FIFO ledger and the SCCCyG (Anexo 30/31) VAT credit account.


1. What Is SAT’s Data Stage File and How Is It Structured?

Between the 1st and the 7th day of every month, SAT generates a password-protected archive for each registered importer (via the Matriz de Seguridad / SOIA portal) containing roughly 25 to 30 pipe-delimited (|) ASCII text files. Together, these relational tables reconstruct every field of every pedimento paid under the company’s Mexican tax ID (RFC) across all 50 Mexican customs ports during the prior month.

While IT teams often see a confusing folder of numbered .txt or .asc files, seven core tables govern 99% of an IMMEX compliance audit:

Data Stage TableTable Name in SAAI M3Key Fields Inside the FileWhy It Matters for IMMEX & VAT Reconciliation
501Datos Generales (Pedimento Header)Patent (4 digits), Pedimento Number (7 digits), Customs Section (3 digits), Operation Type (1=Imp, 2=Exp), Clave de Pedimento (IN, AF, RT, V1, F4, A1, R1), Exchange Rate, Payment Date, Gross WeightMaster population check: every single row in Table 501 with an IMMEX key must exist in your Anexo 24 Customs Module.
505Facturas / COVE (Commercial Invoices)Invoice Date, COVE Number (EDocument), Incoterm, Currency, Invoice Value, Foreign Supplier/Customer Tax ID & NameLinks the customs pedimento back to the COVE XML (which holds the individual SKU part numbers and commercial invoice lines).
509 & 510Tasas y Contribuciones a Nivel PedimentoTax Code (1=IGI, 3=IVA, 9=DTA), Payment Method (0=Cash, 21=VAT Credit), Total AmountReconciles total cash taxes paid vs. total VAT/IEPS credits claimed at the header level.
551Partidas (Line Items)Line Number (Secuencia), 8-Digit Tariff Fraction (Fracción), NICO (2 digits), Description, Customs Value (MXN), Commercial Value (MXN), UMC Code & Qty, UMT Code & Qty, Country of Origin, Country of Seller/BuyerThe heart of Anexo 24 and SCCCyG: SAT’s SCCCyG (Anexo 30/31) opens and closes your VAT credit ledger directly from the 8-digit Tariff Fraction + Commercial Value (MXN) + UMT Quantity in Table 551.
553Permisos de Partida (Item Permits)Permit Key (C1 Regla Octava, C6 Automatic Steel Notice, COFEPRIS, SEDENA), Permit Number, Discharged QuantityVerifies that Regla Octava (98.02) and steel permits match authorized VUCEM volume ceilings.
554Identificadores a Nivel PartidaIdentifier Code (CI, TL, PS, RO, EN, V1, MS, PT), Complement 1, 2, 3Confirms whether a line item claimed USMCA (TL), PROSEC (PS), VAT Certification (CI), or Virtual Transfer (V1 with the counterparty’s IMMEX number).
557Contribuciones a Nivel PartidaTax Code (IVA, IGI, IEPS), Forma de Pago (0, 6, 21), Tax Amount in MXNExact audit of which line items opened a Forma de Pago 21 credit in SCCCyG (Anexo 30/31) vs. which were paid in cash (0).
701 & 702Rectificaciones (R1 Links)Original Pedimento Number, Original Payment Date, Rectification Pedimento (R1), Rectification DateEssential for spotting when a broker amended a previous month’s pedimento without updating Anexo 24.

2. The 5-Step Monthly Data Stage vs. Anexo 24 Reconciliation Protocol

Even though Anexo 24 Apartado C requires updating your inventory system within 48 hours of each crossing, you must execute a 100% Monthly Closing Reconciliation between days 5 and 10 of the following month as soon as SAT releases the official Data Stage package:

Step 1: Header Population Check (Table 501 vs. Anexo 24 Headers)

Cross-match every unique key (Patente + Aduana + Pedimento) in Table 501 against the pedimentos loaded in your Anexo 24 system for the month.

  • What you frequently catch:
    1. Orphan Air/Courier Importations: An engineer ordered replacement CNC spindles or urgent electronic reels via DHL/FedEx/UPS at Monterrey, Guadalajara, or Mexico City Airport (Aduana 470/800), and the courier’s broker cleared it under your RFC without copying your border compliance team.
    2. Month-End Consolidated Pedimentos (Pedimentos Consolidados): A weekly consolidated IN or RT pedimento opened in late March was closed and paid on April 2nd, causing cutoff timing differences between ERP shipments and customs payment dates.
    3. Unreported R1 Rectifications (Table 701): A broker filed an R1 pedimento to fix a value, tariff fraction, or UMT quantity, leaving your Anexo 24 running on the superseded original pedimento data.

Step 2: Line-Item & SCCCyG Credit Check (Tables 551 + 557 vs. Anexo 24 Lines)

Filter Table 551 joined with Table 557 where Contribución = 3 (IVA) and Forma de Pago = 21 (Crédito en IVA e IEPS).

  • Sum the Commercial Value in Mexican Pesos (Valor Comercial MXN) and Quantity in Tariff Units (Cantidad UMT) by 8-digit tariff fraction (Fracción Arancelaria).
  • Compare that table against:
    1. Your SCCCyG (Anexo 30/31) Statement of Account (Estado de Cuenta) on the SAT portal; and
    2. Your Anexo 24 Temporary Import Entries Report.
  • Rule of Iron: These three numbers (Data Stage 551/557 with FP 21 = SCCCyG New Credits = Anexo 24 Temporary Entries with FP 21) must match to the exact peso and exact UMT decimal.

Step 3: Bridging the “Grouping Gap” (Table 551 vs. COVE XML vs. ERP Part Numbers)

Why do Anexo 24 systems drift away from Data Stage? Because of broker line-item grouping (agrupación de partidas):

  • Suppose your commercial invoice and COVE XML contain 15 different resistor SKU part numbers (RES-01 through RES-15), all classified under tariff fraction 8533.21.01.
  • On the pedimento (Table 551), the customs broker groups all 15 part numbers into Line Item #1 (Secuencia 1): 8533.21.01 | 500,000 Pza | 120.500 Kg | $450,000 MXN.
  • Your Anexo 24 system must break that single Table 551 line back down into the 15 individual ERP part numbers using the COVE XML (Table 505), while ensuring that the sum of the 15 SKU weights (Kg UMT) and values (MXN) in Anexo 24 equals 120.500 Kg and $450,000 MXN with zero rounding discrepancy.

Step 4: Auditing UMC-to-UMT Ratios in Table 551

Write a simple script or Excel query on Table 551 dividing Cantidad UMT by Cantidad UMC for every line item imported during the month, and compare that ratio against last month’s ratio for the same tariff fraction.

  • If last month your steel fasteners (7318.15.99) had an average ratio of 0.0150 Kg per Piece, and this month Line Item #4 shows 0.1500 Kg per Piece (a 10x decimal slip by the broker’s classifier), catching it on Day 6 allows you to file an R1 rectification before transmitting your SCCCyG discharge report, saving you from an artificial over-discharge (sobredescargo).

Step 5: Auditing Identifiers in Table 554 (V1, TL, PS, RO, AF)

  • Virtual Transfers (V1): Verify that every V1 pedimento in Table 501/554 lists the valid IMMEX program number of the counterparty in Complement 1, and that you hold the signed copy of the counterparty’s mirror V1 pedimento closed within the statutory 20-day window under RGCE Rule 4.3.21.
  • Fixed Assets (AF): Verify that every AF line in Table 551 has its corresponding brand, model, and serial numbers documented in the COVE / E-Document and loaded into the Anexo 24 Fixed Assets module.

3. Summary Checklist: Monthly Data Stage Audit Gate

Before your compliance team generates the monthly .txt discharge file for SCCCyG (Anexo 30/31), require the controller or compliance manager to sign off on these four zero-tolerance checks:

Reconciliation CheckFormulaAcceptable Variance
1. Pedimento CountCount(Data Stage 501 IMMEX Pedimentos) - Count(Anexo 24 Pedimentos)0
2. Commercial Value (MXN)Sum(Data Stage 551 Valor Comercial MXN) - Sum(Anexo 24 Valor Comercial MXN)$0.00 MXN (tolerance ≤ $1.00 rounding)
3. Tariff Quantity (UMT)Sum(Data Stage 551 Cantidad UMT by Fraction) - Sum(Anexo 24 Cantidad UMT by Fraction)0.000 UMT
4. VAT Credit Ledger (FP 21)Sum(Data Stage 557 IVA with FP 21) - Sum(SCCCyG New Credits Opened)$0.00 MXN

Frequently asked questions

What is SAT's Data Stage (Glosa) file in Mexico?

Data Stage (officially the Sistema de Operación Integral Aduanera / SOIA monthly glosa report) is the encrypted zip package of pipe-delimited ASCII text tables released by Mexico's Tax Administration Service (SAT) during the first week of every month. It contains the exact line-by-line data of every import, export, virtual transfer, and rectification pedimento validated and paid under the company's Mexican tax ID (RFC) across all customs ports during the prior month.

Why can't we rely solely on the PDF pedimentos sent by our Mexican customs brokers?

Because customs brokers frequently operate across multiple ports (Laredo, El Paso, Otay Mesa, Manzanillo, AICM), consolidated pedimentos can close after midnight at month-end, rectifications (R1) may be filed without updating the plant's compliance team, or third parties can occasionally declare a wrong RFC on a virtual transfer. SAT's audit engines and the SCCCyG (Anexo 30/31) do not read your broker's emails, they read the SAAI/Data Stage database. If your Anexo 24 does not match Data Stage 100%, your system is out of balance with SAT.

Which Data Stage tables are the most critical for Anexo 24 and Anexo 31 reconciliation?

Five tables form the core of monthly IMMEX reconciliation: Table 501 (General Pedimento Header), Table 505 (Invoices & COVE numbers), Table 551 (Line Items / Partidas with 8-digit tariff fraction, UMC, UMT, and Commercial Value), Table 554 (Item-level Identifiers such as CI, TL, PS, RO, EN), and Table 557 (Item-level Contributions and Payment Methods such as Forma de Pago 21 for VAT/IEPS credits).

Why does Data Stage Table 551 not show our internal ERP part numbers?

In Mexico's SAAI pedimento layout, Table 551 aggregates items by 8-digit tariff fraction (plus NICO), description, unit of measure, and price, not necessarily by individual SKU if the broker grouped multiple part numbers sharing the same tariff classification into a single pedimento line item. To bridge Table 551 back to individual SKU part numbers in Anexo 24, your system must link Table 505 (COVE e-document) and the underlying COVE XML / commercial invoice line items.

What should we do if Data Stage shows a pedimento under our RFC that we do not recognize?

Immediately pull the patent number (4 digits) and customs port code from Table 501, contact the corresponding customs broker to obtain the full dossier, and verify whether it was a legitimate shipment (such as an air courier spare-parts clearance or a purchasing department tooling order that bypassed the trade compliance team) or an unauthorized/erroneous filing using your RFC that requires formal cancellation or complaint before SAT.

Does your operation have a case this page does not resolve?

This page explains the framework; it cannot decide your case. Describe the concrete situation and we will tell you what to ask, what to document and — where it applies — what kind of specialist or tool to look for.

AMMEX is an independent platform operated by Heberey LLC. We review your inquiry internally; any possible sharing with an external provider requires your prior authorization.

No legal, tax, accounting or customs advice is provided, and no certifications or authorizations are processed.