> For the complete documentation index, see [llms.txt](https://docs.fieldmotion.com/fieldmotion-api-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.fieldmotion.com/fieldmotion-api-docs/accountcategory/_new.md).

# \_new

Create a new Account Category

### Required Parameters

#### name

Define a name for this category

#### tax\_rate

Provide the percentage tax rate to be applied to this category (integer/float)

#### group\_id

Provide the id of an existing Account Category Group

### Example

```
FM_api('AccountCategory_new', ['name'=>'Cost of Sales', 'tax_rate'=>'20', 'group_id'=>'10']);
```

### Result

#### On Success

Returns id of newly-created Account Category {"ok":1, "id":70}

#### On Failure

If invalid parameter supplied (e.g. unrecognised group\_id), returns false.

```
false
```
