> 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.

# invoiceCreateBcCart

GraphQL MUTATION

Create a BC cart for invoice payment.  
Only Admin and Super Admin can create cart.  
Requires a B2B Token.

Reference: https://docs.bigcommerce.com/developer/api-reference/graphql/b2b/b2b-graphql/mutations/invoice-create-bc-cart

## GraphQL Schema

```graphql
mutation ExampleMutation($bcCartData: BcCartInputType!) {
  invoiceCreateBcCart(bcCartData: $bcCartData) {
    result {
      checkoutUrl
      cartId
    }
  }
}
```

## Variables

```json
{
  "bcCartData": {
    "lineItems": [
      {
        "invoiceId": 0,
        "amount": "example"
      }
    ],
    "currency": "example",
    "details": "example"
  }
}
```