An AI assistant that audits US customs entries, scores them and shows why
This page explains what the four files in the Nawal folder ask for: who it is for, what it must do, how the score is calculated, what is already built, and which decisions are still open.
What is being asked, in 60 seconds
If you read only one part of this page, read this.
How the four files fit together
Each file plays a different role: today's method, what to build, and the prototype.
Audit Metrics Worksheet
Excel sheet with 27 checks, point weights and formulas for up to 49 entries. It is the source of the scoring rules.
CHB RS&C Audit Metrics Spreadsheet.xlsxLabelled "Privileged Internal"AI Audit Tool Overview
Word spec: how the AI audit should work, scoring rules, master data, screens, controls, rollout and open decisions.
AI_Customs_Entry_Audit_Tool_Overview.docxATIORA Trade Journey
A web app built with Claude, with 9 tabs. The PDF and Markdown files are exports of it; the PDF shows only the first tab.
ATIORA Trade Journey (Copy) (1).md · …#master.pdfWords you will see, explained simply
Customs work is full of acronyms. Search or filter below.
Why this is being built
The problem today
- Each entry is checked by hand against piles of PDFs, which is slow and depends on the auditor.
- The worksheet records only an X per check, with no evidence, page reference or reason.
- Formula errors mean some scores never appear (see Review findings).
- There is no audit trail of who changed what, and no link to an approved product/tariff list.
- Tariff rules change often (2026 alone saw IEEPA tariffs struck down, Section 122 come and go, and new Section 301 duties), so manual checks go stale fast.
What success looks like
Users and stakeholders
Roles inferred from the spec. Names and owners still need to be assigned.
The ATIORA journey: 9 modules
Status is based on the exported page text. The live app was not tested. The highlighted module is the audit this spec is about.
In scope
- Auditing US formal entries (CBP 7501) and their entry packets
- All 27 worksheet checks with their point weights
- Matching lines to an approved product / HTS master file
- Entry and portfolio scoring, findings, export
- Planning modules: trade chat, HTS finder, landed cost, tariff engineering
Out of scope (for now)
- Filing or amending entries with CBP automatically
- Binding classification decisions or legal advice
- Live tariff-database lookups inside the chat (the app says Claude doesn't do this)
- Generating shipping documents and customs declarations (placeholders, future)
From upload to report in six steps
From section 2 of the spec. Teal steps are done by the system; gold steps need a person.
Upload the entry packet
The 7501 plus invoice, packing list, bill of lading, PO, certificates and agency documents. Several entries at once, by drag-and-drop or ZIP.
Extract the facts
Document recognition reads the 7501 fields and packet details. Text PDFs and scans both work. The original document, page number and extracted evidence are kept.
Group & reconcile
Files are grouped by entry number, invoice, PO, shipment reference, importer and line item. Missing or unclear matches are flagged for the user to resolve.
Compare against the 27 checks
Each check is compared with the documents, validated tariff and agency reference data, and the approved product master file. Fixed rules handle arithmetic, exact HTS matches, field presence and dates; AI handles reading, matching and explaining.
Mark each check
Correct Incorrect Not applicable Needs review, each with a confidence level. Low confidence shows an amber border.
Score, review, report
The weighted score is calculated, a person reviews it, corrective actions are recorded, and the audit report is exported. Hard or low-confidence cases go to a licensed broker.
How an entry is scored. Try it.
All 27 checks with their real point weights from the worksheet. Mark each one and watch the score change under both rules that exist today.
N/A = full points, ÷ 100
N/A removed from total
The spec says the exact failures must always be shown next to the number.
What the system must do
Gathered from the Word spec, the ATIORA app and the worksheet, then given IDs and priorities. Priorities are a proposal (MoSCoW) to agree with the owner.
How well it must do it
Quality, safety and compliance rules. Most come from section 6 of the spec. Items marked gap are not visible in the current app.
What information the system keeps
Product master record
One approved, versioned row per importer + item. Used as the "expected answer" for classification.
The app's upload currently asks for: item number, country of origin, manufacturer, value, description, HTS code.
Entry packet (input)
What is read from the 7501 and its supporting documents.
Finding record (output)
Saved for every exception, with full traceability.
The five portal screens in the spec
Compared with what the app export shows today.
Rollout in phases
Phases 1–3 come from the spec. Phase 0 is added so the open decisions are made first.
Agree the rules
- Pick the N/A rule and category weights
- Set minimum evidence for Correct / N/A
- Name the master-data owner
- Fix worksheet formulas so the baseline is right
- Update MPF defaults
Audit end to end
- Upload many 7501s + packets
- Extract data, reconcile lines
- Apply all 27 checks and weights
- Provisional and final scores
- Export findings
Approved product list
- Approved product / HTS records
- Effective-date controls
- Classification exception workflow
- Importer-specific rules
Automate & analyse
- Automatic intake from brokerage systems
- Batch processing, reviewer assignment
- Dashboards and trend analytics
- Continuous checks against current tariff sources
What I found checking the files
From reading every formula in the worksheet and comparing the three documents.
Checked on 14 Nov 2026. Tariff programs change often; confirm at hts.usitc.gov and with a licensed broker.
What needs an answer before building
The first four come from section 8 of the spec; the rest come from this review.
Where this comes from
Files in the Nawal folder
- CHB RS&C Audit Metrics Spreadsheet.xlsx: one sheet, 27 criteria, 49 entry blocks, last modified 4 Nov 2026
- AI_Customs_Entry_Audit_Tool_Overview.docx: functional overview and scoring method
- ATIORA Trade Journey (Copy) (1).md: text export of all 9 app tabs
- https-claude.aiartifact…#master.pdf: print of the app's Master Data tab