On this page (7 sections)
What it does
Revenue Cloud Billing takes over once an order is activated. Each order line gets a billing schedule that says what to invoice, on which date and for which period. A billing run then reads those schedules and produces invoices, first as drafts, then posted.
An example. A ₪12,000 annual subscription, billed monthly, starts on January 1, and the billing day is the 15th. Billed in advance, the first billing date is December 15. Billed in arrears, it's January 15. Each invoice carries ₪1,000.
The app also covers tax, credit memos, payments, collections and journal entries, with legal entities and accounting periods.
Upstream, it depends on the order and the asset that Transaction Management produces. Downstream, it feeds accounting. The business view of this step is covered in Billing and Tax: How It Works.
Turning on Billing is documented for both the Revenue Cloud Advanced and the Revenue Cloud Billing licenses. Some features, such as milestone billing, usage-based invoicing and the collections permission sets, require the Billing license.
What to turn on
- Make sure Subscription Management is off. Billing can't be turned on while it's enabled.
- In Setup, open Billing Settings and turn on Billing. This takes the System Administrator profile with the Customize Application permission.
- Assign the Billing Admin and Billing Operations User permission sets to your admins right away, or the setup pages stay out of reach.
- Create the legal entity, the billing policy, its treatment and treatment item, then the tax policy and tax treatment. Activation follows a fixed order: treatment item, then treatment, then policy.
- In Billing Settings, under Billing Defaults, pick the default billing treatment, tax treatment and legal entity.
- In Billing Settings, under Context Service Mapping, pick the extended BillingContext context definition and its mapping. Before cloning that definition, set field-level security on the order's Bill To Contact field by hand.
- Save a version of the Order to Billing Schedule flow and activate it. Only one active flow should create billing schedules.
- Create a scheduler from Billing Batch Schedulers, and check Post invoices if invoices should come out posted.
Key objects
| Interface | API | What you set there |
|---|---|---|
| Billing Policy | BillingPolicy | How the treatment is picked (Default, Manual, Legal Entity) and the default treatment. Products point to it. BillingPolicy |
| Billing Treatment | BillingTreatment | The legal entity, and Exclude From Billing, which holds one line back without blocking the rest of the order. BillingTreatment |
| Billing Treatment Item | BillingTreatmentItem | When to bill: Advance, Arrears, or None for milestones. One item per treatment. |
| Billing Schedule | BillingSchedule | Nothing to enter: the flow or the API creates it. You read its category (Original, Amendment, Renewal…), status and per-period amount. BillingSchedule |
| Billing Schedule Group | BillingScheduleGroup | Billing day of month, next billing date override, addresses, tax treatment and payment term. BillingScheduleGroup |
| Billing Profile | BillingAccount | An account's billing contact, address and preferences. An account can have several, one of them the default. BillingAccount |
| Invoice | Invoice | Status (Draft, Posted, Voided…). Invoices come out of a billing run, not out of manual entry. Invoice |
| Billing Batch Scheduler | BillingBatchScheduler | Frequency, target date, automatic posting and PDF generation. |
Table sources:. Invoice and BillingSchedule weren't createable through the API on the projects observed.
Where to set it up
Setup > Billing Settings holds three things: the on switch, the defaults (Billing Defaults) and the context service mapping (Context Service Mapping). Defaults save as soon as you pick them. Billing Guided Setup walks through the same steps in order.
Policies, treatments and treatment items are created from the App Launcher, as drafts first.
There are two ways to bill. In batch, with a scheduler created from Billing Batch Schedulers: frequency, target date (no more than 12 months out), automatic posting, PDF generation. Generating PDFs also takes the DocGen User permission set. One at a time, with the Generate Invoices quick action on the account. For orders, you add that action to the order page layout yourself.
You monitor runs on the Invoice Batch Runs record: the status subtype (add it to the page layout) and the Revenue Transaction Error Logs related list.
What goes wrong on projects
- Orders activate, but no billing schedule shows up. The Order to Billing Schedule flow ships as a template. Until you save and activate a version of it, nothing happens. On one project, a flow was also filtering on the English status value in an org running in French. And the billing schedule group mapping had to be declared on top of the order mapping. Check in this order: active flow, Context Service Mapping, then Revenue Transaction Error Logs. Articles: From Order to Invoice in Revenue Cloud, Flow Criteria That Fail Silently on a Localized Org
- Every line gets two billing schedules. Two active flows are creating schedules for the same order. To check, go to Setup > Flows and list every active flow that fires on order activation.
- Order activation started failing once Billing was on. The order needs a Bill To Contact, a billing address and a shipping address. I've seen the opposite on a data migration: the orders import and activate, but nothing bills because the period and frequency fields on the order lines are empty. Test the whole chain on one order, all the way to the invoice, before loading the rest. Article: From Order to Invoice in Revenue Cloud
- The invoice comes out with no tax, or the wrong rate. On one project, the rate followed the country on the billing profile, not the order's address. Two orders with different addresses and the same profile got the same rate. To check, run that two-order test in your own org. Articles: Calculating Tax from the Billing Profile, Country-Driven Tax Code, Without Apex, The Apex Tax Engine Adapter
- GL routing can't find the data it needs. On the invoice,
BillingAccountIdpoints to the customer account (Account), not to the billing profile. And the line's tax code is only filled onInvoiceLineTax. The Winter '27 docs list two differentBillingAccountIdfields onInvoice. Article: Routing Invoice Lines to the Ledger
Articles on this product
- From Order to Invoice in Revenue CloudAdmin
- The Apex Tax Engine AdapterAdmin
- Calculating Tax from the Billing ProfileAdmin
- Country-Driven Tax Code, Without ApexAdmin
- Routing Invoice Lines to the LedgerAdmin
- Bringing In Invoices Produced ElsewhereAdmin
- Fixed-Day Payment TermsAdmin
- Selling Through Several Legal EntitiesAdmin
- Intra-EU VATAdmin
- Flow Criteria That Fail Silently on a Localized OrgAdmin
- Multiple Legal Entities in Revenue Cloud: Assignment and NumberingAdmin
- Running a Subscription BusinessAdmin
- Renewal Orders With No Billing Schedule After a CPQ MigrationAdmin
- Why Getting the Invoice Right Is a Project of Its OwnBusiness
- Credit Memos in Revenue Cloud Billing: Keeping the Tax RightBusiness
Official documentation
- Manage Billing in Revenue Management
- Turn On Billing in Revenue Management
- Assign Permissions to Access Billing Features
- Considerations When Setting Up and Using Billing
- Generate Invoices Automatically Based on Billing Schedules
- Limits in Billing
Every source on this page (9)
- Manage Billing Schedules and Billing Schedule Groups
- Create Billing Policies, Treatments, and Treatment Items
- Select Default Billing Treatment, Tax Treatment, and Legal Entity
- Select Context Definition and Mapping for Create Billing Schedules for Orders API
- Generate Billing Schedules from Orders
- Understand Billing Treatment Resolution
- Set Up Billing
- Invoice Batch Run Process
- Generate Invoices for Accounts or Orders