Skip to content
Create account
or
Sign in
The Stripe Docs logo
/
Ask AI
Create account
Sign in
Get started
Payments
Revenue
Platforms and marketplaces
Money management
Developer resources
Overview
Billing
OverviewAbout the Billing APIs
Subscriptions
Invoicing
Usage-based billing
Quotes
Customer management
Billing with other products
Revenue recovery
Automations
Revenue recognition
Test your integration
Tax
Overview
Use Stripe tax
Manage compliance
Reporting
Overview
Select a report
Configure reports
Reports API
Reports for multiple accounts
Revenue recognition
    Get started
    How Revenue Recognition works
    Data freshness
    Pricing
    Multi-currency
    Connect platforms
    Revenue Recognition for Usage-Based Billing
    Revenue contracts
    Reports
    Overrides
    Audit your numbers
    Examples
    Revenue recognition rules
      Create a rule
      Examples
    Revenue Recognition settings
    Map to your chart of accounts
    Performance obligations API
    Import data to Stripe
    Export data from Stripe
Data
OverviewSchema
Custom reports
Data Pipeline
Data management
HomeRevenueRevenue recognitionRevenue recognition rules

Create a rule

Learn how to create a rule.

You can create and manage Revenue Recognition rules from the Stripe Dashboard. To create a rule, click Add rule from the Rules page.

A rule consists of the following key components:

  • Name
  • Apply to
  • Revenue treatment and allocation
  • Effective period
Create a rule

Conditions (“Apply to”)

A set of conditions specifies which transactions (for example, charges, invoice line items) that a rule applies to.

Caution

A transaction fulfills the condition requirement when all the conditions are true.

Effective period

An effective period specifies the time period that a rule applies to.

For an invoice line item, if the finalization time for the invoice falls within the specified effective period, the invoice line item fulfills the effective period requirement.

For a charge, if the balance transaction that it corresponds to has a creation time that falls within the specified effective period, the charge fulfills the effective period requirement.

Caution

For a rule to apply to a transaction, the transaction must fulfill both the effective period and condition requirements. When you update the effective period, the rule retroactively applies to previous accounting periods. If the previous periods are closed, changes are reflected in the first open accounting period. You can avoid corrections by re-opening previous periods.

Treatments

When a transaction fulfills both the effective period and condition requirement, a set of defined treatments are applied.

A treatment consists of its type and the allocation percentage.

The allocation percentage specifies how much of the amount the type of treatment applies to.

The type of treatment specifies how to treat the amount. Here are the treatment types that we support:

  • Defer and recognize revenue at a specified time (applicable to charges only)
  • Categorize the amount as passthrough fees
  • Categorize the amount as tax
  • Exclude the amount
  • Amortize the amount over a specified period (applicable to charges only)
  • Amortize the amount over the service period for an invoice line item (applicable to invoice line items only)

See also

  • Examples
Was this page helpful?
YesNo
Need help? Contact Support.
Join our early access program.
Check out our changelog.
Questions? Contact Sales.
LLM? Read llms.txt.
Powered by Markdoc