# Exports

## Server Exports - Tax System

### Get Current Server Tax

This would return the whole number like 14, 23, 26, 100

```lua
exports['Fo4rTaxes']:getCurrentTax()
```

### Save new tax

Update tax from other scripts

<pre class="language-lua"><code class="lang-lua"><strong>exports['Fo4rTaxes']:saveNewTax(25)
</strong></code></pre>

### Get price with tax

Insert a price and this would do the math necesary to return the price with the tax

```lua
exports['Fo4rTaxes']:getPriceWithTax(1000)
```

### Get tax reminder

Returns the tax reminder for example price is 1000 and it would return 250

```lua
local _reminder = exports['Fo4rTaxes']:getTaxReminder(1000)
xPlayer.showNotification('You have paid $' .. _remainder .. ' of taxes')
```

## GOVERNMENT EXPORTS&#x20;

### *⚠ THIS DOSEN'T USE ADDON ACCOUNT ⚠*

### Get Government money

Returns current government society money

```lua
exports['Fo4rTaxes']:getGovernmentMoney()
```

### Add Government money

Adds and updates government money

```lua
exports['Fo4rTaxes']:addGovernmentMoney(1000)
```

### Remove government money

Removes and updates government money

```lua
exports['Fo4rTaxes']:removeGovernmentMoney(1000)
```
