# Stripe Tax 納税地での Accounts v2 決済手段の請求詳細の使用へのサポートを追加 ## 新機能 `payment_method` 値を [Accounts v2 顧客設定](https://docs.stripe.com/api/v2/core/accounts/object.md?api-version=2025-10-29.preview#v2_account_object-configuration-customer)の [location_source](https://docs.stripe.com/api/v2/core/accounts/object.md?api-version=2025-10-29.preview#v2_account_object-configuration-customer-automatic_indirect_tax-location_source) 列挙型に追加します。 ## なぜこれは、互換性に関わる変更なのでしょうか? この変更により、閉じられた [location_source](https://docs.stripe.com/api/v2/core/accounts/object.md?api-version=2025-10-29.preview#v2_account_object-configuration-customer-automatic_indirect_tax-location_source) 列挙型に新しい `payment_method` 値が追加されます。予期しない `payment_method` 値の応答を受信したユーザーは、その応答を誤って処理する可能性があります。 ## 影響 Stripe Tax ユーザーは、[location_source](https://docs.stripe.com/api/v2/core/accounts/create.md?api-version=2025-10-29.preview#v2_create_accounts-configuration-customer-automatic_indirect_tax-location_source) を `payment_method` に設定することで、決済手段を使用して Accounts v2 取引に課税される税金を計算できるようになりました。利用可能な最も具体的なデフォルトの決済手段の [請求詳細](https://docs.stripe.com/api/payment_methods/object.md?api-version=2025-10-29.preview#payment_method_object-billing_details)が、以下の注文の優先順位に従って使用されます。 1. [請求書](https://docs.stripe.com/api/invoices/object.md?api-version=2025-10-29.preview#invoice_object-default_payment_method) (存在する場合)。 1. [サブスクリプション](https://docs.stripe.com/api/subscriptions/object.md?api-version=2025-10-29.preview#subscription_object-default_payment_method)(存在する場合)。 1. [Accounts v2 顧客構成](https://docs.stripe.com/api/v2/core/accounts/object.md?api-version=2025-10-29.preview#v2_update_accounts-configuration-customer-billing-default_payment_method) (存在する場合)。 ## 変更点 #### REST API | Value | Change | Enums | | ---------------- | ------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | | `payment_method` | Added | [V2.Core.Account.configuration.customer.automatic_indirect_tax](/api/v2/core/accounts/object?api-version=2025-10-29.preview#v2_account_object-configuration-customer-automatic_indirect_tax-location_source), [V2.Core.Account#create.configuration.customer.automatic_indirect_tax](/api/v2/core/accounts/object?api-version=2025-10-29.preview#v2_account_object-configuration-customer-automatic_indirect_tax-location_source), [V2.Core.Account#update.configuration.customer.automatic_indirect_tax](/api/v2/core/accounts/object?api-version=2025-10-29.preview#v2_account_object-configuration-customer-automatic_indirect_tax-location_source) | #### Ruby この変更は、Ruby SDK には影響しません。 #### Python | Value | Change | Enums | | ---------------- | ------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | | `payment_method` | Added | [V2.Core.Account.Configuration.Customer.AutomaticIndirectTax](/api/v2/core/accounts/object?api-version=2025-10-29.preview#v2_account_object-configuration-customer-automatic_indirect_tax-location_source), [v2.core.Account.CreateParamsConfigurationCustomerAutomaticIndirectTax](/api/v2/core/accounts/object?api-version=2025-10-29.preview#v2_account_object-configuration-customer-automatic_indirect_tax-location_source), [v2.core.Account.ModifyParamsConfigurationCustomerAutomaticIndirectTax](/api/v2/core/accounts/object?api-version=2025-10-29.preview#v2_account_object-configuration-customer-automatic_indirect_tax-location_source) | #### PHP | Value | Change | Enum | | ---------------- | ------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | | `payment_method` | Added | [V2.Core.Account.configuration.customer.automatic_indirect_tax](/api/v2/core/accounts/object?api-version=2025-10-29.preview#v2_account_object-configuration-customer-automatic_indirect_tax-location_source) | #### Java | Value | Change | Enums | | ---------------- | ------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `payment_method` | Added | [v2.core.AccountCreateParams.configuration.customer.automatic_indirect_tax](/api/v2/core/accounts/create?api-version=2025-10-29.preview#v2_create_accounts-configuration-customer-automatic_indirect_tax-locationSource), [v2.core.AccountUpdateParams.configuration.customer.automatic_indirect_tax](/api/v2/core/accounts/create?api-version=2025-10-29.preview#v2_create_accounts-configuration-customer-automatic_indirect_tax-locationSource) | #### Node.js | Value | Change | Enums | | ---------------- | ------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `payment_method` | Added | [V2.Core.Account.configuration.customer.automatic_indirect_tax](/api/v2/core/accounts/object?api-version=2025-10-29.preview#v2_account_object-configuration-customer-automatic_indirect_tax-location_source), [V2.Core.AccountCreateParams.configuration.customer.automatic_indirect_tax](/api/v2/core/accounts/object?api-version=2025-10-29.preview#v2_account_object-configuration-customer-automatic_indirect_tax-location_source), [V2.Core.AccountUpdateParams.configuration.customer.automatic_indirect_tax](/api/v2/core/accounts/object?api-version=2025-10-29.preview#v2_account_object-configuration-customer-automatic_indirect_tax-location_source) | #### 移動 | Value | Change | Enum | | ---------------- | ------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `payment_method` | Added | [V2CoreAccountConfigurationCustomerAutomaticIndirectTax](/api/v2/core/accounts/object?api-version=2025-10-29.preview#v2_account_object-configuration-customer-automatic_indirect_tax-LocationSource) | #### .NET この変更は、.NET SDK には影響しません。 ## アップグレード #### REST API 1. Workbench で[現在の API バージョンを表示します](https://docs.stripe.com/upgrades.md#view-your-api-version-and-the-latest-available-upgrade-in-workbench)。 1. SDK を使用している場合は、この API バージョンに対応する SDK バージョンにアップグレードします。 - SDK を使用していない場合は、`Stripe-Version: 2025-10-29.preview` を含めるように [API リクエスト](https://docs.stripe.com/api/versioning.md)を更新してください。 1. [Webhook エンドポイント](https://docs.stripe.com/webhooks/versioning.md)に使用する API バージョンをアップグレードします。 1. 新しいバージョンに対して、[実装内容をテスト](https://docs.stripe.com/testing.md)します。 1. Connect を使用する場合は、[Connect の実装内容をテスト](https://docs.stripe.com/connect/testing.md)します。 1. Workbench で[アップグレードを実行](https://docs.stripe.com/upgrades.md#perform-the-upgrade)します。[バージョンをロールバック](https://docs.stripe.com/upgrades.md#roll-back-your-api-version)できるのは 72 時間以内です。 [Stripe API のアップグレード](https://docs.stripe.com/upgrades.md)について、詳細をご確認ください。 #### Ruby 1. Workbench で[現在の API バージョンを表示します](https://docs.stripe.com/upgrades.md#view-your-api-version-and-the-latest-available-upgrade-in-workbench)。 1. Ruby SDK を [v17.2.0-beta.1](https://github.com/stripe/stripe-ruby/releases/tag/v17.2.0-beta.1)にアップグレードします。 1. [Webhook エンドポイント](https://docs.stripe.com/webhooks/versioning.md)に使用する API バージョンをアップグレードします。 1. 新しいバージョンに対して、[実装内容をテスト](https://docs.stripe.com/testing.md)します。 1. Connect を使用する場合は、[Connect の実装内容をテスト](https://docs.stripe.com/connect/testing.md)します。 1. Workbench で[アップグレードを実行](https://docs.stripe.com/upgrades.md#perform-the-upgrade)します。[バージョンをロールバック](https://docs.stripe.com/upgrades.md#roll-back-your-api-version)できるのは 72 時間以内です。 [Stripe API のアップグレード](https://docs.stripe.com/upgrades.md)について、詳細をご確認ください。 #### Python 1. Workbench で[現在の API バージョンを表示します](https://docs.stripe.com/upgrades.md#view-your-api-version-and-the-latest-available-upgrade-in-workbench)。 1. Python SDK を [v13.2.0b1](https://github.com/stripe/stripe-python/releases/tag/v13.2.0b1)にアップグレードします。 1. [Webhook エンドポイント](https://docs.stripe.com/webhooks/versioning.md)に使用する API バージョンをアップグレードします。 1. 新しいバージョンに対して、[実装内容をテスト](https://docs.stripe.com/testing.md)します。 1. Connect を使用する場合は、[Connect の実装内容をテスト](https://docs.stripe.com/connect/testing.md)します。 1. Workbench で[アップグレードを実行](https://docs.stripe.com/upgrades.md#perform-the-upgrade)します。[バージョンをロールバック](https://docs.stripe.com/upgrades.md#roll-back-your-api-version)できるのは 72 時間以内です。 [Stripe API のアップグレード](https://docs.stripe.com/upgrades.md)について、詳細をご確認ください。 #### PHP 1. Workbench で[現在の API バージョンを表示します](https://docs.stripe.com/upgrades.md#view-your-api-version-and-the-latest-available-upgrade-in-workbench)。 1. PHP SDK を [v18.2.0-beta.1](https://github.com/stripe/stripe-php/releases/tag/v18.2.0-beta.1)にアップグレードします。 1. [Webhook エンドポイント](https://docs.stripe.com/webhooks/versioning.md)に使用する API バージョンをアップグレードします。 1. 新しいバージョンに対して、[実装内容をテスト](https://docs.stripe.com/testing.md)します。 1. Connect を使用する場合は、[Connect の実装内容をテスト](https://docs.stripe.com/connect/testing.md)します。 1. Workbench で[アップグレードを実行](https://docs.stripe.com/upgrades.md#perform-the-upgrade)します。[バージョンをロールバック](https://docs.stripe.com/upgrades.md#roll-back-your-api-version)できるのは 72 時間以内です。 [Stripe API のアップグレード](https://docs.stripe.com/upgrades.md)について、詳細をご確認ください。 #### Java 1. Workbench で[現在の API バージョンを表示します](https://docs.stripe.com/upgrades.md#view-your-api-version-and-the-latest-available-upgrade-in-workbench)。 1. Java SDK を [v30.2.0-beta.1](https://github.com/stripe/stripe-java/releases/tag/v30.2.0-beta.1)にアップグレードします。 1. [Webhook エンドポイント](https://docs.stripe.com/webhooks/versioning.md)に使用する API バージョンをアップグレードします。 1. 新しいバージョンに対して、[実装内容をテスト](https://docs.stripe.com/testing.md)します。 1. Connect を使用する場合は、[Connect の実装内容をテスト](https://docs.stripe.com/connect/testing.md)します。 1. Workbench で[アップグレードを実行](https://docs.stripe.com/upgrades.md#perform-the-upgrade)します。[バージョンをロールバック](https://docs.stripe.com/upgrades.md#roll-back-your-api-version)できるのは 72 時間以内です。 [Stripe API のアップグレード](https://docs.stripe.com/upgrades.md)について、詳細をご確認ください。 #### Node.js 1. Workbench で[現在の API バージョンを表示します](https://docs.stripe.com/upgrades.md#view-your-api-version-and-the-latest-available-upgrade-in-workbench)。 1. Node SDK を [v19.3.0-beta.1](https://github.com/stripe/stripe-node/releases/tag/v19.3.0-beta.1)にアップグレードします。 1. [Webhook エンドポイント](https://docs.stripe.com/webhooks/versioning.md)に使用する API バージョンをアップグレードします。 1. 新しいバージョンに対して、[実装内容をテスト](https://docs.stripe.com/testing.md)します。 1. Connect を使用する場合は、[Connect の実装内容をテスト](https://docs.stripe.com/connect/testing.md)します。 1. Workbench で[アップグレードを実行](https://docs.stripe.com/upgrades.md#perform-the-upgrade)します。[バージョンをロールバック](https://docs.stripe.com/upgrades.md#roll-back-your-api-version)できるのは 72 時間以内です。 [Stripe API のアップグレード](https://docs.stripe.com/upgrades.md)について、詳細をご確認ください。 #### Go 1. Workbench で[現在の API バージョンを表示します](https://docs.stripe.com/upgrades.md#view-your-api-version-and-the-latest-available-upgrade-in-workbench)。 1. Go SDK を [v83.1.0-beta.3](https://github.com/stripe/stripe-go/releases/tag/v83.1.0-beta.3)にアップグレードします。 1. [Webhook エンドポイント](https://docs.stripe.com/webhooks/versioning.md)に使用する API バージョンをアップグレードします。 1. 新しいバージョンに対して、[実装内容をテスト](https://docs.stripe.com/testing.md)します。 1. Connect を使用する場合は、[Connect の実装内容をテスト](https://docs.stripe.com/connect/testing.md)します。 1. Workbench で[アップグレードを実行](https://docs.stripe.com/upgrades.md#perform-the-upgrade)します。[バージョンをロールバック](https://docs.stripe.com/upgrades.md#roll-back-your-api-version)できるのは 72 時間以内です。 [Stripe API のアップグレード](https://docs.stripe.com/upgrades.md)について、詳細をご確認ください。 #### .NET 1. Workbench で[現在の API バージョンを表示します](https://docs.stripe.com/upgrades.md#view-your-api-version-and-the-latest-available-upgrade-in-workbench)。 1. .NET SDK を [v49.2.0-beta.1](https://github.com/stripe/stripe-dotnet/releases/tag/v49.2.0-beta.1)にアップグレードします。 1. [Webhook エンドポイント](https://docs.stripe.com/webhooks/versioning.md)に使用する API バージョンをアップグレードします。 1. 新しいバージョンに対して、[実装内容をテスト](https://docs.stripe.com/testing.md)します。 1. Connect を使用する場合は、[Connect の実装内容をテスト](https://docs.stripe.com/connect/testing.md)します。 1. Workbench で[アップグレードを実行](https://docs.stripe.com/upgrades.md#perform-the-upgrade)します。[バージョンをロールバック](https://docs.stripe.com/upgrades.md#roll-back-your-api-version)できるのは 72 時間以内です。 [Stripe API のアップグレード](https://docs.stripe.com/upgrades.md)について、詳細をご確認ください。 ## 関連する変更 - [連結アカウントの確認データが不足している場合の新しいエラーコードを追加しました](https://docs.stripe.com/changelog/clover/2025-10-29/accounts-verification-data-error.md) - [Accounts v2 の承認された会社の代表者に証明する機能を追加](https://docs.stripe.com/changelog/clover/2025-10-29/v2-representative-declaration.md) - [クローズされた v2 アカウントの取得と一覧表示のサポートを追加](https://docs.stripe.com/changelog/clover/2025-10-29/return-closed-v2-accounts.md)