> For the complete documentation index, see [llms.txt](https://www.zerabooks.com/help/llms.txt).

# Match opening balances to categories

Every balance on your old trial balance needs a home in ZeraBooks. How the Categories stage matches them, and how to change a match before you continue.

## How balances get their categories

On the **Categories** stage of opening books, each account on your closing trial balance is matched to a ZeraBooks category. How that happens depends on where you are:

- **During setup**, a new company has no categories yet. ZeraBooks reads your trial balance and creates the categories from it, for you to confirm. Then each balance lands in the category read from it.
- **After setup**, the company already has categories. ZeraBooks suggests a match for each balance, and you review every suggestion.

## Confirm the matches during setup

1. Confirm the categories read from your trial balance.
2. Read the line at the top. "All 8 balances found their category." means everything is matched. Otherwise it says how many still need one.
3. To change a match, click **Change a match**, open the balance's category menu and pick another category.
4. Click **Continue**.

![The Categories stage: all 8 closing balances found their ZeraBooks category; each match can be changed from its menu](https://www.zerabooks.com/help/shots/start-opening-categories.png)

## Match balances after setup

The stage is called **Match your familiar categories.** and shows a table: **Source account** (the account in your old books), **ZeraBooks category**, **Debit** and **Credit**.

1. Check the count at the top right: **N to match**, or **All accounts matched**.
2. Tick **Needs a category** to show only the balances without one, or search with **Search source accounts**.
3. For each balance, click its **ZeraBooks category** and choose the right one.
4. For a bank or card, choose the real account you added during setup. If it's missing, open **Add a missing bank or card** and add it.
5. Click **Continue**.

**Continue** stays disabled until every balance has a category.

{% hint style="info" %}
**Tip:** A category you need doesn't exist yet? Click **Import your chart** to bring your full chart of accounts, or **Create categories with AI** to draft them from a description of the business.
{% endhint %}

## When the trial balance has no income or expense accounts

Statements need income and expense categories to sort transactions into. If your trial balance has none during setup, ZeraBooks says "Your trial balance had no income or expense categories, and statements need them." and offers three choices:

- **Create them for my business**: describe what the business does and ZeraBooks drafts income and expense categories for you to review.
- **Use the standard set**: add ZeraBooks' standard categories, such as Sales Revenue, Facilities, Business Applications & Software and Payroll Expenses, plus 22 more.
- **Add them later in Categories**: continue now and add them later in the [Category Manager](https://www.zerabooks.com/help/ledger-and-categories/understand-the-category-manager).

## Frequently Asked Questions

<details>
<summary>Why is Continue greyed out on the Categories stage?</summary>

At least one balance has no ZeraBooks category. Tick **Needs a category** to find it, then choose a category for it.
</details>

<details>
<summary>Does ZeraBooks map my old categories automatically?</summary>

Yes. During setup the categories come straight from your trial balance. After setup, ZeraBooks suggests a match for each balance, and suggested matches still need your review.
</details>

<details>
<summary>Can I bring my whole chart of accounts, including accounts with no balance?</summary>

Yes. Click **Import your chart** on this stage, or import it later from the Category Manager. See [Import a chart of accounts](https://www.zerabooks.com/help/ledger-and-categories/import-a-chart-of-accounts).
</details>

<details>
<summary>My bank account isn't in the category list. What do I do?</summary>

Open **Add a missing bank or card** on this stage, add the account, then choose it for that balance.
</details>

<details>
<summary>Can I change categories after the import?</summary>

Yes. Rename, add or deactivate categories in the [Category Manager](https://www.zerabooks.com/help/ledger-and-categories/add-edit-and-deactivate-categories) at any time.
</details>

---

## Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://www.zerabooks.com/help/getting-started/match-opening-balances.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.

The full index is at https://www.zerabooks.com/help/llms.txt. An MCP server with `searchDocumentation`, `getPage` and `askQuestion` tools is at https://www.zerabooks.com/help/mcp.
