What is Sales Tax and Purchase Tax in SAP?

In SAP, purchase tax is commonly treated as input tax, and sales tax is commonly treated as output tax. Input tax is the tax paid or accrued on purchases from vendors. Output tax is the tax collected or accrued on sales to customers. The exact name and legal treatment may differ by country, such as VAT, GST, sales tax, use tax, or similar indirect tax.

For SAP FICO consultants, the important point is not only the legal name of the tax, but how the tax is represented in accounting documents. SAP uses tax procedures, condition types, tax codes, and account determination to calculate the tax amount and post it to the correct general ledger accounts.

Input Tax in SAP for Purchase Transactions

Input tax is the tax on purchases. When a company buys goods or services, the vendor invoice may include tax. Depending on the country and tax law, this input tax may be recoverable, partially recoverable, or non-recoverable. In SAP, the tax code entered in the purchase invoice helps the system calculate the input tax and post it to the assigned tax account.

  • Purchase of raw materials from a vendor
  • Purchase of services from a service provider
  • Import or interstate purchases where a specific tax rule applies
  • Vendor invoice postings in FI or logistics invoice verification

In SAP posting terms, input tax is usually linked with vendor invoices, accounts payable, purchase orders, goods receipts, and invoice verification. The SAP MM consultant usually configures purchasing tax conditions, while the SAP FICO consultant ensures the accounting impact and tax accounts are correct.

Output Tax in SAP for Sales Transactions

Output tax is the tax on sales. When a company sells goods or services, it charges tax to the customer and records a tax liability. The company later reports or pays this tax to the tax authority after considering eligible input tax credit, if applicable under local law.

  • Sale of finished goods to a customer
  • Sale of services to a customer
  • Local or domestic sales with tax
  • Export, interstate, or exempt sales where special tax codes may apply

In SAP posting terms, output tax is usually linked with customer invoices, accounts receivable, sales orders, billing documents, and revenue postings. The SAP SD consultant usually configures sales tax conditions, while the SAP FICO consultant validates tax account determination and financial postings.

Difference Between Input Tax and Output Tax in SAP

PointInput Tax / Purchase TaxOutput Tax / Sales Tax
Business transactionPurchase from vendorSale to customer
Accounting sideAccounts payable and purchase postingAccounts receivable and sales posting
Typical SAP module flowMM to FI or direct FI vendor invoiceSD to FI or direct FI customer invoice
Tax natureTax paid or payable on purchasesTax collected or collectible on sales
Financial impactMay become input tax credit or expense, depending on lawUsually becomes tax liability payable to tax authority
Configuration dependencyPurchase tax code, condition type, tax accountSales tax code, condition type, tax account

Country and State-Level Tax Jurisdiction in SAP

Every country follows its own tax procedure. In some countries, indirect tax is controlled mainly at country level. In other countries, state, province, region, or jurisdiction-based tax rules may also apply. SAP supports tax determination through country-specific tax procedures and, where applicable, jurisdiction-based tax calculation.

  1. Country level
  2. State Level

Examples of purchase and sales tax scenarios are:

  1. Purchases: local purchase, within-state purchase, outside-state purchase, VAT purchase, LST purchase, import purchase, or GST purchase.
  2. Sales: local sales, VAT sales, within-state sales, outside-state sales, export sales, exempt sales, or GST sales.

The tax names, rates, forms, and credit rules are controlled by local tax law. Therefore, the examples below should be read as accounting illustrations, not as current legal tax rates for any country.

How Sales Tax and Purchase Tax Are Calculated in SAP

In SAP, tax calculation normally depends on the tax code and tax procedure. The tax procedure contains condition types and calculation steps. The tax code decides which tax rate applies for a transaction. When a document is posted, SAP calculates tax based on the tax base amount and posts the tax line item to the relevant G/L account.

If we have purchased material for 100 within state and sold it for 200 within state or outside state, the following example shows how taxes can be levied on purchases and sales. The rates used here are only for understanding the SAP input tax and output tax concept.

Purchase Tax Calculation Example in SAP

Within StateOutside State
Basic Price100100
Excise duty88
Basic + Excise108108
VAT 5%5.40
CST – 2% (C Form)02.16
Bill Amount113.4110.16

For a within-state purchase, the input tax amount is calculated on the taxable base and may be available for setoff depending on the law. For an outside-state purchase, the tax may not always be eligible for credit. This is why tax code selection is important in SAP vendor invoice posting.

Sales Tax Calculation Example in SAP

Within StateOutside State
Basic Price200200
Excise duty – 10% on basic price2020
Basic + Excise220220
VAT 14.5%31.90
CST – 2% (C Form)04.4
Bill Amount251.9224.4

For a within-state sale, the output tax is charged to the customer and posted as tax liability. For an outside-state sale, a separate tax code and tax rate may apply. In SAP SD billing, the system determines the tax condition based on the customer, material, tax classification, country, region, and pricing procedure settings.

Input Tax Credit and Output Tax Payable in SAP

The tax payable to the tax department is often calculated by comparing output tax collected on sales with eligible input tax credit on purchases. The basic idea is:

Tax payable = Output tax – Eligible input tax credit

Based on the earlier example, the tax payment logic can be understood as follows:

  1. Local Sales – Local Purchase: 31.9 – 5.4 = 26.5
  2. Local Sales – CST Purchases: 31.9 – 0 = 31.9
  3. CST Sales – CST Purchases: 4.4 – 0 = 4.4
  • Tax paid on some outside-state purchases may not be adjustable against tax collected on local state sales or outside-state sales, depending on the applicable law.
  • Tax paid within state on purchases may be adjusted against tax collected on local sales or outside-state sales when the tax law allows input credit.
  • Non-recoverable input tax should be posted as part of cost or expense, not as recoverable input tax.

In SAP, this treatment depends on the tax code, account key, tax account assignment, and country-specific tax procedure. A wrong tax code can create incorrect tax liability, incorrect input tax credit, or wrong tax reporting.

How SAP Uses Tax Codes for Input Tax and Output Tax

A tax code in SAP is a short key that represents the tax rate and tax type for a transaction. It is entered in vendor invoices, customer invoices, purchase documents, sales documents, and G/L postings where tax calculation is required.

  • Input tax code: used for purchase transactions and vendor invoices.
  • Output tax code: used for sales transactions and customer invoices.
  • Exempt or zero-rated tax code: used when tax must be reported but no tax amount is charged.
  • Non-taxable tax code: used when a posting is outside the scope of tax.

SAP also uses condition types and account keys inside the tax procedure. The condition type calculates the tax amount. The account key links the tax condition to a G/L account through account determination. This is how SAP converts tax calculation into financial accounting postings.

SAP FICO Configuration for Sales Tax and Purchase Tax

SAP system provides tax versions and tax calculation settings at country level. The tax procedure must be customized as per organizational and statutory requirements. A major part of tax customization is shared with MM and SD consultants, but it is mandatory that the SAP FICO consultant understands the outline configuration and accounting impact of taxes.

Some of the important tax configurations are:

  1. Define tax procedure
  2. Assign country to calculation procedure
  3. Define condition types
  4. Assign tax codes for non taxable transactions
  5. Create tax code for sales/purchases.

In addition to the above, a complete tax setup normally requires checking tax account keys, G/L account assignment, posting indicators, jurisdiction settings if applicable, and reporting requirements. SAP documentation and SAP Learning material can be used as reference when maintaining tax codes and tax calculation settings for a specific SAP S/4HANA or SAP ERP system.

Accounting Entries for Input Tax and Output Tax in SAP

The exact G/L account names depend on the chart of accounts and country configuration. The following simplified entries show the accounting logic.

Vendor Invoice Posting with Input Tax in SAP

Line itemDebitCredit
Purchase or expense accountBasic amount
Input tax accountRecoverable tax amount
Vendor accountTotal invoice amount

Customer Invoice Posting with Output Tax in SAP

Line itemDebitCredit
Customer accountTotal invoice amount
Revenue accountBasic sales amount
Output tax accountTax amount

If the input tax is not recoverable, SAP may post it to the material cost, expense account, or another assigned account instead of a recoverable input tax account. This depends on the tax code and account determination setup.

Common SAP Tax Code Mistakes in Input and Output Tax Postings

  • Using an input tax code in a sales transaction or an output tax code in a purchase transaction.
  • Creating a tax code without assigning the correct tax G/L account.
  • Using a recoverable input tax code for tax that should be non-recoverable.
  • Maintaining incorrect tax classification in customer, vendor, or material master data.
  • Changing tax rates without testing purchase, sales, and FI postings end to end.
  • Ignoring country-specific tax reporting requirements while configuring tax codes.

QA Checklist for SAP Sales Tax and Purchase Tax Tutorial Review

  • Confirm that input tax is explained as purchase-side tax and output tax as sales-side tax.
  • Check that the tax calculation examples match the table totals and do not mix old and current tax law as legal advice.
  • Verify that SAP FICO, MM, and SD responsibilities are described correctly for tax configuration and posting.
  • Ensure tax code, tax procedure, condition type, account key, and G/L account determination are connected clearly.
  • Confirm that any country-specific rates are marked as examples only.

FAQs on Sales Tax Output Tax and Purchase Tax Input Tax in SAP

What is the difference between input tax and output tax in SAP?

Input tax is the tax paid or accrued on purchases from vendors. Output tax is the tax charged or accrued on sales to customers. In SAP, input tax is usually posted through purchase or vendor invoice transactions, while output tax is usually posted through sales or customer invoice transactions.

What is a tax code in SAP FICO?

A tax code in SAP FICO represents the tax type, tax rate, and calculation logic used in a financial transaction. It helps SAP calculate the tax amount and post it to the correct input tax or output tax G/L account.

Can input tax be adjusted against output tax in SAP?

SAP can support input tax credit and output tax liability postings, but whether input tax can be adjusted against output tax depends on the tax law of the country or region. The SAP configuration must match the legal rule for recoverable, partially recoverable, exempt, and non-recoverable tax.

Which SAP consultants work on sales tax and purchase tax configuration?

SAP FICO consultants handle tax accounting, tax procedures, tax accounts, and financial postings. SAP MM consultants work on purchase-side tax determination, and SAP SD consultants work on sales-side tax determination. In real projects, tax setup is usually tested across FI, MM, and SD together.

Why does SAP need separate input tax and output tax accounts?

SAP needs separate accounts because input tax and output tax have different accounting meanings. Input tax may represent recoverable tax credit or purchase cost, while output tax usually represents tax liability collected from customers and payable to the tax authority.