12.1 Sales & Purchase Tax Configuration (FTXP/OB40) and Cross-Company Code Postings (OBYA)
Key Takeaways
The country assignment selects the tax procedure. In configurations that use tax jurisdictions, the tax code and jurisdiction work together.
FTXP maintains the country tax code and its tax type. OB40 assigns separate tax accounts by chart of accounts and transaction key, with optional tax-code differentiation.
NAV posts non-deductible input tax to a separate account. NVV distributes it to the underlying expense or asset.
FS00 tax categories restrict eligible tax codes. Posting Without Tax Allowed permits a blank code on an otherwise tax-relevant account. The example applies to direct FI entry.
OBYA supplies clearing accounts for the company-code pair. Each company's document balances separately, and the cross-company transaction number links the documents for display and reversal.
Sales & Purchase Tax Configuration (FTXP/OB40) and Cross-Company Code Postings (OBYA)
Quick Answer: The country assignment selects the tax procedure. The tax code supplies tax treatment within that procedure, and a jurisdiction may also be required. OB40 determines accounts for separate tax lines. When an FI transaction spans company codes, OBYA supplies balancing accounts and a common transaction number links the resulting documents for cross-company display and reversal.
Tax Calculation Architecture (OBYZ and OBBG)
SAP Financial Accounting uses the condition technique to calculate taxes on sales, purchases, and asset acquisitions. Rather than hardcoding rates into company codes, FI separates the calculation framework (country level) from the G/L account assignment (Chart of Accounts level).
| Configuration Step | Transaction | Organizational Level | Core Purpose |
|---|---|---|---|
| Define Tax Procedure | OBYZ | Procedure in Customizing | Sequences the condition types, tax bases and account or process keys |
| Assign Country to Procedure | OBBG | Country | Selects the applicable tax procedure for the company-code country |
| Define Jurisdiction Structure and Codes | OBCO / OBCP | Applicable jurisdiction-based procedure | Defines the code structure and maintains codes for jurisdictions used in the calculation |
| Define Tax Codes | FTXP | Country | Maintains the tax type, applicable condition rates and checks |
| Determine Tax Accounts | OB40 | Chart of accounts | Assigns accounts to separately posted tax keys, optionally by tax code |
Tax Jurisdiction Codes
For a jurisdiction-based US configuration, a jurisdiction code identifies the relevant taxing authorities. The procedure combines the country, tax code and jurisdiction, including the applicable rates and dates. With an external tax engine, the engine can determine rates and taxability for the transaction. The jurisdiction by itself is insufficient to conclude that a particular purchase is taxable.
Tax Codes (FTXP) and Non-Deductible Tax Handling
Each tax code is a two-character alphanumeric key defined per country in FTXP. When creating a tax code, the consultant specifies the Tax Type (V for Input Tax, A for Output Tax) and enters percentage rates on the condition types exposed by the country's tax procedure.
Core Tax Code Categories
| Category | Typical Code | Tax Type | Accounting Behavior |
|---|---|---|---|
| Input Tax | V1 | V | A deductible input tax condition can debit the account mapped to VST |
| Output Tax | A1 | A | A sales invoice can credit the account mapped to MWS |
| EU Acquisition Tax | E1 | V | In a fully deductible acquisition example, the acquisition tax credit (ESA) offsets an equal debit (ESE) |
| Deferred Tax | D1 | As configured | In a deferred tax setup, a target tax code identifies the final treatment when tax is transferred under the applicable process |
| Non-Deductible Input Tax (Separate) | VN | V | NAV posts the non-deductible portion to a separate G/L account |
| Non-Deductible Input Tax (Distributed) | ND | V | NVV adds the non-deductible portion to the underlying expense or fixed asset line |
The sample tax codes in the table are illustrative. The tax type maintained on the code determines input or output treatment, independent of the characters chosen for the code.
NAV versus NVV: In the illustrated procedure, the separate-line posting indicator on
NAVrequires its own OB40 account. The distribution indicator onNVVcharges the underlying line and can increase an asset’s acquisition and production cost (APC).
Tax-Code Checks
For a manually entered tax amount that differs beyond permitted rounding, the check indicator determines whether SAP raises an error or a warning. The EU indicator distinguishes configured reporting treatments, including goods deliveries, services and acquisition tax. It is separate from the tax type.
Tax Account Determination (OB40) and G/L Master Control (FS00)
In OB40, tax accounts are configured per Chart of Accounts and Transaction Key (VST, MWS, NAV, ESA, ESE). Clicking Rules in OB40 lets you activate Tax Code differentiation so different configured tax codes post to separate G/L accounts. The transaction key also specifies the posting keys used for separate automatic tax lines.
FS00 Tax Category and XMWNO
On the Control Data tab of a G/L account in FS00, two fields govern how tax codes behave for this direct FI posting example:
FS00 Field / Value | Meaning | Typical G/L Account Usage |
|---|---|---|
Tax Category = * | All tax types allowed (input and output) | Clearing accounts, miscellaneous accruals |
Tax Category = + | Only output tax codes allowed | Revenue accounts (400000–499999) |
Tax Category = - | Only input tax codes allowed | Tax-relevant expense accounts |
Tax Category = < | Input tax account itself | Input VAT G/L account (mapped in OB40 for VST) |
Tax Category = > | Output tax account itself | Output VAT G/L account (mapped in OB40 for MWS) |
Tax Category = Blank | Not tax-relevant (tax codes prohibited) | Bank accounts, balance sheet cash, retained earnings |
| Specific tax code | Restricts postings to that configured tax code | Accounts that require one tax treatment |
XMWNO (Posting Without Tax Allowed) | Allows blank tax code even when Tax Category is *, +, or - | Expense/revenue accounts used for both taxable and tax-exempt postings |
Exam Trap (
XMWNO): Setting Tax Category to-or+inFS00makes a valid tax code mandatory during entry unlessXMWNO(Posting without tax allowed) is checked. A blank tax code and a configured zero-rate tax code are distinct choices. Use a code when the transaction must appear under that tax treatment in reporting.
Cross-Company Code Postings (OBYA, BVOR, FBU8)
In multi-entity organizations, one business event frequently affects two or more company codes—for instance, a shared-services headquarters (Company Code 1000) records a \$1,200 software invoice where \$800 belongs to 1000 and \$400 belongs to subsidiary Company Code 2000.
Configuration in OBYA
Transaction OBYA maintains clearing accounts and debit/credit posting keys for the company-code pair. You can configure G/L, customer or vendor accounts. In this example the clearing accounts are G/L accounts, so 40 posts the debit and 50 posts the credit. The expense company owes the invoice company its share. Therefore the expense company credits a due-to account and the invoice company debits a due-from account.
Worked Numerical Scenario: Cross-Company Expense Posting
Assume a transaction with no tax relevance. Company Code 1000 records a vendor invoice for \$1,200 in classic FI, allocating \$800 to 1000 and \$400 to 2000.
| Company Code | Document # | Posting Key / Line | G/L or Subledger Account | Amount |
|---|---|---|---|---|
1000 | 1900000042 | 31 Credit Vendor | Vendor V-500 | -\$1,200 |
1000 | 1900000042 | 40 Debit Expense | Software Expense (620000) | +\$800 |
1000 | 1900000042 | 40 Debit Intercompany (via OBYA) | Due From CoCode 2000 (139200) | +\$400 |
2000 | 1900000018 | 40 Debit Expense | Software Expense (620000) | +\$400 |
2000 | 1900000018 | 50 Credit Intercompany (via OBYA) | Due To CoCode 1000 (239100) | -\$400 |
Notice how both company codes balance independently to zero, while the intercompany receivable (+\$400 in 1000) mirrors the intercompany payable (-\$400 in 2000).
Tax and reversal in a cross-company posting
In SAP's single-taxable-entity example, automatic tax posts to the company code of the first item and is not automatically apportioned by each company’s expense. Review the applicable tax setup before using this entry pattern for a taxable invoice.
The common transaction number, stored in BKPF-BVORG, links the individual FI documents. Use FBU3 to display the transaction and FBU8 to reverse the linked set of eligible FI documents. Check clearing and the original posting process before reversal.
A company’s configured VAT procedure must capitalize the non-deductible portion of input tax on an equipment purchase. Which key distributes that portion to the asset line?
NVV
NAV
VST
ESA
In a direct FI posting, an accountant wants to enter a nontaxable bank fee without a tax code. The expense account has tax category - (input tax codes only). Which setting permits the blank code and preserves the input tax restriction when a code is entered?
Change the Tax Category to '>' (Output Tax Account)
Deactivate the Check Indicator in FTXP for all input tax codes
Select the XMWNO (Posting Without Tax Allowed) checkbox in FS00
Remove the account assignment from OB40 for transaction key VST
A posted FI cross-company vendor invoice created eligible linked documents in company codes 1000 and 2000. Neither has cleared items. Which transaction reverses the linked set?
FB08 separately for each company code
FBU8 for the linked cross-company transaction
FBV0 for the parked cross-company document
OBYA for the company-code clearing accounts
Sections you finish are checked off in the contents.