A government treasury for Qbox: income tax, GST, stamp duty, rego, fines and public spending in one ledger.
A government treasury for Qbox: taxes, fees and fines in, wages and grants out, all in one ledger.
Overview#
| Income tax | Held back from legal pay when qbx_core adds money. Config.TaxedResources lists which resources count as legal pay, and paychecks are taxed when collected at the bank. |
| GST and retail | Booked from an ox_inventory shop purchase. Shelf prices follow the GST rate through an ox_inventory export. |
| Stamp duty | Charged to the buyer's bank on dealer cars and houses. Nothing is booked if the bank cannot cover it. |
| Vehicle rego | A weekly bill per owned vehicle: a share of the dealer price with a minimum. Unpaid bills are retried at every check, and rental cars are exempt. |
| Fuel excise and fines | Fuel excise from a fuel script's pump sale. A share of every fine goes to a society account. |
| Public spending | Wages for public jobs, an employment subsidy for everyone else, a weekly state grant and weekly department appropriations. |
| Food order grant | Staff of a food business earn a grant on every paid customer order, scaled by job grade. |
| Two governments | A federal and a state account, each with its own balance. Every ledger kind is routed to one of them, and balances may go negative. |
| Ledger | Every booking is a row in glitch_treasury_ledger, written in batches and flushed when the resource stops. |
| Server only | No client scripts, no NUI and nothing for a player to trigger. The treasury console command prints balances and the last seven days by kind. |
Availability#
Coming soon. Installation and API documentation are available now; purchase and download links will be added when the package is released.
Stuck on a step?Ask in the Discord →