---
title: "Update billing details"
method: PATCH
path: "/billing-details"
tags: ["Billing"]
---

# Update billing details

`PATCH /billing-details`

## Request

- Base URL: `https://api.cloudpepper.io`
- URL: `https://api.cloudpepper.io/billing-details`
- Auth: HTTP bearer

Update your Account's billing details. These values appear on your invoices and are used for VAT validation and tax calculation, so only valid entries are saved unrecognized input is rejected with an error rather than applied silently.

This is a partial update: fields you omit are left unchanged; send an empty string to clear a field.

**Key Parameters:**
- `name`: Your company or billing name (required).
- `vat`: VAT / tax identification number. Providing one marks you as a company; leaving it empty keeps your current company status. An invalid number is rejected.
- `country`: ISO country code (e.g. 'BE', 'US'). An unrecognized code is rejected; send an empty string to clear it.
- `street`, `street2`, `city`, `zip`: Your billing address.
- `email`: The address your invoices are sent to.

Requires Account administrator privileges.

## Request body

- object
  - `name` string, required: Company or billing contact name (required)
  - `vat` string: VAT / tax identification number
  - `street` string
  - `street2` string
  - `city` string
  - `zip` string
  - `country` string: ISO country code (e.g. 'BE', 'US'); empty string clears the country
  - `email` string: Billing email address

## Response `200`

Billing details updated successfully; returns the saved details

- object
  - `name` string, nullable
  - `vat` string, nullable
  - `isCompany` boolean
  - `street` string, nullable
  - `street2` string, nullable
  - `city` string, nullable
  - `zip` string, nullable
  - `country` string, nullable
  - `email` string, nullable

## Other responses

- `400`: Invalid request: missing company name, unrecognized country code, invalid VAT number, or billing has not been set up for your Account yet
- `403`: Insufficient permissions (requires Account administrator privileges)

---

[API](https://skmtc.dev/cloudpepper/apis/cloudpepper-api-docs.md) · [All operations](https://skmtc.dev/cloudpepper/apis/cloudpepper-api-docs/llms.txt) · [OpenAPI document](https://skmtc.dev/cloudpepper/apis/cloudpepper-api-docs/revisions/b6a59274cedc?raw)
