magento tax 管理

1 system->configuration->sales->tax 是对tax的管理。主要是有关tax的计算和tax 在前台的显示设置。
注:如果通过rest api 获取商品的tax数据,tax ->default tax destination caculation 下的default country 选项,应该与General->general->local options 下的 Locale 国家相同。或者通过程序,在调用tax的时候通过设置 taxrequest->setCountryId()来改变默认税率的国家。
2 税的种类分为商品税,用户税(sales->tax->customer tax classs, product tax class)。税率通过sales->tax->manage tax zone&Rates 添加,税率规则通过 sales->tax->manage tax rule添加。

3 税率规则(tax rule)
(1)customer tax class, product tax class,tax rate 三个组合不能重复出现在不同的税率规则中。(出现重复无法添加)
(2)customer tax class 在用户组中使用,即与用户组关联。当用户所处的用户组满足customer tax class,且购买的商品满足product tax class,在购物地点满足的情况下,税率才会在前台计算。
(3)priority 与 Calculate off subtotal only

  首先介绍coumpound tax(组合税,也称折叠税率)

a:税率规则使用相同的优先级(priority),会把两个税率值相加,然后再与商品价格相乘。
例如:rule1: tax=0.075, priority=1, rule2: tax=0.050,priority=1,subtotal=100.
最终的总价为 100*(0.075+0.050)
b:如果使用不同的优先级,例如:
rule1: tax=0.075, priority=1, rule2: tax=0.050,priority=2,subtotal=100.
最终的税率总价为: 100*0.075+(100+100*0.075)*0.05
Calculate off subtotal only与组合税是不能重叠使用的,当勾选的时候,该税率会忽略其他优先级高的税率算出的总价。会直接用商品的价格乘以该税率。

例如:rule1: tax=0.075, priority=1; rule2: tax=0.050,priority=2,Calculate off subtotal only=select;subtotal=100.
税率总价为:100*0.075+100*0.050

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值