> For the complete documentation index, see [llms.txt](https://tgiann.gitbook.io/tgiann/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://tgiann.gitbook.io/tgiann/common-errors/when-i-buy-something-the-money-goes-negative.md).

# When I buy something, the money goes negative

To prevent the money from going negative in the QB core <mark style="color:yellow;">config</mark> file, add the value `bank` to the [`QBConfig.Money.DontAllowMinus`](https://github.com/qbcore-framework/qb-core/blob/main/config.lua#L10) setting.
