# 領収書の提供 Stripe を使用して、カードネットワークのルールに合った領収書を顧客に提供します。 [テスト API キー](https://docs.stripe.com/keys.md#test-live-modes)を使用して作成された決済の領収書は、自動的には送信されません。代わりに、[ダッシュボード](https://dashboard.stripe.com/payments)を使用して領収書を表示または手動で送信できます。 対面支払いでは、カードネットワークのルールと地域の規制要件が異なります。Stripe Terminal を使用して支払いを受け付ける場合は、物理的な領収書またはメール領収書を受け取るオプションを顧客に提供する必要があります。Stripe には、最初の取引から領収書の提供を開始するために必要なすべての機能が用意されています。 カードネットワークのルールに準拠するには、領収書に所定のフィールドを含める必要があります。Stripe の[構築済みのメール領収書](https://docs.stripe.com/terminal/features/receipts.md#prebuilt)を使用することも、Stripe API と Terminal の組み込みの領収書データを使用して、ブランド別の[カスタムの領収書](https://docs.stripe.com/terminal/features/receipts.md#custom)を生成することもできます。 ## 構築済みのメール領収書 構築済みのメール領収書には、カードネットワークで要求されるすべてのフィールドがすでに含まれているため、ルールに準拠した領収書をセットアップする最も簡潔な方法です。 - [receipt_email](https://docs.stripe.com/api/payment_intents/create.md#create_payment_intent-receipt_email) - [receiptEmail (iOS)](https://stripe.dev/stripe-terminal-ios/docs/Classes/SCPPaymentIntentParameters.html#/c:objc\(cs\)SCPPaymentIntentParameters\(py\)receiptEmail) - [receiptEmail (Android)](https://stripe.dev/stripe-terminal-android/external/com.stripe.stripeterminal.external.models/-payment-intent-parameters/receipt-email.html) - [receiptEmail (React Native)](https://stripe.dev/stripe-terminal-react-native/api-reference/index.html#CreatePaymentIntentParams) - [receiptEmail (Java)](https://stripe.dev/stripe-terminal-java/external/com.stripe.stripeterminal.external.models/-payment-intent-parameters/receipt-email.html) 顧客のメールアドレスがわかっている場合は、PaymentIntent の作成時に [receipt_email](https://docs.stripe.com/api/payment_intents/create.md#create_payment_intent-receipt_email) フィールドを使用します。`receipt_email` を指定すると、Stripe は PaymentIntent を[キャプチャーする](https://docs.stripe.com/terminal/payments/collect-card-payment.md#capture-payment)ときに、準拠した領収書を顧客にメールで自動送信します。 顧客の決済「後」にメール領収書の自動送信をトリガーするには、PaymentIntent の `receipt_email` を顧客のメールアドレスで更新します。 メール領収書の自動送信について、詳細は[メール領収書](https://docs.stripe.com/receipts.md)をご覧ください。 ![](https://b.stripecdn.com/docs-statics-srv/assets/terminal-pre-built-receipt.64db66739eaf8f8db1f9dd61c463a322.png) ## カスタムの領収書 領収書は必須情報さえ掲載されていれば、カスタマイズして、任意のデザインやコンテンツを含めることもできます。*EMV* (EMV refers to the standards governing acceptance of chip-enabled cards and some contactless payment methods. Today most payment cards issued around the world support EMV) チップカードを使用した対面支払いを受け付ける際には、カードネットワークによって、顧客に提供する領収書にいくつかのフィールドを含めることが求められています。 Stripe API を使用すると、コンプライアンスに対応した領収書に必要なフィールドを取得できます。 支払いが[確定される](https://docs.stripe.com/terminal/payments/collect-card-payment.md#confirm-payment)とすぐに、PaymentIntent オブジェクトの以下のフィールドが使用可能になります。 | フィールド | 名前 | 必須かどうか | | -------------------------------- | ----------- | -------------------- | | `account_type` | 口座の種別 | **必須** (アメリカではオプション) | | `application_preferred_name` | アプリケーション名 | **必須** | | `dedicated_file_name` | AID | **必須** | | `authorization_response_code` | ARC | オプション | | `application_cryptogram` | アプリケーションの暗号 | オプション | | `terminal_verification_results` | TVR | オプション | | `transaction_status_information` | TSI | オプション | - [領収書](https://docs.stripe.com/api/charges/object.md#charge_object-payment_method_details-card_present-receipt) - [ReceiptDetails (iOS)](https://stripe.dev/stripe-terminal-ios/docs/Classes/SCPReceiptDetails.html) - [ReceiptDetails (Android)](https://stripe.dev/stripe-terminal-android/external/com.stripe.stripeterminal.external.models/-receipt-details/index.html) - [ReceiptDetails (React Native)](https://stripe.dev/stripe-terminal-react-native/api-reference/index.html#ReceiptDetails) - [ReceiptDetails (Java)](https://stripe.dev/stripe-terminal-java/external/com.stripe.stripeterminal.external.models/-receipt-details/index.html) これらのフィールドには、サーバ側で Stripe API を使用するか、クライアント側で Stripe Terminal SDK を使用してアクセスできます。JavaScript SDK を使用するときは、PaymentIntent オブジェクトが [API オブジェクト](https://docs.stripe.com/api/payment_intents/object.md)と対応します。 Terminal の支払いでは、カスタムの領収書をメール送信するか、印刷するかに関係なく、必ず**必須**フィールドを含めてカードネットワークのルールを順守してください。指定がある場合は、[Payment Method](https://docs.stripe.com/api/payment_methods/object.md#payment_method_object-card_present-preferred_locales) オブジェクトの `preferred_locales` フィールドを使用して、カード保有者の優先言語 (提示されたカードの設定に従う) にアクセスすることもできます。