Bhima is a free, open source accounting and hospital information management system (HIMS) tailored for rural hospitals in Africa. We are an international team based in the Democratic Republic of the Congo.
Before delving into the details of each financial module, it is important to keep the overall flow of data in BHIMA in mind.
The above diagram shows the flow of data entry into the system, covering the three basic records in BHIMA: Cash Payments, Patient Invoices, and Journal Vouchers. Each record is backed by a transaction written to the Journal. Through a validation process called the Trial Balance, transactions in the Journal are posted to the General Ledger after which the transaction is unalterable.
All financial activities recorded with BHIMA are represented by two entities:
While the transaction can be modified in the Journal, the original document cannot be modified and preserves a record of the original values as entered into the application. The only exception to this is deletion. If a transaction or record is deleted, both the record and data in the Journal are expunged. Only unposted transactions may be deleted.
Once a transaction is created in the Journal via a Voucher, Invoice, or Cash Payment, the transaction is reviewed by an accountant and posted (verified through the Trial Balance process), after which it will appear in the General Ledger and subsequent reports.
At its heart, BHIMA is a double entry accounting software. In double entry accounting, transactions are composed of two or more lines, each corresponding to a single account. The value moved in or out of the accounts are recorded as either debits or credits. Debits and credits are opposites, but their behavior isn’t always intuitive or well defined. In general, one can consider debits as positive numbers and credits as negative number. This source provides the following definitions (the first one is wrong online and is corrected below):
Debits and credits must balance in a transaction. All things being equal, income accounts will hold a credit balance while expense accounts will hold a debit balance.
The concept of debits and credits is learned through experience and even seasoned accountants mix up their roles. An easy scenario to help sort out confusion is to imagine transactions with a cashbox or bank account.
To put money into the cashbox (an asset account), you debit the cashbox, increasing its value. Since the transaction must be balanced, the opposite side of the transaction must hold a credit value. If it is a client paying their debts, they must have begun the transaction with a **debit** value. Therefore, the invoicing operation must have **debited** the client and credited an income account.