Contains implementation for addledger, create and transact actions. I had to include transact implementation here in order to support opening balances for new accounts.
Addledger
It will add a ledger account to the root node
example input:
Create
Creates a new account, and also creates a transaction for the opening balances if any.
Example input without opening balances:
and with opening balances:
Transact
Verifies if the transaction is balance (all postings add to zero) or if there is an implied component.
Contains implementation for addledger, create and transact actions. I had to include transact implementation here in order to support opening balances for new accounts.
It will add a ledger account to the root node
example input:
Creates a new account, and also creates a transaction for the opening balances if any.
Example input without opening balances:
and with opening balances:
Verifies if the transaction is balance (all postings add to zero) or if there is an implied component.
Example input: