Tax system

All projects that I currently had / have running ended today, May 22nd, 2023.

So all projects are considered obsolete and I no longer provide support on them unless they were purchased in the last 7 months

The tax system is now not available anymore

3 Likes

How many lines does this contain?

~ 140 with config

Well, i had this idea but didnt really wanted to code it. U made my day :sweat_smile:

1 Like

i would also consider it better if the taxes came as an invoice with esx_billing.

means what ? 0.12 % from what ?

Hello, could you tell me which ESX version you are using.

10€ for this? ^^

I’m updating currently

Now 20€ xd

Update 1.2:
Now you can set more precisely how items are taxed

Config.itemTax = true
Config.itemsWithTax = {
    -- phone tax price per item is a fix price if you have 4 phone you pay 100$
    {
        item = 'purple_phone',             
        taxPrice= 50,
        factions = {
            {
                name = 'police'    
                percentage = 50
            },
            {
                name = 'ambulance',    
                percentage = 50
            }
            
        }
    },
   
}

Furthermore, you can further customize the vehicle tax and decide whether there should be a fixed price for all vehicles or a % price based on bank balance.

Config.fixTax = true
Config.fixTaxValue = 250
Config.percentTax = 0.12

A new download is necessary

Why this?:

function _U(id) 
    if Locales[Config.Locale][id] then 
        return Locales[Config.Locale][id] 
    else 
        print('Locale '..id..' doesn\'t exist') 
    end 
end```

If somting wrong with translation, you can fix it there

for qb?

ESX Only

a open source version would be great

1 Like