---
title: "Update company billing details"
method: PUT
path: "/companies/{company_id}/billing-details"
tags: ["checkout"]
---

# Update company billing details

`PUT /companies/{company_id}/billing-details`

## Request

- Base URL: `https://api.schematichq.com`
- URL: `https://api.schematichq.com/companies/{company_id}/billing-details`
- Auth: API key in header `X-Schematic-Api-Key`

## Path parameters

- `company_id` string, required

## Request body

- UpdateCompanyBillingDetailsRequestBody
  - `address` CustomerBillingAddress
    - `city` string, required
    - `country` string, required
    - `line1` string, required
    - `line2` string, required
    - `postal_code` string, required
    - `state` string, required
  - `email` string, nullable
  - `phone` string, nullable
  - `tax_id` TaxIDInput
    - `type` 'ae_trn' | 'au_abn' | 'au_arn' | 'br_cnpj' | 'br_cpf' | 'ca_bn' | 'ca_gst_hst' | 'ca_pst_bc' | 'ca_pst_mb' | 'ca_pst_sk' | 'ca_qst' | 'ch_uid' | 'ch_vat' | 'eu_vat' | 'gb_vat' | 'hk_br' | 'id_npwp' | 'il_vat' | 'in_gst' | 'jp_cn' | 'jp_rn' | 'jp_trn' | 'kr_brn' | 'mx_rfc' | 'my_frp' | 'my_itn' | 'my_sst' | 'no_vat' | 'nz_gst' | 'ph_tin' | 'sa_vat' | 'sg_gst' | 'sg_uen' | 'th_vat' | 'tr_tin' | 'tw_vat' | 'us_ein' | 'za_vat', required
    - `value` string, required
  - `values` CheckoutFieldValue[], required
    - `id` string, required
    - `value` string, required

## Response `200`

OK

- object
  - `data` CompanyBillingDetailsResponseData, required
    - `address` CompanyBillingAddressView
      - `city` string, required
      - `country` string, required
      - `line1` string, required
      - `line2` string, required
      - `postal_code` string, required
      - `state` string, required
    - `checkout_settings` CompanyBillingCheckoutSettings, required
      - `collect_address` boolean, required
      - `collect_email` boolean, required
      - `collect_phone` boolean, required
      - `collect_tax_id` boolean, required
    - `custom_fields` CheckoutFieldWithValue[], required
      - `definition_id` string, required
      - `helper_text` string, nullable
      - `id` string, required
      - `name` string, required
      - `required` boolean, required
      - `stripe_metadata_key` string, required
      - `value` string, nullable
    - `email` string, nullable
    - `phone` string, nullable
    - `tax_ids` CompanyTaxIDView[], required
      - `country` string, required
      - `id` string, required
      - `type` string, required
      - `value` string, required
      - `verification_status` string, nullable
  - `params` object, required: Input parameters

## Other responses

- `400`: Bad request
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not found
- `500`: Server error

## Changes

> 230 revisions in range; 1 not diffed.

- **2026-08-10** `544bc1ef307f`: 1 info
  - added the required property `data/checkout_settings/collect_tax_id` to the response with the `200` status
- **2026-07-29** `5ec699173b7c`: 2 info
  - added the new optional request property `tax_id`
  - added the required property `data/tax_ids` to the response with the `200` status
- **2026-07-21** `cf8d031ce5a2`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/schematichq/apis/schematic-api/changes/companies/:company_id/billing-details/put.md)

---

[API](https://skmtc.dev/schematichq/apis/schematic-api.md) - [All operations](https://skmtc.dev/schematichq/apis/schematic-api/llms.txt) - [OpenAPI document](https://skmtc.dev/schematichq/apis/schematic-api/revisions/64cb7e17c236?raw)
