> 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/invoices/_exportcsv.md).

# \_exportCSV

Export Invoice data to CSV.

### Example

```
FM_api('Invoices_export');
```

### Result

#### On Success

```
"Invoice No.","Customer Name","Account No.",Parent,"Parent Account No.",Date,"Net Amount","Reference No.",Status
2,"Savages Shop",CASHSALE,,,21/09/2018,84,FM000002,Invoiced
6,"The Cafe",CASHSALE,,,05/11/2018,24,FM000006,Invoiced
7,"The Cafe",CASHSALE,,,05/11/2018,24,FM000007,Invoiced
8,"The Cafe",CASHSALE,,,07/11/2018,24,FM000008,Invoiced
9,Extinguisher,CASHSALE,,,07/11/2018,90,FM000009,Invoiced
```
