Every filing, end to end. In nine stations.
One shipment, one filing, one audit record. This page shows every component the data touches — from the merchant producing it, through the translation layer we build, into CBP's system, and back to the broker when something needs fixing. Audit-readable, compliance-readable, stakeholder-readable.
One payload. One round-trip.
One clearly-marked translation layer.
Amber marks the parts we build. Steel marks what already exists at Damon's side. Mint marks the government. The dashed arrow is the filing moving forward; the mint return-arrow is CBP's response; the red arrow is the reject-loop broker-corrections flow.
What we build.
What stays external. Who touches what.
A stakeholder-readable scope statement. Amber lists our deliverables. Steel lists the parts already in place or outside our perimeter. The third column names the three actors and their access surface.
- 01Translation LayerCBIT JSON → CATAIR byte-exact records
- 02Three modulesEntry Summary Type 1 · Type 11 Informal · T-1 In-Bond
- 03REST APIPOST /filings · idempotent · async
- 04Audit log7y SQLite + JSONL · signed · replayable
- 05DashboardPhase 2 · Lovable-style broker UI
- ACBIT v0.1 frontendDamon's existing platform — unchanged for v1
- BCBP ACE / ABIUS government receiving system — we integrate, not replace
- CCustomer stackRetailer/merchant platforms — we never touch them
- DmTLS certificateIssued by CBP · managed by Damon
- EFiler codeDamon's existing CBP filer code, env-configured
- ICustomer (merchant)Read-only — their data goes in, no dashboard access
- IIBroker / OpsDashboard user — sees holds, files corrections, resubmits
- IIICBPReceiver — consumes filings, returns MRNs and holds
- IVDamon (platform owner)CBIT admin — routes customers into the pipeline
Every byte. Seven years. Signed.
US Customs requires five years of importer records retention under 19 CFR 163. We write seven. Every event is append-only, SHA256-chained to the previous, and replayable byte-for-byte for any dispute or audit request.
When CBP says no — the loop.
Happy-path is one arrow. The real test of a filing system is what happens on a hold. Damon's requirement was clear: the hold has to travel back through the system, reach the broker, let them correct one specific field, and resubmit. Here's that loop.
SV·R code plus the specific record and field that failed validation.