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

# \_exportSage

Export Invoices for Sage.

### Example

```
FM_api('Invoices_exportSage']);
```

### Result

#### On Success

```
""Invoice No","Customer Name","Transaction Type","Account Reference",Nominal,"Parent Co.","Parent Acc Ref",Date,Details,"Net Amount","Tax Code","Tax Amount","Gross Amount",Reference,"Ex Ref",Department,Contract,Status
2,"Savages Shop",SI,CASHSALE,4000,,,21/09/2018,,70.0000,T1,14,84,FM000002,,,,Invoiced
6,"The Cafe",SI,CASHSALE,4000,,,05/11/2018,,20.0000,T1,4,24,FM000006,,,,Invoiced
7,"The Cafe",SI,CASHSALE,4000,,,05/11/2018,,20.0000,T1,4,24,FM000007,,,,Invoiced
8,"The Cafe",SI,CASHSALE,4000,,,07/11/2018,,20."...
```
