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

# BillingAddressInput

> The input fields for a billing address.

## Fields

<ParamField path="firstName" type={<>String!</>} required>
  First name of the person or company.
</ParamField>

<ParamField path="lastName" type={<>String!</>} required>
  Last name of the person or company.
</ParamField>

<ParamField path="phone" type={<>String</>}>
  A 10-digit phone number, in [E.164](https://www.twilio.com/docs/glossary/what-e164) format.
</ParamField>

<ParamField path="address1" type={<>String!</>} required>
  The first line of the address, such as the street name and number.
</ParamField>

<ParamField path="address2" type={<>String</>}>
  The second line of the address, typically used for additional information such as an apartment or suite number.
</ParamField>

<ParamField path="city" type={<>String!</>} required>
  Name of the city, district, village, or town.
</ParamField>

<ParamField path="provinceCode" type={<>String</>}>
  The ISO 3166-2 english province code without the country code or a full province name.

  Example: `CA` for California, `DE` for Delaware. "Auckland" as a province name is also valid.
</ParamField>

<ParamField path="countryCode" type={<><a href="/api-reference/country">Country!</a></>} required>
  Two letter ISO 3166-1 alpha-2 country code. Territories not explicitly defined in the [`Country`](/api-reference/country) enum are treated as subdivisions of their respective parent countries.

  Example: `US` for United States, or `NZ` for New Zealand.
</ParamField>

<ParamField path="postalCode" type={<>String!</>} required>
  The area postal code or ZIP code.
</ParamField>

## Mutations

* [`submitCart`](/api-reference/submitcart)

## Related types

* [`CartSubmitInput`](/api-reference/cartsubmitinput)
