---
# System prepended metadata

title: V1W1
tags: [OneLeap v1]

---

# V1W1

# Accounting from database POV

###### tags: `OneLeap v1`


# Account
* Assets
    * Current Assets
        * Inventory assets
    * Fixed Assets
        * Cars
            * Pickup truck
            * taxi
            * delivery motorcycles
        * Buildings
* Liabilities
    * Equity
        * first investor equity
        * second investor equity
    * etc
* Expenses
    * Salaries
        * Basic salary
        * bonuses
    * Stationary
    * Rent
    * Bills
    * Taxes
* Income
    * Accrual
    * Cash



# Transaction
* Informational
* Categorization


# Jouranl Entry - basic accounting unit
* Where from and to the currency (basic accounting unit) is transferred
* How much currency is being transferred
* Zero currency should not be recorded ever never, this is critical



# Tasks
* Basic networking and server functionality
* Account is a tree model (Treenode)
    * Finish the account model
    * Finish the transaction model
* Amount in the JE is a currency (Django-Money)
    * Finish the JE model
* Template (Carbon Design System)
* Build a json object with the full account list of the iraqi unified accounting sytem

```json
[
    {
        'code': '000001'
        'name': 'الموجودات'
        'children': []
    }
]
```

