Case study · B2B SaaS · Compliance
Mutabiq: no shipment held for a forgotten certificate
Saudi customs can hold a shipment when a product's conformity certificate has expired. I designed and built Mutabiq, an Arabic B2B SaaS that keeps every product's certificates in one place, alerts before they lapse, flags new regulations, and checks each incoming shipment against its arrival date.
1 view
single source of truth for every product's status
25
desktop and mobile screens designed before build
Daily
automated alerts by email and in the app
- Role
- Sole builder: domain research, product specification, 25-screen UX design, data model, and implementation
- Stack
- React · TypeScript · Vite · Tailwind CSS · Supabase (Postgres, Auth, Storage, Edge Functions) · Vercel
- Users
- Saudi importers and e-commerce sellers
- Status
- Live web app with a 14-day free trial; fully Arabic and right-to-left, on desktop and mobile

The challenge
Every regulated product imported into Saudi Arabia needs a valid product certificate of conformity (PCoC) through SASO's SABER platform, and some also need a quality mark. Certificates expire yearly, regulations keep expanding, and many importers still track it all in spreadsheets. One missed date means a shipment held at the port, with storage fees and delayed customer orders.
One source of truth for compliance
The core design decision: each product's status is computed once, in a database view, and every screen reads from it. The dashboard, product list, shipment check, and alerts can never disagree.
- The view also returns the days left, whether the product's HS code came under a regulation in the last 180 days, and whether a required quality mark is missing, shown as a separate warning.
- Certificate PDFs are stored in a private bucket and served only through short-lived signed URLs.
- Regulation data carries a source-verified flag, so unverified entries stay flagged until they are checked against SASO's official announcements.
- Demo data is tagged and removable in one click without touching customer records.
| Status | Rule (dates in Asia/Riyadh) |
|---|---|
| No certificate | No product certificate with an expiry date |
| Expired | Latest certificate expired before today |
| Renewing | Renewal started, and the certificate is still valid |
| Expiring soon | Expires within the organization's alert window |
| Valid | Everything else |
Shipment readiness check
The feature that turns reminders into prevention. For each shipment, the check date is the expected arrival plus the organization's clearance buffer, and every product in it is tested against that date.
- A shipment is marked ready only when every product passes; otherwise, it is flagged at risk, with each problem product, the reason, and a one-click fix.
- The check recalculates live whenever a product, certificate, or date changes.
- If a certificate will expire before a shipment containing it clears, the product page links straight to that shipment.
- Non-blocking reminders, such as a pending shipment certificate, appear as notes without raising a false alarm.
Automated alerts
- A daily job raises alerts for expired and expiring certificates, products under a new regulation, and shipments at risk, with deduplication so nothing is sent twice.
- A shipment at risk is re-alerted every day until it is resolved.
- One Arabic email per user per day groups all alerts, following each user's preferences, plus an optional weekly digest.
Accounts, teams, and billing
- Each organization's data is isolated in the database with row-level security; team members join by email invitation with their own role.
- A super-admin console manages the regulations database; publishing new HS codes alerts every affected organization.
- Subscription plans with a free trial; when a trial ends, the account turns read-only, and no data is ever deleted.
- Customs-broker mode, a single dashboard across all of an office's importers with consent-based client links, is fully specified and designed for the next release.
Delivery approach
- A full specification and 25 desktop and mobile screens designed first, then the build split into 12 sequenced milestones, each with reference screens and acceptance rules.
- Engineering standards enforced at every step: database changes only as versioned SQL migrations, all interface text in one Arabic strings file, and logical right-to-left CSS throughout.
- In-browser Excel import with automatic column matching and a preview of valid rows, invalid rows, and duplicates before anything is saved.
- Safe deletion: products are archived and restorable for 30 days, and deletions are confirmed inline, never through browser pop-ups.