# Employee budgets

## Create and assign a new budget

On the budget overview (Orders > Budgets, /b2b\_platform/budgets), click "Create Budget".

<figure><img src="/files/IZ1tuLGnbxB2ZfUHxWW0" alt=""><figcaption></figcaption></figure>

In order to create a budget, you need to give it a name, choose a peroid (per order, daily, monthly, per quarter, yearly), set the monetary threshold, select an approval employee (each employee from the company can be chosen). Optionally, you can restrict categories.

A budget will only be used if it's marked as activated.

If a budget has employees assigned, these employees can only buy products with a budget selected during checkout, unless "restrict categories" is configured.

Restricting categories limits the budget to the selected categories. For example, if you restrict Budget Workwear to "Clothing", the budget Workwear can only be selected for products in "Clothing". If you try to purchase something from the category "Electronics", the budget Workwear cannot be selected inside the checkout.

{% hint style="info" %}
Please note that the products are calculated against the budget via net price.
{% endhint %}

<figure><img src="/files/nosMQ6WFQHfnxhHamFSr" alt=""><figcaption></figcaption></figure>

## How budgets work during checkout

Until a certain budget is exceeded, the employee can freely buy products in accordance with the configuration.

If a budget is exceeded, the employee cannot purchase any goods and is required to get clearance from the person who is responsible for the budget.&#x20;

{% hint style="info" %}
If the employee in question has admin permissions, they can always buy products, and are not required to selected a budget, even if they have budgets assigned.
{% endhint %}

## Time Period Definition

The time intervals for budgeting are defined as follows:

* Daily -> daily from 12:00 a.m. to 11:59 p.m.
* Per Quarter -> January to March / April to June / July to September / October to December
* Montly -> 01.xx - last day of the month (28./29./30./31)
* Annual -> 01.01 - 31.12

The intervals are stored in the Shopware Core database table scheduled\_task.

## Handling Errors / Budgets not loading

Please try clearing the shop cache server side/inside the admin after activating the addon.

{% hint style="success" %}
To clear cache on your system **server side,** use the command bin/console cache:clear

To clear cache on your **shop's admin interface,** press alt+c and confirm.
{% endhint %}


---

# 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://docs.b2b-sellers.com/b2b-platform/user-documentation/using-b2bsellers-functionality-as-a-customer/employee-budgets.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.
