如果您无法连接Avatax,我们的电子商务可以启用后备税。然而,它并不完美。因为无法计算特殊税。目前的电子商务没有关于特殊税收地区的信息。我必须提前从Avatax获得哪个API来计算特殊税作为;后退";电子商务中的税收?
查看Avalara AvaTax TaxContent API,看看它们是否适合您的用例。
示例使用邮政编码作为过滤器:
https://sandbox-rest.avatax.com/api/v2/taxrates/bypostalcode?country=US&postalCode=80022
结果样本:
ZIP_CODE、STATE_ABREV、COUNTY_NAME、CITY_NAME、STATE_ALES_TAX、STATE_USE_TAX、COUNTY_SALES_TAX、CITY_SALES_TX、CITY_USE_TAX80001,CO,JEFFERSON,ARVADA,0.029000,0.029000,0.016000,0.011000,0.034600,0.0346000,0.079600,0.074600,Y,N80002,CO,JEFFERSON,ARVADA,0.029000,0.029000,0.016000,0.011000,0.034600,0.0346000,0.079600,0.074600,Y,N(加上640多条记录)
使用地址的示例:
https://sandbox-rest.avatax.com/api/v2/taxrates/byaddress?line1=16394%20E%20105th%20Ave&city=Commerce%20City&区域=CO&postalCode=80022&country=US
结果:
{"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-请求太多。请联系您的Avalara客户客户经理,了解有关费率限制的更多信息
访问Avalara的开发者社区https://developercommunity.avalara.com/s/--一个由Avalara托管的页面,您可以从团队和社区获得有关特定API问题的技术支持。