コンテンツにスキップ
アカウントを作成
または
サインイン
Stripe ドキュメントのロゴ
/
AI に質問する
アカウントを作成
サインイン
始める
支払い
売上
プラットフォームおよびマーケットプレイス
資金管理
開発者向けリソース
概要
Billing
概要Billing API について
サブスクリプション
Invoicing
    概要
    Invoicing の仕組み
    API クイックスタート
    API の導入
    コードなしの Invoicing
    請求書のライフサイクル
    請求書のプレビュー
    請求書を編集する
    請求書の確定日の予定を設定
    ステータス移行と確定
    顧客にメールを送信する
    クレジットノートを作成
    顧客への請求
    顧客
    顧客のクレジット残高
    顧客の納税者番号
    請求書の支払い
    オンライン請求書ページ
    請求書の支払いプランを作成
    部分支払いを受け付ける
    Payment application
    請求書の支払い方法
    自動徴収
    請求書のカスタマイズ
    請求書をカスタマイズする
    請求書レンダリングテンプレート
    請求書のラインアイテムをグループ化する
    ラインアイテムを要約
    グローバル請求
    ベストプラクティス
    多通貨の顧客
    その他の請求処理機能
    商品と価格
    請求書のラインアイテムを一括管理
    税金
従量課金
見積もり
顧客管理
Billing と他のプロダクトの連携
売上回収
オートメーション
実装内容をテストする
税金
概要
Stripe tax を使用
法規制の遵守・対応管理
レポート機能
概要
レポートの選択
レポートを設定
Reports API
複数のアカウントのレポート
収益認識
データ
概要スキーマ
カスタムレポート
Data Pipeline
データ管理
ホーム売上Invoicing

注

このページはまだ日本語ではご利用いただけません。より多くの言語で文書が閲覧できるように現在取り組んでいます。準備が整い次第、翻訳版を提供いたしますので、もう少しお待ちください。

Payment application非公開プレビュー

Learn how to apply payments to open invoices.

You can apply payments to open invoices or fix reconciliation mistakes with payment application. If you use Stripe Invoicing or Stripe Billing and receive payments by bank transfer, check, or outside of Stripe, you might need to manually apply or unapply payments to or from invoices. You can also collect a payment without using an invoice, and then apply the payment towards an invoice.

Before applying or unapplying a payment to or from an invoice, consider the following:

  • You can’t apply a portion of a payment towards an invoice. You can only apply an entire payment towards an invoice, which means you can’t apply a payment across multiple invoices.
  • If parts of your integration with Stripe assume that an invoice can’t be reopened, evaluate whether you should update your integration before reopening a paid invoice. For example, if your integration has a downstream accounting system, confirm whether your integration is ready to handle an invoice being reopened.
  • The Stripe Connector for NetSuite doesn’t support payment application on invoices. If you use the connector and you reopen an invoice, the connector won’t reopen the invoice in NetSuite.

Apply a payment to an invoice

You can apply any payment to an invoice if the payment amount is less than or equal to the unpaid balance on the invoice, and the invoice is for the same customer as the payment. If you apply a payment that fully pays the invoice, the status moves to paid.

  1. Go to Transactions > Payments.
  2. Copy the payment ID of the payment you want to apply to an invoice.
  3. Go to the invoice you want to apply the payment to.
  4. Click the overflow menu () and select Apply payment.
  5. Enter the payment ID and click Next.

You can’t apply part of a payment towards a single invoice. For example, you can’t use a single payment to pay multiple invoices. However, if a payment was created from a Bank Transfer, you can refund the payment to the cash balance and then apply the funds across different invoice amounts.

Disable auto-reconciliation before you refund the payment to the cash balance, to prevent reconciling the balance towards an invoice.

Unapply a payment from an invoice

From the invoice detail view, under the Payments section, you can manage payment application. In this flow, you can unapply a payment and leave it unapplied, or you can reapply it to a different invoice.

  1. Go to the Payments section of the invoice you want to unapply a payment from.
  2. Click the overflow menu () of the payment and click Manage application.
  3. Choose whether to unapply the payment from the invoice, or unapply the payment and then apply it to another open invoice.

After you unapply a payment from an invoice, the status moves back to open. The invoice shows as Open, Past Due, Partially Paid, or Failed (for auto-charge invoices) in the Dashboard.

Automatic collection

After you reopen an invoice, automatic collection is off by default. You can expect the following behavior when you reopen an invoice:

ScenarioResult when auto-advance is off
One-off invoice sent for paymentNo reminders sent
One-off autocharge invoiceNo retries attempted
Subscription invoice sent for payment
  • No retries attempted
  • The subscription status doesn’t change.
Subscription autocharge invoice
  • No reminders sent
  • The subscription status doesn’t change.

You can turn on automatic collection to resume sending reminders, retrying failed payments, or changing invoice and subscription statuses based on your settings.

Automatic collection examples

The examples below illustrate different scenarios for turning on automatic collection for a reopened invoice.

Example 1

  • You send a one-off invoice for payment that’s due January 1, and the customer pays on January 1.
  • You configure the customer email settings to send a reminder 3 days past the due date, 5 days past the due date, and 14 days past the due date.
  • The invoice is reopened on January 10 and automatic collection is turned on (auto_advance = true).
  • A reminder is sent on day 14, if the customer hasn’t paid the invoice yet.

Example 2

  • A one-off invoice charged automatically on January 1 was successfully paid Jan 1.
  • The retry schedule is normally 8 Smart Retries over 14 days.
  • The invoice is reopened on January 7 and automatic collection is turned on (auto_advance = true).
  • Smart Retries schedules retries between January 7 and January 14.

Example 3

  • You send a subscription invoice for payment that’s due January 1, and the customer pays on January 1.
  • You configure the customer email settings to send a reminder 3 days past the due date, 5 days past the due date, and 14 days past the due date.
  • You configure the subscription settings to cancel the subscription and mark the invoice as uncollectible, if the invoice is past due for 30 days.
  • The invoice is reopened on January 7 and automatic collection is turned on (auto_advance = true).
  • A reminder is sent on day 14, if the customer hasn’t paid the invoice yet.
  • On day 30, the subscription is cancelled and the invoice marked uncollectible, if the customer hasn’t paid the invoice yet.

Example 4

  • A subscription invoice charged automatically on January 1 was successfully paid Jan 1.
  • The retry schedule is normally 8 Smart Retries over 14 days.
  • You configure the subscription settings to cancel the subscription and mark the invoice as uncollectible, if all retries are exhausted.
  • The invoice is reopened on January 7 and automatic collection is turned on (auto_advance = true).
  • Smart Retries schedules retries between January 7 and January 14.
  • On day 14, the subscription is cancelled and the invoice marked uncollectible, if the customer hasn’t paid the invoice yet.

Subscription status

For subscription invoices, the subscription status isn’t affected by unapplying a payment. However, if you turn on automatic collection (auto-advance=true), any final dunning actions in your recovery settings take effect based on the date that the invoice became overdue.

Notifications

When you reopen an invoice, no notifications are sent to the customer directly. However, the updated status of the invoice is correctly reflected on the Hosted Invoice Page and in the Customer Portal.

Learn about revenue recognition impacts.

Find unapplied payments

Any payment that isn’t applied to an invoice is considered unapplied. If you previously detached payments and want to confirm that all payments are correctly applied to invoices, you can find unapplied payments using the API.

When a payment detaches from an invoice, an invoice_payment.detached event is triggered. You can list the last 30 days of these events.

stripe events list --type=invoice_payment.detached

If you use Sigma or the Stripe Data Pipeline, you can find payments that aren’t applied to an invoice in the Invoice Payments table or the Payments table.

Track unapplied payments

To track all unapplied payments without using the Stripe Dashboard, build an integration that listens to the detach event and uses metadata to stamp unapplied payments.

Set up webhook events

To track unapplied invoice payments, listen for specific webhook events related to invoice payments and flag it on the payment.

# Handler for webhook events def webhook_handler(event) # Payment was detached if event.type == "invoice_payment.detached" invoice_payment = event.data.object payment_intent = invoice_payment.payment.payment_intent # Update metadata to track this Stripe::PaymentIntents.update(payment_intent, { metadata: { unapplied: true, unapplied_from: invoice_payment.invoice, } }) else # Handle other event types if necessary end end

Apply or reapply invoice payments

When you apply or reapply invoice payments, make sure you clear the unapplied status from the PaymentIntent.

Attach the PaymentIntent to the invoice

Command Line
cURL
Stripe CLI
Ruby
Python
PHP
Java
Node.js
Go
.NET
No results
curl https://api.stripe.com/v1/invoices/in_1MtHbELkdIwHu7ixl4OzzPMv/attach_payment \ -u "
sk_test_BQokikJOvBiI2HlWgH4olfQ2
:"
\ -d payment_intent=pi_3MvUdLLkdIwHu7ix1nItxHNQ

Clear the unapplied metadata field

Command Line
cURL
Stripe CLI
Ruby
Python
PHP
Java
Node.js
Go
.NET
No results
curl https://api.stripe.com/v1/payment_intents/pi_3MvUdLLkdIwHu7ix1nItxHNQ \ -u "
sk_test_BQokikJOvBiI2HlWgH4olfQ2
:"
\ -d "metadata[unapplied]"=false \ -d "metadata[unapplied_from]"=

Render unapplied invoice payments

Use the Search API to list any unapplied invoice payments, and display them as needed in your UI.

def render_unapplied_payments unapplied_payments = Stripe::PaymentIntents.search({ query: "metadata['unapplied']:'true'" }) unapplied_payments.each do |unapplied_payment| render :unapplied_payment, payment_intent: unapplied_payment.payment.payment_intent, unapplied_from: unapplied_payment.metadata.unapplied_from end end
このページはお役に立ちましたか。
はいいいえ
  • お困りのことがございましたら 、サポートにお問い合わせください。
  • 早期アクセスプログラムにご参加ください。
  • 変更ログをご覧ください。
  • ご不明な点がございましたら、お問い合わせください。
  • LLM ですか?llms.txt を読んでください。
  • Powered by Markdoc