快工助手跨境电商知识与商机助手

How do I upload the tax type to use the TW Tax-Free feature?

Shopee 官方资料 · Shopee Open Platform 常见问题(FAQ) · 适合开发者

stable本次发布有变化全部展示

来自 Shopee 官方资料快照 ·

打开官方原文 ↗
  1. 当前资料结构化阅读页
  2. 固定快照已留存,可追溯
  3. 官方原文可核对
查看技术与溯源信息
平台 / profile
Shopee / profile.shopee.faq
语言
en
发布版本
cn-20260909-2
标签
zhuge/sourceplatform/shopeeaudience/developercategory/help_centertopic/apitopic/developertopic/faqtopic/feature-apistopic/product

资料正文

§1 How do I upload the tax type to use the TW Tax-Free feature?

The rule of uploading the value of tax_type could follow below rules:

  • Request
NameTypeRequireSampleDescription
tax_infoObject
┗tax_typeIntTrue (for WL Fresh item)False (for WL Book or non-WL item)1Indicate the item is tax-able or tax-free (Only for TW local)Shopee will refer to "tax_type" when issuing e-receipts to buyers on behalf of sellers. All variations of the same item share the same "tax_type". 1: taxable2: tax-free
  • Validation logic : if the developer inputs the value of "tax_type" for items
Caseis Tax-Free WL?RequiredRemark
1WL FreshYTrueReturn error for following cases:not input tax type for Fresh item Tax type out of range The format of tax_type is invalid
2WL BookYFalseNo tax type Input considered as not input tax type value,no tax type in the responseInput " tax type = [num]"Return Error if caller input tax type value for item"tax type is invalid, this item/category cannot be set tax type"
3 Non-WLNFalseNo tax type Input considered as not input tax type value,no tax type in the responseInput " tax type = [num not 0]"Return Error if caller input tax type value for item"tax type is invalid, this item/category cannot be set tax type"
  • Response
is Tax-Free WL?typewhat will return in response
Y(book)Input&Return1:error:"tax type is invalid, this item/category cannot be set tax type"2:error:"tax type is invalid, this item/category cannot be set tax type""":""invalid:error:"tax type is invalid, this item/category cannot be set tax type"
Y(Fresh)Input&Return1:12:2"":error: "tax type is mandatory for this item, please input tax type."invalid:error: "tax type is invalid"
NNInput&Return1:error:"tax type is invalid, this item/category cannot be set tax type"2:error:"tax type is invalid, this item/category cannot be set tax type""":""invalid:error:"tax type is invalid, this item/category cannot be set tax type"
  • Update Tax type when Update category

if you call v2.product.update_item to update category, we need to check if new category is tax-free whitelist:

is Tax-Free WL?typelogic
Y(book)get tax_type from Shopee internal ISBN API and write into item info
Y(Fresh)If you don't provide new tax type, sys return errorIf you provide new tax type ,sys will update tax type = new tax type
NNIf the item's new category is not in the tax-free WL, sys will write tax_type = 0 into item info
  • Update Tax type when Update ISBN
is Tax-Free WL?type
Y(book)get tax_type from Shopee internal ISBN API and write into item info
Y(Fresh)sys do nothing
NNsys will write tax_type = 0
  • If you request to Update Tax type and Update category together

if you call v2.product.update_item to update category and tax type together, we need to check if new category is tax-free whitelist first

is Tax-Free WL?typelogic
Y(book)If you request to update tax typeReturn Error if caller input tax type value for item"tax type is invalid, this item/category cannot be set tax type"
Y(Fresh)If you request to update tax typesys will update tax type = new tax type
NNnot tax-free WL, If you request to update tax typesys return error "tax type is invalid, this item/category cannot be set tax type"
#