# マーケットプレイスのための Tax プラットフォームとマーケットプレイスの税金に関する要件と、 Connect プラットフォームが義務を負う場合に Stripe Tax が取引に対する税金を徴収できるようにする方法をご紹介します。 ## プラットフォームおよびマーケットプレイスの税金に関する要件 多くの国やアメリカの州では、マーケットプレイス運営者に対し、促進販売に対する売上税と VAT を徴収することが義務付けられています。アメリカではこれらの事業者をマーケットプレイスファシリテーターと呼んでいますが、ヨーロッパなどの他の地域ではみなし販売者と呼ばれる場合があります。 マーケットプレイスの運営者として、税金の徴収要件は国や州によって異なります。ただし、電子インターフェイスで買い手と売り手の間の取引が可能になっていて、顧客の支払いを直接的または非直接的に回収している場合は、税金徴収の責任を負う可能性があります。 ビジネスがマーケットプレイスまたはプラットフォームを運営している場合、まずマーケットプレイスファシリテーターまたはみなし売り手としての資格があるかどうかを判断し、次に税務コンプライアンスを維持していることを確認する必要があります。ビジネスの税金に関する要件が不明な場合は、税務アドバイザーにご相談ください。 ビジネスでマーケットプレイスを運営していて、このマーケットプレイスを通じて処理された売上に対する税金を徴収したい場合は、下記の詳細を参照して、マーケットプレイスで Stripe Tax を有効にしてください。 ## マーケットプレイスで Stripe Tax を有効にする Stripe Tax を使用すると、[100 カ国](https://docs.stripe.com/tax/supported-countries.md)以上の国々でさまざまな商品カテゴリーの間接税を計算、徴収、申告できます。 このガイドは、プラットフォームが税金の徴収、納税申告書の提出、申告の義務を負う場合に使用します。 1. [プラットフォームアカウントの税金の徴収を設定する](https://docs.stripe.com/tax/tax-for-marketplaces.md#set-up) 1. (オプション) [商品カタログに税コードを割り当てる](https://docs.stripe.com/tax/tax-for-marketplaces.md#assign-product-tax-codes) 1. [税金の計算と徴収を導入する](https://docs.stripe.com/tax/tax-for-marketplaces.md#enable-tax-collection) 1. [徴収した税額を差し引く](https://docs.stripe.com/tax/tax-for-marketplaces.md#tax-withholding) 1. [Stripe Tax のレポートにアクセスする](https://docs.stripe.com/tax/tax-for-marketplaces.md#access-reports) 連結アカウントは税金を徴収したり申告したりしないため、次のようになります。 - [ダッシュボード](https://dashboard.stripe.com/connect/accounts/overview)では税務状況の列 (税務設定、税金しきい値、税務登録の状況) が空白で表示されます。 - プラットフォームの本社所在地、事前に設定された税コード、税務登録を使用して、税額を計算します。連結アカウントの情報を税務目的に使用することはありません。 ## プラットフォームアカウントの税金の徴収を設定する 税金を徴収するには、プラットフォームアカウントの税金の設定と登録が必要です。 ### Stripe ダッシュボードを使用する [Stripe ダッシュボード](https://docs.stripe.com/tax/set-up.md)を使用して、本社所在地、事前設定の税コード、税務登録を指定します。 ### Stripe API を使用する 本社所在地とその他のデフォルト値を設定するには、[Tax Settings API (納税設定 API)](https://docs.stripe.com/tax/settings-api.md#updating-settings) を使用します。納税義務がある場所の税務登録を追加するには、[Tax Registrations API (税務登録 API)](https://docs.stripe.com/tax/registrations-api.md#adding-registration) を使用します。 ## 商品カタログに税コードを割り当てる 税金を計算するには、Stripe Tax で商品を税コードに分類する必要があります。そのためには、プラットフォームアカウントの[事前設定の税コード](https://docs.stripe.com/tax/products-prices-tax-codes-tax-behavior.md#preset-tax-codes)を指定します。通常販売する商品やサービスが同一の種別に属するときは、多くの場合、これで十分です。 さらに、[税コードを各商品に割り当て](https://docs.stripe.com/tax/products-prices-tax-codes-tax-behavior.md#tax-code-on-product)て、税種別をより細かく管理できます。マーケットプレイスで売り手が設定した各商品に税コードの割り当てが必要になる場合があります。サポートされている税コードのリストは、[使用できる税コード](https://docs.stripe.com/tax/tax-codes.md)で確認するか、Stripe [Tax Code API](https://docs.stripe.com/api/tax_codes.md) から取得できます。 ## 税金の計算と徴収を導入する 決済フローの一環として税金を概算するには、Stripe Tax の導入が必要になります。 ### Payment Links ### 1 回限りの支払いの Payment Links 現在、[Stripe Payment Links](https://docs.stripe.com/tax/payment-links.md) でプラットフォームアカウント側の*納税義務* (The responsibility for collecting and reporting taxes for transactions in a Connect integration. It can belong to the platform or to connected accounts, depending on your business model, government regulations, and individual transaction details)に対応している支払いタイプのいずれか 1 つを選択します。 #### ダイレクト支払い この支払いタイプは、プラットフォームに*納税義務がある* (The responsibility for collecting and reporting taxes for transactions in a Connect integration. It can belong to the platform or to connected accounts, depending on your business model, government regulations, and individual transaction details)連結アカウントのユースケースではまだサポートされていません。 #### デスティネーション支払い Payment Links API コールの場合: - `type=self` を指定して [automatic_tax[liability]](https://docs.stripe.com/api/payment-link/create.md#create_payment_link-automatic_tax-liability) を含めます。 - 連結アカウント ID の値を指定して [transfer_data[destination]](https://docs.stripe.com/api/payment-link/create.md#create_payment_link-transfer_data) を含めます。 - (オプション) [請求書を自動送信](https://docs.stripe.com/payment-links/post-payment.md#automatically-send-paid-invoices)する場合は、`type=self` を指定して [invoice_creation[invoice_data][issuer]](https://docs.stripe.com/api/payment-link/create.md#create_payment_link-invoice_creation-invoice_data-issuer) を含めます。 - (オプション) 連結アカウントが[売上処理加盟店](https://docs.stripe.com/connect/destination-charges.md#settlement-merchant)の場合は、連結アカウント ID の値に [on_behalf_of](https://docs.stripe.com/api/payment-link/create.md#create_payment_link-on_behalf_of) を含めます。 ```curl curl https://api.stripe.com/v1/payment_links \ -u "<>:" \ -d "line_items[0][price]={{PRICE_ID}}" \ -d "line_items[0][quantity]=2" \ -d "automatic_tax[enabled]=true" \ -d "automatic_tax[liability][type]=self" \ -d "transfer_data[destination]={{CONNECTEDACCOUNT_ID}}" \ -d "invoice_creation[enabled]=true" \ -d "invoice_creation[invoice_data][issuer][type]=self" ``` #### 支払いと送金別方式 Payment Links API コールの場合: - `type=self` を指定して [automatic_tax[liability]](https://docs.stripe.com/api/payment-link/create.md#create_payment_link-automatic_tax-liability) を含めます。 - (オプション) [請求書を自動送信](https://docs.stripe.com/payment-links/post-payment.md#automatically-send-paid-invoices)する場合は、`type=self` を指定して [invoice_creation[invoice_data][issuer]](https://docs.stripe.com/api/payment-link/create.md#create_payment_link-invoice_creation-invoice_data-issuer) を含めます。 - (オプション) 連結アカウントが[売上処理加盟店](https://docs.stripe.com/connect/separate-charges-and-transfers.md#settlement-merchant)の場合は、連結アカウント ID の値に [on_behalf_of](https://docs.stripe.com/api/payment-link/create.md#create_payment_link-on_behalf_of) を含めます。 ```curl curl https://api.stripe.com/v1/payment_links \ -u "<>:" \ -d "line_items[0][price]={{PRICE_ID}}" \ -d "line_items[0][quantity]=2" \ -d "automatic_tax[enabled]=true" \ -d "automatic_tax[liability][type]=self" \ -d "invoice_creation[enabled]=true" \ -d "invoice_creation[invoice_data][issuer][type]=self" ``` Transfers API コールの場合: - Payment Linkによって作成されたPaymentIntentに送金を結び付けるために、[source_transaction](https://docs.stripe.com/api/transfers/create.md#create_transfer-source_transaction)を含めます。 - 連結アカウント ID の値を指定した [destination](https://docs.stripe.com/api/transfers/create.md#create_transfer-destination) を含めます。 ```curl curl https://api.stripe.com/v1/transfers \ -u "<>:" \ -d amount=1000 \ -d currency=usd \ -d "source_transaction={{CHARGE_ID}}" \ -d "destination={{CONNECTEDACCOUNT_ID}}" ``` ### サブスクリプションの Payment Links 現在、[Stripe Payment Links](https://docs.stripe.com/tax/payment-links.md) でプラットフォームアカウント側の*納税義務* (The responsibility for collecting and reporting taxes for transactions in a Connect integration. It can belong to the platform or to connected accounts, depending on your business model, government regulations, and individual transaction details)に対応している支払いタイプのいずれか 1 つを選択します。 #### ダイレクト支払い この支払いタイプは、プラットフォームに*納税義務がある* (The responsibility for collecting and reporting taxes for transactions in a Connect integration. It can belong to the platform or to connected accounts, depending on your business model, government regulations, and individual transaction details)連結アカウントのユースケースではまだサポートされていません。 #### デスティネーション支払い Payment Links API コールの場合: - `type=self` を指定して [automatic_tax[liability]](https://docs.stripe.com/api/payment-link/create.md#create_payment_link-automatic_tax-liability) を含めます。 - 連結アカウント ID の値を指定して [transfer_data[destination]](https://docs.stripe.com/api/payment-link/create.md#create_payment_link-transfer_data) を含めます。 - `type=self` を指定して [subscription_data[invoice_settings][issuer]](https://docs.stripe.com/api/payment-link/create.md#create_payment_link-subscription_data-invoice_settings-issuer) を含めます。 - (オプション) 連結アカウントが[売上処理加盟店](https://docs.stripe.com/connect/destination-charges.md#settlement-merchant)の場合は、連結アカウント ID の値を指定して [subscription_data[on_behalf_of]](https://docs.stripe.com/api/payment-link/create.md#create_payment_link-on_behalf_of) を含めます。 ```curl curl https://api.stripe.com/v1/payment_links \ -u "<>:" \ -d "line_items[0][price]={{PRICE_ID}}" \ -d "line_items[0][quantity]=1" \ -d "automatic_tax[enabled]=true" \ -d "automatic_tax[liability][type]=self" \ -d "transfer_data[destination]={{CONNECTEDACCOUNT_ID}}" \ -d "subscription_data[invoice_settings][issuer][type]=self" ``` #### 支払いと送金別方式 Payment Links API コールの場合: - `type=self` を指定して [automatic_tax[liability]](https://docs.stripe.com/api/payment-link/create.md#create_payment_link-automatic_tax-liability) を含めます。 - `type=self` を指定して [subscription_data[invoice_settings][issuer]](https://docs.stripe.com/api/payment-link/create.md#create_payment_link-subscription_data-invoice_settings-issuer) を含めます。 - (オプション) 連結アカウントが[売上処理加盟店](https://docs.stripe.com/connect/separate-charges-and-transfers.md#settlement-merchant)の場合は、連結アカウント ID の値を指定して [subscription_data[on_behalf_of]](https://docs.stripe.com/api/payment-link/create.md#create_payment_link-on_behalf_of) を含めます。 ```curl curl https://api.stripe.com/v1/payment_links \ -u "<>:" \ -d "line_items[0][price]={{PRICE_ID}}" \ -d "line_items[0][quantity]=1" \ -d "automatic_tax[enabled]=true" \ -d "automatic_tax[liability][type]=self" \ -d "subscription_data[invoice_settings][issuer][type]=self" ``` Transfers API コールの場合: - Payment Linkによって作成されたPaymentIntentに送金を結び付けるために、[source_transaction](https://docs.stripe.com/api/transfers/create.md#create_transfer-source_transaction)を含めます。 - 連結アカウント ID の値を指定した [destination](https://docs.stripe.com/api/transfers/create.md#create_transfer-destination) を含めます。 ```curl curl https://api.stripe.com/v1/transfers \ -u "<>:" \ -d amount=1000 \ -d currency=usd \ -d "source_transaction={{CHARGE_ID}}" \ -d "destination={{CONNECTEDACCOUNT_ID}}" ``` ### Checkout ### 1 回限りの支払いの Checkout セッション 現在、[Stripe Checkout](https://docs.stripe.com/tax/checkout.md) でプラットフォームアカウント側の*納税義務* (The responsibility for collecting and reporting taxes for transactions in a Connect integration. It can belong to the platform or to connected accounts, depending on your business model, government regulations, and individual transaction details)に対応している支払いタイプのいずれか 1 つを選択します。 #### ダイレクト支払い この支払いタイプは、プラットフォームに*納税義務がある* (The responsibility for collecting and reporting taxes for transactions in a Connect integration. It can belong to the platform or to connected accounts, depending on your business model, government regulations, and individual transaction details)連結アカウントのユースケースではまだサポートされていません。 #### デスティネーション支払い Checkout Sessions API コールの場合: - `type=self` を指定して [automatic_tax[liability]](https://docs.stripe.com/api/checkout/sessions/create.md#create_checkout_session-automatic_tax-liability) を含めます。 - 連結アカウント ID の値を指定した [payment_intent_data[transfer_data][destination]](https://docs.stripe.com/api/checkout/sessions/create.md#create_checkout_session-payment_intent_data-transfer_data-destination) を含めます。 - (オプション) [請求書を自動送信](https://docs.stripe.com/payments/checkout/receipts.md?payment-ui=stripe-hosted#automatically-send-receipts)する場合は、[invoice_creation[invoice_data][issuer]](https://docs.stripe.com/api/checkout/sessions/create.md#create_checkout_session-invoice_creation-invoice_data-issuer) に `type=self` を設定して含めます。 - (オプション) 連結アカウントが[売上処理加盟店](https://docs.stripe.com/connect/destination-charges.md#settlement-merchant)である場合、連結アカウント ID の値を指定した [payment_intent_data[on_behalf_of]](https://docs.stripe.com/api/checkout/sessions/create.md#create_checkout_session-payment_intent_data-on_behalf_of) を含めます。 ```curl curl https://api.stripe.com/v1/checkout/sessions \ -u "<>:" \ -d "line_items[0][price]={{PRICE_ID}}" \ -d "line_items[0][quantity]=2" \ -d "automatic_tax[enabled]=true" \ -d "automatic_tax[liability][type]=self" \ -d "payment_intent_data[transfer_data][destination]={{CONNECTEDACCOUNT_ID}}" \ -d "invoice_creation[enabled]=true" \ -d "invoice_creation[invoice_data][issuer][type]=self" \ -d mode=payment \ --data-urlencode "success_url=https://example.com/success" ``` #### 支払いと送金別方式 Checkout Sessions API コールの場合: - `type=self` を指定して [automatic_tax[liability]](https://docs.stripe.com/api/checkout/sessions/create.md#create_checkout_session-automatic_tax-liability) を含めます。 - (オプション) [請求書を自動送信](https://docs.stripe.com/payments/checkout/receipts.md?payment-ui=stripe-hosted#automatically-send-receipts)する場合は、[invoice_creation[invoice_data][issuer]](https://docs.stripe.com/api/checkout/sessions/create.md#create_checkout_session-invoice_creation-invoice_data-issuer) に `type=self` を設定して含めます。 - (オプション) 連結アカウントが[売上処理加盟店](https://docs.stripe.com/connect/separate-charges-and-transfers.md#settlement-merchant)である場合、連結アカウント ID の値を指定した [payment_intent_data[on_behalf_of]](https://docs.stripe.com/api/checkout/sessions/create.md#create_checkout_session-payment_intent_data-on_behalf_of) を含めます。 ```curl curl https://api.stripe.com/v1/checkout/sessions \ -u "<>:" \ -d "line_items[0][price]={{PRICE_ID}}" \ -d "line_items[0][quantity]=2" \ -d "automatic_tax[enabled]=true" \ -d "automatic_tax[liability][type]=self" \ -d "invoice_creation[enabled]=true" \ -d "invoice_creation[invoice_data][issuer][type]=self" \ -d mode=payment \ --data-urlencode "success_url=https://example.com/success" ``` Transfers API コールの場合: - [source_transaction](https://docs.stripe.com/api/transfers/create.md#create_transfer-source_transaction) を含めて、送金を Checkout Session が作成した PaymentIntent に結びつけます。 - 連結アカウント ID の値を指定した [destination](https://docs.stripe.com/api/transfers/create.md#create_transfer-destination) を含めます。 ```curl curl https://api.stripe.com/v1/transfers \ -u "<>:" \ -d amount=1000 \ -d currency=usd \ -d "source_transaction={{CHARGE_ID}}" \ -d "destination={{CONNECTEDACCOUNT_ID}}" ``` ### サブスクリプションの Checkout セッション 現在、[Stripe Checkout](https://docs.stripe.com/tax/checkout.md) でプラットフォームアカウント側の*納税義務* (The responsibility for collecting and reporting taxes for transactions in a Connect integration. It can belong to the platform or to connected accounts, depending on your business model, government regulations, and individual transaction details)に対応している支払いタイプのいずれか 1 つを選択します。 #### ダイレクト支払い この支払いタイプは、プラットフォームに*納税義務がある* (The responsibility for collecting and reporting taxes for transactions in a Connect integration. It can belong to the platform or to connected accounts, depending on your business model, government regulations, and individual transaction details)連結アカウントのユースケースではまだサポートされていません。 #### デスティネーション支払い Checkout Sessions API コールの場合: - `type=self` を指定して [automatic_tax[liability]](https://docs.stripe.com/api/checkout/sessions/create.md#create_checkout_session-automatic_tax-liability) を含めます。 - 連結アカウント ID の値を指定した [subscription_data[transfer_data][destination]](https://docs.stripe.com/api/checkout/sessions/create.md#create_checkout_session-subscription_data-transfer_data-destination) を含めます。 - `type=self` を指定して [subscription_data[invoice_settings][issuer]](https://docs.stripe.com/api/checkout/sessions/create.md#create_checkout_session-subscription_data-invoice_settings-issuer) を含めます。 - (オプション) 連結アカウントが[売上処理加盟店](https://docs.stripe.com/connect/destination-charges.md#settlement-merchant)である場合、連結アカウント ID の値を指定した [subscription_data[on_behalf_of]](https://docs.stripe.com/api/checkout/sessions/create.md#create_checkout_session-subscription_data-on_behalf_of) を含めます。 ```curl curl https://api.stripe.com/v1/checkout/sessions \ -u "<>:" \ -d "line_items[0][price]={{PRICE_ID}}" \ -d "line_items[0][quantity]=1" \ -d "automatic_tax[enabled]=true" \ -d "automatic_tax[liability][type]=self" \ -d "subscription_data[transfer_data][destination]={{CONNECTEDACCOUNT_ID}}" \ -d "subscription_data[invoice_settings][issuer][type]=self" \ -d mode=subscription \ --data-urlencode "success_url=https://example.com/success" ``` #### 支払いと送金別方式 Checkout Sessions API コールの場合: - `type=self` を指定して [automatic_tax[liability]](https://docs.stripe.com/api/checkout/sessions/create.md#create_checkout_session-automatic_tax-liability) を含めます。 - `type=self` を指定して [subscription_data[invoice_settings][issuer]](https://docs.stripe.com/api/checkout/sessions/create.md#create_checkout_session-subscription_data-invoice_settings-issuer) を含めます。 - (オプション) 連結アカウントが[売上処理加盟店](https://docs.stripe.com/connect/separate-charges-and-transfers.md#settlement-merchant)である場合、連結アカウント ID の値を指定した [subscription_data[on_behalf_of]](https://docs.stripe.com/api/checkout/sessions/create.md#create_checkout_session-subscription_data-on_behalf_of) を含めます。 ```curl curl https://api.stripe.com/v1/checkout/sessions \ -u "<>:" \ -d "line_items[0][price]={{PRICE_ID}}" \ -d "line_items[0][quantity]=1" \ -d "automatic_tax[enabled]=true" \ -d "automatic_tax[liability][type]=self" \ -d "subscription_data[invoice_settings][issuer][type]=self" \ -d mode=subscription \ --data-urlencode "success_url=https://example.com/success" ``` Transfers API コールの場合: - [source_transaction](https://docs.stripe.com/api/transfers/create.md#create_transfer-source_transaction) を含めて、送金を Checkout Session が作成した PaymentIntent に結びつけます。 - 連結アカウント ID の値を指定した [destination](https://docs.stripe.com/api/transfers/create.md#create_transfer-destination) を含めます。 ```curl curl https://api.stripe.com/v1/transfers \ -u "<>:" \ -d amount=1000 \ -d currency=usd \ -d "source_transaction={{CHARGE_ID}}" \ -d "destination={{CONNECTEDACCOUNT_ID}}" ``` ### Billing ### サブスクリプション 現在、[Stripe サブスクリプション](https://docs.stripe.com/tax/subscriptions.md)でプラットフォームアカウント側の*納税義務* (The responsibility for collecting and reporting taxes for transactions in a Connect integration. It can belong to the platform or to connected accounts, depending on your business model, government regulations, and individual transaction details)に対応している支払いタイプのうち、いずれか 1 つを選択します。 #### ダイレクト支払い この支払いタイプは、プラットフォームに*納税義務がある* (The responsibility for collecting and reporting taxes for transactions in a Connect integration. It can belong to the platform or to connected accounts, depending on your business model, government regulations, and individual transaction details)連結アカウントのユースケースではまだサポートされていません。 #### デスティネーション支払い Subscriptions API コールの場合: - `type=self` を指定して [automatic_tax[liability]](https://docs.stripe.com/api/subscriptions/create.md#create_subscription-automatic_tax-liability) を含めます。 - 連結アカウント ID の値を指定した [transfer_data[destination]](https://docs.stripe.com/api/subscriptions/create.md#create_subscription-transfer_data-destination) を含めます。 - [invoice_settings[issuer]](https://docs.stripe.com/api/subscriptions/create.md#create_subscription-invoice_settings-issuer) に `type=self` を含めます。欧州連合など、管轄区域によっては、請求書 PDF が税務書類として使用されるため、請求書の発行者は常に*納税義務がある* (The responsibility for collecting and reporting taxes for transactions in a Connect integration. It can belong to the platform or to connected accounts, depending on your business model, government regulations, and individual transaction details)法人と一致している必要があります。 - (オプション) 連結アカウントが[売上処理加盟店](https://docs.stripe.com/connect/destination-charges.md#settlement-merchant)である場合、連結アカウント ID の値を指定した [on_behalf_of](https://docs.stripe.com/api/subscriptions/create.md#create_subscription-on_behalf_of) を含めます。 ```curl curl https://api.stripe.com/v1/subscriptions \ -u "<>:" \ -d "items[0][price]={{PRICE_ID}}" \ -d "items[0][quantity]=1" \ -d "customer={{CUSTOMER_ID}}" \ -d "automatic_tax[enabled]=true" \ -d "automatic_tax[liability][type]=self" \ -d "transfer_data[destination]={{CONNECTEDACCOUNT_ID}}" \ -d "invoice_settings[issuer][type]=self" ``` #### 支払いと送金別方式 Subscriptions API コールの場合: - `type=self` を指定して [automatic_tax[liability]](https://docs.stripe.com/api/subscriptions/create.md#create_subscription-automatic_tax-liability) を含めます。 - [invoice_settings[issuer]](https://docs.stripe.com/api/subscriptions/create.md#create_subscription-invoice_settings-issuer) に `type=self` を含めます。欧州連合など、管轄区域によっては、請求書 PDF が税務書類として使用されるため、請求書の発行者は常に*納税義務がある* (The responsibility for collecting and reporting taxes for transactions in a Connect integration. It can belong to the platform or to connected accounts, depending on your business model, government regulations, and individual transaction details)法人と一致している必要があります。 - 連結アカウント ID の値を指定した [on_behalf_of](https://docs.stripe.com/api/subscriptions/create.md#create_subscription-on_behalf_of) を含めます。 ```curl curl https://api.stripe.com/v1/subscriptions \ -u "<>:" \ -d "items[0][price]={{PRICE_ID}}" \ -d "items[0][quantity]=1" \ -d "customer={{CUSTOMER_ID}}" \ -d "automatic_tax[enabled]=true" \ -d "automatic_tax[liability][type]=self" \ -d "invoice_settings[issuer][type]=self" \ -d "on_behalf_of={{CONNECTEDACCOUNT_ID}}" ``` Transfers API コールの場合: - [source_transaction](https://docs.stripe.com/api/transfers/create.md#create_transfer-source_transaction) を含めて、送金をサブスクリプション請求書によって作成された PaymentIntent に結び付けます。 - 連結アカウント ID の値を指定した [destination](https://docs.stripe.com/api/transfers/create.md#create_transfer-destination) を含めます。 ```curl curl https://api.stripe.com/v1/transfers \ -u "<>:" \ -d amount=1000 \ -d currency=usd \ -d "source_transaction={{CHARGE_ID}}" \ -d "destination={{CONNECTEDACCOUNT_ID}}" ``` ### Invoicing 現在、[Stripe Invoicing](https://docs.stripe.com/tax/invoicing.md) でプラットフォームアカウント側の*納税義務* (The responsibility for collecting and reporting taxes for transactions in a Connect integration. It can belong to the platform or to connected accounts, depending on your business model, government regulations, and individual transaction details)に対応している支払いタイプのいずれか 1 つを選択します。 #### ダイレクト支払い この支払いタイプは、プラットフォームに*納税義務がある* (The responsibility for collecting and reporting taxes for transactions in a Connect integration. It can belong to the platform or to connected accounts, depending on your business model, government regulations, and individual transaction details)連結アカウントのユースケースではまだサポートされていません。 #### デスティネーション支払い Invoices API コールの場合: - `type=self` を指定して [automatic_tax[liability]](https://docs.stripe.com/api/invoices/create.md#create_invoice-automatic_tax-liability) を含めます。 - 連結アカウント ID の値を指定した [transfer_data[destination]](https://docs.stripe.com/api/invoices/create.md#create_invoice-transfer_data-destination) を含めます。 - [issuer](https://docs.stripe.com/api/invoices/create.md#create_invoice-issuer) に `type=self` を含めます。欧州連合など、管轄区域によっては、請求書 PDF が税務書類として使用されるため、請求書の発行者は常に*納税義務がある* (The responsibility for collecting and reporting taxes for transactions in a Connect integration. It can belong to the platform or to connected accounts, depending on your business model, government regulations, and individual transaction details)法人と一致している必要があります。 - (オプション) 連結アカウントが[売上処理加盟店](https://docs.stripe.com/connect/destination-charges.md#settlement-merchant)である場合、連結アカウント ID の値を指定した [on_behalf_of](https://docs.stripe.com/api/invoices/create.md#create_invoice-on_behalf_of) を含めます。 ```curl curl https://api.stripe.com/v1/invoices \ -u "<>:" \ -d "customer={{CUSTOMER_ID}}" \ -d "automatic_tax[enabled]=true" \ -d "automatic_tax[liability][type]=self" \ -d "transfer_data[destination]={{CONNECTEDACCOUNT_ID}}" \ -d "issuer[type]=self" ``` #### 支払いと送金別方式 Invoices API コールの場合: - `type=self` を指定して [automatic_tax[liability]](https://docs.stripe.com/api/invoices/create.md#create_invoice-automatic_tax-liability) を含めます。 - [issuer](https://docs.stripe.com/api/invoices/create.md#create_invoice-issuer) に `type=self` を含めます。欧州連合など、管轄区域によっては、請求書 PDF が税務書類として使用されるため、請求書の発行者は常に*納税義務がある* (The responsibility for collecting and reporting taxes for transactions in a Connect integration. It can belong to the platform or to connected accounts, depending on your business model, government regulations, and individual transaction details)法人と一致している必要があります。 - (オプション) 連結アカウントが[売上処理加盟店](https://docs.stripe.com/connect/separate-charges-and-transfers.md#settlement-merchant)である場合、連結アカウント ID の値を指定した [on_behalf_of](https://docs.stripe.com/api/invoices/create.md#create_invoice-on_behalf_of) を含めます。 ```curl curl https://api.stripe.com/v1/invoices \ -u "<>:" \ -d "customer={{CUSTOMER_ID}}" \ -d "automatic_tax[enabled]=true" \ -d "automatic_tax[liability][type]=self" \ -d "issuer[type]=self" ``` Transfers API コールの場合: - [source_transaction](https://docs.stripe.com/api/transfers/create.md#create_transfer-source_transaction) を含めて、送金を請求書によって作成された PaymentIntent に結びつけます。 - 連結アカウント ID の値を指定した [destination](https://docs.stripe.com/api/transfers/create.md#create_transfer-destination) を含めます。 ```curl curl https://api.stripe.com/v1/transfers \ -u "<>:" \ -d amount=1000 \ -d currency=usd \ -d "source_transaction={{CHARGE_ID}}" \ -d "destination={{CONNECTEDACCOUNT_ID}}" ``` ### Stripe Tax API を使用するカスタムフロー ### PaymentIntents 現在、[Stripe Tax API](https://docs.stripe.com/tax/custom.md) でプラットフォームアカウント側の*納税義務* (The responsibility for collecting and reporting taxes for transactions in a Connect integration. It can belong to the platform or to connected accounts, depending on your business model, government regulations, and individual transaction details)に対応している支払いタイプのいずれか 1 つを選択します。 #### ダイレクト支払い 連結アカウントが返金を管理するため、この支払いタイプはお勧めしません。連結アカウント側で源泉徴収の方法を理解して、正確な金額をお客様とユーザーに返金する必要があります。 #### デスティネーション支払い Tax Calculation API コールの場合: ```curl curl https://api.stripe.com/v1/tax/calculations \ -u "<>:" \ -d currency=usd \ -d "line_items[0][amount]=1000" \ -d "line_items[0][reference]=L1" \ -d "customer={{CUSTOMER_ID}}" ``` PaymentIntent の作成時には次のようにしてください: - 税金計算によって返された `amount_total` を指定して [amount](https://docs.stripe.com/api/payment_intents/create.md#create_payment_intent-amount) を含めます。 - 税金計算によって返された `id` を指定して [metadata[tax_calculation]](https://docs.stripe.com/api/payment_intents/create.md#create_payment_intent-metadata) を含めます。 - 連結アカウント ID の値を指定した [transfer_data[destination]](https://docs.stripe.com/api/payment_intents/create.md#create_payment_intent-transfer_data-destination) を含めます。 - (オプション) 連結アカウントが[売上処理加盟店](https://docs.stripe.com/connect/destination-charges.md#settlement-merchant)である場合、連結アカウント ID の値を指定した[on_behalf_of](https://docs.stripe.com/api/payment_intents/create.md#create_payment_intent-on_behalf_of) を含めます。 ```curl curl https://api.stripe.com/v1/payment_intents \ -u "<>:" \ -d amount=1000 \ -d currency=usd \ -d "customer={{CUSTOMER_ID}}" \ -d "metadata[tax_calculation]={{TAXCALCULATION_ID}}" \ -d "transfer_data[destination]={{CONNECTEDACCOUNT_ID}}" ``` 顧客から徴収した税金を記録して、[返金に備える](https://docs.stripe.com/tax/custom.md#reversals)ために、[税取引も作成](https://docs.stripe.com/tax/custom.md#tax-transaction)する必要があります。 #### 支払いと送金別方式 Tax Calculation API コールの場合: ```curl curl https://api.stripe.com/v1/tax/calculations \ -u "<>:" \ -d currency=usd \ -d "line_items[0][amount]=1000" \ -d "line_items[0][reference]=L1" \ -d "customer={{CUSTOMER_ID}}" ``` PaymentIntent の作成時には次のようにしてください: - 税金計算によって返された `amount_total` を指定して [amount](https://docs.stripe.com/api/payment_intents/create.md#create_payment_intent-amount) を含めます。 - 税金計算によって返された `id` を指定して [metadata[tax_calculation]](https://docs.stripe.com/api/payment_intents/create.md#create_payment_intent-metadata) を含めます。 - (オプション) 連結アカウントが[売上処理加盟店](https://docs.stripe.com/connect/separate-charges-and-transfers.md#settlement-merchant)である場合、連結アカウント ID の値を指定した [on_behalf_of](https://docs.stripe.com/api/payment_intents/create.md#create_payment_intent-on_behalf_of) を含めます。 ```curl curl https://api.stripe.com/v1/payment_intents \ -u "<>:" \ -d amount=1000 \ -d currency=usd \ -d "customer={{CUSTOMER_ID}}" \ -d "metadata[tax_calculation]={{TAXCALCULATION_ID}}" ``` Transfers API コールの場合: - 送金を PaymentIntent に結びつけるために、[source_transaction](https://docs.stripe.com/api/transfers/create.md#create_transfer-source_transaction) を含めます。 - 連結アカウント ID の値を指定した [destination](https://docs.stripe.com/api/transfers/create.md#create_transfer-destination) を含めます。 ```curl curl https://api.stripe.com/v1/transfers \ -u "<>:" \ -d amount=1000 \ -d currency=usd \ -d "source_transaction={{CHARGE_ID}}" \ -d "destination={{CONNECTEDACCOUNT_ID}}" ``` 顧客から徴収した税金を記録して、[返金に備える](https://docs.stripe.com/tax/custom.md#reversals)ために、[税取引も作成](https://docs.stripe.com/tax/custom.md#tax-transaction)する必要があります。 ### Stripe 外部での支払い [Stripe Tax API](https://docs.stripe.com/tax/custom.md) を使用した導入手順およびプラットフォームアカウントが*納税義務を負う* (The responsibility for collecting and reporting taxes for transactions in a Connect integration. It can belong to the platform or to connected accounts, depending on your business model, government regulations, and individual transaction details)ように設定する方法をご確認ください。Tax Calculation API コールで以下のようにします。 ```curl curl https://api.stripe.com/v1/tax/calculations \ -u "<>:" \ -d currency=usd \ -d "line_items[0][amount]=1000" \ -d "line_items[0][reference]=L1" \ -d "customer={{CUSTOMER_ID}}" ``` 顧客から徴収した税金を記録して、[返金に備える](https://docs.stripe.com/tax/custom.md#reversals)ために、[税取引も作成](https://docs.stripe.com/tax/custom.md#tax-transaction)する必要があります。 導入後、Stripe は、有効な登録がなされている管轄区域で税金の徴収を自動的に開始します。 > 支払い API とはかかわりなく、取引の金額は連結アカウントに入金されます。プラットフォームに*納税義務* (The responsibility for collecting and reporting taxes for transactions in a Connect integration. It can belong to the platform or to connected accounts, depending on your business model, government regulations, and individual transaction details)があるため、徴収した税金をプラットフォームで差し引く必要があります。 ## 徴収した税額を差し引く 徴収した税金は、該当の管轄区域に納付できるように、マーケットプレイスのアカウントに確実に送金する必要があります。 ### Checkout と Payment Links #### ダイレクト支払い この支払いタイプは、プラットフォームに*納税義務がある* (The responsibility for collecting and reporting taxes for transactions in a Connect integration. It can belong to the platform or to connected accounts, depending on your business model, government regulations, and individual transaction details)連結アカウントのユースケースではまだサポートされていません。 #### デスティネーション支払い Checkout セッションまたは決済用の URL リンク実装で徴収した税額を差し引くには、[Transfer Reversal (送金の差戻し)](https://docs.stripe.com/api/transfer_reversals.md) を作成します。 Transfer Reversal API コールに対して、Checkout セッションオブジェクトに存在する[合計税額](https://docs.stripe.com/api/checkout/sessions/object.md#checkout_session_object-total_details-amount_tax)と等しい値を指定した、連結アカウントからプラットフォームに差戻す [amount](https://docs.stripe.com/api/transfers/create.md#create_transfer-amount) を含めます。 Charge オブジェクトから[送金 ID](https://docs.stripe.com/api/charges/object.md#charge_object-transfer) を取得します。チャージ ID がわからない場合は、Checkout Sessionを取得し、[PaymentIntent](https://docs.stripe.com/api/checkout/sessions/object.md#checkout_session_object-payment_intent) オブジェクトを[展開](https://docs.stripe.com/expand.md#multiple-properties)し、[最新請求](https://docs.stripe.com/api/payment_intents/object.md#payment_intent_object-latest_charge)フィールドを使用することができます。 ```curl curl https://api.stripe.com/v1/transfers/{{TRANSFER_ID}}/reversals \ -u "<>:" \ -d amount=1000 ``` Checkout セッションの完了時に Transfer Reversal を自動的に作成するには、[checkout.session.completed](https://docs.stripe.com/api/events/types.md#event_types-checkout.session.completed) イベントの通知を受け取る *Webhook* (A webhook is a real-time push notification sent to your application as a JSON payload through HTTPS requests) を作成します。 このオプションは、為替取引を必要としない取引に最適です。 詳細については、[送金を差戻す](https://docs.stripe.com/connect/separate-charges-and-transfers.md#reverse-transfers)をご覧ください。 #### 支払いと送金別方式 Transfer API コールに対して、Checkout セッションオブジェクトに存在する[合計税額](https://docs.stripe.com/api/checkout/sessions/object.md#checkout_session_object-total_details-amount_tax)を除外した値を指定した、連結アカウントに送金する [amount](https://docs.stripe.com/api/transfers/create.md#create_transfer-amount) を含めます。 チャージ ID を取得するには、Checkout Sessionを取得し、[PaymentIntent](https://docs.stripe.com/api/checkout/sessions/object.md#checkout_session_object-payment_intent) オブジェクトを[展開](https://docs.stripe.com/expand.md#multiple-properties)し、[最新請求](https://docs.stripe.com/api/payment_intents/object.md#payment_intent_object-latest_charge)フィールドを使用します。 ```curl curl https://api.stripe.com/v1/transfers \ -u "<>:" \ -d amount=1000 \ -d currency=usd \ -d "source_transaction={{CHARGE_ID}}" \ -d "destination={{CONNECTEDACCOUNT_ID}}" ``` [支払いと送金別方式の作成](https://docs.stripe.com/connect/separate-charges-and-transfers.md?platform=web&ui=stripe-hosted)の詳細をご覧ください。 ### Invoicing #### ダイレクト支払い この支払いタイプは、プラットフォームに*納税義務がある* (The responsibility for collecting and reporting taxes for transactions in a Connect integration. It can belong to the platform or to connected accounts, depending on your business model, government regulations, and individual transaction details)連結アカウントのユースケースではまだサポートされていません。 #### デスティネーション支払い 1. **オプション 1:** `transfer_data[amount]` を使用する デスティネーション支払いで徴収した税額を差し引くには、Invoice を更新して、`transfer_data[amount]` 値からその税額を除きます。 Invoice Update API コールに対して、Invoice オブジェクトに存在する[合計税額](https://docs.stripe.com/api/invoices/object.md#invoice_object-total_tax_amounts-amount)を除外した値を指定した、連結アカウントに送金する [transfer_data[amount]](https://docs.stripe.com/api/invoices/update.md#update_invoice-transfer_data-amount) を含めます。更新は、Invoice が確定される前に行う必要があります。 ```curl curl https://api.stripe.com/v1/invoices/{{INVOICE_ID}} \ -u "<>:" \ -d "transfer_data[destination]={{CONNECTEDACCOUNT_ID}}" \ -d "transfer_data[amount]=1000" ``` 1. **オプション 2:** `application_fee_amount` を使用する 徴収した税額を差し引く別の方法は、Invoice を更新して、`application_fee_amount` 値にその税額を含めることです。 Invoice Update API コールに対して、Invoice オブジェクトに存在する[合計税額](https://docs.stripe.com/api/invoices/object.md#invoice_object-total_tax_amounts-amount)を含めた値を指定した、プラットフォームで保留する [application_fee_amount](https://docs.stripe.com/api/invoices/update.md#update_invoice-application_fee_amount) を含めます。更新は、Invoice が確定される前に行う必要があります。 ```curl curl https://api.stripe.com/v1/invoices/{{INVOICE_ID}} \ -u "<>:" \ -d application_fee_amount=1000 ``` 1. **オプション 3:** [Transfer Reversal (送金の差戻し)](https://docs.stripe.com/api/transfer_reversals.md) を作成する Transfer Reversal API コールに対して、Invoice オブジェクトに存在する[合計税額](https://docs.stripe.com/api/invoices/object.md#invoice_object-total_tax_amounts-amount)と等しい値を指定した、連結アカウントからプラットフォームに差戻す [amount](https://docs.stripe.com/api/transfers/create.md#create_transfer-amount) を含めます。Invoice は支払い済みである必要があります。 Invoice に存在する[拡張された](https://docs.stripe.com/expand.md#multiple-properties) [Charge (支払い)](https://docs.stripe.com/api/invoices/object.md#invoice_object-charge) オブジェクトから[送金 ID](https://docs.stripe.com/api/charges/object.md#charge_object-transfer) を取得します。 ```curl curl https://api.stripe.com/v1/transfers/{{TRANSFER_ID}}/reversals \ -u "<>:" \ -d amount=1000 ``` Invoice の支払い時に Transfer Reversal を自動的に作成するには、[invoice.payment_succeeded](https://docs.stripe.com/api/events/types.md#event_types-invoice.payment_succeeded) イベントの通知を受け取る *Webhook* (A webhook is a real-time push notification sent to your application as a JSON payload through HTTPS requests) を作成します。 このオプションは、為替取引を必要としない取引に最適です。 詳細については、[送金を差戻す](https://docs.stripe.com/connect/separate-charges-and-transfers.md#reverse-transfers)をご覧ください。 #### 支払いと送金別方式 Transfer API コールに対して、Invoice オブジェクトに存在する[合計税額](https://docs.stripe.com/api/invoices/object.md#invoice_object-total_tax_amounts-amount)を除外した値を指定した、連結アカウントに送金する [amount](https://docs.stripe.com/api/transfers/create.md#create_transfer-amount) を含めます。Invoice は支払い済みである必要があります。 [支払い ID](https://docs.stripe.com/api/invoices/object.md#invoice_object-charge) は、Invoice オブジェクトから取得できます。 ```curl curl https://api.stripe.com/v1/transfers \ -u "<>:" \ -d amount=1000 \ -d currency=usd \ -d "source_transaction={{CHARGE_ID}}" \ -d "destination={{CONNECTEDACCOUNT_ID}}" ``` 関連ガイド: [支払いと送金別方式](https://docs.stripe.com/connect/separate-charges-and-transfers.md) ### サブスクリプション #### ダイレクト支払い この支払いタイプは、プラットフォームに*納税義務がある* (The responsibility for collecting and reporting taxes for transactions in a Connect integration. It can belong to the platform or to connected accounts, depending on your business model, government regulations, and individual transaction details)連結アカウントのユースケースではまだサポートされていません。 #### デスティネーション支払い 1. **オプション 1:** `transfer_data[amount_percent]` を使用する Subscription Create API コールの場合、[transfer_data[amount_percent]](https://docs.stripe.com/api/subscriptions/create.md#create_subscription-transfer_data-amount_percent) に、宛先アカウントに送金されるサブスクリプション請求書の合計額 (税抜き) のパーセンテージを入力します。サブスクリプションを作成する前に [create preview invoice (請求書プレビューの作成)](https://docs.stripe.com/api/invoices/create_preview.md) エンドポイントを使用すると、Invoice オブジェクトに含まれる[合計税額](https://docs.stripe.com/api/invoices/object.md#invoice_object-total_tax_amounts-amount)を取得できます。 ```curl curl https://api.stripe.com/v1/subscriptions \ -u "<>:" \ -d "customer={{CUSTOMER_ID}}" \ -d "transfer_data[destination]={{CONNECTEDACCOUNT_ID}}" \ -d "transfer_data[amount_percent]=65" ``` 以降の請求サイクルのために、[invoice.created](https://docs.stripe.com/api/events/types.md#event_types-invoice.created) イベントをリッスンする [Webhook](https://docs.stripe.com/billing/subscriptions/webhooks.md#understand) を作成できます。合計税額を除外して宛先アカウントに送金される定額を指定した [transfer_data[amount]](https://docs.stripe.com/api/invoices/update.md#update_invoice-transfer_data-amount) を含めて Invoice を更新することもできます。この更新は、Invoice の確定前に行う必要があります。[下書き請求書の確定](https://docs.stripe.com/invoicing/integration/workflow-transitions.md#finalized)方法の詳細をご覧ください。 ```curl curl https://api.stripe.com/v1/invoices/{{INVOICE_ID}} \ -u "<>:" \ -d "transfer_data[destination]={{CONNECTEDACCOUNT_ID}}" \ -d "transfer_data[amount]=1000" ``` 1. **オプション 2:** `application_fee_percent` を使用する Subscription Create API コールの場合、[application_fee_percent](https://docs.stripe.com/api/subscriptions/create.md#create_subscription-application_fee_percent) に、プラットフォームが保持しているサブスクリプション請求書の合計額 (税込み) のパーセンテージを入力します。サブスクリプションを作成する前に [create preview invoice (請求書プレビューの作成)](https://docs.stripe.com/api/invoices/create_preview.md) エンドポイントを使用すると、Invoice オブジェクトに含まれる[合計税額](https://docs.stripe.com/api/invoices/object.md#invoice_object-total_tax_amounts-amount)を取得できます。 ```curl curl https://api.stripe.com/v1/subscriptions \ -u "<>:" \ -d "customer={{CUSTOMER_ID}}" \ -d application_fee_percent=35 ``` 以降の請求サイクルのために、[invoice.created](https://docs.stripe.com/api/events/types.md#event_types-invoice.created) イベントをリッスンする [Webhook](https://docs.stripe.com/billing/subscriptions/webhooks.md#understand) を作成できます。プラットフォームで保留する、合計税額を含む定額を指定した [application_fee_amount](https://docs.stripe.com/api/invoices/update.md#update_invoice-application_fee_amount) を含めて Invoice を更新することもできます。この更新は、Invoice の確定前に行う必要があります。[請求書のステータスの遷移と確定](https://docs.stripe.com/invoicing/integration/workflow-transitions.md#finalized)に関する詳細をご覧ください。 ```curl curl https://api.stripe.com/v1/invoices/{{INVOICE_ID}} \ -u "<>:" \ -d application_fee_amount=1000 ``` プラットフォーム手数料について、詳細は[率による手数料と固定手数料](https://docs.stripe.com/connect/subscriptions.md#percent-fees-and-flat-fees)をご覧ください。 1. **オプション 3:** [Transfer Reversal (送金の差戻し)](https://docs.stripe.com/api/transfer_reversals.md) を作成する Transfer Reversal API コールに対して、Subscription の [latest_invoice](https://docs.stripe.com/api/subscriptions/object.md#subscription_object-latest_invoice) オブジェクトに存在する[合計税額](https://docs.stripe.com/api/invoices/object.md#invoice_object-total_tax_amounts-amount)と等しい値を指定した、連結アカウントからプラットフォームに差戻す [amount](https://docs.stripe.com/api/transfers/create.md#create_transfer-amount) を含めます。 Charge オブジェクトから[送金 ID](https://docs.stripe.com/api/charges/object.md#charge_object-transfer) を取得します。支払い ID が不明な場合は、Subscription を取得し、[latest_invoice](https://docs.stripe.com/api/subscriptions/object.md#subscription_object-latest_invoice) を[拡張](https://docs.stripe.com/expand.md#multiple-properties)して、Invoice オブジェクトから[支払い ID](https://docs.stripe.com/api/invoices/object.md#invoice_object-charge) を取得します。 ```curl curl https://api.stripe.com/v1/transfers/{{TRANSFER_ID}}/reversals \ -u "<>:" \ -d amount=1000 ``` サブスクリプション請求書の支払い時に Transfer Reversal を自動的に作成するには、[invoice.payment_succeeded](https://docs.stripe.com/api/events/types.md#event_types-invoice.payment_succeeded) イベントの通知を受け取る *Webhook* (A webhook is a real-time push notification sent to your application as a JSON payload through HTTPS requests) を作成します。 このオプションは、為替取引を必要としない取引に最適です。 詳細については、[送金を差戻す](https://docs.stripe.com/connect/separate-charges-and-transfers.md#reverse-transfers)をご覧ください。 #### 支払いと送金別方式 Transfer API コールに対して、Subscription の [latest_invoice](https://docs.stripe.com/api/subscriptions/object.md#subscription_object-latest_invoice) オブジェクトに存在する[合計税額](https://docs.stripe.com/api/invoices/object.md#invoice_object-total_tax_amounts-amount)を除外する値を指定した、連結アカウントに送金する [amount](https://docs.stripe.com/api/transfers/create.md#create_transfer-amount) を含めます。 支払い ID を取得するには、Subscription を取得し、[latest_invoice](https://docs.stripe.com/api/subscriptions/object.md#subscription_object-latest_invoice) を[拡張](https://docs.stripe.com/expand.md#multiple-properties)して、Invoice オブジェクトから[支払い ID](https://docs.stripe.com/api/invoices/object.md#invoice_object-charge) を取得します。 ```curl curl https://api.stripe.com/v1/transfers \ -u "<>:" \ -d amount=1000 \ -d currency=usd \ -d "source_transaction={{CHARGE_ID}}" \ -d "destination={{CONNECTEDACCOUNT_ID}}" ``` [支払いと送金別方式](https://docs.stripe.com/connect/separate-charges-and-transfers.md)をご覧ください。 ### Stripe Tax API を使用した PaymentIntents #### ダイレクト支払い 連結アカウントが返金を管理するため、この支払いタイプはお勧めしません。連結アカウント側で源泉徴収の方法を理解して、正確な金額をお客様とユーザーに返金する必要があります。 #### デスティネーション支払い 1. **オプション 1:** `transfer_data[amount]` を使用する PaymentIntent を作成する際には、[transfer_data[amount]](https://docs.stripe.com/api/payment_intents/create.md#create_payment_intent-transfer_data-amount)、連結アカウントに送金する金額から、税金計算オブジェクトに存在する合計に[税抜き](https://docs.stripe.com/api/tax/calculations/object.md#tax_calculation_object-tax_amount_exclusive)または[税込み](https://docs.stripe.com/api/tax/calculations/object.md#tax_calculation_object-tax_amount_inclusive)のいずれか選択した金額を含めてください。 ```curl curl https://api.stripe.com/v1/payment_intents \ -u "<>:" \ -d amount=10000 \ -d currency=usd \ -d "transfer_data[destination]={{CONNECTEDACCOUNT_ID}}" \ -d "transfer_data[amount]=1000" ``` 1. **オプション 2:** `application_fee_amount` を使用する PaymentIntentを作成する際、[application_fee_amount](https://docs.stripe.com/api/payment_intents/create.md#create_payment_intent-application_fee_amount) に、Tax Calculationオブジェクトに存在する合計に[税抜き](https://docs.stripe.com/api/tax/calculations/object.md#tax_calculation_object-tax_amount_exclusive)または[税込み](https://docs.stripe.com/api/tax/calculations/object.md#tax_calculation_object-tax_amount_inclusive)のいずれか選択した金額をプラットフォームが保持する値を含めます。 ```curl curl https://api.stripe.com/v1/payment_intents \ -u "<>:" \ -d amount=10000 \ -d currency=usd \ -d application_fee_amount=1000 ``` 1. **オプション 3:** [Transfer Reversal (送金の差戻し)](https://docs.stripe.com/api/transfer_reversals.md) を作成する Transfer Reversal API コールに対して、Tax Calculation オブジェクトに存在する合計[税額 (外税)](https://docs.stripe.com/api/tax/calculations/object.md#tax_calculation_object-tax_amount_exclusive) と合計[税額 (内税)](https://docs.stripe.com/api/tax/calculations/object.md#tax_calculation_object-tax_amount_inclusive) のいずれかと等しい値を指定した、連結アカウントからプラットフォームに差戻す [amount](https://docs.stripe.com/api/transfers/create.md#create_transfer-amount) を含めます。 PaymentIntent オブジェクトに存在する[展開された](https://docs.stripe.com/expand.md#multiple-properties)[最新請求](https://docs.stripe.com/api/payment_intents/object.md#payment_intent_object-latest_charge)から[送金 ID](https://docs.stripe.com/api/charges/object.md#charge_object-transfer) を取得します。 ```curl curl https://api.stripe.com/v1/transfers/{{TRANSFER_ID}}/reversals \ -u "<>:" \ -d amount=1000 ``` PaymentIntent が成功したときに自動的に差戻し送金を作成するには、[payment_intent.succeeded](https://docs.stripe.com/api/events/types.md#event_types-payment_intent.succeeded) イベントが通知されるように *webhook* を作成します。 このオプションは、為替取引を必要としない取引に最適です。 詳細については、[送金を差戻す](https://docs.stripe.com/connect/separate-charges-and-transfers.md#reverse-transfers)をご覧ください。 #### 支払いと送金別方式 Transfer API コールに対して、Tax Calculation オブジェクトに存在する合計[税額 (外税)](https://docs.stripe.com/api/tax/calculations/object.md#tax_calculation_object-tax_amount_exclusive) と合計[税額 (内税)](https://docs.stripe.com/api/tax/calculations/object.md#tax_calculation_object-tax_amount_inclusive) のいずれかを除外した値を指定した、連結アカウントに送金する [amount](https://docs.stripe.com/api/transfers/create.md#create_transfer-amount) を含めます。 PaymentIntent オブジェクトから[charge ID](https://docs.stripe.com/api/payment_intents/object.md#payment_intent_object-latest_charge) を取得できます。 ```curl curl https://api.stripe.com/v1/transfers \ -u "<>:" \ -d amount=1000 \ -d currency=usd \ -d "source_transaction={{CHARGE_ID}}" \ -d "destination={{CONNECTEDACCOUNT_ID}}" ``` [支払いと送金別方式](https://docs.stripe.com/connect/separate-charges-and-transfers.md)をご覧ください。 ## Stripe Tax のレポートにアクセスする ### Stripe ダッシュボードを使用する [Stripe Tax レポート](https://docs.stripe.com/tax/reports.md)を使用すると、税金の申告と納付を正確に行うことができます。プラットフォームアカウントは、Stripe ダッシュボードの[税務申告](https://docs.stripe.com/tax/reports.md#how-to-access-data-using-exports-and-reports)機能を使用して、Stripe Tax レポートにアクセスできます。 ### Stripe API を使用する プラットフォームでは、[Report API](https://docs.stripe.com/reports/api.md) で [tax.transactions.itemized.2](https://docs.stripe.com/reports/report-types/tax.md) レポートタイプを指定して、納税義務がある[項目別の税取引](https://docs.stripe.com/tax/reports.md#itemized-exports)をダウンロードすることもできます。 プラットフォームで次のコマンドを実行すると、売上税の納税義務がある 2022 年の全取引がダウンロードされます。 ```curl curl https://api.stripe.com/v1/reporting/report_runs \ -u "<>:" \ -d "report_type=tax.transactions.itemized.2" \ -d "parameters[interval_start]=1641013200" \ -d "parameters[interval_end]=1672549200" ``` ## See also - [カスタム決済フローで税金を計算する](https://docs.stripe.com/tax/custom.md)