Welcome to The Tree Capital
This platform helps you manage the full lifecycle of your projects — from creating contracts and tracking transactions to automating accounting entries, inventory movements, and payment workflows.
Register → Log In → Create a Project → Set up Accounts → Add a Bank Account → Register Counterparties → Create a Contract → Add Transactions & Items → Advance through Stages → Review Accounting & Inventory.
1. Registration
Before you can use the platform you must create an account. Each user is associated with a Counterparty — this is your identity within the system and determines what you can see and do.
Step-by-Step
- Navigate to the Register page from the login screen.
- Fill in your username, email address, and choose a secure password (minimum 8 characters, including letters and numbers).
- Provide your full name — this will be used as your Counterparty name across contracts and transactions.
- Click Register. You will receive a confirmation email if email verification is enabled. Otherwise you will be redirected to the login page.
2. Logging In
- Go to the Login page and enter your username and password.
- After a successful login you will land on the Dashboard. If you belong to multiple projects, select the active project from the project selector in the top navigation bar.
- If you forget your password, click "Forgot password?" on the login page and follow the email instructions to reset it.
3. Creating a Project
A Project is the top-level container for all your data. Every contract, transaction, account, and report belongs to exactly one project. You must create or be assigned to a project before doing anything else.
How to Create a Project
- From the dashboard, click Projects → New Project in the navigation menu (admin permissions required).
- Enter the Project Name, Location, and a brief Description.
- Set the project Rating (1–10) to indicate priority or risk level.
- Click Save. The project will appear in your project selector. Make sure to activate it by selecting it from the top navigation bar.
Tip
You can switch between projects at any time using the project selector. All views, reports, and data will update to reflect the active project.
4. Setting Up the Chart of Accounts
The Chart of Accounts defines all the ledger accounts used for double-entry bookkeeping within your project. You must create accounts before any automated accounting entries can be generated.
Creating an Account
- Navigate to Accounting → Chart of Accounts.
- Click New Account.
-
Fill in the required fields:
- Account Number — e.g. 1000, 2100, 5000
- Account Name — e.g. Cash, Accounts Payable, Cost of Goods Sold
- Hierarchy Level 1 & 2 — for grouping in reports (e.g. Assets → Current Assets)
- Credit / Debit — the natural balance direction (D for assets/expenses, C for liabilities/income)
- Alias — a short code for quick reference
- Assign the account to one or more Projects. Leave blank to make it globally available.
- Click Save.
Typical Account Structure
| Account # | Name | Type | Dr / Cr |
|---|---|---|---|
| 1000 | Cash & Bank | Asset | D |
| 1200 | Inventory | Asset | D |
| 2100 | Accounts Payable | Liability | C |
| 4000 | Revenue | Income | C |
| 5000 | Cost of Goods Sold | Expense | D |
5. Bank Accounts
A Bank Account links your real-world banking details to the platform. This enables bank statement imports, payment tracking, and cash management.
Adding a Bank Account
- Navigate to Accounting → Bank Accounts.
- Click New Bank Account.
- Enter the Bank Name, IBAN / Account Number, Currency, and link it to the corresponding Ledger Account (e.g. account 1000 — Cash & Bank).
- Click Save.
Bank Statement Import
Once a bank account is created you can import statements in CSV or MT940 format. Go to Accounting → Import Statement, select the bank account, upload the file, and the system will parse and reconcile the movements automatically.
6. Counterparties
A Counterparty represents any person or organisation you do business with — suppliers, clients, subcontractors, etc. Every contract requires a counterparty and a manager (who is also a counterparty).
Adding a Counterparty
- Go to Projects → Counterparties → New.
- Enter the Name and set the Approval Capacity — this is the maximum monetary value this counterparty is authorised to approve in a single transaction.
- Assign the counterparty to one or more Projects.
- Click Save.
7. Contracts
A Contract is a formal agreement with a counterparty. It groups one or more transactions and defines the overall time frame and commercial terms.
Creating a Contract
- Navigate to Projects → Contracts → Create Contract.
-
Fill in the form fields:
- Contract Number — a unique identifier (e.g. PO-2026-001)
- Name — descriptive label
- Contract Type — e.g. Purchase Order, Sales Agreement, Service Contract
- Counterparty — the business partner
- Manager — the internal person responsible
- Start Date / End Date — the contract validity period
- Click Save. You will be redirected to the contract detail page where you can add transactions.
Updating a Contract
To modify an existing contract (e.g. extend its end date), open the contract and click Edit. Common updates include:
- Extending the contract period (e.g. from 1 year to 2 years)
- Changing the counterparty or manager
- Fanning out a recurring transaction into individual one-time events
8. Transactions
A Transaction represents a single commercial event within a contract — for example, a monthly delivery of goods, a one-time service payment, or a quarterly rental charge.
Transaction Frequency
| Frequency | Description | Use Case |
|---|---|---|
| ONE_TIME | Occurs once | Single delivery, one-off payment |
| MONTHLY | Repeats every month over the transaction period | Recurring rent, monthly supply orders |
| QUARTERLY | Repeats every 3 months | Quarterly service fees |
| YEARLY | Repeats every year | Annual license, insurance |
Adding a Transaction
- Open the contract and click Add Transaction.
- Select the Transaction Type (e.g. Purchase, Sale). This determines which stage workflow will apply.
- Choose the Frequency and set the Start / End Date.
- Give the transaction a descriptive Name and click Save.
Contract Total
The Contract Total is the sum of all its transactions. For recurring transactions (Monthly, Quarterly, Yearly), the total is the per-period amount multiplied by the number of periods. For example, a Monthly transaction of €1,000 over 12 months contributes €12,000 to the contract total.
9. Assets & Recipes
Assets are the catalogue of everything your project buys, sells, produces, or consumes. Every Transaction Item must reference an Asset, so you need to set up your asset catalogue before creating transactions.
Asset Types
Each asset belongs to a type that determines its default ledger account, inventory behaviour, and how it appears in reports.
| Type | Description | Default Account | Tracked in Inventory? |
|---|---|---|---|
| Raw Material | Purchased inputs consumed in production (e.g. steel, timber, chemicals) | 1310 | Yes |
| Work In Progress | Partially assembled or manufactured goods | 1320 | Yes |
| Final Product | Finished goods ready for sale or delivery | 1330 | Yes |
| Property | Buildings and structures | 1510 | Fixed asset |
| Plant | Heavy machinery and production equipment | 1520 | Fixed asset |
| Equipment | Tools, devices, and smaller machinery | 1520 | Fixed asset |
| Land | Land plots and terrain | 1570 | Fixed asset |
| Service | Labour, consulting fees, transport, professional services | 1910 | No |
| Deposit | Security deposits and guarantees | — | No |
| Advanced Payment | Pre-payments to suppliers before goods or services are received | — | No |
| Insurance | Insurance policies and premiums | — | No |
Creating an Asset
- Navigate to Projects → Assets → New Asset.
- Select the Asset Type from the dropdown (Raw Material, WIP, Final Product, Service, etc.).
- Enter the Asset Name (e.g. "Portland Cement") and the Unit of Measurement (e.g. "kg", "m³", "pcs", "hour").
-
Optionally assign:
- Asset Account — the balance-sheet account where this asset's value is tracked. If left blank, the system auto-assigns the default account based on the asset type (see table above).
- P&L Account — the expense account used when this asset is written off, consumed, or revalued (defaults to account 6400 for inventory types).
- Tax Code — the default VAT / tax rate applied when this asset appears on a transaction item. This saves time when adding items — the tax is pre-filled automatically.
- Project — tie the asset to a specific project. Assets without a project are available across all projects.
- Hierarchy Level 4 — an optional classification tag for grouping assets in reports.
- Click Save. The asset is now available in the Transaction Item dropdown.
Recipes (Bill of Materials)
A Recipe defines the bill of materials for a manufactured or assembled product. It specifies which component assets (and how much of each) are consumed to produce one unit of a product asset.
Example: Wooden Chair
2.50 m³
16 pcs
0.30 litres
1.50 hours
Creating a Recipe
- Navigate to Projects → Recipes → New Recipe.
- Select the Product — the asset being produced (typically a Final Product or WIP asset).
- Select the Component — the raw material, sub-assembly, or service consumed.
- Enter the Amount — how many units of the component are needed to produce one unit of the product. The component unit is filled in automatically from the component asset's unit.
- Optionally assign the recipe to a Project. Recipes without a project are available globally.
- Click Save. Repeat for each component in the bill of materials.
How Recipes Affect Inventory
When a stage with the create_inventory flag is triggered on a
transaction whose item references a product with recipes,
the system automatically:
-
Creates a positive StockMove for the finished product
(
RECIPE_IN) — adding it to inventory. -
Creates negative StockMoves for each component
(
RECIPE_OUT) — consuming them from inventory in the quantities defined by the recipe, multiplied by the transaction item's amount.
Recipe Inventory Example
| StockMove | Asset | Cause | Qty | Unit | Direction |
|---|---|---|---|---|---|
| 1 | Wooden Chair | RECIPE_IN |
+10 | pcs | Inbound |
| 2 | Timber | RECIPE_OUT |
−25.00 | m³ | Outbound |
| 3 | Wood Screws | RECIPE_OUT |
−160 | pcs | Outbound |
| 4 | Varnish | RECIPE_OUT |
−3.00 | litres | Outbound |
| 5 | Assembly Labour | RECIPE_OUT |
−15.00 | hours | Outbound |
| Transaction item: 10 pcs of Wooden Chair. Recipe amounts are multiplied by 10 (e.g. 2.50 m³ × 10 = 25.00 m³ of Timber consumed). | |||||
How Assets Connect to Transaction Items
When you add a Transaction Item (see Section 9), the Asset dropdown lists all assets available for the active project. The selection determines:
Tax Code
The asset's default tax code is pre-filled on the item. You can override it per line.
Inventory
When the create_inventory flag fires, StockMoves are
created for this asset with the item's quantity and price. If the
asset has recipes, components are consumed too.
Accounting
The asset's Asset Account and P&L Account are used by certain stage flags to post item-level accounting entries to the correct ledger accounts.
Asset
catalogue item
Transaction Item
qty × price
Stage Flag
triggers action
10. Transaction Items
Transaction Items are the line items that make up a transaction. Each item specifies an Asset (what you are buying or selling), a Quantity, and a Unit Price.
Adding Items
- Open the transaction and scroll to the Items section.
- Click Add Item.
- Select the Asset from the catalogue, enter the Amount (quantity) and the Price (per unit).
- The Line Total (Amount × Price) updates automatically. Click Save.
100*1.05 or
500/3). The system evaluates the expression and stores the
result.
Example
| Asset | Amount | Price | Line Total |
|---|---|---|---|
| Steel (kg) | 500 | €2.40 | €1,200.00 |
| Transport (trip) | 1 | €350.00 | €350.00 |
| Transaction Total | €1,550.00 | ||
11. Transaction Stages
Stages represent the workflow steps that a transaction goes through — from creation to final payment. Each stage can trigger automated actions (called flags) such as posting accounting entries or creating inventory movements.
Typical Stage Workflow
Draft
Goods Received
Invoice Verified
Payment Released
Adding a Stage
- Open the transaction and click Add Stage (or use the stage progression panel).
- The system will present the next available stage based on the transaction type's stage definitions. Select it and confirm.
- If the stage has flags (automated actions), they will execute immediately — creating accounting entries, inventory moves, or payment records as configured.
- The latest stage displayed on the transaction will update to reflect the new status.
Removing a Stage
- Click the Remove Stage button next to the stage you wish to delete.
- If the stage had flags that created accounting entries, the system will generate reversal entries automatically (debit ↔ credit are swapped) to maintain double-entry integrity.
- The latest stage indicator will revert to the previous stage.
Example: Stage Lifecycle on a Purchase
| Step | Action | Stages on Transaction | Automated Result |
|---|---|---|---|
| 1 | Add Stage 0 (Draft) | 0 | None — Draft has no flags |
| 2 | Add Stage 1 (Goods Received) | 0 1 | Inventory created + Accounting entry: Dr Inventory / Cr Payable |
| 3 | Add Stage 2 (Invoice Verified) | 0 1 2 | Accounting entry: Dr Payable / Cr Cash |
| 4 | Remove Stage 2 | 0 1 | Reversal entry: Dr Cash / Cr Payable (stage 2 undone) |
| 5 | Add Stage 2 again | 0 1 2 | Accounting entry: Dr Payable / Cr Cash (re-posted) |
| 6 | Add Stage 3 (Payment Released) | 0 1 2 3 | Accounting entry: Dr COGS / Cr Cash |
12. Stage Flags (Automated Actions)
Each stage definition can have one or more flags — these are automated actions that execute when the stage is added to a transaction. Flags are configured by administrators on the Stage definitions.
Available Flags
| Flag | What It Does | Requires |
|---|---|---|
post_accounting_entries |
Creates double-entry accounting records. The debit and credit accounts, along with the percentage of the transaction total, are defined on the stage. | Debit account, Credit account, Percentage |
create_inventory |
Creates StockMove records for each transaction item's asset, updating inventory quantities and valuations. | Transaction items with assets |
generate_invoice |
Generates a PDF invoice and optionally emails it to the counterparty. | Counterparty email configured |
send_notification |
Sends an email notification to the relevant parties (manager, counterparty) about the stage change. | Email settings configured |
How Flags Are Configured
Flags are set on the Stage definitions (admin-only) within each Transaction Type. Each stage can define up to three pairs of debit/credit accounts with corresponding percentages:
- acc_1D / acc_1C / pct_1 — Primary entry pair
- acc_2D / acc_2C / pct_2 — Secondary entry pair (optional)
- acc_3D / acc_3C / pct_3 — Tertiary entry pair (optional)
The percentage determines what portion of the transaction total is used for
the entry. A value of 1.00 means 100% of the transaction total.
13. Accounting Entries
The platform uses double-entry bookkeeping. Every accounting record has exactly one debit entry and one credit entry of equal value, ensuring the books always balance.
How Entries Are Created
-
A stage with the
post_accounting_entriesflag is added to a transaction. - The system reads the stage's debit account, credit account, and percentage.
- It computes the entry amount: Amount = Transaction Total × Percentage.
-
Two accounting records are created:
- One with the amount in the Debit column
- One with the amount in the Credit column
Reversal Entries
When a stage is removed, the system creates reversal entries — identical records but with debit and credit swapped. This maintains an accurate audit trail: the original entries are never deleted.
14. Inventory Management
Inventory tracking is handled via Stock Moves. When a stage
with the create_inventory flag is triggered, the system creates
a StockMove record for each transaction item.
What Gets Recorded
| Field | Source |
|---|---|
| Asset | From the Transaction Item's asset |
| Quantity | From the Transaction Item's amount (positive = inbound, negative = outbound) |
| Unit Cost | From the Transaction Item's price |
| Counterparty | From the contract's counterparty (supplier) |
| Project | The active project |
| Date | The date the stage was applied |
Tip
Use Recipes to define bill-of-materials for manufactured or assembled assets. When a recipe-based asset's inventory is created, the system can automatically consume the component raw materials.
15. Approval Workflow
Certain actions require approval before they take effect. The platform uses a Pending Approval system based on each counterparty's Approval Capacity.
Actions That May Require Approval
Create new transactionEdit transactionDelete transactionAdd / remove stageAdd / change / delete itemUpdate contract
How It Works
- A user initiates an action (e.g. adding a stage).
- The system checks whether the transaction value exceeds the user's Approval Capacity.
- If it does, a Pending Approval record is created instead of executing the action immediately. The action's details are stored as JSON data.
- A user with sufficient capacity reviews the pending item and either approves or rejects it.
- On approval, the action is executed. On rejection, it is discarded.
16. Reports & Dashboards
The platform provides several views to help you monitor your project:
Dashboard
Overview of all contracts, their totals, and current stage status.
Accounting Journal
Full ledger of all double-entry records with filtering.
Inventory Report
Current stock levels, movements, and valuations by asset.
Cash Flow
Cash movements, bank reconciliation, and forecasts.
Frequently Asked Questions
total_full) is the sum of all
transaction totals. For recurring transactions, the per-period amount
is multiplied by the number of periods. For example: a Monthly
transaction of €1,000 over 12 months contributes €12,000 to the
contract total.