BayanCore Phasing Strategy
This document explains how we build, not what we build. It maps our 7-phase development model to the 5-layer OS architecture from the Constitution.
Overview
BayanCore is built docs-first, workflow-complete, compliance-native. Our 7 phases ensure we don't write code until strategy, product, compliance, and design are locked.
Unlike typical SaaS "MVP → iterate" models, we ship complete workflows that are ZATCA-compliant from day one.
The 7 Phases
Phase 1: The Blueprint
Timeline: Q2 2026 Goal: Define the OS strategy
Deliverables:
- North-star metric (FWCR)
- Product vision & Constitution
- Market wedge (trading SMEs, ZATCA Waves 19-24)
- Business model (SAR 2K-5K tiers)
Success measure: Strategy docs approved by founders
OS Layers touched: None directly — this phase defines why each layer matters
Phase 2: Forge
Timeline: Q2 2026 Goal: Define the complete OS without writing code
Scope: Create specifications for all 5 layers
- 02-product-definition/ — All 20 workflows defined
- 03-compliance/ — ZATCA, VAT, PDPL, GOSI specs
- 04-ai-features/ — Agent architecture, fair-use
- 05-technical-spec/ — Architecture, data model, APIs
Explicitly NOT in scope: Writing code, designing UI
Deliverables:
- 20 workflow specifications (see Section 3)
- ZATCA Phase 2 technical requirements
- PDPL data residency map
- AI agent specifications
- Technical architecture (OCI, ERPNext boundaries)
- Data model for all workflows
Success measures:
- ✅ All 20 workflows have PRDs with acceptance criteria
- ✅ ZATCA spec reviewed by a professional
- ✅ Technical ADRs 001-010 approved
- ✅ FWCR instrumentation plan defined
OS Layers defined:
| Layer | Phase 2 Output |
|---|---|
| Compliance | Complete ZATCA/VAT/PDPL specs |
| Infrastructure | OCI architecture, data residency |
| Execution | 20 workflow definitions |
| Intelligence | AI agent types, cost model |
| Experience | Deferred to Phase 3 |
Phase 3: The Aesthetics
Timeline: Q2 2026 Goal: Design the complete OS experience
Scope: Design system and high-fidelity prototypes for all 20 workflows
Deliverables:
- Design system (liquid glass, RTL, Arabic typography)
- Component library (Figma)
- High-fi prototypes for Tier 1 workflows (5 workflows)
- Low-fi wireframes for Tier 2-3 workflows (15 workflows)
- Mobile PWA designs
- Design tokens for development
Success measures:
- ✅ 2 users test prototype, 80% task success rate
- ✅ Design system documented
- ✅ All 20 workflows have at least low-fi designs
- ✅ RTL implementation validated
OS Layers defined:
| Layer | Phase 3 Output |
|---|---|
| Experience | Complete design system |
| Execution | UI flows for all workflows |
| Others | No changes (already defined) |
Why separate phase: Design is not a skin. Our liquid glass, RTL-first, Arabic-native experience requires dedicated focus. Building without this = technical debt.
Phase 4: The Builder
Timeline: Q2 2026 Goal: Build the OS
Scope: Implement all 5 layers in code
Sub-phases: (defined in workflow section)
- 4a (6 weeks): Tier 1 workflows (5 workflows) — Pilot/Alpha ready
- 4b (4 weeks): Tier 2 workflows (5 workflows) — Beta ready
- 4c (4-6 weeks): Tier 3 workflows (10 workflows) — Scale/Production ready
Deliverables:
- Working application on OCI Riyadh
- All Tier 1 workflows functional
- ZATCA sandbox integration
- FWCR instrumentation live
- CI/CD pipeline
Success measures:
- ✅ Tier 1 workflows achieve FWCR ≥60% in sandbox
- ✅ ZATCA 100% pass rate in testing
- ✅ <2s invoice clearance time
- ✅ All data in KSA (PDPL compliant)
OS Layers built: All 5 layers implemented and integrated
Phase 5: The Shadow
Timeline: Q3 2026 Goal: Validate with real SMEs
Scope: Deploy to 3 pilot trading SMEs
Deliverables:
- 3 pilot customers live
- Real-world FWCR data
- User feedback (3+ interviews)
- Bug fixes and refinements
Success measures:
- ✅ FWCR ≥65% with pilot customers
- ✅ Zero compliance violations
- ✅ NPS ≥30
- ✅ 3 case studies
OS Layers validated:
- Execution: Do workflows actually work?
- Intelligence: Does AI reduce rework?
- Experience: Is RTL usable?
Phase 6: The Pulse
Timeline: Q3 2026 Goal: Scale to 100 customers
Scope: Go-to-market, funding, expansion
Deliverables:
- 100 paying customers
- Series A or equivalent funding
- Tier 2 workflows launched
- Partnership with different organizations in Saudi Arabia to become their OS provider
Success measures:
- ✅ ARR ≥ SAR 2.4M
- ✅ NRR ≥110%
- ✅ FWCR ≥75%
- ✅ 20% of customers use ≥2 workflows
Phase 7: The Horizon
Timeline: Q4+ 2026 Goal: Market leadership
Scope: Full OS, enterprise, regional expansion
Deliverables:
- All 20 workflows live
- Enterprise tier
- GCC expansion (Qatar, Oman, Bahrain)
- Platform ecosystem
Success measures:
- ✅ 500+ customers
- ✅ FWCR ≥80%
- ✅ Market leader in KSA SME OS
Mapping Phases to 5-Layer Architecture
The Constitution's 5 Layers
- Experience — Liquid glass UI, RTL-first
- Execution — Native workflows
- Intelligence — AI agents
- Compliance — ZATCA/PDPL native
- Infrastructure — OCI Saudi
How Phases Build Layers
Phase 1: Blueprint - Define the overall strategy
|- Strategy docs
|- Compliance reqs
|- Workflow definitions
Phase 2: Forge - Specify the technical details for each layer
|- Technical specs
|- Architecture docs
|- Data models
Phase 3: The Aesthetics - Design the UI and experience
|- Design system
|- UI prototypes
|- Screen inventory
Phase 4: The Builder - Implement all 5 layers and get ready for testing
|- Working app
|- All 5 layers live
|- ZATCA testing
Phase 5: The Shadow - Validate with real world data using pilot customers
|- Pilot customers
|- Real-world data
|- User feedback
Phase 6: The Pulse - Scale to 100 customers, and onboard them to the platform
|- 100 customers
|- Funding secured
|- Tier 2 workflows live
Phase 7: The Horizon - Expand to GCC, offer enterprise tier
|- All 20 workflows
|- Enterprise tier
|- GCC expansion
Key insight: We define Compliance, Infrastructure, Execution, and Intelligence before Experience. This ensures design serves compliance, not the other way around.
The 20 Workflows
Overview
We have 4 major/critical departments which are common to most SMEs in Saudi Arabia:
- Accounting & Finance
- Ops & Procurement
- HR & Payroll
- Sales & CRM
Within these departments, we have 20 workflows which are critical to the success of any SME, and are based on the following filters/criteria:
- Frequency: Daily/Weekly/Monthly/Quaterly/Annually
- Pain: Current workaround applied is painful, manual, time consuming, and error prone, like Excels, pen and paper, WhatsApp, email, etc.
- Compliance Risk: ZATCA, VAT, PDPL, GOSI, etc.
- FWCR Potential: Can we autoamte end-to-end?
- Pilot Scope: Must work for at least 3 Trading SMEs
These 20 workflows are divided into 3 tiers based on their complexity and importance. Tier 1 workflows are the most important and complex workflows, Tier 2 workflows are the next most important and complex workflows, and Tier 3 workflows are the least important and complex workflows.
Tier 1 Workflows (Phase 4a: most important, 5 workflows)
| Dept | Workflow | Compliance |
|---|---|---|
| Accounting | 1. Invoice-to-Cash (ZATCA) | ZATCA Phase 2 |
| Accounting | 2. Expense-to-Pay | VAT |
| Accounting | 3. Bank Reconciliation | Audit |
| Sales | 4. Quote-to-Order | — |
| Ops | 5. PO-to-Payment | VAT |
Why these 5: Cover cash in, cash out, and revenue. All daily/weekly use. 3 have compliance risk.
Tier 2 Workflows (Phase 4b: next most important, 5 workflows)
| Dept | Workflow | Compliance |
|---|---|---|
| Accounting | 6. Vendor Invoice-to-Pay | VAT |
| Accounting | 7. VAT Return Filing | VAT |
| Sales | 8. Lead-to-Quote | — |
| Ops | 9. Purchase Requisition-to-PO | — |
| Ops | 10. Goods Receipt | — |
Tier 3 Workflows (Phase 4c: least important, 10 workflows)
| Dept | Workflow | Compliance |
|---|---|---|
| Sales | 11. Sales Order Fulfillment | GOSI |
| Sales | 12. Customer Invoice Tracking | Audit |
| Sales | 13. Sales Pipeline Management | — |
| Ops | 14. Stock Monitoring | PDPL |
| Ops | 15. Supplier Invoice Matching | Audit |
| HR | 16. Payroll-to-GOSI | PDPL |
| HR | 17. Leave Management | PDPL |
| HR | 18. Employee Onboarding | PDPL |
| HR | 19. Attendance-to-Payroll | Audit |
| HR | 20. Expense Reimbursement | Audit |
HR deferred to Tier 3: GOSI integration is complex, lower daily pain than finance workflows.
Why This Phasing Works for Saudi Market
1. Compliance-first Phase 2 locks ZATCA/PDPL before code. Prevents rebuilds.
2. Design as moat Phase 3 dedicated to Experience layer. Most competitors ship functional but ugly. We ship beautiful and compliant.
3. Workflow-complete We don't ship "invoice creation" — we ship "invoice-to-cash" end-to-end. This is the FWCR difference.
4. Docs as code Phases 1-3 produce markdown docs in Git. Version controlled, reviewable, auditable — critical for compliance.
5. Risk reduction 4 months of docs (Phases 1-3) prevents 12 months of rebuilding (common in KSA due to compliance misses).
Related Documents
Appendix: Exhaustive List of Workflows per Department
Accounting & Finance
Core financial operations:
- Chart of Accounts setup & management
- General Ledger entries (manual and automated)
- Bank account management & reconciliation
- Cash flow forecasting
- Month-end closing
- Year-end closing
- Financial statements (P&L, Balance Sheet, Cash Flow)
- Trial balance
- Journal entries & adjustments
- Multi-currency handling
- Intercompany transactions
Accounts Receivable:
- Customer master data management
- Sales invoice creation (ZATCA-compliant)
- Invoice delivery (email, WhatsApp, portal)
- Invoice tracking & status
- Payment collection & recording
- Credit notes & refunds
- Customer statements
- Accounts receivable aging
- Dunning & collections
- Bad debt management
- Advance payments & deposits
Accounts Payable:
- Vendor master data management
- Vendor invoice capture (manual, OCR)
- Purchase invoice validation
- 3-way matching (PO-Receipt-Invoice)
- Payment approval workflows
- Vendor payments (bank transfer, cheque)
- Accounts payable aging
- Vendor statements
- Debit notes
- Advance to suppliers
Tax & Compliance:
- VAT calculation (15% Saudi)
- VAT return preparation & filing
- ZATCA e-invoicing (Phase 2)
- ZATCA reporting & clearance
- Withholding tax
- Zakat calculation
- Audit trail maintenance
- Document retention (PDPL)
Budgeting & Control:
- Budget creation
- Budget vs actual tracking
- Cost center management
- Expense approvals
- Petty cash management
Sales & CRM
Lead Management:
- Lead capture (website, manual, import)
- Lead qualification & scoring
- Lead assignment
- Lead nurturing
- Lead conversion to opportunity
Opportunity Management:
- Opportunity creation
- Quote/Proposal generation
- Pricing & discounts
- Quote approval
- Quote to customer
- Follow-up & reminders
- Opportunity stages tracking
- Win/loss analysis
Order Management:
- Sales order creation
- Order confirmation
- Order fulfillment tracking
- Backorder management
- Order amendments
- Delivery note generation
Customer Management:
- Customer master data
- Customer segmentation
- Customer communication log
- Customer portal access
- Customer feedback & surveys
- Customer support tickets
Sales Operations
- Sales pipeline reporting
- Sales forecasting
- Commission calculation
- Sales targets & tracking
- Territory management
Operations & Procurement
Procurement:
- Purchase requisition
- Purchase order creation
- PO approval workflow
- PO to supplier
- Supplier management
- Supplier evaluation
- Blanket POs
- Purchase contracts
Inventory (for trading):
- Purchase requisition
- Purchase order creation
- PO approval workflow
- PO to supplier
- Supplier management
- Supplier evaluation
- Blanket POs
- Purchase contracts
Receiving & Fulfillment:
- Goods receipt
- Quality check
- Put-away
- Picking & packing
- Shipping & delivery
- Returns (RMA)
Operations:
- Work order management (if light manufacturing)
- Service delivery tracking
- Project tracking
- Resource allocation
HR & Payroll
Employee Management:
- Employee onboarding
- Employee master data
- Document management (Iqama, passport)
- Organization chart
- Employee self-service portal
Attendance & Leave:
- Attendance tracking
- Shift scheduling
- Leave requests & approvals
- Leave balance tracking
- Overtime management
Payroll:
- Salary structure setup
- Monthly payroll calculation
- GOSI calculation & filing
- WPS (Wage Protection System)
- End-of-service benefits
- Payslip generation
- Payroll disbursement
Compliance:
- Labor law compliance
- Saudization tracking (Nitaqat)
- Employee contracts
- Visa & Iqama renewals
- Health insurance
Performance:
- Performance reviews
- Goals & KPIs
- Training management