Introduction
Welcome to the Ohada Lib documentation.
Ohada Lib is a specialized TypeScript library designed to bridge the gap between business operations and OHADA accounting compliance. It allows developers to focus on building features while the library handles the underlying SYSCOHADA logic, transforming simple business events into compliant journal entries.
Welcome to @drcmind/ohada-lib, the professional TypeScript engine for compliant financial management in the OHADA region.
Why @drcmind/ohada-lib?โ
Accounting for the OHADA region (Organisation pour l'Harmonisation en Afrique du Droit des Affaires) involves strict regulations, a specific chart of accounts (SYSCOHADA), and meticulous double-step rules for credit transactions.
Traditional accounting software is often too heavy or disconnected from the developer's workflow. @drcmind/ohada-lib was built with a simple mission:
"OHADA accounting should be simple for every developer."
Core Pillarsโ
- ๐ Performance: A zero-dependency engine weighing only ~70KB. Deploy it on edge functions, mobile apps, or core servers.
- ๐ Compliance: Built-in logic for the Revised SYSCOHADA Standard. Every entry is pre-validated against official rules.
- ๐ง Smart Resolution: Automatically maps business events to the correct account codes. Stop looking up 4111 or 701 manually.
- ๐ก๏ธ Type-Safety: Built with TypeScript to catch logical accounting bugs at compile time, reducing audit risks.
- ๐ Multi-Lingual: Native support for English and French, covering the diverse business landscape of the 17 member states.
Ready to start?โ
Jump into the Getting Started guide to record your first journal entry in minutes.