调至内容部分
创建账户或登录
Stripe 文档徽标
/
询问人工智能
创建账户登录
开始
付款
销售收入
平台和交易市场
资金管理
开发人员资源
API 和 SDK帮助
概览
Billing
概览关于 Billing API
订阅
开账单
基于用量的计费
高级用量计费
报价
客户管理
用其他产品计费
收入恢复
自动化
测试您的集成
税务
概览
使用 Stripe Tax
管理合规
报告
概览
选择报告
配置报告
多账户报告
Reports API
收入确认
    概览
    Revenue Recognition 的工作原理
    设置收入确认
    数据实时性
    定价
    多币种
    Connect 平台
    收入合同
    报告
    覆盖
    审计数字
    示例
    收入确认规则
    Revenue Recognition 设置
    映射到您的账户图表
    履行义务 API
    向 Stripe 导入数据
      管理导入的数据
      错误处理
      示例
      Stripe Connector for Apple App Store
      Stripe Connector for Google Play
    从 Stripe 导出数据
    独立售价
数据
概览
查询商家数据
Sigma
Data Pipeline
导入外部数据
美国
简体中文
首页销售收入Revenue recognition

Revenue Recognition data import公开预览

Import data from other sources to manage all of your revenue recognition in Stripe.

Perform revenue recognition on non-Stripe transactions and adjust the recognition schedules of existing Stripe transactions, exclude the existing Stripe transactions from the revenue, or adjust journal entries.

Data import is categorized by general import, exclusion import, or journal entry import.

General import allows you to upload revenue data with CSV files. You can import transactions processed completely outside of Stripe and customize the recognition terms of existing Stripe transactions to fit your business model. For example, you can import data to:

  • Add a service period to a Stripe payment.
  • Override the service period of a line item in a Stripe invoice.
  • Split a payment into multiple different revenue schedules.
  • Import an external payment processor’s data with a service period, amount, and currency.

Exclusion import allows you to exclude transactions from your revenue by uploading the IDs of the transactions to exclude. You can exclude the following types of transactions: invoice, invoice item, invoice line item, standalone payment.

Journal entry import lets you import custom journal entries into your revenue recognition reports.

注意

When you import data related to India, make sure you’re in compliance with India data locality requirements.

General import

You can import data into revenue recognition reports and view all the data you’ve imported from the Data import page. Click Import and select Import transactions from the dropdown. Click Download CSV template to see the required format for the data import feature. You can then upload your completed template. See the following descriptions of the CSV format:

Source

The provider of the original transaction. Examples:

  • Stripe (case-insensitive) for transactions processed by Stripe
  • Any value such as Checks or App Store, an arbitrary identifier that helps you group the source of a set of transactions

Transaction ID

The ID of a transaction. Examples:

  • An ID such as ch_123456 or py_1234 for Stripe payments
  • An ID such as in_12345 for Stripe invoices
  • Any value such as my_internal_id or Check Number 1234, an arbitrary identifier that helps you track a single transaction

Split transaction ID

If you’re not overriding an invoice line item service period or splitting a transaction, you can leave this blank.

When overriding an invoice line item service period, this is the invoice line item ID. Examples:

  • An ID such as il_1234, that you can find from your revenue recognition reports at the invoice line item level

If you’re splitting a transaction, this is an arbitrary identifier that differentiates between different parts of the same transaction. Examples:

  • bike
  • my_internal_id

Booked date

This is the date that you recorded the transaction in YYYY-MM-DD format in the UTC timezone.

Recognition start date

This is the date that you want to start recognizing revenue in YYYY-MM-DD format in the UTC timezone.

Recognition end date

This is the date that you want to stop recognizing revenue in YYYY-MM-DD format in the UTC timezone.

Amount

This is the numeric amount of the transaction without any currency symbols. For example, for 10.95 USD, you would specify 10.95.

Currency

This is the three-letter ISO 4217 currency code for the currency of the recognized revenue of the transaction. For example, for 10.95 USD, you would specify usd. Your Stripe account must be set up to support the specified currency.

Description

This can be any arbitrary description. You can use these in combination with revenue recognition rules to further customize your recognized revenue.

Additional verifications

  • All rows must have a transaction ID.
  • All of the split parts of a transaction must have an amount that adds up to the original transaction.
  • External transactions must provide a booked date, revenue recognition start and end date, amount, and currency.
  • We ignore overrides on payments attached to Stripe invoices, so if you want to override such a payment, use the invoice itself as the transaction.

Exclusion import

You can exclude transactions from revenue and view the excluded transactions that you imported from the Data import page. Click Import and select Import exclusions. Click Download CSV template to see the required format for the exclusion data import feature. You can then upload your completed template.

Transaction ID

Transaction ID examples include:

  • ch_123456 or py_1234 – An ID for a standalone Stripe payment. If a payment or charge is linked with an invoice, don’t use the charge or payment ID. Use the invoice ID for exclusion instead.
  • in_12345 – An ID for Stripe invoices.
  • ii_12345 – An ID for Stripe invoice items.
  • il_12345 – An ID for Stripe invoice line items.

Journal entry import

You can import manual journal entries into revenue recognition reports, viewing all imported data from the Data import page. Click Import, then select Import journal entries. Click Download CSV template to see the required format for the data import feature. You can then upload your completed template. See the following descriptions of the CSV format:

Column NameDescriptionRequired
Accounting Period DateThis is the date that this journal entry applies to, in YYYY-MM-DD format in the UTC timezone.Yes
Debit AccountThe default Stripe GL account name. Examples: AccountsReceivable, Revenue. Refer to our Chart of Accounts for a comprehensive list.Yes
Credit AccountThe default Stripe GL account name. Examples: AccountsReceivable, Revenue. Refer to our Chart of Accounts for a comprehensive list.Yes
Settlement AmountThis is the numeric amount of the transaction without any currency symbols. For example, for 10.95 USD, you would specify 10.95.Yes
Settlement CurrencyThis is the three-letter ISO 4217 currency code for the currency of the recognized revenue of the transaction. For example, for 10.95 USD, you would specify usd.Yes
Transaction IDThe ID of a transaction. Examples: An ID such as ch_123456 or py_1234 for Stripe payments, An ID such as in_12345 for Stripe invoices. This transaction must exist in your Stripe account and in that mode (livemode/testmode).Yes
Debit Account GL NameOptional. The GL mapped account name for the default Stripe account. If provided, it must match the GL code.No
Credit Account GL NameOptional. The GL mapped account name for the default Stripe account. If provided, it must match the GL code.No
Debit Account GL CodeOptional. If provided, then it must match the GL account mapped in accounts mappings.No
Credit Account GL CodeOptional. If provided, then it must match the GL account mapped in accounts mappings.No
Presentment Amount/CurrencyOptional. If not available, then this will be the same as the settlement amount and currency.No
DescriptionOptional. This can be any arbitrary description.No

Additional verifications

  • All rows must have the required fields: accounting period date, debit account, credit account, settlement amount, settlement currency, and transaction ID.
  • The accounting period date that you entered must be an open period.
  • The transaction ID must exist in your account.
  • If a charge is inputted as a transaction ID, it must be a standalone charge. If an invoice is attached, use the invoice ID instead.
  • If you enter a GL name or code, they must match your custom account mappings.

Opening accounting periods

Applying a transaction to a closed accounting period generates corrections. If you want to apply past transactions directly to a past accounting period, make sure that the past accounting period is open. If you forgot to do this, you don’t need to re-import data. Instead, you can open the relevant accounting period and wait for the reports to be recalculated.

另请参阅

  • Manage imported data
  • Examples
此页面的内容有帮助吗?
是否
  • 需要帮助?联系支持。
  • 查看我们的更改日志。
  • 有问题?联系销售。
  • LLM? Read llms.txt.
  • Powered by Markdoc