# Inventories

{% hint style="success" %}
For **ox\_inventory and origen\_inventory** we don't need to add/modify anything.
{% endhint %}

{% tabs %}
{% tab title="qb-inventory 2.x" %}

* Go to **qb-inventory/server/functions.lua** and add the following export right after function `InitializeInventory()`

```lua
exports('registerInventory', InitializeInventory)
```

* Should look *something* like this:

<figure><img src="/files/69McTGN8V6bfVTB0dZkg" alt=""><figcaption></figcaption></figure>

* Go to **qb-inventory/server/main.lua** and add the following code in **line 482** inside the '`qb-inventory:server:SetInventoryData'` event:

```lua
if toInventory:find('itemsrefund') then return end
```

* Should look *something* like this:

<figure><img src="/files/BFpf3iY5BrzrLPubx2nU" alt=""><figcaption></figcaption></figure>
{% endtab %}

{% tab title="qs-inventory" %}

* Go to **qs-inventory/server/custom/misc/SetInventoryData.lua** add the following code inside the `SetInventoryData` event:

```lua
if string.match(toInventory, "stash%-itemsrefund") then
    return
end
```

* Should look something like this:

<figure><img src="/files/BVGMRqTnKTkwqsJKW08u" alt=""><figcaption></figcaption></figure>
{% endtab %}

{% tab title="codem-inventory" %}

* Go to **codem-inventory/html/app.js** search the following text `(this.rightInventoryData.stashId)`
* Add this snippet right below that line:

```javascript
if (this.rightInventoryData.stashId.includes("itemsrefund")) return;
```

* Should look *something* like this:

<figure><img src="/files/8MBMgZLP2W1EXJsEGzBM" alt=""><figcaption></figcaption></figure>
{% endtab %}
{% endtabs %}


---

# 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.av-scripts.com/guides/refund-system/installation/inventories.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.
