Pular para o conteúdo

Product (PRD)

Last Updated: 23 March 2026 Version: 2.0


docus.ao is a compliance-grade document management and business readiness platform for Angolan businesses.

It answers ONE question for each document:

“Do we have a valid, current document that satisfies this compliance requirement?”

It does NOT manage the underlying business processes, policies, or assets that generate those documents.


These three pillars are the irreducible core of docus.ao. If any one fails, the product delivers zero value. All other features are derivatives built on top of these.

The system must reliably receive, store, identify, and categorize documents.

  • A file is uploaded and stored securely, scoped to the correct company
  • The document is identified by type (Alvará, NIF certificate, INSS clearance, etc.)
  • It is categorized correctly (Legal, Tax, Social, Operational, Insurance, Fleet, etc.)
  • The file is retrievable and viewable at any time

Without this, there is no product — just an empty shell.

The system must know each document’s validity window and derive compliance status from it.

  • Issue date and expiry date are captured (via OCR or manual entry)
  • Document status is always derived from dates — Compliant, At Risk, or Non-Compliant
  • Users cannot manually override derived status; the dates are the source of truth
  • See DOMAIN_MODEL.md §4.1 for the canonical status model

Without this, docus.ao is a file cabinet. This is what separates it from Google Drive or Dropbox.

The system must actively surface what needs attention — before it becomes a problem.

  • Documents approaching expiry are flagged (At Risk) before they lapse
  • Expired or non-compliant documents are surfaced clearly
  • The dashboard provides an honest, at-a-glance compliance picture
  • Alerts reach users with enough lead time to act

Without this, users must remember to check. They won’t. A passive archive has no compliance value.

Everything built on top of the pillars falls into ordered tiers. Higher tiers must be solid before investing in lower ones.

Tier 1 — Foundation Pillars (described above) The compliance engine works: documents go in, status is derived, problems are surfaced.

Tier 2 — Operational Readiness (Can a real team use this daily?)

ClusterWhat it coversWhy it matters
CRUD CompletenessEdit metadata, delete/restore, versioning/supersession, correct mistakes with audit trailIf a user can’t fix a wrong expiry date, Pillar 2 is broken in practice
Delivery & CommunicationEmail notifications, configurable alert thresholds, invitations, activity feedAlerts that only exist in-app are worthless — the product must go to the user
Navigation & FindabilitySearch, category filters, sorting, dashboard signal, reportsWith 50+ documents across 8 categories, the product is unusable without this
Team & AccessAuthentication, multi-tenancy, user invitation, roles & permissions, audit trailA single-user tool has limited value; a multi-user tool without isolation is a liability

Tier 3 — Value Multipliers (What makes the product compelling?) Smart Packs, OCR auto-extraction, PDF export, compliance resolution flow, duplicate detection, custom document types, knowledge base. These multiply the value of Tiers 1+2 but are not required for basic compliance tracking.

Tier 4 — Polish & Delight (What makes the product excellent?) Favorites, timeline visualizations, advanced reporting, bulk operations, mobile-optimized workflows, offline support.

Prioritization rule: Any bug or regression in a higher tier takes precedence over feature work in a lower tier.


  • Upload, store, and organize regulatory documents by category and type
  • Track document validity and expiry with derived compliance status
  • Monitor compliance across 8 categories (Legal, Tax, Social, Operational, Insurance, Fleet, Commercial, Personnel)
  • Receive proactive renewal alerts at configurable thresholds
  • Maintain audit-ready document organization with full audit trail
  • Assemble scenario-based Smart Document Packs with nested hierarchy
  • Demonstrate compliance for tenders, financing, partnerships, audits
  • Calculate document readiness percentages with per-item validity requirements
  • Export professional PDF bundles and bulk ZIP downloads
  • Resolve compliance blockers through guided resolution flow

Pricing model: See BUSINESS_STRATEGY.md § Revenue Model for progressive per-entity pricing, cost structure, and financial projections.

  • 40+ system document types with Angolan regulatory context, plus custom types
  • OCR auto-extraction of metadata from uploaded documents (dates, numbers, authorities)
  • Knowledge base with contextual guidance during upload and from document lists
  • Track issuing authorities and typical validity periods
  • Bilingual interface (Portuguese-Angola primary, English secondary)
  • Track documents per person (passports, IDs, certifications) with country of issuance
  • Assign compliance roles to personnel (CEO, CFO, HR, Compliance, Legal, custom)
  • Link personnel documents to Smart Packs with jurisdiction requirements
  • Multi-tenant data isolation with explicit company_id filtering and RLS
  • Unified seat model (billing) + four-role hierarchy (in-app). Billing uses a single Internal Users quota; each user is one seat regardless of role. External pack-share recipients are a separate concept and do not consume seats — see SMART_PACK_SHARED_VIEWER.md.
    • Administrator (admin): Full access including company settings, billing, invites, and alert configuration. SMS on by default.
    • Manager (manager): Full document CRUD, applicability, and Smart Pack management. SMS off by default (admin opt-in per user).
    • User (user): Upload and view documents, soft-delete own uploads. SMS off by default (admin opt-in per user).
    • Monitor (monitor): Read-only compliance monitoring with download and Smart Pack export (all actions audit-logged). SMS off by default (admin opt-in per user). Renamed from Viewer 2026-04-19 — see DECISIONS.md § DEC-033; code-side rename tracked in SPRINT_SOW.md.
  • User invitation flow with email verification
  • Deletion audit trail that persists beyond hard delete
  • Every download and export logged in audit trail (who, when, which documents)

Status: Design only. Not for pilot launch. Implementation target: Y2 at the earliest, after product-market fit validation and structured support processes.

The free tier provides full platform access scoped to company-level documents only. It is not a feature-gated trial — all features are available, but entity tracking is disabled.

Included:

  • Up to 50 company-level documents (Alvara, NIF, INSS clearance, AGT certificates, and all other company-scoped document types)
  • Full compliance dashboard with document status tracking
  • OCR auto-extraction on uploads
  • Knowledge base access
  • Email alerts for expiring documents
  • 2 Internal Users (any role assignment)
  • Smart Pack template browsing (read-only: can view templates and see which documents are missing, but cannot export PDF/ZIP)

Excluded:

  • Tracked entities (people, vehicles, equipment, properties): 0 quota
  • Smart Pack PDF and ZIP export
  • SMS alerts
  • Additional Internal User seats beyond the 2-seat free allocation

Mandatory branding: All exports and shared links from free accounts carry non-removable docus.ao branding. Paid levels can remove branding.

Conversion mechanism: Smart Pack templates require person-level documents (shareholder IDs, manager identification, criminal record certificates) that are tied to tracked entities. Without entities, these documents cannot be uploaded, and Smart Packs display structural gaps — a natural, non-punitive upgrade trigger.


Built on the Foundation Pillars, the product delivers these features:

Document Management — Unified view of all documents by category and type. Bulk actions, status tracking, filtering, and the single source of truth for compliance status. → DOCUMENTS_CONSOLIDATION.md

Compliance Alerts — Automated monitoring of document expiry dates with configurable thresholds and proactive notifications. → COMPLIANCE_ALERTS.md

Document Versioning — Lightweight versioning for recurring documents. Shows current version by default while preserving full history. Supersession flow for replacements. → DOCUMENT_VERSIONING.md

Smart Packs — Transform scattered regulatory documents into organized, professional bundles for any business scenario (bank loans, government tenders, partnerships, compliance audits). Supports nested pack hierarchy. → SMART_PACKS.md

Smart Pack PDF Export — Generate downloadable PDF bundles with professional formatting, cover pages, and document indices. → SMART_PACK_PDF_EXPORT.md

Compliance Resolution Flow — Guided modal interface for resolving compliance issues that block Smart Packs. → COMPLIANCE_RESOLUTION_FLOW.md

OCR Document Recognition — Client-side auto-extraction of metadata (document number, dates, issuing authority) from uploaded PDFs and images. Registry of patterns for Angolan document types. → OCR_DOCUMENT_RECOGNITION.md

Knowledge Base Access — Contextual information about Angolan document types, requirements, and issuing authorities. Available during upload and from document lists. → KB_ACCESS_POINTS.md

Duplicate Detection — Hybrid detection using SHA-256 file hashing and OCR metadata matching to prevent duplicate uploads. → DOCUMENT_DUPLICATE_DETECTION.md

Custom Document Types — Companies can create their own document types beyond the 40+ system defaults, with validity tracking and Smart Pack integration. → CUSTOM_DOCUMENT_TYPES.md

Personal Documents — Track personal/personnel documents with country of issuance support for multi-nationality scenarios. → PERSONAL_DOCUMENTS.md

Personnel Roles — Assign compliance roles to personnel with multi-country ID document recognition. → PERSONNEL_ROLES.md

User Roles & Permissions — Unified Internal Users billing (one seat per user, role-agnostic) with a four-role hierarchy assigned in-app: admin, manager, user, monitor. RLS-backed data isolation with UI enforcement. Admins own settings, billing, and SMS defaults; managers run document CRUD; users upload and view; monitors have read-only access with logged downloads and Smart Pack exports. External pack-share recipients are a separate, non-seat concept — see SMART_PACK_SHARED_VIEWER.md. Full capability matrix: USER_ROLES_PERMISSIONS.md. Billing rationale: BUSINESS_STRATEGY.md § User Roles & Billing. → USER_ROLES_PERMISSIONS.md

Email Infrastructure — Transactional email via SMTP2Go for compliance alerts, welcome emails, and user invitations. → EMAIL_INFRASTRUCTURE.md

Recycle Bin — Safe deletion with recovery. Soft-deleted documents can be restored or permanently removed. → RECYCLE_BIN.md

Deletion Audit Log — Permanent audit trail for deleted documents that persists even after hard delete. → DELETION_AUDIT_LOG.md

Storage File Naming — Standardized storage format ({SHORT_CODE}_{YYYYMMDD}_{hash8}.{ext}) while preserving original filenames. → STORAGE_FILE_NAMING.md

Dashboard — At-a-glance compliance overview with status metrics, expiring documents widget, activity feed, and compliance trends.

Reports — Compliance reporting with category breakdowns and exportable data.

Global Search — Cross-entity search across documents, types, and metadata.


CategoryExamplesWhat We Track
LegalCommercial license (Alvará), Registry, Articles of AssociationValidity, expiry, reference numbers
TaxTax clearance (AGT), NIF certificate, tax returnsIssue date, validity period
SocialINSS certificates, social security clearanceValidity, compliance status
OperationalISO certifications, Environmental permitsCertification dates, renewal
InsuranceLiability, Workers’ Comp, vehicle insuranceCertificate validity (NOT premiums/claims)
FleetVehicle registration, Inspection certificatesDocument validity per vehicle
CommercialContracts, commercial certificates, trade licensesValidity, reference numbers
PersonnelPassports, IDs, driving licenses, certificationsDocument validity per person, country of issuance
InstitutionalCompany presentation, project portfolioDocument freshness (no hard expiry)

Full details: architecture/PRODUCT_SCOPE.md


docus.ao IS NOT:

Not ThisBecause
Insurance policy managementWe track certificates, not premiums/claims/beneficiaries
Fleet/asset managementAssets are document anchors only, not operational management
Financial systemNo payments, invoices, or accounting
Full DMS/ECMNo approval workflows or collaborative editing (we do have lightweight versioning for document renewals)
HR systemPersonnel are document anchors, not employee management
Generic file storageEvery file must be a typed, categorized compliance document

Full boundaries: architecture/PRODUCT_SCOPE.md


Before adding a feature, ask:

  1. Does it help answer “Do we have a valid document?”

    • Yes → In scope
    • No → Likely out of scope
  2. Does it require managing a business process?

    • Yes → Out of scope
    • No → Potentially in scope
  3. Does it require storing non-document data?

    • Yes → Evaluate carefully; probably out of scope
    • No → Potentially in scope
  4. Would a dedicated system do this better?

    • Yes → Out of scope (integrate instead)
    • No → Potentially in scope

AttributeValue
PhasePre-Pilot (feature-complete for core workflows)
Live URLhttps://app.docus.ao
HostingCloudflare Pages (since March 2026)
BackendSupabase (PostgreSQL, Auth, Storage, Edge Functions)
EmailSMTP2Go (transactional), Exchange (inbound @docus.ao)
MobileCapacitor 7 (iOS + Android) — build-ready, not yet published
LanguagesPortuguese-Angola (primary), English (secondary) via react-i18next
FocusBug fixes, accessibility (WCAG 2.1 AA), i18n coverage, security hardening
Known Issues30+ tracked in BUGS.md; critical: BUG-005, BUG-006, BUG-010

What we say:

  • “Never miss a renewal deadline”
  • “Business-ready document packages in minutes”
  • “Compliance confidence for Angolan businesses”

What we don’t say:

  • “Manage your insurance policies”
  • “Full fleet management”
  • “Complete business management”

Positioning: docus.ao is the document compliance layer that sits alongside (not replaces) your existing business systems.


Architecture:

Design & UX:

Operations:

  • PILOT_READINESS.md — Tier-by-tier readiness assessment (start here for current health)
  • BUGS.md — Bug tracker with severity and status
  • PLAN.md — Active sprint work tracker
  • TECH_PLAN.md — Technical conventions and stack decisions
  • DECISIONS.md — Architecture decision log
  • features/ — Detailed specs for all features (20+ documents)