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

What is Revenue Cloud?

Billing and Tax·Business

Credit Memos in Revenue Cloud Billing: Keeping the Tax Right

A credit memo made with New comes out with no tax, and a paid invoice won't take a credit. Why it all depends on the link to the invoice, and the two buttons that let finance handle it.

Nathan Altmann · Revenue Cloud consultant at Meir IT

Published 4 min read

In 3 linesfor leadership

  1. A credit memo created with the New button had no VAT, and invoices already paid refused any credit.
  2. A correct credit memo starts from the original invoice and can't exceed what is still owed on each line.
  3. Two buttons on the invoice now let finance unapply the payment, then issue the credit memo on its own.
Receipts, invoices and clipped slips spread on a desk.
In this article (4 sections)
  1. What testing showed
  2. Why it works this way
  3. Two buttons on the invoice, in the order you use them
  4. In practice

Stage: crediting an invoice that's already been issued. The client had just moved invoicing from its old tool to Revenue Cloud Billing, so invoices now came out of Salesforce. A customer disputed an invoice, and finance had to issue a credit memo, a negative invoice that cancels all or part of the original. I was asked two things: what the right steps are, and how finance can do it on their own, without going through an admin.

What testing showed

The most direct route is the New button on the credit memo list. The credit memo gets created, the pre-tax amount is right, the line even carries the right tax treatment, but the tax stays at zero. A credit memo has to carry the tax of the invoice it corrects, so this one was wrong and had to be voided.

The second try started from the invoice itself. Revenue Cloud can create a credit memo from the invoice, line by line, for all or part of the amount. This time the credit memo is linked to the original invoice and tax gets calculated. On some invoices, though, it was refused: there was nothing left to credit. Those invoices were already paid.

One setting was left: how the credit memo gets its tax. The mode that copies tax from the invoice line copies all of it, even for a partial credit. In testing, a $1 credit memo came out carrying the tax of the entire line (seen in a single test environment). The mode that calculates tax on the credited amount gets it right.

Why it works this way

In Revenue Cloud Billing, a credit memo isn't a standalone document. It's a correction to what the customer owes on one specific invoice, and everything that makes it right comes from that link. Tax is calculated by the action that starts from the invoice line, because that line knows the rate, the tax treatment and the original amount. A credit memo made with New has no such link when it's created: someone types an amount, and no tax calculation ever runs on it.

The same link explains the refusal on paid invoices. Since a credit memo reduces what the customer owes, Revenue Cloud caps it at each line's remaining balance. An invoice fully covered by a payment has a balance of zero, so there's nothing to credit. To credit it, you first unapply the payment, meaning you detach it from the invoice without deleting it: the payment becomes available again and the invoice gets its balance back. The action exists in the platform, but there's no button for it on the invoice, and it requires a specific payment operations permission.

This tends to hit right after a migration. To save time, historical invoices are often imported as paid, and finance goes back later to fix the ones that aren't. So a dispute about a historical invoice runs straight into that refusal.

Two buttons on the invoice, in the order you use them

Both right moves existed, but one had no button and the other meant picking the right tax mode. To let finance handle it on their own, the project team added two buttons to every invoice, built on standard Salesforce actions:

  1. Unapply payment. Removes the payment from the invoice, after a confirmation screen. Only needed when the invoice is paid.
  2. Create credit memo. For the whole invoice, or for one line at a pre-tax amount, with a reason. The credit memo comes out posted, with tax calculated on the credited amount.

Now finance unapplies the payment when needed, then creates the credit memo, without typing anything in by hand.

In practice

  • Remove or hide the New button on the credit memo list for finance users, and give them a "Create credit memo" button on the invoice instead.
  • Set that button to the mode that calculates tax on the credited amount, then test a partial credit of a few dollars: its tax should be proportional to the amount.
  • Add an "Unapply payment" button on the invoice, and grant the payment operations permission to the finance people who issue credit memos.
  • Block credit memo creation in the old billing tool at cutover, with a message pointing to Revenue Cloud: a credit memo entered there doesn't exist in the new tool.
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.