epogrebnyak / abacus

A small yet valid double-entry accounting system in Python and command line.
https://epogrebnyak.github.io/abacus/
GNU General Public License v3.0
59 stars 4 forks source link

chart for manufacturing company and assumptions #1

Closed epogrebnyak closed 1 year ago

epogrebnyak commented 1 year ago
chart = Chart(
    assets=["cash", "ar", "raw", "wip", "fg", "ppe"],
    equity=["eq", "re"],
    liabilities=["debt", "ap"],
    income=["sales"],
    expenses=["cogs", "sga", "rd", "interest"],
)
epogrebnyak commented 1 year ago

Chart fo merchandising comapny:

chart = Chart(
    assets=["cash", "ar", "goods"],
    equity=["eq", "pic", "re"],
    liabilities=["debt", "ap"],
    income=["sales"],
    expenses=["cogs", "sga", "interest"],
)

ledger=create_ledger(chart)
ledger.issue_stock_at_par(100)
ledger.accept_paid_in_capital(100)
ledger.register_purchase_invoice(100)
ledger.pay_purchase_invoice(100)
ledger.register_sales_invoice(100)
ledger.register_cost_of_sales(100)
ledger.accept_payment_on_invoice(100)
ledger.register_sga_expenses(100)
ledger.accept_loan(100)
ledger.repay_loan(100)
ledger.accrue_interest(100)
ledger.pay_interest(100)