# \_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"}
```
