Budgeting
You know the levels a budget is built from and what the grand total adds up.
A budget is built from five kinds of element: categories, groups, accounts, subaccounts and markups. Categories, groups, accounts and subaccounts are nested, each inside the one before it. Markups are kept in a separate area.
Categories are the top level of a budget. The **Categories** list shows them, and the grid shows the category you click there. At the foot of the grid, each category has its own total row, for example **Crew Total**.
Groups divide a category. The accounts below a group belong to it. A group has no value of its own: its row shows only the sum of its accounts in **Total (EUR)**.
Accounts hold the figures of the budget. See [how an account total is calculated](/kb/article/how-an-account-total-is-calculated).
Subaccounts divide one account into smaller parts. A subaccount has no number of its own, and you cannot divide it again. See [what subaccounts are for](/kb/article/what-subaccounts-are-for).
Markups appear only in **Overview/Markups**, at the end of the **Categories** list. A markup applies a percentage to an amount: its total is the value in **Base** times the percentage in **%**. See [what markups are](/kb/article/what-markups-are).
Detail rows are not a level of their own. They are the rows for fringes, supplements and extra costs that KOSMA shows under an account.
KOSMA adds up fringes, supplements, extra costs and tax on a collect-in account, one for each kind of cost. A collect-in account cannot have subaccounts: for such an account,  **Subaccount** in the toolbar is greyed out. See [how collect-in accounts work](/kb/article/how-collect-in-accounts-work).
By default, KOSMA shows detail rows under the collect-in account. If you click  in the toolbar, KOSMA moves each detail row under the wage account it belongs to. The totals stay the same. An account that collects tax shows no detail rows, only its total. See [show fringes where they collect, or where they arise](/kb/article/show-fringes-where-they-collect-or-arise).
The total of an account counts toward its group, and the total of a group toward its category's total row. Below the **Categories** list, **Grand Total in EUR** shows the grand total of the budget, in the currency chosen in the toolbar.
The grand total is the sum of all active accounts, collect-in accounts included, plus every active markup. Markups belong to no category. The grand total is therefore higher than the sum of the category totals when the budget has markups.
In the demo project, the accounts add up to 1,256,805.49 EUR and the markups to 150,816.66 EUR, and **Grand Total in EUR** shows 1,407,622.14.
A deactivated account still shows its value in its own row, dimmed. KOSMA leaves it out of its group, its category and the grand total. See [deactivate accounts](/kb/article/deactivate-accounts).
Markdown