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

# Calculating the Issuance Amount

> How items, supply cost, and tax are calculated when issuing a tax invoice.

## How amounts are calculated

The **issuance amount of a tax invoice is the sum of the amounts of all items**.

An issuance request also carries the tax type (`taxType`). The tax type determines how the per-item tax (`items[].tax`) is entered.

| Tax type (`taxType`) | Meaning                               | Item tax (`items[].tax`)   |
| -------------------- | ------------------------------------- | -------------------------- |
| `TAXABLE`            | Taxable                               | Pass a non-`null` value    |
| `ZERO_RATE`          | Zero-rate                             | Pass `0` for every item    |
| `TAX_FREE`           | Tax-exemption (tax-exemption invoice) | Pass `null` for every item |

<Info>
  Within a single issuance request, the tax for every item must be entered the same way. If you send `null` for only some items, or send a non-zero tax for a zero-rate invoice, the request is rejected.
</Info>

## Input examples by tax type

```json theme={"dark"}
{
  "taxType": "TAXABLE",
  "items": [{ "supplyCost": 10000, "tax": 1000 }]
}
```

```json theme={"dark"}
{
  "taxType": "ZERO_RATE",
  "items": [{ "supplyCost": 10000, "tax": 0 }]
}
```

```json theme={"dark"}
{
  "taxType": "TAX_FREE",
  "items": [{ "supplyCost": 10000, "tax": null }]
}
```

## Calculation example

The following is an example of issuing a total of KRW 220,000.

**Tax invoice total**

| Issuance amount | Supply cost | Tax    |
| --------------- | ----------- | ------ |
| 220,000         | 200,000     | 20,000 |

**Per-item breakdown**

| Item name   | Unit price (unitPrice) | Quantity (quantity) | Supply cost (supplyCost) | Tax (tax) | Amount (supplyCost + tax) |
| ----------- | ---------------------- | ------------------- | ------------------------ | --------- | ------------------------- |
| First item  | 5,000                  | 10                  | 50,000                   | 5,000     | 55,000                    |
| Second item | 3,000                  | 50                  | 150,000                  | 15,000    | 165,000                   |

## Input limits

Values that do not conform to the NTS XML transmission specification are rejected at the issuance request stage.

| Field                                                                     | Limit                                          |
| ------------------------------------------------------------------------- | ---------------------------------------------- |
| Supplier/recipient organization name (`organizationName`)                 | Up to 70 characters                            |
| Representative name (`representativeName`), manager name (`manager.name`) | Up to 30 characters                            |
| Business type (`businessType`), business item (`businessItem`)            | Up to 100 characters                           |
| Manager email (`manager.email`)                                           | Up to 40 characters                            |
| Manager mobile phone number (`manager.telephone`)                         | Up to 20 characters, in `010-1234-5678` format |
| Address (`address`), tax invoice remarks (`description`)                  | Up to 150 characters                           |
| Item name (`items[].name`), item remarks (`items[].description`)          | Up to 100 characters                           |
| Item specification (`items[].specification`)                              | Up to 60 characters                            |
| Number of items (`items`)                                                 | Between 1 and 16                               |

If you enter the recipient manager's mobile phone number, a KakaoTalk notification (AlimTalk) is sent to announce receipt of the tax invoice.
