# \_getIsInvoiceable

Returns a value based on whether a specified Form or the Form of an Appointment is Invoiceable or not.

### Parameters

#### id

The ID of the Form to check.

Can also be in the format o(user ID)i(form ID), e.g "o92447i592002"

#### app\_id

An alternative to "id", meant to be the ID of an Appointment linked to the Form.

### Example

```
FM_api('Form_getIsInvoiceable',[
    'id'=>'580335'
    ]
);
```

### Result

#### On Success

Returns 1 if the Form is Invoiceable, and 0 if it is not invoiceable.

```
"0"
```

```
"1"
```

#### On Failure

If there is not an "id" or "app\_id" parameter set:

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

If the "id" parameter is used but does not match an existing Form,\
or the "app\_id" parameter is used but does not match an existing Appointment:

```
false
```
