{"repo":"kt3k/moneybit","free":true,"listed":false,"github":"https://github.com/kt3k/moneybit","clone":"git clone https://github.com/kt3k/moneybit.git","description":"A Cli tool for creating the general ledger of a journal https://npm.im/moneybit","language":"JavaScript","stars":13,"topics":["accounting","javascript","cli","general-ledger","journal","balance-sheet","fintech"],"license":"MIT","category":"cli-tools","readme_excerpt":"A Cli tool for creating a general ledger from the journal. How to use First, install the cli via npm: npm i -g moneybit This installs mb command. Then run: mb ledger journal.yml --chart chart.yml This outputs the general ledger in yaml format to stdout according to the given yaml files journal.yml and chart.yml . See the below for details. Journal YAML The journal is the series of trades in chronological order. Each trade should have the following format - id is an arbitrary string and has to be unique in the journal. - date is the date of the trade. - desc is the description of the trade. - dr means the debits of the trade. - dr has at least one account. In this case, it has Cash in bank account with the amount 1000 . - dr can have multiple accounts. - cr means the credits of the trade. - cr has at least one account. In this case, it has Capital account with the amount 1000 . - cr can have multiple accounts. - The total amount of the credits and debits must be the same in a account. Multiple entry journal looks like the following: Each document in a yaml represents a trade. Chart YAML This file defines which account belongs to which major account type. For example, the account Sales belongs Revenue , Cash belongs to Asset etc. The format is like the following: Ledger YAML This is the output of this cli and represents the general ledger. The accounts in the input journal are collected by its account type and its major type. It has the following format. CLI mb ledger The usage","default_branch":null,"files":null,"tree":[],"storefront":"/r/kt3k","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/kt3k/moneybit/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}