تخطَّ إلى المحتوى
ARRANTO

FatooraLite Pro — Master Product Documentation Suite

This folder is the single source of truth for what FatooraLite Pro is, how every feature behaves, and the technical specifications governing ZATCA Phase-2 compliance.

💡 Browsable Web Portal: Run npm run docs:build inside fatooralite/ and open docs/portal/index.html to browse this complete documentation suite as a responsive, offline-ready HTML site with dark/light mode support.


Master Documentation Index

#DocumentTarget Audience & Purpose
00Executive Summary & Product ArchitectureExecutive overview of business model, regulatory problem, customer personas, and differentiators.
01Product Requirements Document (PRD)Core product requirements: vision, user personas, module scope, and success metrics.
02Enterprise System Architecture ReferenceTech stack, multi-tenant isolation, Prisma/Neon Postgres schema, crypto subsystem, and RAG vector store architecture.
03User Flows & System NavigationStep-by-step user journeys (signup, onboarding wizard, daily invoicing, clearance, AI dock).
04Functional SpecificationComprehensive module specifications, REST API endpoint schemas, and status state machines.
05Feature DocumentationDeep breakdown of each functional module (Invoices, Customers, Products, RBAC, Subscriptions).
06Gap AnalysisArchitectural evolution and historical mock inventory resolution log.
07RoadmapPhased development roadmap with acceptance criteria and delivery milestones.
08Remaining WorkArchive of completed development tasks and verification checklists.
09Deployment & Disaster Recovery GuideStep-by-step production deployment guide, environment secrets, and Neon PITR backup/restore drills.
10AI Layer & RAG ArchitectureOpenRouter streaming integration, pgvector RAG search, system prompts, and tool calling.
11Onboarding Pipeline HandoffAutomated ZATCA CSID issuance pipeline (CCSID → compliance checks → PCSID).
12Master RoadmapStrategic vision, future feature backlogs, and priority items.
13Production Readiness Report18-category production readiness audit report with detailed bug fix verification.
14Business Administration & Operations ManualNon-Developer & Business Manual: Step-by-step 5-minute setup guide, National Address rules, ZATCA OTP guide, RBAC, and AI commands.
15ZATCA Phase-2 Technical & Integration GuideTechnical Compliance Spec: UBL 2.1 XML schema, ECDSA secp256k1 keys, XAdES C14N-11, TLV QR code, and REST API clearance.

Domain: Saudi Arabia ZATCA "Fatoora" Phase-2 (Integration Phase) E-Invoicing Compliance.
Product Status: Fully implemented, security-hardened, and cryptographically verified.