# Balance > Balance is a local-first double-entry bookkeeping app for very small businesses in Latvia, Lithuania and Estonia. It runs entirely in the user's browser: the ledger is stored in that browser (IndexedDB) and never leaves the device. This file teaches an AI agent with browser control how to keep the books in it safely. It describes app version 0.4.0. ## Read this first - **Work in the user's own browser.** The ledger exists only in the browser profile where the user uses the app. If you open the site in a separate or headless browser you will see an empty ledger or the setup wizard, and nothing you do there reaches the user. Use the user's browser (for example Claude in Chrome) on the same address they use. - If you land on the landing page, `/welcome` or `/setup`, stop and ask the user. Do not set up a ledger unless they asked you to. - Ask before you save, import, delete, close or reopen a year, or restore a backup. Show a summary first: date, accounts, amounts, VAT. - Download a backup before bulk work, and check the trial balance after it. - Never invent account codes. Use the chart of accounts or ask. - Money in Balance is exact: amounts have 2 decimals, FX rates 6, rounded half-up. Let the app compute totals and VAT; do not round in your head. Start with the skill entry point below, then open the page for the task at hand. ## Skill - [SKILL.md](https://balance.home.peremenov.com/agent/SKILL.md): Entry point, safety rules and how to drive the UI - [Navigation](https://balance.home.peremenov.com/agent/navigation.md): Every page by address, language switching, reading the screen - [Accounting basics](https://balance.home.peremenov.com/agent/accounting-basics.md): Double entry as Balance uses it, account types, VAT ## Workflows - [Journal entries](https://balance.home.peremenov.com/agent/journal-entries.md): Post, find, edit and delete manual entries, foreign currency - [Invoices](https://balance.home.peremenov.com/agent/invoices.md): Draft, post and mark sales invoices paid - [Bank import](https://balance.home.peremenov.com/agent/bank-import.md): Import bank statements (CSV, FiDAViSta XML) and Erply Books journals - [Reports](https://balance.home.peremenov.com/agent/reports.md): Trial balance, VAT report, account ledger, tax export - [Periods](https://balance.home.peremenov.com/agent/periods.md): Pre-close checklist, closing and locking fiscal years - [Backup and undo](https://balance.home.peremenov.com/agent/backup-and-undo.md): Download and restore backups, restore deleted items ## Optional - [Troubleshooting](https://balance.home.peremenov.com/agent/troubleshooting.md): Empty ledger, setup wizard, common error messages - [Full text](https://balance.home.peremenov.com/llms-full.txt): All of the above in one file - [Skill package](https://balance.home.peremenov.com/agent/balance-bookkeeping.zip): Install as an Agent Skill