Configuration Guide

SAP SD Tax Determination — MWST & Tax Classification

Departure vs destination · tax classifications · OVK1 · MWST & TTX1 · Last updated November 2026

Tax is the condition type everyone has seen in a pricing procedure and very few people can actually trace. It is also the one that produces the awkward call: the customer has been invoiced the wrong amount, and correcting it is not a repricing, it is a credit note.

The good news is that SAP determines tax from exactly three things, and once you know which three, nearly every tax ticket resolves quickly. This guide works one example end to end, then covers the configuration behind it and the failures worth recognising. For SAP S/4HANA on-premise, release 2025 FPS02.

01

Two orders, two different tax amounts

Two order lines raised on the same day, for the same buying customer, for the same material, from the same plant. One carries tax and the other does not. The customer has noticed. One row below explains it.

FieldOrder AOrder B
Sold-to party00001047110000104711
MaterialM-101M-101
Delivering plant17101710
Order date24.11.202624.11.2026
Net value10,000.0010,000.00
Ship-to party00001047110000104899
Tax on the line1,900.000.00

Customer numbers, plant and amounts are illustrative, not SAP standard values.

Show the row that explains it

The ship-to party. Everyone checks the sold-to party, because that is the customer on the order and the one complaining. But SAP determines tax from the tax classification of the customer’s ship-to party, and the destination country is the ship-to’s country. Order B ships somewhere else, to a party with a different classification, so it is a different tax situation entirely.

This is worth knowing cold. It explains exempt-looking orders for customers who are plainly taxable, and it is the first thing to compare when two orders for one customer disagree.

02

How SAP determines the tax

SAP is unusually explicit about this. During the automatic calculation of sales taxes the system takes three factors into account: whether the business being transacted is domestic or foreign, the tax classification of the customer’s ship-to party, and the tax classification of the material. Everything else is plumbing.

Scroll the diagram sideways to see all of it →

The three inputs SAP combines to determine tax on a sales documentThree inputs feed tax determination. The countries: departure is the plant’s country, destination is the ship-to party’s. The ship-to party’s tax classification, from the customer master. And the material’s tax classification, from the material master. Together they let the tax condition type in the pricing procedure find a condition record, and that record holds the tax code and the tax percentage, applied to the net value of the line.Three inputs, one condition record, one tax codeCOUNTRIESDeparture: the plant’s countryDestination: the ship-to’sSHIP-TO PARTYTax classification fromthe customer masterMATERIALTax classification fromthe material masterTAX CONDITION TYPEin the pricing proceduresearches for acondition recordTHE RECORD HOLDSthe tax codeand the tax percentageapplied to the NET valueThe classification is master data; the tax code is the result. They are not the same thing.SD determines the tax code. FI decides where it posts — normally through the tax code,not through revenue account determination.

The three inputs to tax determination and what they produce.

The two countries are what make the first factor concrete. In the sales document the departure country is the plant’s country or region, and the destination is the country of the ship-to party. Same country is domestic; different countries is not. That is also why a change of delivering plant can change the tax on an order that nobody otherwise touched — see shipping point determination for how the delivering plant is arrived at.

03

The two tax classifications

Both are master data, and both are copied into the sales document when the order is created.

Customer

Is this customer liable?

Specified in the customer master record. SAP’s example is the obvious one: customers who are non-profit organisations may be exempt from paying sales tax. The classification that counts at order time is the ship-to party’s.

Material

Is this product taxable?

Specified in the material master record. Some products may not be taxed at all while others carry a reduced rate — books, food and medical goods being the familiar cases in most tax regimes.

The detail that saves an afternoon: during sales order processing the system transfers both classifications into the sales document automatically, and an alternative classification can then be entered on the document. So the value that priced the order is the one on the document, not the one on the master record you are looking at. Correcting a master record also does nothing to orders that already exist.

04

Configuration walkthrough

In the order the system needs it. The first step is the one people skip, and it is the reason tax quietly stops working when the business expands.

01

Define the tax determination rules

OVK1 — Basic Functions → Taxes → Define Tax Determination Rules

A tax category must be defined by departure country, and the allowable departure country is the plant’s country and/or the company code’s country. This is the step that makes the tax category available at all: without a row here for a country, the masters have nothing to classify against. SAP documents the transaction as OVK1 and the table as TSTL.

02

Define the possible tax classifications

Basic Functions → Taxes → Define Tax Relevancy of Master Records

Separately for customer taxes and material taxes. These are the values a user will be allowed to pick in the master record — full rate, reduced rate, exempt, and whatever else the business needs. Define the consequences you want before you let anyone choose between them.

03

Maintain the indicators in the master records

Customer master and material master

The tax classification indicator is entered per tax category. Which categories appear depends on the countries involved — see the troubleshooting section, because this is where most "tax stopped working" tickets actually begin.

04

Maintain the tax condition records

The tax condition type in your pricing procedure

The condition record is what turns the determined combination into a number. For the classic MWST condition type the record carries the tax code and the tax percentage, keyed on the country and the two classifications.

05

Check the pricing procedure

V/08

The tax condition type needs a step, an account key (MWS for output tax) and — critically — a From value that points at the net subtotal rather than the gross price, so tax is calculated after discounts.

Country-specific: the US and Canada

SAP’s guidance for the external tax interface is stricter than the general case. Tax category UTXJ must be maintained with a sequence of 1 for the US, and CTXJ with a sequence of 1 for Canada, and you should not maintain more than one tax category for either — SAP advises deleting UTX2, CTX2, UTX3 and CTX3 so they do not appear on the customer and material master tax views. The standard system also includes condition types for state, county and city sales taxes and for taxes based on tax jurisdiction codes. India and other regimes have their own tax procedures; check the country configuration rather than assuming the European VAT pattern.

The last step belongs to the pricing procedure rather than to tax configuration, and it is where tax bugs most often actually live.

05

MWST, TTX1 and the tax code

Worth separating three words that get used interchangeably and mean quite different things.

TermWhat it isWhere it lives
Tax classificationAn input describing the customer or material — liable, exempt, reducedMaster data, copied into the document
Tax condition typeThe pricing element that goes looking for a rateThe pricing procedure
Tax condition recordThe entry found for a given country and classification combinationCondition records
Tax codeThe result, and what FI posts withReturned by the condition record

Which condition type? MWST is the classic output tax condition type, and its condition record carries both the tax code and the tax percentage. A standard S/4HANA system also contains TTX1, which is the one used by the SAP S/4HANA Cloud Public Edition standard pricing procedure — delivered there as a manual condition, with rates maintained through the Set Tax Rates – Sales app. If tax is simply never appearing on a Public Edition system, that manual flag is the first thing to check. Read your own pricing procedure rather than assuming either.

Where the tax posts: SD determines the tax code; FI decides which G/L account it lands in. The output tax account is normally found through the tax code rather than through revenue account determination, so a tax posting failure is rarely fixed in VKOA. The account key MWS on the condition type is still required — without one, the condition has no route into account determination at all.

Free download

Get the free SAP SD Interview Starter Kit

A free sample of The SD Vault, sent to your inbox. No payment, no account.

  • ✓25 most-asked interview questions, with full answers
  • ✓1 complete configuration scenario, IMG paths and T-codes
  • ✓A 7-day prep plan you can actually follow

One email with your kit. Occasional SAP SD tips after that — unsubscribe any time.

06

Troubleshooting

01

A new plant went live and tax stopped being determined

  • ·The plant is in a country that had no tax category rows before
  • ·New tax category rows appeared in the customer and material masters and nobody filled them in

Fix: This is the most underrated cause on the list. The tax categories shown in a customer or material master depend on the sales organisation’s company code country and on the country of each plant assigned to that sales organisation. Assign a plant in a new country and every relevant master record silently gains a new, empty tax classification row. Nothing is broken — the data is simply missing, on records nobody thought to revisit.

02

The same customer is taxed on one order and not on another

  • ·The two orders have different ship-to parties
  • ·The tax classification is taken from the ship-to party, not the sold-to party

Fix: Compare the ship-to parties before anything else. SAP determines tax from the tax classification of the customer’s ship-to party, and the destination country is the ship-to’s country. Two orders from the same sold-to that ship to different places are legitimately different tax situations.

03

The master record is correct but the order still shows the wrong tax

  • ·The classification was overridden in the document
  • ·The order was created before the master record was corrected

Fix: The classification is copied into the sales document when the order is created, and an alternative value can be entered there. Check the value on the document, not only on the master. Correcting the master does not retrospectively change orders that already exist.

04

Tax is calculated on the gross price instead of the net

  • ·The From step on the tax condition type points at the base price rather than the net subtotal

Fix: A pricing procedure problem rather than a tax determination one. Point the From column at the net subtotal step so tax applies after discounts, and retest with an order that actually carries a discount.

05

The invoice will not release to accounting with a tax error

  • ·The tax condition found a rate but the tax code behind it has no G/L account in FI
  • ·The account key is missing from the tax condition type in the pricing procedure

Fix: Separate the two halves. SD determines the tax code; FI decides where it posts. The output tax account is normally found through the tax code rather than through revenue account determination, so an account that is correct in VKOA will not help a tax posting. Confirm the account key MWS is on the condition type, then hand the tax code to your FI colleague.

07

Five interview questions

Q01

How does SAP determine the tax rate on a sales order line?

From three things, which SAP states directly: whether the business is domestic or foreign, the tax classification of the customer’s ship-to party, and the tax classification of the material. The departure country comes from the plant and the destination country from the ship-to party; the two classifications are copied into the document from the customer and material masters. Pricing then uses the classification and the country key to find the tax condition record, which carries the tax code and the rate.

Q02

A customer says they were taxed on one order and not on the next. What do you check?

The ship-to party on both orders. The classification is taken from the ship-to, not the sold-to, so the same buying customer shipping to two different places can be two different tax outcomes. If the ship-to is the same on both, I would compare the tax classification value on each document, because it is copied in at creation and can be overridden there.

Q03

Why would a tax category suddenly appear in the customer master?

Because a plant in a new country was assigned to that sales organisation. The tax categories that show in a customer or material master depend on the company code country of the sales organisation and the country of every plant assigned to it. Adding a plant abroad therefore adds classification rows across existing master records, and until somebody fills them in, tax for that departure country is not determined.

Q04

Where is the tax rate actually stored, and where does the tax account come from?

Two different places, and conflating them wastes a lot of time. The rate sits in the tax condition record along with the tax code — that is SD. The G/L account for the tax is normally found through the tax code in FI, not through revenue account determination. So a billing document that fails on tax posting is rarely fixed in VKOA.

Q05

What is the difference between the tax classification and the tax code?

The classification is an input and the tax code is an output. The classification describes the customer and the material — liable, exempt, reduced — and is master data. The tax code is what the condition record returns once the system has combined the departure country, the ship-to classification and the material classification, and it is what FI uses to post. Candidates who use the two words interchangeably usually have not configured it.

More of these, graded by depth, in the SAP SD interview questions collection, or try the free sample.

Where this sits in the SD landscape

Tax is a condition type, so it lives inside the pricing procedure and obeys its From/To arithmetic. Its inputs come from master data and from the ship-to party, which is why partner determination problems surface as tax problems. Its output hands over to account determination at billing, inside the wider Order-to-Cash process.

Frequently Asked Questions

How does tax determination work in SAP SD?

During automatic calculation the system takes three factors into account: whether the business is domestic or foreign, the tax classification of the customer’s ship-to party, and the tax classification of the material. Those are combined with the country to find a tax condition record, which carries the tax code and the percentage applied to the line.

Where does the tax classification come from?

From master data. The tax classification for a material is specified in the material master record and the classification for a customer in the customer master record; during sales order processing the system automatically transfers both into the sales document. An alternative classification can be entered on the document itself.

Is tax determined from the sold-to party or the ship-to party?

The ship-to party. SAP documents the relevant classification as that of the customer’s ship-to party, and the destination country for tax is the ship-to’s country. That is why the same sold-to customer can be taxed differently on two orders.

What is the departure country in SAP tax determination?

The country the goods leave from, used to define the tax category. SAP states that the allowable departure country is the plant’s country and/or the company code’s country. In the sales document it is the plant’s country or region.

What is transaction OVK1 used for?

Defining tax determination rules — the tax category per departure country. SAP documents the Customizing path as Sales and Distribution → Basic Functions → Taxes → Define Tax Determination Rules, and names the transaction as OVK1 with table TSTL. It is what makes a tax category available for entry in the customer and material masters.

Why is no tax calculated on my sales order?

Common causes are a missing tax classification on the ship-to party or the material, no tax category defined for the departure country, no valid condition record for the combination, or a tax condition type that is not in the pricing procedure. Check the classifications on the document first, since they are copied in at creation and can be overridden.

Which condition type is used for output tax?

MWST is the classic output tax condition type, and its condition record carries the tax code and the tax percentage. A standard S/4HANA system also contains condition type TTX1, which is what the SAP S/4HANA Cloud Public Edition standard pricing procedure uses, delivered there as a manual condition with rates maintained in the Set Tax Rates – Sales app. Check which one your pricing procedure actually contains.

Rahul Narain Saxena, SAP SD Solution Architect

Written by

Rahul Narain Saxena

SAP SD Solution Architect with 17+ years of hands-on implementation experience across SAP ECC and S/4HANA. Every guide on The SD Vault is written from live project experience, not summarised from documentation.

“Same customer, same material. Why is one order taxed?”

Answering “check the ship-to party” in two seconds is the difference between sounding like a consultant and sounding like a candidate.

Get Lifetime Access →

Practise more SAP SD configuration scenarios inside SD Vault.