> 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/quote/_new.md).

# \_new

Creates a new Quote for a Customer.

### Parameters

#### user\_id

The ID of the User.

#### customer\_id

The ID of the Customer.

#### total\_tax

The total tax amount.

#### total\_gross

The total gross amount.

#### total\_net

The total net amount.

### Example

```
FM_api('Quote_new', ['user_id' => '123', 'customer_id' => '456', 'total_tax' => 1.00, 'total_gross' => 1.00, 'total_net' => 4.00]);
```

### Result

#### On Success

```
{'ok':1,'id':'123'}
```

#### On Failure

If the specified User does not exist:

```
{'no such user'}
```

If the specified Customer does not exist:

```
{'error':'no such customer'}
```
