> 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/account/_setnominal.md).

# \_setNominal

Sets the Account Nominal code

### Parameter

#### id

The id of the account

#### val

The number used for this account's nominal code

### Example

```
$params=[
  'id'=>$account['id'],
  'val'=>'9999'
];
FM_api('Account_setNominal', $params);
```

### Result

#### On Success

```
{"ok":1}
```

#### On Failure

```
{"error":"missing or invalid parameter: val"}
```
