---
title: "税金の作成"
---

> Documentation Index
> Fetch the complete documentation index at: https://apidocs.cs-cart.jp/llms.txt
> Use this file to discover all available pages before exploring further.

# 税金の作成

<span class="api-method api-method-post">`POST`</span> `/taxes`

新しい税金を作成するには、`/api/taxes`エンドポイントに`POST`リクエストを送信します。

## リクエスト：ヘッダー

| Name          | Value              |
| ------------- | ------------------ |
| Content-Type  | `application/json` |
| Authorization | `Basic <認証情報>`     |

> **認証情報について**
>
> 認証情報は、ユーザーのEメールアドレスとAPIキーをコロンで連結したものをBase64エンコードしたものです。

## リクエスト：ボディ

| Name                    | Type   | 必須 | 説明     | デフォルト値 |
| ----------------------- | ------ | -- | ------ | ------ |
| `tax`                   | string | ○  | 税金名    |        |
| `regnumber`             | int32  |    | 税金登録番号 |        |
| `priority`              | int32  |    | 優先度    | 0      |
| `price_includes_tax`    | string |    |        | N      |
| `display_including_tax` | string |    |        | N      |
| `address_type`          | string |    |        | S      |
| `status`                | string |    |        | A      |

## レスポンス

### 204

```json
{}
```

### 400

```json
{}
```

Source: https://apidocs.cs-cart.jp/taxes/api-tax-create/index.mdx
