> ## Documentation Index
> Fetch the complete documentation index at: https://docs.activeviam.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Upload a limit file

> How to bulk-create limits in Atoti Limits by uploading a CSV file from the Inventory screen, and the criteria the file must meet.

Instead of [adding limits one by one](https://docs.activeviam.com/atoti-intelligence/workflows/limits/6.2/user-guide/add-limits.md), you can upload them in a CSV file within the **Inventory**.

> [!NOTE]
>
> When uploading a limit file, any referenced limit structures must be created first, either in the UI, or by uploading a limit structures file.

Check out our video on how to upload limit structures and limits using CSV files:

[https://fast.wistia.com/embed/iframe/tvcv8yxbpu](https://fast.wistia.com/embed/iframe/tvcv8yxbpu)

To upload your file:

1. In the **Inventory**, click the Upload button.

   ![](https://mintcdn.com/activeviam/NKtr6pz1b9SFJJLV/atoti-intelligence/workflows/limits/6.2/images/upload-button.png?fit=max\&auto=format\&n=NKtr6pz1b9SFJJLV\&q=85\&s=fa43da87c13e534ea45b591b5cab2fb0)

   A dialog is displayed with two tabs:

   ![](https://mintcdn.com/activeviam/NKtr6pz1b9SFJJLV/atoti-intelligence/workflows/limits/6.2/images/upload-file-modal.png?fit=max\&auto=format\&n=NKtr6pz1b9SFJJLV\&q=85\&s=3bfe28bc752cd6249ea3c6fcdb525418)

2. Select the **Limit** tab. For details on what the CSV file should contain, see [Limits](https://docs.activeviam.com/atoti-intelligence/workflows/limits/6.2/reference/input-files/limits_approve.md).

3. Choose a valid CSV file from your local drive: click **Choose file** and navigate to the required file, then click **Open**.
   Atoti Limits displays a preview of your file in a table before the upload:

   ![](https://mintcdn.com/activeviam/NKtr6pz1b9SFJJLV/atoti-intelligence/workflows/limits/6.2/images/parsed-limit-structure.png?fit=max\&auto=format\&n=NKtr6pz1b9SFJJLV\&q=85\&s=f1beb207acf27b63d58e8ef0ed5c25e2)

4. Click **Upload limit file**.
   If there are any errors, the preview displays detailed error messages:

   ![](https://mintcdn.com/activeviam/NKtr6pz1b9SFJJLV/atoti-intelligence/workflows/limits/6.2/images/limit-file-error.png?fit=max\&auto=format\&n=NKtr6pz1b9SFJJLV\&q=85\&s=be7923b3e01835cf96896d2a2cbf398d)

If the file is valid, the file is uploaded to the server and the Inventory table automatically updates and displays the newly uploaded limits.

> [!NOTE]
>
> When a limit is created through upload, the StraightThrough workflow is applied and the limit goes directly into “APPROVED” status.

## What must the CSV file contain?

* Ensure you have “APPROVED” **Workflow Status** in the limits as the reference implementation assumes the limits are valid without any further approval.
* Your input file must contain every field to be considered valid. You can use the [**Download**](https://docs.activeviam.com/atoti-intelligence/workflows/limits/6.2/user-guide/manage-limits/download.md) feature to generate example CSV files. This creates a CSV file line by line.
* Limits with the same name, cube, measure and scope will also be checked if their dates overlap with existing limits. If so, the upload will fail and no limits will be created.
