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.

Last updated: November 2026

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 StepTransactionOrganizational LevelCore Purpose
Define Tax ProcedureOBYZProcedure in CustomizingSequences the condition types, tax bases and account or process keys
Assign Country to ProcedureOBBGCountrySelects the applicable tax procedure for the company-code country
Define Jurisdiction Structure and CodesOBCO / OBCPApplicable jurisdiction-based procedureDefines the code structure and maintains codes for jurisdictions used in the calculation
Define Tax CodesFTXPCountryMaintains the tax type, applicable condition rates and checks
Determine Tax AccountsOB40Chart of accountsAssigns 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

CategoryTypical CodeTax TypeAccounting Behavior
Input TaxV1VA deductible input tax condition can debit the account mapped to VST
Output TaxA1AA sales invoice can credit the account mapped to MWS
EU Acquisition TaxE1VIn a fully deductible acquisition example, the acquisition tax credit (ESA) offsets an equal debit (ESE)
Deferred TaxD1As configuredIn 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)VNVNAV posts the non-deductible portion to a separate G/L account
Non-Deductible Input Tax (Distributed)NDVNVV 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 NAV requires its own OB40 account. The distribution indicator on NVV charges 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 / ValueMeaningTypical G/L Account Usage
Tax Category = *All tax types allowed (input and output)Clearing accounts, miscellaneous accruals
Tax Category = +Only output tax codes allowedRevenue accounts (400000–499999)
Tax Category = -Only input tax codes allowedTax-relevant expense accounts
Tax Category = <Input tax account itselfInput VAT G/L account (mapped in OB40 for VST)
Tax Category = >Output tax account itselfOutput VAT G/L account (mapped in OB40 for MWS)
Tax Category = BlankNot tax-relevant (tax codes prohibited)Bank accounts, balance sheet cash, retained earnings
Specific tax codeRestricts postings to that configured tax codeAccounts 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 + in FS00 makes a valid tax code mandatory during entry unless XMWNO (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 CodeDocument #Posting Key / LineG/L or Subledger AccountAmount
1000190000004231 Credit VendorVendor V-500-\$1,200
1000190000004240 Debit ExpenseSoftware Expense (620000)+\$800
1000190000004240 Debit Intercompany (via OBYA)Due From CoCode 2000 (139200)+\$400
2000190000001840 Debit ExpenseSoftware Expense (620000)+\$400
2000190000001850 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.

Loading diagram...
Tax Calculation (FTXP/OB40) and Cross-Company Clearing (OBYA/BVOR)
Test Your Knowledge

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?

A

NVV

B

NAV

C

VST

D

ESA

Test Your Knowledge

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?

A

Change the Tax Category to '>' (Output Tax Account)

B

Deactivate the Check Indicator in FTXP for all input tax codes

C

Select the XMWNO (Posting Without Tax Allowed) checkbox in FS00

D

Remove the account assignment from OB40 for transaction key VST

Test Your Knowledge

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?

A

FB08 separately for each company code

B

FBU8 for the linked cross-company transaction

C

FBV0 for the parked cross-company document

D

OBYA for the company-code clearing accounts

Sections you finish are checked off in the contents.