# POST /api/v1/billing-addresses

> Create a billing address

- Group: billing
- Tier: W
- Required scope: write:billing
- Docs: https://api.inleed.com/reference/billing/create-billing-address

## Description

Returns the created profile (`id`, address fields, `currency`, `contacts[]`). List them with `manage_billing_addresses` (`action=list`); make one the default with `action=set-primary`.

## Body

- `name` — string (required). Up to 191 characters.
- `street` — string (required). Up to 191 characters.
- `postalcode` — string (required). Up to 32 characters.
- `city` — string (required). Up to 191 characters.
- `country` — string (required). Pattern ^[A-Za-z]{2}$.
- `email` — string · email (required). Up to 191 characters.
- `company` — string. Up to 191 characters.
- `organization_number` — string. Up to 32 characters.
- `vat_number` — string. Up to 32 characters.
- `phone_number` — string. Up to 32 characters.

## Request

```bash
curl -X POST "https://mcp.inleed.com/api/v1/billing-addresses" \
  -H "Authorization: Bearer inl_live_…" \
  -H "Content-Type: application/json" \
  -d '{"name":"example.se","street":"example.se","postalcode":"example.se","city":"example.se","country":"example.se","email":"info@example.se","company":"example.se","organization_number":"example.se","vat_number":"example.se","phone_number":"example.se"}'
```

## Errors

- **401** No token was presented, or the token is revoked, expired or unknown. — codes: unauthorized, token_expired, token_revoked
- **403** The token lacks a required scope, or this account does not own the resource. — codes: insufficient_scope
- **422** Validation error — codes: validation_failed
- **429** The rate limit for this token is exhausted. See `Retry-After`. — codes: rate_limited
- **500** Something went wrong on our side. The failure is logged against `requestId`. — codes: internal_error

## Related

- GET /api/v1/billing-addresses — https://api.inleed.com/reference/billing/list-billing-addresses
- GET /api/v1/billing-addresses/{billingAddress} — https://api.inleed.com/reference/billing/get-billing-address
- PATCH /api/v1/billing-addresses/{billingAddress} — https://api.inleed.com/reference/billing/update-billing-address
- DELETE /api/v1/billing-addresses/{billingAddress} — https://api.inleed.com/reference/billing/delete-billing-address

