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

What is Revenue Cloud?

Billing and Tax·Admin

Selling Through Several Legal Entities

Several companies of one group sell from the same org. Selecting tax by legal entity keeps their rates apart; with a single entity, the same selection does nothing and gives no warning.

Nathan Altmann · Revenue Cloud consultant at Meir IT

Published 3 min read

In 3 linesfor leadership

  1. Several companies in one group sell from the same Salesforce org, each with its own tax rules.
  2. Picking tax treatment by legal entity keeps their rates apart, but with one entity it does nothing.
  3. Count your legal entities before designing tax, then test one sale from each entity.
In this article (8 sections)
  1. The context
  2. The problem
  3. The solution
  4. Flow
  5. How to set it up
  6. Alternatives
  7. In practice
  8. Sources

The context

Step: tax calculation on the invoice line, in an org shared by several companies. They belong to one group, sit in different jurisdictions, sell from the same Salesforce org and invoice with Revenue Cloud Billing. Each one has its own tax rules and its own accounting periods, and must never apply another’s rate.

The problem

The tax policy can select the tax treatment by legal entity. With several entities, that’s exactly the guard needed. With only one, the selection has nothing to tell apart: every sale belongs to the same entity, so it filters nothing, and no error or warning says so.

A design that works in a multi-entity org therefore doesn’t carry over to a single-entity one, and the reverse is true too. The number of entities has to be known before the tax design starts.

The solution

With several entities, tax treatments and rates are tied to each entity and the tax policy selects by legal entity. Accounting periods are opened per entity too. A rate can’t cross from one company to another.

Flow

Tax architecture transaction → code → rate
Who Which rule How much Result country selection looks up LegalEntity who is selling BillingAccount who is billed TaxPolicy how to choose TaxTreatment product × code TaxEngine the calculator TaxRate code × country × period InvoiceLineTax the only place the code lands

Two points to take from this diagram. First, it is the country of the billing profile that determines the rate, not the address on the order. I verified it in both directions on two orders with different addresses and the same profile. Second, no native mechanism varies the tax code by country: TaxTreatmentItem has no geographic field, and the standard decision table takes a code as input and returns a rate, so it can never produce one.

  1. Who — LegalEntity (who is selling), BillingAccount (who is billed)
  2. Which rule — TaxPolicy (how to choose), TaxTreatment (product × code)
  3. How much — TaxEngine (the calculator), TaxRate (code × country × period)
  4. Result — InvoiceLineTax (the only place the code lands)

How to set it up

  1. One treatment per entity, with the policy selecting on entity.
  2. Rates tied to the entity, so a rate can’t leak across.
  3. Periods per entity, keeping in mind that a period can’t exceed one year.

Alternatives

The choice here was a single Salesforce org, with tax scoped to each entity. Separate orgs give complete isolation, but cost cross-entity reporting plus a second copy of everything. That’s only worth it when the entities really share no customers.

For what comes next (which company invoices, and invoice numbering), see Multiple Legal Entities in Revenue Cloud: Assignment and Numbering.

In practice

  • Count your legal entities before choosing the tax design. With only one, selection by entity does nothing.
  • Tie treatments and rates to each entity, and select by entity in the tax policy.
  • Open one accounting period per entity and per fiscal year.
  • Test a sale from each entity and check that no rate crosses over.

Sources

  1. LegalEntity
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.