调至内容部分
创建账户
或
登录
Stripe 文档徽标
/
询问人工智能
创建账户
登录
开始
付款
财务自动化
平台和交易市场
资金管理
开发人员工具
开始
付款
财务自动化
开始
付款
财务自动化
平台和交易市场
资金管理
概览
Billing
    概览
    关于 Billing API
    订阅
    开账单
      概览
      API 快速入门
      用 API 集成
      无代码开账单
      账单生命周期
      预览账单
      编辑账单
      安排账单最终确认
      状态转换与最终确认
      发送客户邮件
      生成贷项通知单
      给客户发账单
      客户
      客户贷方余额
      客户税号
      账单付款
      托管账单页面
      创建账单支付计划
      账单的支付方式
      自动欠款回收
      账单定制
      自定义账单
      账单呈现模板
      将账单行项目分组
      汇总行项目
      全球开账单
      最佳实践
      多币种客户
      其他账单功能
      产品和价格
      管理批量账单行项目
      税
    基于用量的计费
    Connect 和 Billing
    Tax 和 Billing
    报价
    收入恢复
    自动化
    脚本
    收入确认
    客户管理
    资格
    测试您的集成
税务
报告
数据
创业公司
首页财务自动化BillingInvoicing

Customers

Learn how to use the Customer resource with Stripe Invoicing.

复制页面

Create a customer for every new user or business you want to bill. When you create a new customer, set up a minimal customer profile to help generate more useful invoices, and enable Smart Retries (if you’re an Invoicing Plus user). After you set up your customer, you can issue one-off invoices or create subscriptions.

注意

Before you create a new customer, make sure that the customer doesn’t already exist in the Dashboard. Creating multiple customer entries for the same customer can cause you problems later on, such as when you need to reconcile transaction history or coordinate saved payment methods.

You can create and manage customers on the Customers page when you don’t want to use code to create a customer, or if you want to manually bill a customer with a one-off invoice.

注意

You can also create a customer in the Dashboard during invoice creation.

Create a customer

When you create a new customer, you can set their account and billing information, such as Email, Name, and Country. You can also set a customer’s preferred language, currency, and other important details.

Customers page

You can also perform these actions on the Customers page:

  • Filter your customers.
  • Delete customers.
  • View all of your customers.
  • Export a list of customer data.

To create a customer, complete these steps:

  1. Verify that the customer doesn’t already exist.

  2. Click Add customer, or press N, on the Customers page.

  3. At a minimum, enter your customer’s Name and Account email.

  4. Click Add customer in the dialog.

Edit a customer

To edit a customer’s profile, complete these steps:

  1. Find the customer you want to modify and click the name on the Customers page.

  2. In the account information page, select Actions > Edit information.

  3. Make your changes to the customer profile.

  4. Click Update customer.

Delete a customer

To delete a customer, complete these steps:

  1. Find the customer you want to delete on the Customers page.

  2. Click the checkbox next to your customer’s name followed by Delete. You can also click into the customer’s details page and select Actions > Delete customer.

Customer profiles

​​Use a basic customer profile for invoice and receipt generation or as a lightweight customer relationship management system (CRM) for your application. To create a minimal customer profile, set these properties:

  • Email address.
  • Customer name.
  • Metadata with a reference to your application’s internal customer ID.

Stripe uses your customer’s email address to notify them of payment failures. Stripe also uses email addresses to notify customers when they need to perform an action to complete a payment.

Store the internal customer ID for your application in the metadata attribute. Like most Stripe resources, the Customer resource includes a Metadata object hash to flexibly store contextual key-value information. To aid in auditing and support, store your internal customer ID as a key-value pair on the Customer resource. This allows you to search for the customer using your internal reference ID. We recommend storing Stripe customer IDs against the internal customer model of your application.

Billing and shipping addresses

Use the address attributes to set a billing address for invoicing and credit notes. For physical good delivery, add a shipping address.

注意

Invoices, credit notes, and receipts display the billing address—a common requirement for tax compliance.

Email and PDF language localization

When you create a customer, use the Language dropdown to add their preferred language. (You can also add or edit a customer’s preferred language in the Customer details page or when creating an invoice.) Stripe uses the chosen language to localize invoice emails and PDFs, receipt emails and PDFs, and credit note PDFs.

To update the language through the API, use the preferred_locales parameter. This parameter accepts an ordered list of preferred languages sorted by preference. These preferred locale values are based on RFC-4646. Examples include en for English, or fr-CA for Canadian French. To learn more, see Customer preferred languages.

Customer properties

The following table contains additional customer properties:

PropertyDescription
Payment propertiesStripe uses the payment details associated with a customer to collect payment. A customer can have multiple ways to make a payment, including the Payment Methods API and Customer credit balance. Customers are single-currency, which means that after you assign a currency, invoice the customer, or set a customer credit balance, you can’t change the currency. You can see this locked state in the Dashboard in a disabled Currency dropdown. If you need to bill a single entity with multiple currencies, create a new customer for each currency.
Invoicing propertiesAll invoicing-related resources are associated with the billed customer.
Tax propertiesTo meet tax jurisdiction requirements, you might need to include customer tax ID numbers and other tax-related information on your invoices. ​​It’s your responsibility to make sure your customer’s invoices contain all of the correct information, such as tax IDs, tax exemption status, and addresses. Tax IDs provide a way to store and render one or more tax ID numbers on invoices. The tax exemption status indicates whether the entity is taxable. By default, a customer’s tax_exempt status is set to none—meaning it’s a taxable billing entity. However, you can set the tax_exempt parameter to reverse for customers that must pay the invoice’s tax. You can also flag the customer as being tax exempt by setting the status to exempt. To learn more about using tax_exempt and reverse, see Tax Rates.

Common tasks

Here are some of the common tasks you can perform with the Customer resource:

  • Send an invoice to a customer: After you create the customer, you can send them an invoice.

  • Store a customer credit balance: The customer credit balance feature allows you to assign credit and debit adjustments to a specific customer and then apply the resulting balance toward future invoices for them.

  • Add and validate tax ID numbers: Displaying a customer’s tax ID on an invoice is a common requirement, and Stripe allows you to add multiple tax IDs to a customer. Their tax IDs display in the header of invoice and credit note PDFs. See the Customer tax IDs page for more details.

  • Set the currency for a customer: You can set the default currency to charge a customer for invoices using the Dashboard by navigating to the Customers page, selecting your customer, and clicking Edit next to Details. See the Multi-currency customers page for more details on billing the same customer using a different currency than their default currency.

  • Create customers in bulk: Bulk upload Customers using Productivity Stripe Apps.

此页面的内容有帮助吗?
是否
需要帮助?联系支持。
加入我们的早期使用计划。
查看我们的更改日志。
有问题?联系销售。
LLM? Read llms.txt.
Powered by Markdoc