DEV Community

Cover image for Compliance Without Logs: The Establishment Code Audit Problem
John Hall
John Hall

Posted on

Compliance Without Logs: The Establishment Code Audit Problem

The question you cannot answer

A reviewer asks: on the shipment date of consignment 4417, was establishment ES 12 34567 EC listed, and for which activity?

If your check happened in a browser tab, you cannot answer. You can check now, but now is not the date in question, and listings change.

Why this is an observability problem

Compliance checks are events. Events without logs are invisible. A team that checks every code diligently and a team that checks none look identical in the record unless the outcome is persisted.

Establishments are suspended after audits and delisted after disease outbreaks, and traders are not notified. So even a correct historical check becomes unverifiable once the list moves on. Background on why establishment codes matter explains how quietly those status changes land.

What to persist per check

  • Code, exporting country, activity category
  • Listed status returned
  • Supplier name and address as matched
  • Timestamp
  • Consignment or declaration reference
  • Source of truth queried

Why dashboards beat spreadsheets here

A live status view across products, suppliers and codes surfaces problems before departure. A spreadsheet records the past and warns nobody. iTraces pairs a live dashboard with complete audit trails, so a regulatory review becomes a query rather than a reconstruction project.

The wider stack

Document processing extracts and verifies trade documents, iTraces validates the establishment codes inside them, and iClassification confirms HS codes across 32 or more countries. One pipeline, several checks, one log.

Watch a demo

Top comments (0)