# deduct_balance · FT4 Rell API · Chromia Docs (concept)

> function deduct_ balance(account: account , asset: asset , amount: big_ integer): big_ integer Removes a certain amount of money from an account. It does N

Source: https://docs.chromia.com/pages/ft4-rell/-f-t4-library/lib.ft4.core.assets/deduct_balance/

FUNCTION

# deduct\_balance

```signature
function deduct_balance(account: account, asset: asset, amount: big_integer): big_integer
```

[Source](https://gitlab.com/chromaway/ft4-lib/-/blob/development/rell/src/lib/ft4/core/assets/asset.rell#lines-152)

Removes a certain amount of money from an account. It does NOT update total supply,
extra care is needed to either decrease it or add the assets to another account.

Only supposed to be called internally, use functions like `burn` or `transfer` whenever
possible.

Throws `"INSUFFICIENT BALANCE"` if the amount to be removed is higher than the amount
the account holds, or if there's no balance connected to the account and asset given,
which means the account has 0 of this asset.

Can only be called from an operation.

**Parameters**

* **account** — the account from which the amount is to be removed
* **asset** — the asset to remove from the account
* **amount** — the amount to remove

**Returns**

the final balance of the account

[View this page on docs.chromia.com](https://docs.chromia.com/pages/ft4-rell/-f-t4%20-library/lib.ft4.core.assets/deduct_balance.html)Generated API reference, mirrored from the live docs
