Overview Workflows AI Assistance Morocco Focus Status & Roadmap Contact Contact Project
Software Project in Active Development • Built for Morocco

Modern Accounting.
Smarter Workflows.

ComptaBase is building an accounting and financial management platform for Moroccan businesses and accounting professionals, combining practical accounting workflows with carefully designed AI assistance.

Moroccan General Accounting Plan (PCGM)
Debit / Credit Equilibrium Validation
Mandatory Human Review for Suggestions
HA — Purchases Journal (October 2026)
Balanced: 14,400.00 MAD
Illustrative demo data — not real company records UI Concept Preview
Entity (Sample) Atlas Trade SARL (Demo Entity)
ICE Number (Sample) 000000000000000 (Fictitious)
VAT Regime (Sample) VAT on Collections (Encaissements)
Voucher / Invoice Ref DEMO-INV-2026-001
Date PCGM Code Account Description Auxiliary / Third Party Debit (MAD) Credit (MAD)
12/10/2026 611100 Purchases of merchandise (Achats de marchandises) — 12,000.00 0.00
12/10/2026 345520 Recoverable VAT on expenses (TVA récupérable) — 2,400.00 0.00
12/10/2026 441100 Operating Suppliers (Fournisseurs) F-DEMO-LOGISTICS 0.00 14,400.00
Balanced Totals: 14,400.00 14,400.00
AI Prototype Assisted entry extraction: Sample invoice detected (Fictitious ICE, Net 12,000 MAD, Applicable VAT).
✓ Mandatory human operator review required before ledger posting
Core Architecture

Rigorous double-entry accounting engineered for accuracy

ComptaBase is being developed to provide Moroccan accounting professionals and SMEs with a reliable, responsive double-entry bookkeeping engine designed around verified journal practices.

Multi-Journal Architecture & Vouchers

Systematic organization across dedicated subsidiary journals (Purchases, Sales, Bank, Cash, and Miscellaneous Operations). Every entry is linked to an auditable supporting voucher.

Moroccan Accounting Plan (PCGM)

Built to structure chart of accounts according to the Moroccan General Accounting Plan (classes 1 through 8), supporting custom sub-accounts and auxiliary third-party ledgers.

Debit/Credit Balance Controls

Architected with real-time arithmetic balance verification before posting. Designed to prevent unbalanced journal entries from committing to the General Ledger.

Operational Capabilities

Workflows designed for accounting practitioners

From daily invoice registration to periodic closing preparation, ComptaBase focuses on optimizing high-frequency accounting tasks.

  • 1

    Fast Entry & Voucher Templates

    Keyboard-centric interface designed for rapid data input without mouse reliance. Quick counterparty selection and automatic tax calculation according to transaction parameters.

  • 2

    Auxiliary Accounts & Lettering (Lettrage)

    Sub-ledger tracking for accounts 4411 (Suppliers) and 3421 (Customers). Manual and semi-automated lettering to match issued invoices with corresponding payments.

  • 3

    Bank Reconciliation Support

    Matching cash and bank journal entries against official bank statements to isolate timing differences, bank fees, and outstanding entries.

  • 4

    Periodic Statements & Closing Preparation

    Generating the General Ledger, 4-column and 6-column Trial Balances, and Auxiliary Balances to assist in periodic fiscal dossier assembly.

Document Processing Lifecycle

1. Document Reception (Invoice / Receipt)
Intake
2. Assisted Extraction (AI Concept)
In Development
3. Operator Review & Accounting Validation
Mandatory
4. Definite Posting to General Ledger
Auditable
AI Concept & Research

AI assistance as an operator copilot, under strict human control

Artificial intelligence must not replace the professional judgment of qualified accountants. In ComptaBase, AI models are designed solely to reduce repetitive data-entry friction while submitting every suggestion to explicit human review.

Planned Document Processing Pipeline

From scanned document to structured entry suggestion

Prototyping Phase
Step 1 • OCR & Document Vision

Key Field Extraction

Optical extraction of total amounts, dates, invoice numbers, and tax identification metadata (ICE, IF).

Step 2 • Context & Accounting Rules

PCGM Account Suggestion

Recommending expense (Class 6) or revenue (Class 7) accounts based on supplier history and PCGM structure.

Step 3 • Mandatory Gatekeeper

Human Verification

The operator verifies, edits, or rejects suggestions. No journal entry is committed to the ledger without explicit user approval.

Professional Responsibility Notice: ComptaBase does not provide autonomous tax, legal, or financial advice. All assistance models serve strictly as data-entry accelerators and reconciliation aids. Final responsibility for accounting accuracy and statutory compliance remains entirely with qualified human operators.
In Development

Assisted Entry Generation

Semi-automated drafting of entry lines for routine recurring suppliers with arithmetic balance controls.

In Research / Prototype

Document OCR Extraction

Evaluating multimodal vision models on Moroccan business invoice layouts to improve ingestion accuracy.

Future Exploration

Natural-Language Inquiries

Exploring conversational summaries of trial balances and account movements for internal inquiries without complex manual filters.

Regional Specialization

Engineered for the Moroccan business landscape

Generic global tools often miss local legal conventions. ComptaBase incorporates Moroccan accounting requirements directly into its core design.

PCGM Standards

Moroccan Accounting Plan

Structured around the Moroccan General Accounting Plan (Classes 1 to 8) as defined by the Conseil National de la Comptabilité (CNC).

VAT / CGI Parameters

VAT Regimes & Logic

Support for Collections (Encaissements) and Accruals (Débits) VAT regimes, distinction between recoverable VAT on charges (account 34552) and fixed assets (34551), and deduction prorata logic. Note: Applicable VAT rates vary according to transaction classification and current provisions of the Moroccan General Tax Code (Code Général des Impôts - CGI). System tax parameters require verification against prevailing fiscal legislation.

ICE • IF • RC • CNSS

Regulatory Identifiers

First-class fields for Moroccan enterprise identifiers: Common Company Identifier (ICE), Tax Identification (IF), Commercial Registry (RC), and CNSS numbers on third-party accounts.

French / Arabic

Ergonomics for Local Teams

Designed for local business ergonomics with support for French and Arabic account labels and reporting descriptors across Moroccan SMEs.

Engineering Transparency

Development Status & Technical Roadmap

ComptaBase is an independent software engineering initiative in active development. We communicate transparently about the operational state of our architecture.

Active Phase 1: Core Ledger Engine

Double-Entry Bookkeeping Core

Double-entry transaction schema, PCGM hierarchical accounts, balance verification logic, subsidiary journal data management, and preliminary trial balance compilation.

Transactional Schema PCGM Balance Controls
Prototyping Phase 2: Third Parties & Lettering

Auxiliary Sub-Ledgers & Lettering (Lettrage)

Auxiliary sub-ledgers for customers and suppliers, invoice-to-payment lettering (lettrage), and aged balance calculation.

Lettering (Lettrage) Auxiliary Ledger Aged Balances
Laboratory Phase 3: Document Ingestion Lab

Multimodal OCR & Vision Extraction

Experimental OCR and multimodal vision pipelines tested against Moroccan invoice samples with synthetic benchmarking and human-in-the-loop review.

Multimodal Vision ICE Validation Human-in-the-Loop
Planned Phase 4: Statutory Reporting & Tax Prep

Statutory Tax Preparation & Exports

Preliminary drafting of VAT declaration worksheets (encaissements/débits) and standardized accounting file export schemas.

VAT Worksheets Fiscal Dossier Export Schemas
Initiative & Application

Claude for Startups Program Application

ComptaBase is exploring how multimodal reasoning models can be integrated ethically, securely, and effectively into financial software for emerging markets, starting with Morocco. Our participation in the Claude for Startups program focuses on advancing a verified "human-in-the-loop" copilot architecture for regional accounting workflows.

Contact Founder View Technical Architecture
Get in Touch

Contact the ComptaBase Project

Whether you are an accounting professional, a Moroccan SME founder, or a member of the Claude for Startups review team, we welcome your feedback on our architecture.

Official Project Address: founder@comptabase.com • Canonical Domain: https://comptabase.com