# \_newNote

Creates a new Goods Received Note.

### Parameters

#### supplier\_id

The ID of the goods supplier.

#### po\_id

The Purchase Order ID.

#### date\_received

Date the goods were received on. In the format of YYYY-MM-DD.

#### supp\_invoice

Supplier invoice reference

#### supp\_dnn

Suppliers delivery note

#### notes

Notes relating to the goods received

### Example

```
FM_api('GoodsReceived_newNote', [
        'supplier_id' => '608071',
        'po_id' => '424005',
        'date_received' => '2018-11-09',
        'supp_invoice' => '140',
        'supp_dnn' => 'delivery note',
        'notes' => 'new note'
    ]
);
```

### Results

#### On Failure

If "supplier\_id" parameter is not set or has a value less than 1:

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

#### On Success

Returns the ID of the created Goods Received Note.

```
{"ok":1,"id":30002}
```
