> 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/assets/_getinvoice.md).

# \_getInvoice

Returns Asset invoices.

### Parameters

#### id

signout id for the asset

### Example

```
FM_api('Assets_getInvoice', ['id' => '1'])
```

#### On Success

```
{"id":"2","name":"Boiler","start_time":"2018-10-15 13:00:00","end_time":"2018-10-16 18:00:00","total":"1000.0000"}
```

#### On Failure

If the user is not logged in: {'error':'not logged in'}
