Spreadsheet Automation: Invoices and Orders with De-duplication

Automatic consolidation of mixed-format files (JSON, XML, CSV) with integrity auditing and duplicate blocking.

Answered by Lia, Engenho Labs' virtual assistant (AI).

Live Simulation and Execution Panel
Run the routine on the folder or simulate new orders arriving to see de-duplication in action.
REAL-TIME EXECUTION LOG (TECHNICAL TERMINAL) Status: Ready
[WAITING] Click "Run Automation Now" to read the folder and update the spreadsheet.
Files Analyzed
-
JSON, XML and CSV formats
Valid Records Inserted
-
Consolidated in the 'Consolidated' sheet
Duplicates Blocked
-
Isolated in the Audit sheet
Duplicate Rate (%)
-
Records protected from error
Total Amount
-
Total consolidated billing
Order ID Document Date Customer Item / Description Qty Unit price Total Channel Source File
Loading consolidated data...
Conflicting ID Rejected File Blocked At Block Reason Original File Customer Ignored Amount
No duplicates recorded.

How This Automation Works (Reliability Engineering)

This demo illustrates a business pipeline built to solve chronic reconciliation problems across sales, purchasing and invoice receipt, where scattered files from emails, network folders and legacy systems must be unified without manual errors or duplicates.

1. Mixed-Format Ingestion and Normalization

  • JSON / Webhooks: Reads orders from e-commerce and REST platforms.
  • Invoice XML: Automatic extraction of invoice tags (id, customer, line items and totals).
  • CSVs / ERP reports: Handles different delimiters (; or ,) and number formats.

2. Strict De-duplication Rule

  • Unique key: Tracking by business key (order / invoice number). In this demo each order counts as a single line item, and a record without that key is skipped and only shows up in the log.
  • Quarantine isolation: Repeated records are routed to the audit sheet with a timestamp and the filenames of both the rejected and original records.
  • Business Excel (.xlsx): Native generation with openpyxl, styled headers, zebra rows, SUM() formulas and no macros (VBA).

Want this for your spreadsheets?

Want this for your spreadsheets? Message us on WhatsApp

Answered by Lia, Engenho Labs' virtual assistant (AI).