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

# Devmosaic Banking

### Core Features

* Personal accounts
* Job accounts
* Gang accounts
* Shared accounts with ACL roles
* Deposits, withdrawals, transfers, and fees
* Transaction history and statistics
* Bank card issuing, freezing, deletion, card limits, and PIN checks
* Physical card item support through inventory metadata
* ATM card selector and PIN verification
* Option to open the account linked to a physical card
* Loan products, credit score, auto approval, banker approval, repayment, and defaults
* UI theme system through `data/ui.lua`
* JSON localization through `locales/*.json`
* Compatibility bridge for common banking resources

### Why The Compatibility Bridge Exists

Many servers already have scripts that call exports or events from older banking resources. The bridge lets those scripts keep working after switching to `dm-banking`.

This means you usually do not need to edit every old script that was written for another banking resource. If a supported script calls an old banking export, `dm-banking` catches that export call and routes it into the new banking system.

The bridge currently covers common calls from:

* `qb-banking`
* `Renewed-Banking`
* `renewed-banking`
* `qb-management`
* `qb-bossmenu`
* `esx_banking`
* `esx_society`

Example: if another script still calls `exports['qb-banking']:AddMoney(...)`, the compatibility bridge handles that call and updates the matching `dm-banking` account.

### Resource Structure

```
dm-banking/
  client/
  data/
  docs/
  locales/
  server/
  shared/
  sql/
  web/
```

### Required Dependencies

* `oxmysql`
* `ox_lib`
* One supported framework:
  * `qb-core`
  * `qbx_core`
  * `es_extended`

### Optional Dependencies

Targets:

* `ox_target`
* `qb-target`
* `qtarget`

Inventories:

* `ox_inventory`
* `qb-inventory`
* `qs-inventory`
* `qs-inventory-pro`
* `codem-inventory`
* `origen_inventory`
