Revenue Cloud project notebook, written by two Meir IT consultants who implement it.

What is Revenue Cloud?

Billing and Tax·Business

Renewals Signed, and Nobody Could Invoice Them

After the migration, renewal orders activated with nothing to invoice. The original sale had been billed by the old tool, and the problem arrived one contract at a time.

Nathan Altmann · Revenue Cloud consultant at Meir IT

Published 3 min read

In 3 linesfor leadership

  1. After the migration, signed and activated renewals had nothing to invoice.
  2. The original sale had been billed by the old tool, which Revenue Cloud knows nothing about.
  3. Every month, the count of activated lines with no billing schedule should be zero.
Two invoices on a white desk, one marked “paid”, the other “due”, next to a calculator.
In this article (5 sections)
  1. What was missing
  2. Why nobody was warned
  3. The real cause: an original sale the new tool doesn't know
  4. What was done
  5. In practice

Stage: invoicing a renewed contract. The client, a SaaS software company, had just moved from CPQ and Salesforce Billing to Revenue Cloud. The first renewals were coming in: the rep had made the quote, the customer had signed, the order was activated. Accounting clicks "Generate Invoices" and Salesforce says there's nothing to invoice.

What was missing

In Revenue Cloud, an order isn't invoiced directly. When it's activated, Salesforce creates a billing schedule for each line: what to bill, on which dates, for how much. Invoices are built from those schedules. Here, the renewal lines had none. Order activated, contract signed, revenue stuck.

Why nobody was warned

Creating the schedules had failed at activation. The automation was supposed to post the error to the order's activity feed. That feed wasn't turned on, so the warning failed too, silently. The first alert came from accounting, at invoicing time.

The real cause: an original sale the new tool doesn't know

There were two problems underneath. The first was a technical defect in Salesforce on renewal lines. The second matters for any migration project.

For Revenue Cloud, a renewal extends the billing of the original sale. It needs to find that sale in its own billing. But the running contracts had been carried over during the migration, and their original sale had been invoiced by the old tool. Revenue Cloud has no billing record of it, and never will.

The result: in the first year after cutover, almost every renewal of a carried-over contract hits this. Not on go-live day, when everyone is watching. One at a time, on each anniversary date, for twelve months.

What was done

Each renewal line is now billed as a sale for the renewed period: same period, same renewal net price, same billing frequency. On the customer's invoice, nothing changes. The only difference is internal: in Salesforce, the new schedule isn't linked to the previous one.

Two safeguards went in. A line that already has a schedule is skipped, because a billing schedule can't be deleted: a duplicate would end up as a double invoice. And orders already activated were caught up by a script that first shows what it will create, before creating it.

Testing was done the way a user would do it: renew a carried-over contract, quote, order, activate, then a draft invoice. The invoice had the right period, amount and tax.

In practice

  • Before cutover, take a carried-over contract that renews soon and run the whole path in a sandbox, all the way to the draft invoice.
  • Ask for the list of contracts renewing within twelve months of cutover: that's the number of orders at risk.
  • Require billing errors to land somewhere someone reads them: an alert, a list, an email. Not in a feed nobody opens.
  • Any billing catch-up can be run again without creating duplicates. Ask to see it run twice.

The technical detail, one try at a time: Renewal orders with no billing schedule after a CPQ migration.

A technical question about this article?

A question about this article? I reply within 48 hours.

Something unclear, a mistake, or different behavior in your Salesforce org? Write to me.

Prefer email? Write to nathan@meir-it.com

Get notified of new articles

Type at least two letters.