> For the complete documentation index, see [llms.txt](https://tn-modifications.gitbook.io/tn-modifications/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://tn-modifications.gitbook.io/tn-modifications/tn_banking/items.md).

# Items & inventory

Register the physical card and receipt items in your inventory.

Register the physical card and receipt items in your inventory.

## Item definitions

{% tabs %}
{% tab title="ox\_inventory" %}
Add these entries inside `ox_inventory/data/items.lua`:

```lua
-- Add these entries to ox_inventory/data/items.lua
['bank_card'] = {
    label = 'Fleeca Bank Card',
    weight = 10,
    stack = false,
    close = true,
    description = 'Personal Fleeca debit card',
    server = { export = 'tn_banking.use_bank_card' }
},

['atm_receipt'] = {
    label = 'Fleeca Receipt',
    weight = 1,
    stack = false,
    close = true,
    description = 'Printed receipt of a Fleeca transaction',
    server = { export = 'tn_banking.use_atm_receipt' }
},
```

{% endtab %}

{% tab title="QBCore" %}
Add inside `qb-core/shared/items.lua` when not using ox\_inventory:

```lua
-- Add these entries to qb-core/shared/items.lua when ox_inventory is not used.
bank_card = {
    name = 'bank_card', label = 'Fleeca Bank Card', weight = 10,
    type = 'item', image = 'bank_card.png', unique = true,
    useable = true, shouldClose = true, description = 'Personal Fleeca debit card'
},

atm_receipt = {
    name = 'atm_receipt', label = 'Fleeca Receipt', weight = 1,
    type = 'item', image = 'atm_receipt.png', unique = true,
    useable = true, shouldClose = true, description = 'Printed receipt of a Fleeca transaction'
},
```

{% endtab %}
{% endtabs %}

## Images and names

Copy `items/atm_receipt.png` to the inventory image directory. Supply a `bank_card.png` image. For Ox this is `ox_inventory/web/images`; for QB, use your inventory's `html/images` folder.

```lua
Config.Items = { card = 'bank_card', receipt = 'atm_receipt' }
Config.Cash = { asItem = 'auto', item = 'money' }
```

`asItem = 'auto'` uses the cash item with ox\_inventory and framework cash otherwise. If item cash is used, its configured item must exist.

{% hint style="info" %}
Keep cards and receipts non-stackable/unique so their metadata stays separate. Let Banking issue cards; a generic card without account metadata is not a working bank card.
{% endhint %}

## Check the setup

Restart inventory and Banking, open an account at a branch, use the issued card, then print and use a receipt. `use_bank_card` and `use_atm_receipt` are inventory lifecycle hooks, not account-creation exports.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://tn-modifications.gitbook.io/tn-modifications/tn_banking/items.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
