---
title: "Process case study: preparing the DIOT with scattered data versus a structured database"
description: "Compare the operational workflow and controls while keeping tax determinations in the hands of the responsible person."
canonical: "https://www.clara.com/en-mx/tax-intelligence/use-cases/preparing-diot-with-structured-data"
lang: "en-MX"
alternate_html: "https://www.clara.com/en-mx/tax-intelligence/use-cases/preparing-diot-with-structured-data"
---

# Process case study: preparing the DIOT with scattered data versus a structured database

Compare the operational workflow and controls while keeping tax determinations in the hands of the responsible person.

![Editorial portrait of a Mexican man in his early forties in a tax-related setting](https://www.clara.com/assets/webflow/695af87260de1349e7cd3934/6ae102df0f0cdc5701869381_6ae102d4d5bcfb7dffaefdfe_if-preparar-diot-datos-estructurados.png)

## Month-end closing under pressure: the financial impact of reconciling the DIOT with scattered data versus an automated database

For the accounting team and finance leadership of a company in Mexico, the last days of each month are a race against the clock. In addition to calculating provisional ISR payments and the final IVA payment, the law requires filing the Declaración Informativa de Operaciones con Terceros (DIOT), reporting in detail the IVA paid and withheld for each supplier.

In business practice, this report is usually compiled through two entirely different operating approaches:

1. **The traditional scattered-data model:** The team extracts information from various disconnected sources (bank statements in PDF, accounting subsidiary ledger reports, shared folders of XMLs, and supplier emails). Reconciliation is done manually in spreadsheets, consuming dozens of staff hours and allowing a high margin for human error.
2. **The continuous structured-database model:** Information from digital tax receipts issued and received is synchronized automatically and linked in real time to bank disbursements and payment supplements (REP). At the end of the period, the working paper and DIOT batch file are generated with mathematical precision in a matter of minutes.

Using a representative practical scenario, this analysis compares the execution times, hidden costs, inconsistency rate, and level of exposure to SAT audits under both methods.

## 1\. Parameters of the case analyzed: an SME operating scenario

To compare both workflows with operational realism, we define the parameters of a midsize company in Mexico's distribution and services sector:

- **Corporate structure:** Legal entity under the Régimen General de Ley (Title II LISR).
- **Monthly volume:** 450 invoices for expenses, inventory purchases, and services during the period.
- **Suppliers active during the month:** 120 business counterparties (legal entities, individuals providing professional services, freight carriers, and foreign suppliers).
- **Complex transactions:** Invoices using the PPD method paid in installments, IVA withholdings of 10.6667% and 4%, and purchases in the border region with an 8% incentive.
- **Tax obligation:** Filing the DIOT under [Article 32, section VIII of the Ley del IVA](https://www.diputados.gob.mx/LeyesBiblio/pdf/LIVA.pdf) no later than the last day of the following month.

## 2\. Process A: Traditional compilation with scattered data

### Workflow and operational friction

Under this approach, preparation of the DIOT begins after the calendar month has ended and follows a fragmented sequence:

| Stage / Period   | Manual Operating Activity                                         | Critical Friction and Risks                                                   |
| ---------------- | ----------------------------------------------------------------- | ----------------------------------------------------------------------------- |
| **End of Month** | Manual bulk download of XMLs from the SAT portal                  | Wait times and availability failures on the SAT platform.                     |
| **Day 5 to 10**  | Request and collection of bank statements and accounting entries  | Delays in receiving scattered accounting and banking information.             |
| **Day 11 to 18** | Manual reconciliation in spreadsheets (Invoice vs. SPEI matching) | Exhaustive search for missing REP documents and error-prone manual entry.     |
| **Day 19 to 25** | Manual assembly and validation of the batch file (.txt / .dec)    | Syntax errors and repeated rejections by the official SAT validator.          |
| **Day 28 to 30** | Rushed filing at the tax deadline                                 | High operational stress and risk of discrepancies with the final IVA payment. |

### Main bottlenecks identified:

- **Disproportionate time investment:** The accounting team spends between **25 and 35 staff hours per month** exclusively cleaning up spreadsheets, verifying RFCs, and tracing unidentified payments.
- **Missing payment supplements (REP):** Invoices issued using the PPD method were paid through banks, but suppliers did not send the stamped REP by the [fifth calendar day of the following month](https://sidof.segob.gob.mx/notas/5777217). The accountant must decide whether to exclude the expense or improperly report it without a receipt.
- **Risk of typographical errors in the batch file:** Manual entry or editing in templates creates formatting errors in the text file that cause rejection by the SAT system on the last day of the filing period.
- **Exposure to blacklists:** There is no preventive filter to flag whether a supplier was included on the [final EFOS list under Article 69-B of the CFF](https://www.diputados.gob.mx/LeyesBiblio/pdf/CFF.pdf).

## 3\. Process B: Modern compilation using a structured database

### Workflow and continuous traceability

In the structured model, accounting does not wait until month-end to process the data. Information is organized automatically throughout the 30 days:

| Stage / Period                  | Automated Workflow with a Structured Database                         | Benefit and Management Control                                                                           |
| ------------------------------- | --------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- |
| **Day 1 to 30 (Current month)** | Continuous synchronization of SAT receipts with bank transactions     | Automatic matching of UUID with SPEI transfers, early detection of REPs, and real-time 69-B monitoring.  |
| **Day 1 (Following month)**     | Database close with 100% reconciliation                               | Complete, cleaned-up information with no receipts awaiting classification.                               |
| **Day 2 to 5**                  | Instant generation of the DIOT working paper and batch file           | Batch file structured according to the official SAT layout, without data-entry errors.                   |
| **Day 6 to 10**                 | Early filing with the SAT and download of the official acknowledgment | Filing well ahead of the deadline, with an Acuse de Aceptación con Sello Digital and zero risk of fines. |

### Operational and internal-control advantages:

- **90% reduction in preparation time:** Batch file generation time falls to **less than 2 hours**, allowing the team to focus on strategic tax review.
- **Absolute certainty about cash flow:** Each DIOT entry is supported by its bank receipt under [Article 1-B of the Ley del IVA](https://www.diputados.gob.mx/LeyesBiblio/pdf/LIVA.pdf).
- **Precise consistency of withholdings:** Withholdings of 10.6667% ([Article 1-A LIVA](https://www.diputados.gob.mx/LeyesBiblio/pdf/LIVA.pdf)) and 4% on freight ([Article 3 of the Reglamento de la LIVA](https://www.diputados.gob.mx/LeyesBiblio/regley/Reg%5FLIVA%5F250914.pdf)) match the monthly provisional payment exactly.
- **Protection against penalties:** The risk of formal fines of **$14,880 to $29,750 MXN** is significantly mitigated under [Articles 81 and 82, section XXVI of the CFF](https://www.diputados.gob.mx/LeyesBiblio/pdf/CFF.pdf).

## 4\. Comparison matrix for operational performance and tax governance

| Evaluation criterion                 | Process A: Scattered data (Manual)                                 | Process B: Structured database (Automated)             |
| ------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------ |
| **Hours invested per month**         | 25 to 35 staff hours per period                                    | 1 to 2 hours for review and stamping                   |
| **Preparation timing**               | Reactive (the week before the deadline)                            | Continuous (information reconciled day by day)         |
| **Control of PPD invoices and REPs** | High risk of omitting or duplicating supplements                   | Strict linkage between bank payment and REP            |
| **Cross-check of IVA withholdings**  | Manual spreadsheet reconciliation                                  | Automatic matching against amounts remitted to the SAT |
| **Monitoring of 69-B lists (EFOS)**  | Manual, sporadic, or nonexistent                                   | Automatic early alert before payment                   |
| **Likelihood of batch rejection**    | Frequent because of special characters or formatting               | None (file generated under the official SAT layout)    |
| **Exposure to invitation letters**   | High because of discrepancies between the DIOT and monthly payment | Minimal because of consistency from the outset         |

## 5\. The hidden financial cost of manual processing

For executive management and partners at accounting firms, processing the DIOT manually represents a direct financial cost that often goes unnoticed:

1. **Cost of unproductive payroll:** Paying professional salaries to accountants and analysts for mechanical data entry and file searches instead of financial analysis and tax optimization.
2. **Cost of fines and surcharges:** Late filing caused by delayed data generates surcharges and loss of the benefit for voluntary compliance under [Article 73 of the CFF](https://www.diputados.gob.mx/LeyesBiblio/pdf/CFF.pdf).
3. **Blocked IVA refunds:** The SAT automatically cross-checks refund claims for credit balances against DIOT records. A single arithmetic inconsistency suspends the process for months, affecting the company's liquidity.

## 6\. Clara Tax Intelligence: compiling the DIOT using a continuous structured database

Preparing the DIOT from manual accounting entries and fragmented reports consumes days of effort and exposes the company to discrepancies that the SAT detects immediately.

**Clara Tax Intelligence** replaces manual processes with an automated transactional database connected to the authority:

- **Continuous Synchronization of Outflows:** Automatically downloads and classifies purchase and expense receipts directly from the SAT repository, organizing them by tax rate and type of expense.
- **Automated Reconciliation of Payments and REPs:** Immediately matches tax receipts with bank statements, ensuring that the working paper contains only settled transactions.
- **Monitoring of Flagged Suppliers:** Monitors issuers' tax status in real time against Article 69-B of the CFF, protecting the company from transactions with third parties who cannot be located.
- **Export of Files and Schedules in Minutes:** Generates the official layout and detailed reconciliation schedules with one click, drastically reducing hours spent on the month-end close.

> **Recommendation for eliminating logistics losses and ensuring compliance with transport supplements:** The operating cost of goods being detained far exceeds the investment in control tools. Integrating Carta Porte generation with inventory systems protects the supply-chain flow.

## 7\. Frequently asked questions

### Why do discrepancies arise between the DIOT and the monthly final IVA payment?

The main cause is the difference in recording criteria. While the final IVA payment is calculated on the month's actual bank cash flow, a manually assembled DIOT often mistakenly includes invoices not collected or paid during the period, or omits payment supplements (REP) issued late.

### What happens if I file the DIOT with approximate amounts or amounts rounded incorrectly?

The DIOT application requires amounts to be entered in pesos without cents, while applying the official arithmetic rounding rules. If the sum of the taxable bases multiplied by the IVA rate differs from the tax actually remitted in the monthly payment, SAT systems issue invitation letters concerning inconsistencies in information returns.

### Must the Payment Supplement (REP) be required before reporting the transaction in the DIOT?

Yes. For transactions paid in installments or using the PPD method, the CFDI with Complemento para Recepción de Pagos is the tax receipt that substantiates the transferred and paid IVA for the period under [Rule 2.7.1.32 of the RMF](https://sidof.segob.gob.mx/notas/5777217). Reporting the transaction without the stamped REP exposes the company to rejection of the tax credit.

### How does a structured database speed up responses to SAT invitation letters?

When a company operates with structured data, each figure reported in the DIOT is linked to a unique identifier (UUID), an accounting entry, and a SPEI receipt. Responding to an invitation letter takes minutes because the supporting evidence file can be exported immediately, without reconstructing the fiscal year's accounting records.

### Must a company with tax losses file the DIOT?

Yes. The obligation to file the DIOT depends on carrying out taxable or exempt activities under the [Ley del Impuesto al Valor Agregado](https://www.diputados.gob.mx/LeyesBiblio/pdf/LIVA.pdf), regardless of whether the company had a taxable profit or tax loss in the ISR year. The lack of accruable income for ISR does not exempt it from reporting supplier transactions for IVA.

### What legal validity does the acknowledgment issued by the SAT portal have when filing the DIOT?

The Acuse de Aceptación issued by the SAT contains the authority's digital seal, the date and time of receipt, and the transaction's folio number. It is the only document with full legal validity to rebut any presumption of nonfiling and substantiate formal compliance with the obligation during a tax audit.

## 8\. Official sources and primary regulatory references

1. **Ley del Impuesto al Valor Agregado (LIVA) — Current text.** Articles 1-A (withholdings), 1-B (time of accrual and cash flow), and 32, section VIII (formal DIOT obligation). Published by the [Cámara de Diputados del H. Congreso de la Unión](https://www.diputados.gob.mx/LeyesBiblio/pdf/LIVA.pdf).
2. **Código Fiscal de la Federación (CFF) — Current text.** Articles 28 (accounting records), 69-B (nonexistent transactions), 73 (voluntary compliance), and 81 and 82, section XXVI (violations and fines for failing to file information returns or filing them with errors). Published by the [Cámara de Diputados del H. Congreso de la Unión](https://www.diputados.gob.mx/LeyesBiblio/pdf/CFF.pdf).
3. **Reglamento de la Ley del Impuesto al Valor Agregado (RLIVA) — Current text.** Article 3 (4% withholding on freight and motor transport). Published by the [Cámara de Diputados del H. Congreso de la Unión](https://www.diputados.gob.mx/LeyesBiblio/regley/Reg%5FLIVA%5F250914.pdf).
4. **Resolución Miscelánea Fiscal (RMF 2026) — Current text.** Rule 2.7.1.32 (issuance of the Complemento para Recepción de Pagos by the 5th calendar day) on the [official SAT portal](https://sidof.segob.gob.mx/notas/5777217).
5. **Servicio de Administración Tributaria (SAT) — Declaración Informativa de Operaciones con Terceros microsite.** Official forms, technical batch upload rules (.txt), and filing application on the [SAT portal](https://www.gob.mx/sat).

## Reach month-end knowing  
how much you’ll pay

Connect your RFC today and get your tax information in order.

[**Sign up**](https://contabilidad.clara.com/signup?utm%5Fsource=clara.com&utm%5Fmedium=referral&utm%5Fcampaign=es%5Fmx%5Finteligencia%5Ffiscal)[**Request a guided demo**](https://contabilidad.clara.com/demo)

Resources:[Tax guides](https://www.clara.com/en-mx/tax-intelligence/guides)[Tax checklists](https://www.clara.com/en-mx/tax-intelligence/checklists)[Tax use cases](https://www.clara.com/en-mx/tax-intelligence/use-cases)[Tax worksheets](https://www.clara.com/en-mx/tax-intelligence/worksheets)[Tax protocols](https://www.clara.com/en-mx/tax-intelligence/protocols)[Tax calendars](https://www.clara.com/en-mx/tax-intelligence/calendars)[Tax matrices](https://www.clara.com/en-mx/tax-intelligence/matrices)[Tax models](https://www.clara.com/en-mx/tax-intelligence/models)[Tax templates](https://www.clara.com/en-mx/tax-intelligence/templates)[Tax comparisons](https://www.clara.com/en-mx/tax-intelligence/comparisons)[CFDI catalogs](https://www.clara.com/en-mx/cfdi-catalogs)
