Stripe Tax に移行する
既存のサブスクリプションを Stripe Tax に移行する方法をご紹介します。
Stripe Tax を使用すると、取引で徴収する税金を計算できます。税額は商品および顧客の所在地に基づいて、自動的に計算され、支払いに追加されます。
When you integrate with Stripe Tax, you need to update existing subscriptions to make sure that tax is automatically calculated going forward. Stripe provides tooling to help you update your subscriptions. You can also manually update subscriptions where you want more control over certain options.
Update existing subscriptions using automated tooling
First, you need to activate Stripe Tax. To learn how, read the setup guide.
To use the tooling, follow these steps:
- Go to the Dashboard.
- Review the subscriptions you need to update.
- Review the recommended actions.
- Make any necessary manual updates.
Stripe removes manual tax rates from the subscriptions, which can take up to 5 business days. When the process is complete, we notify you by email.
注
We don’t prorate the tax changes. The updates take effect at the start of the next billing cycle.
You can use the tooling to update subscriptions that meet the following criteria:
- Are active
- Don’t automatically collect tax
- Have sufficient address information to calculate tax
You need to update the following types of subscriptions:
- Subscriptions with schedules. To learn more, see the Update Subscriptions with subscription schedules section.
- Subscriptions that use the charge types destination charges or separate charges and transfers.
Update existing subscriptions manually
- Review customer locations and make any required updates.
- Update products and prices with tax codes and tax behaviors.
- サブスクリプションを更新し、以降のインボイスで税金を自動的に計算します。
- サブスクリプションを適切に更新したことを確認します。
顧客の地域を確認する
To correctly calculate tax, we need to know the customer’s tax location status. You can check it in the Dashboard or in exported data, or get the information using the API.
有効な顧客の住所、その使用方法、エラーの対処方法については、顧客の住所を収集するで詳細をご覧ください。
商品と価格を更新する
商品と価格には、Stripe Tax を有効にしたときに割り当てたデフォルトの税金処理が使用されます。税金を別途計算するために有効な商品と価格を更新する場合は、tax_code と tax_behavior を設定します。詳細については、すべての使用可能な税コードのリストと、税コードおよび税金処理の設定のガイドをご覧ください。価格を内税にするか外税にするかの決定方法など、商品と価格についての詳細は、Tax の設定に関してよくある質問をご覧ください。
商品を更新する
まず、tax_
で既存の商品を更新します。商品の tax_
が明示的に定義されていない場合、Stripe Tax は、設定されている事前設定の商品の税コードを使用します。
価格を更新する
次に、価格の税金処理を更新します。
よくある間違い
tax_
は、一度 exclusive
または inclusive
のいずれかに設定すると、後から変更することはできません。価格の税金処理を変更するには、必要な税金処理で新しい価格を作成し、古い価格をアーカイブする必要があります。
サブスクリプションを更新する
顧客、商品、価格を更新すると、既存のサブスクリプションを更新する準備が整います。
Get the list of subscriptions that need to be updated from the subscriptions page in the Dashboard. To display only subscriptions that don’t have automatic tax enabled, click Filter, check Automatic tax, and select Disabled. Alternatively, you can export all filtered subscriptions to view them as a CSV file. To do this, click Export and select All as the Date range.
ステータスに応じてサブスクリプションを更新する方法:
- サブスクリプションに既存の税率がない場合は、税金の自動計算を有効にするだけで済みます。
- サブスクリプションのサブスクリプションまたはラインアイテムのレベルに既存の税率がある場合は、既存の税率を消去し、税金の自動計算を有効化する必要があります。比例配分が適用されたアイテムの作成を避けるには、この更新のスケジュールを作成することができます。
- サブスクリプションにサブスクリプションスケジュールがある場合、サブスクリプションスケジュールプランで
automatic_
のインスタンスを削除する必要があります。tax[enabled]=false
既存の税率がないサブスクリプションを更新する
既存の税率でサブスクリプションを更新する
サブスクリプションのスケジュールを使用してサブスクリプションを更新する
If you need to collect tax, and any of your subscriptions include a subscription schedule that sets automatic_
, you must remove that parameter. To do so, update all phases of the subscription’s schedule by removing automatic_
and setting default_
.
サブスクリプションのスケジュールを更新する際には、現在および以降のフェーズをすべて渡す必要があります。このためには、設定されているパラメーターを確認してから、サブスクリプションのスケジュールで Stripe Tax を有効にします。
サブスクリプションのスケジュールを取得後に更新するには、automatic_
パラメーターを削除し、他のフェーズとパラメーターを渡します。
更新をスケジュールする
比例配分アイテムが作成されないようにするには、次のサイクルの開始時に更新するようにスケジュールできます。
現在、サブスクリプションの更新をスケジュールするには、API を使用する必要があります。
更新を確認する
To confirm that you’ve properly updated your subscriptions, create a preview invoice for each subscription and inspect the results of its tax calculation.
You can retrieve the tax amounts from the tax and total_tax_amounts fields on the preview invoice, and from the per-line-item tax_amounts fields. The invoice has an automatic_tax field showing the status of the calculation, with one of three possible statuses:
ステータス | 説明 | 想定されるアクション |
---|---|---|
complete | Stripe Tax は支払いに対する税金の評価を完了しました。 | 税額は、最新の請求書の tax および total_ フィールドから、または各ラインアイテムの tax_ フィールドから取得できます。 |
requires_ | Stripe Tax was unable to assess taxes because it didn’t have enough information to determine the customer’s location. | 顧客から詳細な情報 (番地までの詳細など) を収集し、customer.address フィールドを更新します。 |
failed | Stripe の内部エラー。 | 再度リクエストをお試しください。問題が解決しない場合は、Stripe サポートにご連絡ください。 |