> ## Documentation Index
> Fetch the complete documentation index at: https://developers.redo.com/llms.txt
> Use this file to discover all available pages before exploring further.

# carrierBillingAccountCreate

> Save a carrier billing account.

**Required scopes:** [`shipping_write`](https://developers.redo.com/docs/api-reference/v3/reference/scopes#scope-shipping_write)

## Arguments

**input** `[CarrierBillingAccountCreateInput!](/docs/api-reference/v3/reference/shipping/carrier-billing-account-create-input)` *required*

The account to save.

**fields**

**accountName** `String!` *required*

A name for the account.

**accountNumber** `String!` *required*

The carrier account number.

**billingType** `[CarrierBillingAccountType!](/docs/api-reference/v3/reference/shipping/carrier-billing-account-type)` *required*

Who the carrier bills.

**carrier** `[ShippingCarrier!](/docs/api-reference/v3/reference/checkout/shipping-carrier)` *required*

The account's carrier.

**country** `String!` *required*

The account's country code.

**postalCode** `String!` *required*

The account's postal code.

## Returns

**carrierBillingAccountCreate** `[CarrierBillingAccount!](/docs/api-reference/v3/reference/shipping/carrier-billing-account)` *required*

A carrier account the store bills labels to.

**fields**

**accountName** `String!` *required*

The name the store gave the account.

**accountNumberLast4** `String!` *required*

The last 4 characters of the account number.

**billingType** `[CarrierBillingAccountType!](/docs/api-reference/v3/reference/shipping/carrier-billing-account-type)` *required*

Who the carrier bills.

**carrier** `[ShippingCarrier!](/docs/api-reference/v3/reference/checkout/shipping-carrier)` *required*

The account's carrier.

**country** `String!` *required*

The account's country code.

**createdAt** `[DateTime!](/docs/api-reference/v3/reference/common/date-time)` *required*

When the account was saved.

**id** `ID!` *required*

The account's id.

**postalCode** `String!` *required*

The account's postal code.

## Example

```graphql theme={null}
mutation {
  carrierBillingAccountCreate(input: { ... }) {
    accountName
    accountNumberLast4
    billingType
    carrier
    country
    createdAt
    id
    postalCode
  }
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.