> ## 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.

# Paychecks

`Config.Features.paychecks` (off by default). Salaries wait at City Hall; players collect them in Finances → Paychecks. `Config.Taxes.income` % is taken as income tax.

Your framework's paycheck loop has to hand the salary to City Hall instead of the bank. ESX Legacy — in `es_extended/server/modules/paycheck.lua` replace each `xPlayer.addAccountMoney("bank", salary, …)`:

```lua theme={null}
if GetResourceState('aps_cityhall') == 'started' then
    exports['aps_cityhall']:updatePaychecks(xPlayer.source, salary)
else
    xPlayer.addAccountMoney("bank", salary, "Paycheck")
end
```

QBCore — in `qb-core/server/functions.lua` (`PaycheckInterval`) replace `Player.Functions.AddMoney('bank', payment, 'paycheck')` the same way. Society accounts are still charged by the framework as before.

```lua theme={null}
exports['aps_cityhall']:updatePaychecks(source, amount)            -- add
exports['aps_cityhall']:updatePaychecks(source, amount, 'remove')
local waiting = exports['aps_cityhall']:getPaycheckBalance(source)
```


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