National Influx: pharmaceutical supply between licensed suppliers and Saudi pharmacies
A B2B marketplace for catalogue, quotes, orders, delivery and wallet payments, designed for ZATCA Phase 2, VAT and PDPL from the first day. Its API was later moved from .NET to Node without touching the live database.
- Compliance
- ZATCA Phase 2, VAT, PDPL
- Migration
- .NET (ABP) to NestJS, same database
- Rollout
- Makkah pilot
01The challenge
Every order between an SFDA-licensed supplier and a Saudi pharmacy carries e-invoicing, VAT and personal-data obligations. A marketplace between them has to be compliant before it can be convenient.
02The approach
A bilingual marketplace with a Flutter app and a React admin panel.
- Supplier catalogue and quotes
- Orders and delivery tracking
- Wallet payments
- ZATCA Phase 2 e-invoicing, 15% VAT and PDPL compliance
- AI drug matching, search rescue and a pharmacy assistant
03Architecture
Compliance shapes the data model, not the other way round: e-invoicing, tax and personal-data rules live in the schema. The API began on ASP.NET Core (ABP) and was migrated to NestJS and Prisma against the same database, so the server changed while the app kept running.
04My contribution
Led the platform architecture and the Flutter app, then the API migration from .NET to NestJS. Added the AI drug matching and the pharmacy assistant.
Outcome
Rolling out as a pilot in Makkah. The app beta ships through TestFlight and Firebase App Distribution.





Part of
Head of Digital PlatformsInnovation Pulse