# Kaffeeservice Demo Wien: set-up and simulation plan

> **Gamma ERP business simulation.** A plan for Claude (Claude Code with the Gamma ERP connector) to set up a made-up business in your own Gamma ERP, enter its work and show the reports. Everything runs on your computer; all names and numbers are invented. Gamma ERP is open source (AGPL-3.0): https://github.com/Gamma-Wallet/GammaERP. More simulations: https://blog.gamma-wallet.com/en/erp/simulations

The full plan for setting up and simulating a small office coffee service in Vienna, Austria, in the local Gamma ERP, through Claude and a connector for its company. The company rents coffee machines to offices, supplies the capsules and milk powder, and services the machines. The same logic as the other plans applies: one step at a time, a table before every change, a yes before every change and before every posting.

This plan tests:
- **Contracts with billing plans:** each office has a 24-month contract, billed monthly (machine rent plus a capsule allowance). The invoice run makes the month's draft invoices, and a contract ending soon is renewed.
- **Machines at the client:** each machine is the company's **fixed asset** with a **serial number**. It sits at the client's office and keeps depreciating. One machine is sold to a client at the end of its rental: a **sale of a fixed asset** at its book value.
- **Foreign currency in CHF:** the machines are bought from a Swiss maker in Swiss francs, at the day's rate, and paid in CHF.
- **Unit conversion:** capsules bought by the carton (10 boxes of 50) and delivered by the box.
- **Offers → contracts:** a new office gets an offer, which becomes a contract when accepted.
- **CRM:** opportunities on the pipeline.
- **Repairs:** a broken machine goes through the repairs board (intake, offer, accepted, bill).

## 1. Where it runs

| Item | Value |
|---|---|
| ERP screens | http://127.0.0.1:8090 |
| Claude connector (new) | `gamma-erp-kaffee` → `http://127.0.0.1:8090/mcp`, signed in as `kaffee.owner` |
| Company | Kaffeeservice Demo Wien, code `KAFFEEWIEN`, Austrian pack, currency EUR |
| Credentials | `kaffee-credentials.txt` in the working folder. Never repeat a password or token in chat |

## 2. Rules for the session

1. Use only the `mcp__gamma-erp-kaffee__*` tools (or the same server over HTTP, see the install section). `list_workplaces` must answer `KAFFEEWIEN`.
2. Before every change, show a table and wait for a yes; then `confirm=true`. Posting, depreciation journals and the invoice run's posted invoices are final: say so before asking.
3. Nothing is deleted; read the guide (contracts, documents (contracts, flows), fixed assets, stock (serial numbers, convert stock), currencies-and-payments, repairs, crm) instead of guessing.
4. What the ERP can't do goes on the "Missing / not possible" list (section 16).
5. Show each week's drafts as one group; post only after a yes. The Austrian chart keeps German account names.

## Install the ERP and run everything in one go

These steps are for a Claude Code session on the user's computer, with a shell and Docker. In one run Claude installs Gamma ERP (if it isn't running yet), makes the company, connects itself to it, and then inserts the sample data of this plan, step by step. Nothing is sent outside this computer: the ERP runs on 127.0.0.1 only.

### What it needs

| Need | Check |
|---|---|
| Docker Desktop (or Docker Engine with Compose v2), running | `docker compose version` |
| Git, or a way to download two files from GitHub | `git --version` |
| Free ports 8090 (screens, API, MCP) and 5433 (database) on 127.0.0.1 | `curl -s http://127.0.0.1:8090/health` answers nothing yet, or "Healthy" if the ERP is already there |
| About 2 GB of disk for the images and the database | – |

### One yes first

Before doing anything, Claude shows the user this whole section as one plan (install, company, connector, then the data steps) and asks for one yes. Making the company can't be undone (the ERP deletes nothing), so it is named in that question. **One-go mode:** if the user answers "do it all", that one yes covers every set-up step of this plan; Claude still shows each step's table as it goes, stops on any refusal, and asks again before each posting group (posting is final).

### 1. Install the ERP (skip if it already answers "Healthy")

```sh
# a folder of its own, e.g. ~/gamma-erp
git clone --depth 1 https://github.com/Gamma-Wallet/GammaERP.git gamma-erp
cd gamma-erp/deploy
cp .env.example .env
```

Then set `.env` for a local install (edit the file; on Windows use the editor or PowerShell, not `sed -i`):

| Setting | Local value |
|---|---|
| `ERP_TAG` | `gamma` (the latest release) |
| `POSTGRES_PASSWORD` | a long random password (generate it; keep it only in `.env`) |
| `AUTH_REDIRECT_URI` | `http://127.0.0.1:8090/signed-in` |
| `AUTH_REQUIRE_HTTPS` | `false` (local test, no TLS) |
| `MCP_RESOURCE` | `http://127.0.0.1:8090/mcp` |
| `AUTH_SIGNING_CERTIFICATE`, `AUTH_ENCRYPTION_CERTIFICATE`, `AUTH_CERTIFICATE_PASSWORD` | empty (without certificates a restart signs everyone out, which is fine locally) |
| `MAIL_HOST` | empty (e-mail off) |

```sh
docker compose up -d                 # pulls the images from ghcr.io; if the pull is refused, use: docker compose up -d --build
curl -s http://127.0.0.1:8090/health # wait until it answers "Healthy" (the first start runs the migrations: up to a minute)
```

If the ERP is already installed in another folder, use that folder's `deploy` directory for the commands below (`docker ps` shows the containers `gamma-erp-web-1`, `gamma-erp-erp-1`, `gamma-erp-db-1`).

### 2. Make the company (skip if it already exists)

```sh
docker compose exec erp dotnet /app/Gamma.Erp.Api.dll create-company --company "Kaffeeservice Demo Wien" --code KAFFEEWIEN --country AT --username kaffee.owner --activity GENERAL
```

It prints three lines: `Company … made, … configuration rows loaded. kaffee.owner is its administrator.`, then `First password: …` and `First Claude token: GE_…`. Both secrets are shown only once:
- Save them in `kaffee-credentials.txt` in the working folder (not in the project, never in git), and never repeat them in chat.
- Tell the user where the file is: the password is for signing in at http://127.0.0.1:8090, and must be changed at the first sign-in.

"Refused: … already …" means the user name or company is already there: don't make it again. Ask the user for that company's Claude token, or make a new token for `kaffee.owner` on the screens (account menu › Claude tokens).

### 3. Connect Claude to the company

```sh
claude mcp add --transport http gamma-erp-kaffee http://127.0.0.1:8090/mcp --header "Authorization: Bearer <the GE_ token>"
```

This adds the connector `gamma-erp-kaffee` to the user's Claude configuration; the other connectors stay as they are. Pass the token from the credentials file without printing it.

A connector added during a session is often loaded only in a new session. **To carry on in the same run**, call the same MCP server over HTTP with a small script: a JSON-RPC `initialize`, then `notifications/initialized`, then `tools/call` with the tool's name and arguments, each a POST to `http://127.0.0.1:8090/mcp` with the headers `Authorization: Bearer <token>`, `Content-Type: application/json`, `Accept: application/json, text/event-stream`, and `Mcp-Session-Id` from the first answer. Keep the script and the token in the working folder. The tools, their checks and their answers are exactly those of the connector. Otherwise, tell the user to start a new chat and continue from the progress log.

### 4. Check, then insert the data

1. `list_workplaces` answers with the workplace `KAFFEEWIEN`; `tools/list` includes `save_register_row`, `produce`, `stay`, `book_seats` and `report`.
2. Follow "How to insert the sample data" below, from the first step not yet done (the status table and the progress log say which).
3. At the end, show the user: the address http://127.0.0.1:8090, the user name `kaffee.owner` and where the first password is, the users made (their passwords are in the same credentials file), and the end reports.

### To start again from scratch

Only on the user's explicit request, because it deletes every company in this local ERP: `docker compose down -v` in the `deploy` folder removes the containers and the database volumes. Then begin at step 1.

## How to insert the sample data

Every table in this plan is sample data to put into the ERP. These steps say how, for the Claude session that does it with the `gamma-erp-kaffee` connector. Everything is made up (names with "Demo", placeholder tax numbers): never use a real person's or company's data.

### Before the first step

1. Check the connector: `list_workplaces` must answer with the workplace `KAFFEEWIEN`, and the tool list must include `save_register_row`, `produce`, `stay`, `book_seats` and `report`. If they are missing, the ERP is older than v0.1.5-gamma: update it (`docker compose pull && docker compose up -d`), then reconnect the connector or start a new chat.
2. Step 0 makes the company on the server: it needs the user's yes first, because it can't be undone. Then the new connector is added and reloaded (section 4).
3. Read the guide pages named in section 2, and `read_configuration` for what the pack already has (VAT groups, document types, posting scenarios, point-of-sale settings). Use the pack's own rows wherever they fit; add only what is missing.
4. Open a progress log: a file `kaffee-progress.md` in the working folder. After every step, write what was made (each row's code and id), what was refused and why, and what is next. A new session reads it first and carries on from there.

### For each step

1. **Look first.** Before making a row, check that it isn't there already (`find_partners`, `find_products`, `find_cost_centers`, `get_register_row`, `register_setup`, `list_documents`). A row that exists is changed only if the plan says something different; it is never made twice.
2. **Show the table.** Show the user the step's rows exactly as they will be saved: codes, names, types, categories, VAT groups, prices, quantities, dates. Say which rows already exist and are only checked.
3. **Wait for the yes.** Call the changing tools with `confirm=true` only after an explicit yes for that step. One yes covers the whole table shown, not the next step.
4. **Make the rows in order, a few at a time.** Parents before children (company → places → tills; categories → types → products → recipes → prices). After each group, read the rows back and compare them with the table.
5. **When the ERP refuses,** stop that row, show the refusal word for word, and change nothing to work around it. If the plan was wrong (a wrong code, a missing parent), correct the plan's row, show it and ask again. If the ERP can't do it at all, add it to the "Missing / not possible" list and go on with the rest.
6. **Check the step.** Read the step's result with the read tools (`register_setup`, `get_register_row`, `calculate_production`, `pos_info`, `stock`, `trial_balance`…) and show a short summary: made, already there, refused. Write it to the progress log.

### Documents and postings

1. **Drafts first.** Make each week's documents as drafts (`save_draft_document`, the repairs board, `save_journal_sheet`), dated on their real day in October. Show the week as one table: each document's type, date, sides, lines and total, with the week's totals per type.
2. **Post after a yes.** Posting is final, and so are productions, unit splits, till payments, check-outs and seat bookings: say so before asking. Post in date order: purchases and production before the sales that use their stock, invoices before the payments against them.
3. **Check after posting.** After each week, show `stock` (nothing should be negative), `open_items`, and the trial balance up to that day (debit = credit). If something is off, stop and show it: a wrong posted document is corrected only by a reversal (`reverse_document`), after the user's yes.
4. **Never make the same document twice.** Before each document, check with `list_documents` (type, day, external number) that it isn't there already, for example after a lost connection.

### Amounts and dates

- Use the amounts in the plan's tables. Where a table gives a range (sales of a day, people at a show), choose values inside it, vary them from day to day so the weeks look real, and show them before making anything.
- Prices with "VAT incl." go on lines as the value with VAT; prices "excl. VAT" as the price. Round to cents; keep counts whole.
- Every document carries its own day in October 2026. The live items at the end (a shift, a stay, a seat booking, a repair job) are dated today on purpose.

### When it's done

1. Go through the status table (section 3): every step done, or listed as missing with its reason.
2. Show the reports of the "Reports to show at the end" section.
3. Finish the progress log with the final figures (revenue, costs, result, stock value, open items) and the "Missing / not possible" list.

## 3. Status

| Step | What | Status |
|---|---|---|
| 0 | Install if needed; make the company; connect `gamma-erp-kaffee` | To do: needs the user's yes |
| 1 | Company details, bank (EUR), bank (CHF), cash desk, warehouse, service van, the workshop (repair shop) | To do |
| 2 | Users, roles, menus, rights; the 2 service technicians as employees | To do |
| 3 | Partners (11) | To do |
| 4 | Categories and types: machines as fixed assets with serial numbers | To do |
| 5 | Products: 3 machine models, 5 consumables, 4 services, 3 rental plans | To do |
| 6 | CHF rates; the carton → box conversion; prices | To do |
| 7 | Opening: capital, machines bought in CHF and registered as assets, first consumables | To do |
| 8 | The existing contracts (6 offices), placed as contracts with billing plans | To do |
| 9 | Simulation, weeks 1 and 2 | To do |
| 10 | Month end: invoice run, depreciation, recurring sheets | To do |
| 11 | Reports | To do |

## 4. Step 0

Follow "Install the ERP and run everything in one go" above:

`create-company --company "Kaffeeservice Demo Wien" --code KAFFEEWIEN --country AT --username kaffee.owner --activity GENERAL`

## 5. Step 1: places

| What | Code | Detail |
|---|---|---|
| Company details | KAFFEEWIEN | Kaffeeservice Demo GmbH; Gumpendorfer Straße, 1060 Wien; UID ATU00000000 (placeholder) |
| Bank EUR | BANK_EUR | "Bank – Geschäftskonto", EUR |
| Bank CHF | BANK_CHF | "Bank – Fremdwährungskonto CHF", CHF, pays the Swiss maker |
| Cash desk | CASH_DESK0 | "Kassa Büro" |
| Warehouse | WH0 | "Lager": machines not placed, consumables |
| Service van | VAN1 | "Servicewagen": consumables on the delivery round, spare parts |
| Workshop, a point of sale of kind Repair shop | POS_WERK0 | "Werkstatt": machines brought in for repair; settings: cash desk Kassa Büro |

## 6. Step 2: users

| User name | Name | Role | Place |
|---|---|---|---|
| kaffee.owner | Owner | Administrator | KAFFEEWIEN |
| kaffee.buchhaltung | Bookkeeper (off-site) | Finance | KAFFEEWIEN |
| kaffee.vertrieb.frueh | Sales and service desk, early (07:30–12:30) | Sales, Technician | KAFFEEWIEN |
| kaffee.vertrieb.spaet | Sales and service desk, late (12:30–17:30) | Sales, Technician | KAFFEEWIEN |

The 4 workers:
- Early shift: 1 desk worker (offers, contracts, repairs board) + 1 service technician on the delivery round, "Lukas Demo".
- Late shift: 1 desk worker + 1 service technician (repairs in the workshop), "Sophie Demo".

The technicians are employees (`save_register_row` employees), named on the repairs. Menus: Finance gets accounting, Contracts › Invoice run and Renewals, Fixed assets, VAT; Sales gets CRM, Offers, Contracts, Sales, Repairs.

## 7. Step 3: partners

| Name | Category | Currency | Payment days | Role |
|---|---|---|---|---|
| Kaffeemaschinen Demo AG (Swiss machine maker, Zürich) | Suppliers | **CHF** | 30 | Machines |
| Kaffeerösterei Demo Wien (coffee roaster) | Suppliers | EUR | 30 | Capsules, beans |
| Gastrobedarf Demo (catering supplies) | Suppliers | EUR | 14 | Milk powder, cups, cleaning tablets |
| Immobilien Demo Mariahilf (landlord) | Suppliers | EUR | 0 | Rent €2,400/month |
| Wien Energie Demo (electricity) | Suppliers | EUR | 30 | About €280/month |
| Steuerberatung Demo (tax adviser) | Suppliers | EUR | 30 | Fee €450/month |
| Anwaltskanzlei Demo (law office) | Clients | EUR | 14 | 2 machines on contract |
| Architekturbüro Demo | Clients | EUR | 14 | 1 machine |
| Versicherung Demo AG (insurance office) | Clients | EUR | 30 | 3 machines |
| Arztpraxis Demo (doctor's practice) | Clients | EUR | 14 | 1 machine |
| Werbeagentur Demo (advertising agency) | Clients | EUR | 14 | 1 machine; contract ends 30 Nov (to renew) |

## 8. Step 4: categories and types

| What | Proposal |
|---|---|
| Categories | Maschinen (machines), Verbrauchsmaterial (consumables), Dienstleistungen (services), Mietpläne (rental plans) |
| Types | "Kaffeemaschine" (**fixed asset**, **tracks serial numbers**, unit piece); Goods for consumables; "Dienstleistung" (services); "Mietplan" (rental, unit month) |
| Units | piece, month exist; **add "Karton" (CARTON) and "Schachtel" (BOX)**: 1 carton = 10 boxes; capsules are bought by the carton and delivered by the box (`convert_stock`) |

## 9. Step 5: products

VAT (the Austrian pack has 20 %, 13 %, 10 %, 0 %): coffee capsules and milk powder sold 10 % (food), rentals and services 20 %, machines 20 %; check with the user.

| Code | Name | Unit | Cost (excl. VAT) | Price (excl. VAT) |
|---|---|---|---|---|
| MAS-KOM | Kompakt 1 (capsule machine, small office) | piece | CHF 420 | (rented; sold at book value) |
| MAS-PRO | Pro 2 (capsule machine with milk) | piece | CHF 890 | (rented) |
| MAS-BTC | Bean-to-cup 3 (bean machine for 20+ people) | piece | CHF 2,150 | (rented) |
| VER-KAP | Kaffeekapseln, Schachtel 50 (capsules, box of 50) | BOX (bought by CARTON) | €11.00 per box | €18.00 per box |
| VER-BOH | Kaffeebohnen 1 kg (coffee beans) | piece | €14.00 | €22.00 |
| VER-MIL | Milchpulver 500 g (milk powder) | piece | €4.20 | €7.50 |
| VER-BEC | Becher, 100 Stück (cups, 100) | piece | €3.50 | €6.00 |
| VER-REI | Reinigungstabletten (cleaning tablets) | piece | €6.00 | €12.00 |
| DIE-SER | Servicebesuch (service visit) | piece | – | €65.00 |
| DIE-STD | Arbeitsstunde Werkstatt (workshop hour) | hour | – | €58.00 |
| DIE-ENT | Entkalkung (descaling) | piece | – | €45.00 |
| DIE-LIE | Lieferung (delivery outside the round) | piece | – | €15.00 |
| MIE-KOM | Miete Kompakt 1 + 2 Schachteln/Monat (rent, small) | month | – | €39.00 |
| MIE-PRO | Miete Pro 2 + 4 Schachteln/Monat | month | – | €69.00 |
| MIE-BTC | Miete Bean-to-cup 3 + 4 kg Bohnen/Monat | month | – | €149.00 |

The monthly rent includes the stated capsules or beans: they are delivered on the round with a delivery (goods transfer to the client is not stock sold; book the included capsules on the contract invoice's lines at €0, so they leave stock), and anything beyond is invoiced at its price.

## 10. Step 6: rates, conversion, prices

1. `set_exchange_rates` for CHF from 1 to 31 October 2026 (one CHF in EUR, about 1.05–1.07), from the source the user names (e.g. the ECB reference rate).
2. Unit conversion: 1 CARTON = 10 BOX for VER-KAP.
3. Sale prices from 2026-10-01 as above; the insurance office (3 machines) gets 10 % off its rentals.

## 11. Opening (1 October)

| Document | Detail |
|---|---|
| Owner's capital | €40,000 into BANK_EUR; CHF 15,000 into BANK_CHF (at the day's rate) |
| Float | €200 into Kassa Büro |
| Machines bought (purchase invoice from Kaffeemaschinen Demo, in **CHF**, into WH0, with serial numbers) | Kompakt 1 × 6 (`KOM-2610-01`…`06`), Pro 2 × 5 (`PRO-2610-01`…`05`), Bean-to-cup 3 × 2 (`BTC-2610-01`, `02`) |
| Register the machines as assets (`run_depreciation` register, company and tax books) | Each at its value in EUR at the invoice's rate, start 1 October, 48 months |
| First consumables (Kaffeerösterei, Gastrobedarf) | Capsules 12 CARTON, beans 20, milk powder 30, cups 40, cleaning tablets 20 |

## 12. The existing contracts (placed on 1 October)

Each office already has its machines (moved WH0 → the client with a goods transfer naming the serials, dated 1 October: the machines stay the company's assets at the client's place), and a contract:

| Client | Machines (serials) | Contract (lines per month) | Start | End | Billing plan |
|---|---|---|---|---|---|
| Anwaltskanzlei Demo | Pro 2 × 2 | MIE-PRO × 2 | 2025-12-01 | 2027-11-30 | every 1 month, next date 1 Nov 2026 |
| Architekturbüro Demo | Kompakt 1 × 1 | MIE-KOM | 2026-03-01 | 2028-02-29 | every 1 month, next 1 Nov |
| Versicherung Demo AG | Bean-to-cup 3 × 1, Pro 2 × 2 | MIE-BTC, MIE-PRO × 2 (−10 %) | 2025-06-01 | 2027-05-31 | every 1 month, next 1 Nov |
| Arztpraxis Demo | Kompakt 1 × 1 | MIE-KOM | 2026-01-15 | 2028-01-14 | every 1 month, next 1 Nov |
| Werbeagentur Demo | Kompakt 1 × 1 | MIE-KOM | 2024-12-01 | 2026-11-30 | every 1 month, next 1 Nov |

Each contract: `save_draft_document` (contract type), posted (a contract books nothing); then `run_contract_billing` action plan.

## 13. Simulation: October 2026

### 13.1 The delivery round (every Tuesday and Thursday)

1. **Capsules:** `convert_stock` one carton into 10 boxes when the van needs them.
2. **The round:** a goods transfer WH0 → VAN1 in the morning; then one **sales invoice per client** for what was delivered beyond the included allowance (e.g. the law office +3 boxes, the insurance +2 kg beans, milk powder, cups), dated the delivery day, paid at the client's terms.

### 13.2 A new client (CRM → offer → contract)

1. Opportunity "Coffee for Steuerkanzlei Demo" (a new client: 12 staff), Qualify on 5 Oct, Propose on 8 Oct, Won on 15 Oct (`save_register_row` opportunities, `move_opportunity`).
2. Offer (`save_draft_document` offer type): Pro 2 rental €69/month, 24 months, installation free; posted.
3. Contract (`make_next_document` from the offer, offer → contract), start 16 Oct, end 15 Oct 2028; posted; billing plan every 1 month, next date 1 Nov.
4. The machine Pro 2 `PRO-2610-03` moved from WH0 to the client (goods transfer, 16 Oct).
5. A second opportunity, "Bean-to-cup for Hotel Demo Wien", stays at Propose (€149/month, close in December); a third, "Machines for a coworking space", is Lost on 22 Oct ("chose a vending company").

### 13.3 A repair (the repairs board)

1. Mon 19 Oct: the doctor's machine Kompakt 1 `KOM-2610-04` stops pumping. New job on the board (`repair` new, the client Arztpraxis Demo, technician Sophie Demo); the intake dated 19 Oct; the car's equivalent is the machine's serial on the intake's properties.
2. Meanwhile a spare machine `KOM-2610-06` is placed at the doctor's (goods transfer).
3. Offer: pump replacement (a spare part "Pumpe Kompakt", cost €28, price €55 — add it as a product) + 1.5 workshop hours; accepted on 20 Oct; billed on 22 Oct (`repair` bill, dated 22 Oct, posted); paid at 14 days.
4. The repaired machine goes back to the warehouse; the spare stays at the doctor's.

### 13.4 Selling a machine at the end of its rental

The agency's contract ends on 30 November. On 28 October it asks to buy its machine `KOM-2610-05`. A fixed asset sold is a **normal sale of the product at its actual value**:
1. Show its book value (`depreciation` assets).
2. Sales invoice to Werbeagentur Demo, 1 × Kompakt 1, serial `KOM-2610-05`, at its book value (rounded), dated 30 October; posted.
3. The contract's billing plan stops after November's invoice (`run_contract_billing` plan with no months after 1 Nov), and the contract is not renewed.

### 13.5 Renewal

`contract_billing` renewals within 60 days: the agency's contract shows (ending 30 Nov). As it buys its machine, it is not renewed. To show a renewal, renew the doctor's contract early to 14 January 2030 (`run_contract_billing` renew), only on a yes.

### 13.6 Payments

- Kaffeemaschinen Demo (CHF) paid from BANK_CHF on 30 October, in CHF at that day's rate: the difference from the invoice's rate is the exchange gain or loss.
- The roaster and catering supplies paid by hand against each invoice number.
- Clients pay their delivery invoices at their terms; some are open at the end of October.

## 14. Month end (31 October)

1. **Invoice run** for 1 November (`contract_billing` due until 2026-11-01, then `run_contract_billing` run): one draft invoice per contract (7 contracts with the new one); check them, post them (final), dated 1 November.
2. **Depreciation** of the machines, both books, 31 October: calculate, run, the company book's journal. The sold machine no longer depreciates.
3. **Recurring cost sheet** (31 Oct) and **payment sheet** (5 Nov): rent €2,400, electricity €280, tax adviser €450; total €3,130; both repeated for November, not posted.
4. **Wages:** 4 × €2,600 = €10,400, one journal entry.
5. **Stock and serials:** `stock` (warehouse, van) and `lots_and_serials` (each machine: at which client, in the warehouse, or sold).

## 15. Reports to show at the end

| Report | Tool |
|---|---|
| Trial balance, profit and loss, balance sheet | `trial_balance`, `profit_and_loss`, `balance_sheet` |
| Contracts: monthly revenue per client, next dates, renewals due | `contract_billing` due and renewals, `report` contracts |
| Machines: where each one is (serials), value, depreciation, book value; the one sold | `lots_and_serials`, `depreciation` assets |
| The CHF purchase and payment, and the exchange difference | `account_ledger`, `exchange_rates` |
| Capsules: cartons bought, boxes delivered, included vs invoiced | `stock`, `report` item-tracking |
| CRM pipeline and forecast | `pipeline`, `forecast` |
| The repair: intake, offer, bill | `repairs`, `get_document` |
| Open items, VAT return | `open_items`, `vat_return` |

## 16. Missing / not possible

| What | What is done instead |
|---|---|
| Included consumables counted against the monthly allowance | Typed on the delivery invoice: allowance at €0, the rest at its price |
| A machine's service history across clients | The serial's moves (`lots_and_serials` moves) and its repairs |
| Fetching CHF rates | Typed from the source the user names |
| Payroll | One journal entry |
| A stock count document | The `stock` report |
| Austrian e-invoicing and the cash register's signature (RKSV) | Check the guide; list it if missing |

## 17. Order of work and approvals

| # | Step | Approval |
|---|---|---|
| 0 | Install if needed; company; connector | Yes first |
| 1–2 | Places; users and technicians | One yes each |
| 3–5 | Partners; categories, types, units; 16 products | One yes each |
| 6 | CHF rates (with their source), conversion, prices | One yes |
| 7 | Opening: machines in CHF with serials, registered as assets | Yes before posting |
| 8 | The 5 existing contracts and their machines placed | Yes before posting |
| 9 | Each week: rounds, CRM, the new contract, the repair, the machine sale, payments | Yes per week before posting |
| 10 | Month end: invoice run, depreciation, sheets, wages | Yes before each posting |
| 11 | Reports and the missing list | – |
