如果您无法连接到 Avatax,我们的电子商务可以启用后备税。然而,它并不完美。因为无法计算特别税。目前的电子商务没有特别税区的信息。我必须提前从 Avatax 获得哪个 API 才能将特别税计算为电子商务中的“后备”税?
1 回答
查看Avalara AvaTax TaxContent API,看看它们是否适合您的用例。
使用邮政编码作为过滤器的示例:
https://sandbox-rest.avatax.com/api/v2/taxrates/bypostalcode?country=US&postalCode=80022
结果样本:
ZIP_CODE,STATE_ABBREV,COUNTY_NAME,CITY_NAME,STATE_SALES_TAX,STATE_USE_TAX,COUNTY_SALES_TAX,COUNTY_USE_TAX,CITY_SALES_TAX,CITY_USE_TAX,TOTAL_SALES_TAX,TOTAL_USE_TAX,TAX_SHIPPING_ALONE,TAX_SHIPPING_AND_HANDLING_TOGETHER 80001,CO,JEFFERSON,ARVADA,0.029000,0.029000,0.016000,0.011000,0.034600,0.034600,0.079600,0.074600 ,Y,N 80002,CO,JEFFERSON,ARVADA,0.029000,0.029000,0.016000,0.011000,0.034600,0.034600,0.079600,0.074600,Y,N(再加上 640 条记录)
使用地址的示例:
结果:
{"totalRate":0.0925,"rates":[{"rate":0.029,"name":"CO STATE TAX","type":"State"},{"rate":0.0075,"name":"CO COUNTY TAX","type":"County"},{"rate":0.045,"name":"CO CITY TAX","type":"City"},{"rate":0.01,"name":"CO SPECIAL TAX","type":"Special"},{"rate":0.001,"name":"CO SPECIAL TAX","type":"Special"}]}
笔记:
TaxConent API 假设您仅在美国的零售销售点销售一般有形个人财产。
TaxRates API 假设您仅在美国的零售销售点销售一般有形个人财产。
API 的使用受速率限制。超过速率限制的用户将收到 HTTP 响应代码 429 - Too Many Requests。请联系您的 Avalara 客户客户经理,了解有关费率限制的更多信息。
访问 Avalara 的开发人员社区, 网址为https://developercommunity.avalara.com/s/——一个 Avalara 托管页面,您可以在其中从团队和社区获得有关特定 API 问题的技术支持。