How ONESOURCE Determination configuration fits together

Companies, product mapping, rules that change the request, tax code mapping, reference lists and vendor content: a practitioner’s map of where a ONESOURCE result comes from, and which layer to look at when it is wrong.

By Herb Park, Clarent Technologies

Thomson Reuters ONESOURCE Indirect Tax Determination (often still called Sabrix) is one of the most widely deployed engines in SAP and Oracle landscapes. This is a map of its main configuration layers as practitioners meet them. Screen names and features vary by version and by how your implementation was built, so treat it as orientation, not product documentation.

The layers, in the order a request meets them

A request passes through your setup twice: before the content and after it The path of one request. The table below describes each stop and how it usually goes wrong.
  • ERP request
  • Company hierarchy: Which entity, which inherited settings
  • Product mapping: ERP code to tax product category
  • TransEditors: Rules that rewrite the request
  • Vendor content: Jurisdictions, rates, standard taxability
  • Custom rules and overrides: Your taxability, exemptions, rates
  • Tax code mapping: Result to ERP tax code
  • Response to ERP
  • Reference lists: Values that your rules test against
LayerWhat it holdsTypical way it goes wrong
Company hierarchyLegal entities, often parent and child companies per country or ERP company code, with registrations and defaults inherited down the tree.The request lands on the wrong company because of an external ID mismatch, or a child inherits a setting nobody meant it to.
Product mappingMaps ERP material, item or commodity codes to tax product categories.An unmapped code falls to a default category and is taxed at the standard rate.
TransEditorsRules that read the incoming request and change it before determination: set addresses, product codes, tax codes, override rates, flag lines as exempt.A rule copied from another country’s template matches far more transactions than intended, or a condition tests the wrong value.
Vendor contentJurisdictions, rates and standard taxability maintained by Thomson Reuters and updated regularly.Content updates land alongside your own changes and get blamed for them, or the reverse.
Custom rules and overridesYour own taxability, exemptions, rate overrides and allocations on top of content.An override written for one scenario also catches another.
Reference and lookup listsLists of values that rules test against (for example which tax codes are exempt).A value is missing from the list, so the rule silently does not fire.
Tax code mapping (qualifiers)Maps the engine’s result back to the ERP tax code that will post.The calculation is right but the ERP receives a generic or wrong code, so posting or reporting fails.

How to read a surprising result

  1. Start from the request. Pull the actual request and response from the ERP log (Oracle, SAP). Check addresses, product code, tax code passed in and user-defined fields.
  2. Reproduce it in the test tool. Run the same line through the engine’s test or calculation tool against the same company, and read the rule trail: which rules fired, in what order, and which one set the final values.
  3. Find the layer. Did a rule rewrite the request? Did product mapping fall to a default? Did content apply standard taxability? Did the code mapping return something unexpected?
  4. Change one thing in test, then diff. Make the smallest change, re-run the full set of related cases, and diff the test configuration against production before promoting.
The rule trail shows which layer set the final value A rule trail from a test calculation (illustrative; the real layout depends on your version). Read it top to bottom and find the step that set the final value.
  • Step: 1; Layer: Company; Rule or lookup: External ID DE01; What happened: Matched child company DE01
  • Step: 2; Layer: Product mapping; Rule or lookup: MAT-40021; What happened: Mapped to category Machinery parts
  • Step: 3; Layer: TransEditor; Rule or lookup: Set exempt for listed tax codes; What happened: Fired: tax code A0 is on the list, line flagged exempt
  • Step: 4; Layer: Vendor content; Rule or lookup: Standard taxability, DE; What happened: Skipped: line already exempt
  • Step: 5; Layer: Tax code mapping; Rule or lookup: Exempt, DE; What happened: Returned ERP tax code A0
  • Result: 0.00 tax. Expected: standard rate.
  • (1) A rule rewrote the request before determination. Check its condition and the reference list it tests. The rule title may no longer describe what it does.
  • (2) Content never got to apply the standard rate, so the content is not the cause.
  • (3) The code mapping did its job: it returned the code for the result it was given.

Habits that prevent most incidents

A scheduled diff finds drift between test and production before an incident does A comparison of the same company's setup in test and production (illustrative). Each difference is either a change waiting to be promoted or drift nobody planned.
  • Test: TransEditors: 14 rules Set exempt for listed tax codes condition: TaxCode in list EXEMPT_CODES Force ship-from for drop ship Reference list EXEMPT_CODES A0, E1, E2 Product mapping: 1,204 entries Tax code mapping: 38 entries
  • Production: TransEditors: 13 rules Set exempt for listed tax codes condition: TaxCode in list EXEMPT_CODES (rule not present) Reference list EXEMPT_CODES A0, E1 Product mapping: 1,204 entries Tax code mapping: 38 entries
  • 2 differences found
  • (1) A rule exists only in test. Rules are compared by name, because rule numbers shift when rules are added.
  • (2) One value is missing from the production list, so the rule that tests it does not fire for tax code E2.

The troubleshooting casebook has worked examples of each failure pattern above.