> This page is for Developer.

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.bigcommerce.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.bigcommerce.com/_mcp/server.

# invoicesExport

GraphQL MUTATION

Export invoice csv file.  
Requires a B2B Token.

Reference: https://docs.bigcommerce.com/developer/api-reference/graphql/b2b/b2b-graphql/mutations/invoices-export

## GraphQL Schema

```graphql
mutation ExampleMutation($invoiceFilterData: InvoiceFilterDataType, $lang: String) {
  invoicesExport(invoiceFilterData: $invoiceFilterData, lang: $lang) {
    url
  }
}
```

## Variables

```json
{
  "invoiceFilterData": {
    "search": "example",
    "invoiceNumber": "example",
    "orderNumber": "example",
    "beginDateAt": 0,
    "endDateAt": 0,
    "status": [
      0
    ],
    "idIn": "example",
    "orderBy": "example",
    "companyIds": [
      0
    ]
  },
  "lang": "example"
}
```