# Bar Kafe Demo Tirana: 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 coffee bar in Tirana in the local Gamma ERP, through Claude and a connector for the bar's own company. It follows the same logic as the gelateria plan (`GELATERIA-SIMULATION-PLAN.md`): one step at a time, a table before every change, a yes before every change and before every posting.

The main difference from the gelateria: coffee is made cup by cup, so nothing is produced ahead. Each drink is a composite item whose recipe (coffee, milk, sugar…) leaves stock when the drink is sold. Bottled drinks and pastries are bought and resold as they are.

## 1. Where it runs

| Item | Value |
|---|---|
| ERP screens | http://127.0.0.1:8090 (also http://localhost:8090) |
| Claude connector (new) | `gamma-erp-bar` → `http://127.0.0.1:8090/mcp`, signed in as `bar.owner` |
| Other connectors | Don't use any other Gamma ERP connector you may have (another company's) |
| Database | PostgreSQL on 127.0.0.1:5433, database `gamma_erp` |
| Company | Bar Kafe Demo Tirana, code `BARTIRANA`, Albanian pack, currency ALL (lek) |
| Credentials | `bar-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-bar__*` tools.
2. Call `list_workplaces` first. The workplace must be `BARTIRANA`.
3. Before every change, show a table of exactly what will be created and wait for a yes. Only then call the tool with `confirm=true`.
4. Posting and reversing are final. Unit splits, till payments and invoice runs post at once. Say so before asking.
5. Nothing is deleted: a wrong row is switched off and corrected.
6. Read the guide instead of guessing (`gamma-erp://guide/README.md`, then the stock, point-of-sale, accounting and users-and-rights pages).
7. Use only what the ERP supports. When something can't be done, don't work around it: add it to the "Missing / not possible" list (section 14) and carry on.
8. Show draft documents in groups (one week at a time) and post them only after a yes.
9. The Albanian chart keeps its account names in Albanian. Product and partner names may be Albanian, with the English in brackets in the tables shown to the user.

## 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 "Bar Kafe Demo Tirana" --code BARTIRANA --country AL --username bar.owner --activity GENERAL
```

It prints three lines: `Company … made, … configuration rows loaded. bar.owner is its administrator.`, then `First password: …` and `First Claude token: GE_…`. Both secrets are shown only once:
- Save them in `bar-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 `bar.owner` on the screens (account menu › Claude tokens).

### 3. Connect Claude to the company

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

This adds the connector `gamma-erp-bar` 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 `BARTIRANA`; `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 `bar.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-bar` 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 `BARTIRANA`, 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 `bar-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 | Company made with `create-company`, connector `gamma-erp-bar` added | To do: needs the user's yes (it can't be undone) |
| 1 | Company details, bank, cash desk, bar, two tills, the bar's till settings | To do |
| 2 | Users, roles, menus, rights, "bills need an open shift" = No | To do |
| 3 | Partners (9) | To do |
| 4 | Product categories, types and units (add the litre) | To do |
| 5 | Products: 6 ingredients, 5 resale items | To do |
| 6 | 7 drinks made at the bar, composite, with recipes | To do |
| 7 | Sale prices and the till's sale menu | To do |
| 8 | Opening: capital and till float | To do |
| 9 | Simulation, weeks 1 and 2 | To do |
| 10 | Month end, with the recurring cost and payment sheets | To do |
| 11 | Reports | To do |

## 4. Step 0: the new company

The ERP's tools add a company only to an existing group, so a separate business can't be added beside another one through Claude. A separate business is made on the server with the `create-company` command, which makes the company, its administrator and its first Claude token. Run it only after the user's yes: the ERP never deletes anything, so the company and its administrator stay for good.

| # | Action | Detail |
|---|---|---|
| 1 | Run `create-company` in the `gamma-erp-erp-1` container | `--company "Bar Kafe Demo Tirana" --code BARTIRANA --country AL --username bar.owner --activity GENERAL` |
| 2 | First password and first Claude token | The command prints both once. Save them to `bar-credentials.txt` in the working folder, never in chat. The user changes the password at the first sign-in |
| 3 | Connect Claude | Add a connector `gamma-erp-bar` to `.claude.json` with the new token. The other connectors stay as they are |
| 4 | Reload | A new connector may load only in a new session. If so, continue there with this plan |

Activity GENERAL loads the whole Albanian pack (chart of accounts, documents, posting rules, VAT, the till, stock). A narrower activity profile keeps only part of it, so the till or stock could be missing.

## 5. Step 1: company, money and places

| What | Code | Detail |
|---|---|---|
| Company details (`set_company_details`) | BARTIRANA | Trade name Bar Kafe Demo; address Rruga e Durrësit, Tiranë 1001, Shqipëri; NIPT L00000000A (placeholder); phone and e-mail placeholders |
| Bank account (`add_cost_center`, BANK) | BANK0 | "Banka – llogaria rrjedhëse", ALL, on the pack's bank account |
| Cash desk (`add_cost_center`, CASH_DESK) | CASH_DESK0 | "Arka e barit", ALL, on the pack's cash account |
| The bar, a point of sale (`add_cost_center`) | POS_BAR0 | "Bar Kafe Demo – Rruga e Durrësit" |
| Morning till | TILL0 | "Arka mëngjes (07–15)", under the bar |
| Evening till | TILL1 | "Arka mbrëmje (15–23)", under the bar |
| The bar's point-of-sale settings (`save_configuration_row`) | – | Cash desk = Arka e barit; walk-in client = the general client; payment method Cash |

Open 7 days. Two shifts: morning 07:00–15:00 and evening 15:00–23:00. Tables are left out: the bar sells at the counter and brings drinks to the tables on the counter's bill.

## 6. Step 2: users, roles and access

### 6.1 Users (`add_user`)

| User name | Name | Role | Place |
|---|---|---|---|
| bar.owner | Owner (made in step 0) | Administrator | BARTIRANA |
| bar.kontabilist | Accountant (off-site) | Finance | BARTIRANA |
| bar.arka.mengjes | POS seller, morning | Cashier | TILL0 |
| bar.arka.mbremje | POS seller, evening | Cashier | TILL1 |

Passwords are generated, saved to `bar-credentials.txt` and changed at the first sign-in.

The 4 workers, 2 per shift:
- Morning: 1 POS seller + 1 barista.
- Evening: 1 POS seller + 1 waiter/barista.

Only the two POS sellers use the ERP. Users are not employees: never link them. The owner isn't one of the 4 workers and takes no wage.

### 6.2 Menus and rights (`role_access`, then `set_role_access`)

| Role | Menu | Rights |
|---|---|---|
| Finance | Dashboard; Documents › Purchases, Cash desk, Bank, Journal, Recurring journal, Reversals; Reports › Trial balance, Profit and loss, Balance sheet, Account ledger, Client and supplier ledger, Open invoices, Ageing, VAT books, VAT return, VAT return by boxes | Documents of those categories: read all, write. Suppliers: read all. No till, no products, no prices |
| Cashier | Point of sale, POS shifts | Documents: Sales, Cash desk (read own, write) |

### 6.3 Document types and the till setting

- `set_document_type_users`: give role Finance the purchase invoice, supplier payments (bank and cash), journal entry, the recurring journal sheet (FKR) with its row type, and their reversal types. Read the codes with `document_types` first.
- `save_configuration_row`: the bar's setting "Bills need an open shift" = No, because back-dated October bills can't have a shift. One live shift is shown at month end.

## 7. Step 3: partners (`register_setup`, then `save_register_row`, register `partners`)

| Name | Category | Payment days | City | NIPT (placeholder) | Supplies |
|---|---|---|---|---|---|
| Kafe Demo Import shpk (coffee roaster) | Suppliers | 30 | Tiranë | L00000001A | Coffee beans, sugar sachets, tea |
| Bulmetore Demo shpk (dairy) | Suppliers | 15 | Tiranë | L00000002A | Fresh milk |
| Pije Demo Distribucion shpk (drinks wholesaler) | Suppliers | 30 | Tiranë | L00000003A | Water, Coca-Cola, beer |
| Furra Demo (bakery) | Suppliers | 0 (cash on delivery) | Tiranë | L00000004A | Croissants, daily |
| Fruta Demo Tregu (fruit) | Suppliers | 0 (cash on delivery) | Tiranë | L00000005A | Oranges |
| Pronat Demo (landlord) | Suppliers | 0 | Tiranë | L00000006A | Rent 120,000 L/month |
| Energji Demo sh.a. (electricity) | Suppliers | 30 | Tiranë | L00000007A | Electricity about 35,000 L/month |
| Ujësjellës Demo sh.a. (water) | Suppliers | 30 | Tiranë | L00000008A | Water about 4,000 L/month |
| Studio Kontabiliteti Demo (accountant) | Suppliers | 30 | Tiranë | L00000009A | Fee 20,000 L/month |

Counter sales go to the company's general client. The till never names a customer.

## 8. Step 4: categories, types and units

| What | Proposal |
|---|---|
| Product categories | Lëndë të para (ingredients), Mallra për rishitje (resale goods), Pije të bara në bar (drinks made at the bar) |
| Product types | Goods for ingredients and resale goods; a type "Pije bari" (unit piece, VAT 20 %) for the drinks made at the bar |
| Units | kg and piece exist. **Add "l" (litre)**: the Albanian pack has no litre unit |

## 9. Step 5: products (`save_register_row`, register `products`)

### 9.1 VAT

The Albanian pack has VAT 20 %, 6 % and 0 %. A bar's food and drinks, and its costs, are at **20 %**. Rent from a private landlord may carry no VAT: confirm with the user.

### 9.2 Ingredients (category Lëndë të para, type Goods)

| Code | Name | Unit | Purchase price (excl. VAT) | Supplier |
|---|---|---|---|---|
| ING-KAF | Kafe kokërr (coffee beans) | kg | 2,200 L | Kafe Demo Import |
| ING-QUM | Qumësht i freskët (fresh milk) | l | 140 L | Bulmetore Demo |
| ING-SHE | Sheqer në qese (sugar sachets) | kg | 120 L | Kafe Demo Import |
| ING-CAJ | Çaj në qese (tea bags) | piece | 10 L | Kafe Demo Import |
| ING-POR | Portokaj (oranges) | kg | 120 L | Fruta Demo |
| ING-KAK | Kakao (cocoa, for the cappuccino) | kg | 900 L | Kafe Demo Import |

### 9.3 Resale goods (category Mallra për rishitje, type Goods, unit piece)

| Code | Name | Purchase price (excl. VAT) | Sale price (VAT incl.) | Supplier |
|---|---|---|---|---|
| RIS-UJE | Ujë 0.5 l (water) | 30 L | 80 L | Pije Demo |
| RIS-COK | Coca-Cola 0.33 l | 80 L | 150 L | Pije Demo |
| RIS-BIR | Birrë 0.33 l (beer) | 110 L | 200 L | Pije Demo |
| RIS-KRO | Kroasan (croissant) | 60 L | 150 L | Furra Demo |
| RIS-UJG | Ujë me gaz 0.33 l (sparkling water) | 45 L | 100 L | Pije Demo |

## 10. Step 6: drinks made at the bar (composite, with recipes)

Each drink is a product of type "Pije bari", unit piece, **composite = yes**: a sale takes its recipe's ingredients out of stock at cost, so sales and margin per drink come straight from the ERP. Recipes are written with `save_configuration_row`, model `product-recipes`, quantity per 1 piece, waste 0, by an administrator.

| Code | Drink | Recipe per cup | Sale price (VAT incl.) |
|---|---|---|---|
| BAR-ESP | Ekspres (espresso) | Coffee 0.008 kg, sugar 0.005 kg | 100 L |
| BAR-MAK | Makiato (macchiato) | Coffee 0.008 kg, milk 0.03 l, sugar 0.005 kg | 120 L |
| BAR-KAP | Kapuçino (cappuccino) | Coffee 0.008 kg, milk 0.15 l, cocoa 0.001 kg, sugar 0.005 kg | 180 L |
| BAR-AME | Amerikan (americano) | Coffee 0.008 kg, sugar 0.005 kg | 120 L |
| BAR-LAT | Kafe latte | Coffee 0.008 kg, milk 0.20 l, sugar 0.005 kg | 200 L |
| BAR-CAJ | Çaj (tea) | Tea bag 1, sugar 0.005 kg | 120 L |
| BAR-LPO | Lëng portokalli i freskët (fresh orange juice) | Oranges 0.6 kg | 250 L |

After saving, show each drink's cost (the recipe at the purchase prices) next to its price without VAT.

## 11. Step 7: prices and the till's sale menu

1. Sale prices (`save_configuration_row`, the sale-price model; read its columns first with `read_configuration`): the 7 drinks and 5 resale goods at the prices above, VAT included, unit piece, from 2026-10-01.
2. The till's sale menu: one menu for the bar, open 07:00–23:00, in two groups, Kafe dhe pije të ngrohta (coffee and hot drinks) and Pije dhe ushqim (drinks and food). Both tills use the bar's menu.
3. Check with `unpaid_pos_bills` on TILL0 that the bar's settings show nothing missing.

## 12. Simulation

Period: **Monday 12 to Sunday 25 October 2026** (two full weeks), month end on 31 October. Check first that October 2026 is not a closed period.

### 12.1 Opening (12 October)

| Document | Detail |
|---|---|
| Owner's capital | 1,000,000 L into the bank (bank receipt against the owner's capital account of the Albanian chart) |
| Till float | 20,000 L from the bank into Arka e barit |

### 12.2 Every week (Monday): purchase invoices

One purchase invoice per supplier (`save_draft_document`), with the supplier's own invoice number as the external number:

| Supplier | Week's goods (approx.) |
|---|---|
| Kafe Demo Import | Coffee beans 9 kg, sugar sachets 6 kg, tea bags 70, cocoa 0.5 kg |
| Bulmetore Demo | Milk 45 l (in two deliveries, Monday and Thursday) |
| Pije Demo | Water 170, sparkling water 60, Coca-Cola 120, beer 100 |
| Furra Demo | Croissants 80 for the week (one invoice per week, paid in cash on Monday) |
| Fruta Demo | Oranges 50 kg (paid in cash on delivery) |

There is no production: the drinks' ingredients leave stock when each drink is sold.

### 12.3 Every day: counter sales

One bill per till per day (`save_draft_document` with the bar's bill type; from the till, to the general client), then `post_document`, then `pay_pos_bills` (mostly cash, a few by card) on the same till.

| Day | Total sales (VAT incl.) | Morning (TILL0) | Evening (TILL1) |
|---|---|---|---|
| Monday–Friday | 25,000–40,000 L | about 55 % | about 45 % |
| Saturday, Sunday | 35,000–50,000 L | about 45 % | about 55 % |

The morning sells more coffee; the evening sells most of the beer and juice. The mix by item over the day:

| Item | Share | Mostly |
|---|---|---|
| Ekspres | 25 % | Morning |
| Makiato | 20 % | Morning |
| Kapuçino | 10 % | Both |
| Ujë 0.5 l + ujë me gaz | 12 % | Both |
| Coca-Cola | 7 % | Evening |
| Birrë | 6 % | Evening |
| Amerikan | 5 % | Both |
| Lëng portokalli | 5 % | Both |
| Kroasan | 5 % | Morning |
| Çaj | 3 % | Evening |
| Kafe latte | 2 % | Morning |

Round to whole items, so each bill's total lands inside the day's range. Bills are written by Claude as the owner, not as the sellers.

### 12.4 Supplier payments

At the end of each week, pay the roaster, the dairy and the drinks wholesaler by hand from the bank, **each payment against one invoice by its number**. The bakery and the fruit supplier are paid in cash from Arka e barit on delivery. Leave the second week's roaster and wholesaler invoices open, so open invoices show something.

### 12.5 Approval

Show each week's drafts as one group: purchases, 14 bills, payments, with totals. Post only after a yes.

## 13. Month end (31 October)

The fixed monthly bills (rent, electricity, water, accountant's fee) run on **two recurring journal sheets**: one books the costs at month end, the other pays them a few days later. Both are repeated each month with `repeat_document`, and each repeat is posted only on a yes. Nothing runs by itself.

1. **Recurring cost sheet**, 31 October 2026 (`save_journal_sheet`, type FKR, row type GJR, place BARTIRANA):

| Row | Debit | Credit |
|---|---|---|
| Qiraja (rent, Pronat Demo) | Rent expense 120,000 L | Supplier Pronat Demo 120,000 L |
| Energjia elektrike (electricity, Energji Demo) | Electricity expense 35,000 L | Supplier Energji Demo 35,000 L |
| Uji (water, Ujësjellës Demo) | Water expense 4,000 L | Supplier Ujësjellës Demo 4,000 L |
| Kontabiliteti (accountant, Studio Kontabiliteti Demo) | Professional fees 20,000 L | Supplier Studio Kontabiliteti Demo 20,000 L |
| **Total** | **179,000 L** | **179,000 L** |

Use the Albanian chart's accounts (names in Albanian). VAT on these bills: if the sheet can't carry VAT, the four costs go in as purchase invoices instead and are paid one by one against each invoice number, not on a sheet. Decide with the user.

2. **Recurring payment sheet**, 5 November 2026 (`save_journal_sheet`, type FKR, row type GJR, place BARTIRANA): October's bills paid from the bank.

| Row | Debit | Credit |
|---|---|---|
| Rent paid | Supplier Pronat Demo 120,000 L | Banka – llogaria rrjedhëse 120,000 L |
| Electricity paid | Supplier Energji Demo 35,000 L | Banka – llogaria rrjedhëse 35,000 L |
| Water paid | Supplier Ujësjellës Demo 4,000 L | Banka – llogaria rrjedhëse 4,000 L |
| Accountant paid | Supplier Studio Kontabiliteti Demo 20,000 L | Banka – llogaria rrjedhëse 20,000 L |
| **Total** | **179,000 L** | **179,000 L** |

These rows clear each supplier's balance; they name no invoice, because the costs are sheet rows, not invoices.

3. **Repeat for November** (`repeat_document`, `post=false` for both): the cost sheet on 30 November 2026 and the payment sheet on 5 December 2026. Show both copies, and post them only on a yes. Change an amount on a copy (e.g. the real electricity bill) with `save_journal_sheet` before posting.
4. **Wages** of the 4 workers: one journal entry, 4 × 60,000 L = 240,000 L (wages expense against the bank), not payroll.
5. **Stock count:** the ERP has no stock count document. Show the `stock` report (ingredients and resale goods, with value) as the count, and list it as missing.
6. **Shifts, live once:** open a shift on TILL0 with `pos_shift` (20,000 L in the drawer) and close it with the cash counted, to show the cash-up. It is dated today, not October.

Note: two weeks of sales against a full month of costs and wages will show a loss. If the user wants, put 50 % of the month's costs and wages instead. The payment sheet is dated 5 November, so October's balance sheet still shows the four bills as owed.

## 14. Reports to show at the end

| Report | Tool | Period |
|---|---|---|
| Trial balance | `trial_balance` | 1–31 October 2026 |
| Profit and loss | `profit_and_loss` | 1–31 October 2026 |
| Balance sheet | `balance_sheet` | 31 October 2026 |
| Stock of ingredients and resale goods, with value | `stock` | 31 October |
| Sales by item | `sales_lines` (sales, by product) | 12–25 October |
| Sales by shift (morning vs evening) | `sales_lines` by place (TILL0 vs TILL1) | 12–25 October |
| Gross margin per item | Sales lines minus the cost of the ingredients or goods each sale took out | 12–25 October |
| Open supplier invoices | `open_items` | 31 October |
| Suppliers' balances for the monthly bills (owed on 31 October, zero after 5 November) | `account_ledger` on the supplier account | 31 October and 5 November |
| VAT return | `vat_return` | October 2026 |
| Missing / not possible | Section 15 | – |

## 15. Missing / not possible

| What | What is done instead |
|---|---|
| A stock count document | The `stock` report at month end is shown as the count |
| Opening a till shift on a past date | "Bills need an open shift" = No; one live shift is shown with `pos_shift` |
| Documents written as the sellers | Claude writes them as the owner; the tills separate the shifts |
| A shift cost centre on a bill | The two tills (TILL0, TILL1) replace it |
| Payroll | Wages are one journal entry |
| Albanian fiscalisation of receipts (fiscal numbers sent to the tax office) | Check the guide. If the ERP has none, the simulated bills are not fiscal receipts; list it |
| A litre unit in the Albanian pack | Added in step 4 |
| Water for tea and americano | Not stocked, not in the recipes |

## 16. Order of work and approvals

| # | Step | Tools | Approval |
|---|---|---|---|
| 0 | New company and connector | `create-company` on the server, `.claude.json` | Yes first (can't be undone) |
| 1 | Reconnect, `list_workplaces` = BARTIRANA, company, bank, cash desk, bar, tills, till settings | `set_company_details`, `add_cost_center`, `save_configuration_row` | One yes for section 5 |
| 2 | Users, menus, rights, till setting | `add_user`, `set_role_access`, `set_document_type_users`, `save_configuration_row` | One yes for section 6 |
| 3 | Partners | `register_setup`, `save_register_row` | One yes for section 7 |
| 4 | Categories, types, the litre | `save_register_category`, `save_register_type`, `save_register_row` (units) | One yes |
| 5 | 11 products with VAT | `save_register_row` | One yes for section 9 |
| 6 | 7 drinks and their recipes | `save_register_row`, `save_configuration_row` | One yes for section 10 |
| 7 | Prices and the till's menu | `save_configuration_row` | One yes |
| 8 | Opening | `save_draft_document`, `post_document` | Yes before posting (final) |
| 9 | Week 1, then week 2 | purchases, bills, `pay_pos_bills`, payments | Yes per week before posting (final) |
| 10 | Month end: cost sheet (31 Oct), payment sheet (5 Nov), their November repeats (not posted), wages, stock, one live shift | `save_journal_sheet`, `repeat_document`, journal, `stock`, `pos_shift` | Yes before posting each sheet and each repeat |
| 11 | Reports and the missing list | report tools | – |
