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

# Compability

> Frameworks, inventories, targets and notifications supported by aps_banking, plus the export answers for qb-banking, Renewed-Banking and okokBanking.

`config/config.compat.lua`: frameworks, inventories, notifications, societies and export answers.

## Supported resources

Everything is detected automatically and can be set by hand.

| Area | Supported | Option |
| - | - | - |
| Framework | ESX Legacy, QBCore, Qbox, your own through a bridge | `Config.Framework` |
| Inventory | ox\_inventory, qb-inventory, ps-inventory, qs-inventory, codem-inventory, jaksam\_inventory, tgiann-inventory, framework inventory | `Config.Inventory` |
| Target | ox\_target, qb-target, sleepless\_interact, built-in prompt | `Config.Interaction.type` |
| Notifications | ESX, QBCore, ox\_lib, okokNotify, vms\_notifyV2, your own function | `Config.Notify` |
| Society | esx\_addonaccount on ESX, own balances on QBCore / Qbox | `Config.Society` |

## Society balances

On ESX with `esx_addonaccount` started, society money stays in `addon_account_data`, so `esx_society` and other ESX scripts keep working with the same balance. On QBCore and Qbox the balance lives in `aps_bank_accounts`. Existing funds come over with the [Migration](https://docs.aps-store.com/assets/aps_banking/guides/migration.md).

## Export answers

Other scripts that call these resources keep working. Each group can be switched off in `Config.Compat`, and a group stays silent while the real resource is running.

| Replaces | Exports |
| - | - |
| qb-management | `GetAccount`, `GetGangAccount`, `AddMoney`, `AddGangMoney`, `RemoveMoney`, `RemoveGangMoney` |
| qb-banking | `AddMoney`, `AddGangMoney`, `RemoveMoney`, `RemoveGangMoney`, `GetAccount`, `GetGangAccount`, `GetAccountBalance`, `CreateJobAccount`, `CreateGangAccount`, `CreatePlayerAccount`, `CreateBankStatement` |
| Renewed-Banking | `getAccountMoney`, `addAccountMoney`, `removeAccountMoney`, `handleTransaction`, `GetJobAccount`, `CreateJobAccount`, `getAccountTransactions` |
| okokBanking | `GetAccount`, `AddMoney`, `RemoveMoney`, `AddTransaction`, `GetPlayerTransactions` |

These go through the same checks and logging as the rest of the script. A frozen account refuses them, and removing more money than an account holds fails.

> [!NOTE]
>
> QBCore and Qbox paychecks from society funds use these answers: QBCore calls the `qb-banking` exports and Qbox the `Renewed-Banking` exports.

`aps_banking` also declares `provide 'qb-management'` and `provide 'okokBanking'`, so scripts listing those as a dependency start normally. It doesn't provide `qb-banking` or `Renewed-Banking`: a script that checks for those by name may call exports outside the list above.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.