Back to blog
Guides

Taxable, Tax-Exempt, and Mixed Tax: What's the difference?

How to set tax types correctly when integrating PG payments.

Hecto Financial Engineering
2025-01-22
5 min read
#taxable#tax-exempt#mixed tax#tax#PG
Taxable, Tax-Exempt, and Mixed Tax: What's the difference? 썸네일 이미지

How does tax work in payment amounts?

"What value should I put in the taxTypeCd parameter?"

Tax-related parameters come up during payment integration. In most cases the default handles it automatically — but if you sell tax-exempt goods, or sell a mix of taxable and tax-exempt items in a single transaction, you need to set these values correctly.

This article covers the three tax types and how to configure them when integrating with Hecto Financial's PG.


The three tax types

PG payments use three distinct tax classifications.

TypetaxTypeCdDescription
TaxableNStandard goods and services with 10% VAT included
Tax-exemptYGoods and services exempt from VAT
Mixed taxGA single transaction containing both taxable and tax-exempt items

Taxable (taxTypeCd = N)

The most common case. Most goods and services include 10% VAT.

Characteristics

  • The payment amount already includes 10% VAT
  • No additional tax parameters are required
  • This is typically the default setting

Example calculation

For a 10,000 KRW taxable item:

ItemAmountCalculation
Payment amount10,000 KRW-
Supply price9,091 KRW10,000 ÷ 1.1
VAT909 KRW9,091 × 0.1
NOTE

VAT formula

Supply price = payment amount ÷ 1.1 (round to nearest integer). VAT = payment amount − supply price.

Tax-exempt (taxTypeCd = Y)

These are goods and services exempt from VAT. Only categories defined by law qualify as tax-exempt.

Common tax-exempt categories

  • Agricultural and marine products: Unprocessed produce and seafood
  • Medical and education: Medical services, educational services
  • Books and periodicals: Books, newspapers, magazines
  • Financial and insurance: Financial services, insurance premiums

Characteristics

  • The full payment amount is treated as tax-exempt
  • Since there's no VAT, payment amount = supply price
  • Cash receipts are also issued as tax-exempt

Example calculation

For a 10,000 KRW tax-exempt item:

ItemAmount
Payment amount10,000 KRW
Supply price10,000 KRW
VAT0 KRW

Tax-exempt setting warning

Applying tax-exempt to items that don't qualify can create tax compliance issues. Always confirm exempt status with your tax advisor.

Mixed tax (taxTypeCd = G)

A single payment that includes both taxable and tax-exempt items — for example, buying a book (tax-exempt) and stationery (taxable) together from an online bookstore.

Characteristics

  • Set taxTypeCd to G
  • taxAmt, vatAmt, and taxFreeAmt are required
  • The sum of those amounts must equal the total payment amount

Required parameters

ParameterDescriptionCalculation
taxAmtTaxable amount (supply price)Taxable item amount ÷ 1.1
vatAmtVAT amountTaxable item amount − taxAmt
taxFreeAmtTax-exempt amountFull tax-exempt item amount

Example calculation

Book 8,000 KRW (tax-exempt) + stationery 11,000 KRW (taxable) = 19,000 KRW total:

ItemAmountCalculation
Total payment amount19,000 KRW-
taxFreeAmt (tax-exempt)8,000 KRWBook amount
taxAmt (supply price)10,000 KRW11,000 ÷ 1.1
vatAmt (VAT)1,000 KRW11,000 − 10,000

Validation: taxFreeAmt + taxAmt + vatAmt = 8,000 + 10,000 + 1,000 = 19,000 KRW

Amount mismatch error

The payment will fail if taxAmt + vatAmt + taxFreeAmt does not equal the total payment amount. Always validate before submitting.

Service charge (svcAmt)

Restaurants, hotels, and similar businesses sometimes charge a service charge (service charge / gratuity). Service charges are not subject to VAT and must be tracked separately.

Characteristics

  • Service charges are tax-exempt
  • Cash receipts break out the service charge separately
  • Pass the amount in the svcAmt parameter

Example with a service charge

Food 50,000 KRW (taxable) + service charge 5,000 KRW = 55,000 KRW total:

ItemAmountCalculation
Total payment amount (trdAmt)55,000 KRW-
Food50,000 KRWTaxable
Supply price45,455 KRW50,000 ÷ 1.1
VAT4,545 KRW50,000 − 45,455
Service charge (svcAmt)5,000 KRWTax-exempt
NOTE

Service charge with mixed tax

If you have a service charge and also sell tax-exempt items in the same transaction, set taxTypeCd to 'G' (mixed tax) and include taxAmt, vatAmt, and taxFreeAmt.

Service charge + mixed tax example

Food 30,000 KRW (taxable) + water 2,000 KRW (tax-exempt) + service charge 3,000 KRW = 35,000 KRW total:

ItemAmountParameter
Total payment amount35,000 KRWtrdAmt
Supply price (taxable)27,273 KRWtaxAmt (30,000 ÷ 1.1)
VAT2,727 KRWvatAmt (30,000 − 27,273)
Tax-exempt amount2,000 KRWtaxFreeAmt
Service charge3,000 KRWsvcAmt

Validation: taxAmt + vatAmt + taxFreeAmt + svcAmt = 27,273 + 2,727 + 2,000 + 3,000 = 35,000 KRW


FAQ

Q. What happens if I don't set taxTypeCd?

The merchant's default setting applies. Most merchants default to taxable (N). Confirm the default with your account manager.

Q. What if the amounts don't add up in a mixed tax transaction?

The payment will fail. taxAmt + vatAmt + taxFreeAmt must exactly match the total payment amount (trdAmt). Pay attention to rounding — every won counts.

Q. I only sell tax-exempt items. Do I have to set Y every time?

You can change your merchant default to tax-exempt. Ask your account manager to update the default setting for you.

Q. Are cash receipts issued differently based on tax type?

Yes. Taxable transactions generate a cash receipt with VAT included; tax-exempt transactions generate one without VAT. Mixed-tax transactions break out each portion separately on the cash receipt.

Q. What kind of businesses use the service charge field?

Primarily restaurants, hotels, and accommodation businesses. Since service charges are not subject to VAT, they must be passed in the svcAmt parameter separately to ensure accurate tax calculations.


Summary

ScenariotaxTypeCdRequired parameters
Standard taxable goodsNtrdAmt
Tax-exempt goods (books, produce, etc.)YtrdAmt
Mixed taxable + tax-exemptGtrdAmt, taxAmt, vatAmt, taxFreeAmt
Includes service chargeN or GAbove parameters + svcAmt

Setting the right tax type ensures cash receipts are issued correctly and tax reporting stays accurate. Take extra care with amount calculations for mixed-tax transactions, and always verify tax-exempt eligibility with a tax professional.

💬

Need technical support?