メール領収書
領収書と支払い済みの請求書を自動的に送信します。
You can manually or automatically send customized email receipts or paid invoices. Learn more about receipts for payments.
Automatically send receipts 
To enable automated receipts, toggle Successful payments on in your Customer emails settings. Receipts are only sent for a successful payment. Receipts aren’t sent for failed or declined payments.
領収書をカスタマイズする
領収書のデザインと機能を、以下のカスタマイズオプションで変更します。
- ブランディング: ロゴと色をブランディング設定で変更します。カスタムロゴの画像ファイルサイズの上限は 512KB です。理想的には、128 x 128 ピクセルより大きい正方形のロゴ画像を使用してください。サポートされるファイル形式は、JPG、PNG、GIF です。
- 公開情報: 公開情報の設定で、電話番号やウェブサイトアドレスなど、含める公開情報を指定します。
カスタムテキストを表示するには、Checkout セッション の payment_intent_data.description 属性を使用します。たとえば、次のようなものがあります。
- 提供された商品またはサービスの説明
- 認証コード
- サブスクリプション情報
- キャンセルポリシー
メール領収書のリアルタイムのプレビューは、ダッシュボードのブランディング設定ページで確認できます。テストの領収書を送信するには、プレビュー画像の上にマウスを合わせてテスト領収書を送信をクリックし、メールアドレスを入力します。
注意
領収書は、PaymentIntent の確定時に生成された Charge
オブジェクトからデータを取得します。Charge が生成された後に description
値などの領収書データを更新するには、Charge を更新する必要があります。確定済みの PaymentIntent への変更は、領収書には表示されません。
Automatically send paid invoices 
In addition to ordinary receipts, you can configure the Checkout Session to generate paid invoices as proof of payment. Invoices have more information than receipts. For subscriptions, Stripe generates invoices automatically, but for one-time payments, you need to enable them.
注
Checkout Sessions API を使用した、1 回限りの支払いに対する請求書の作成は、Invoicing の機能ではないため別途料金がかかります。詳細については、こちらのサポート記事をご覧ください。
To generate invoices, select Successful payments under Email customers about in your Customer emails settings. Then, set invoice_creation[enabled] to true
when creating a Checkout Session.
After the payment completes, Stripe sends an invoice summary with links to download the invoice PDF and invoice receipt to the email address your customer provides during checkout.
注意
Invoices for delayed notification payment methods might take longer to send because we send the invoice after successful payment, not when the checkout session completes. These payment methods include Bacs Direct Debit, Bank transfers, Boleto, Canadian pre-authorized debits, Konbini, OXXO, Pay by Bank, SEPA Direct Debit, SOFORT, and ACH Direct Debit.

The downloadable invoice PDF

The downloadable invoice receipt

The customer email with links to the invoice PDF and receipt
You can also view the invoice in the Dashboard or access it programmatically by listening to the invoice.paid event through an event destination.
You can use the invoice_
hash inside invoice_
to further customize the invoice generated by the Checkout Session.
Review invoice best practices for your region to make sure you’re collecting the right information from your customers. Information like the customer’s billing and shipping addresses, phone number, and tax ID appear on the resulting invoice.
Localization 
When using Checkout Sessions, the language of the receipt and invoice is determined by several factors:
- If you set a
Customer
, their preferred locale is used if available. - If you set a
Customer
without any preferred locales, we apply the language setting from the Dashboard.