作为基于欧盟的卖方,我需要根据客户所在国家/地区的税率和规则收取税款。这意味着在创建订阅时,我需要指定税率(百分比或金额)或具有覆盖订阅价格的功能。使用Stripe时,只需在创建订阅时在tax_percent旁边指定plan_id

到目前为止,我无法使用PayPal Subscriptions API及其smart buttons进行相同的操作。可以在创建计划时设置税率,但是我需要能够设置每个订阅的税率。

示例智能按钮JS代码:

paypal.Buttons({
  createSubscription: function(data, actions) {
    return actions.subscription.create({
      'plan_id': 'P-2UF78835G6983425GLSM44MA',
      // I'd like to be able to set tax rate here somehow
    });
  }
}).render('#paypal-button-container');


不能直接使用Subscriptions API来设置税收,也可以:

curl -v -k -X POST https://api.sandbox.paypal.com/v1/billing/subscriptions \
   -H "Accept: application/json" \
   -H "Authorization: Bearer Access-Token" \
   -H "Content-Type: application/json" \
   -d '{
      "plan_id": "P-2UF78835G6983425GLSM44MA",
      "application_context": {
        "brand_name": "example",
        "user_action": "SUBSCRIBE_NOW",
        "payment_method": {
          "payer_selected": "PAYPAL",
          "payee_preferred": "IMMEDIATE_PAYMENT_REQUIRED"
        },
        "return_url": "https://example.com/returnUrl",
        "cancel_url": "https://example.com/cancelUrl"
      }
    }'


我是否遗漏了一些东西,是否对此进行了不正确的思考,或者PayPal是否“忘记”了实施基本税率等内容,从而使他们的新订阅API无法用于增值税MOSS场景?

最佳答案

这是一个古老的话题,仍然不可能。 PayPal不支持订阅税。您可以为您的订阅定价,使其包含增值税。在将用户重定向到付款之前,请注意价格已包含增值税。

我强烈建议不要自己执行税收规则。最好让第三方API处理正确的计算。


https://vatstack.com/quotes
https://quaderno.io/checkout
https://www.octobat.com/products/vat-gst-sales-tax-engine

10-07 19:41
查看更多