Withholding Tax in SAP: Vendor Invoice & Payment Posting

โšก Smart Summary

Withholding tax in SAP is the amount an organisation deducts from a vendor payment or invoice on behalf of the tax authority, posting the retained amount to a separate liability account for later remittance.

  • ๐Ÿ”˜ Two posting points: SAP deducts withholding tax either when the invoice is posted in FB60 or when the payment is made in F-53.
  • โ˜‘๏ธ Type and code: The withholding tax type sets the calculation rule and timing, while the withholding tax code sets the rate.
  • โœ… Vendor master: The vendor must carry the withholding tax type and code in its master record before either transaction calculates tax.
  • ๐Ÿงพ Invoice posting: On the FB60 Withholding Tax tab, the base amount and any exempt amount drive the deduction.
  • ๐Ÿ”— Payment posting: In F-53 the tax is credited to the withholding liability account as the open item is cleared.
  • ๐Ÿ› ๏ธ Extended method: Extended withholding tax supports both timings, multiple codes, thresholds and certificates, and is required in S/4HANA.

Withholding Tax in SAP during Vendor Invoice and Payment Posting

Withholding tax, also called tax deducted at source, requires the paying company to retain part of a vendor’s invoice or payment and hand it to the tax authority. SAP calculates and posts this deduction automatically once the vendor and the tax keys are configured, either at the invoice stage or at the payment stage.

What Is Withholding Tax in SAP?

Withholding tax is an amount the payer deducts from a supplier’s income and remits directly to the government, so the vendor receives only the net figure. In accounts payable the company code acts as the withholding agent, deducting the tax on the vendor’s behalf and reporting it to the authorities periodically.

SAP models the deduction with two objects. The withholding tax type defines the basic calculation rule and, crucially, when the deduction happens โ€” at invoice entry or at payment. The withholding tax code sits under a type and defines the actual percentage rate and the liability account that receives the retained amount. A single vendor can carry several type-and-code pairs at once.

The amount SAP deducts depends on three things:

  • The withholding tax type and code assigned to the vendor master record
  • The tax base amount, which is usually the net or gross value of the invoice
  • Any exemption or reduced-rate certificate recorded against the vendor

Classic vs Extended Withholding Tax

SAP offers two withholding tax solutions. Classic withholding tax is the original, limited method, while extended withholding tax is the current standard that SAP recommends for every new implementation.

Feature Classic withholding tax Extended withholding tax
Deduction timing Payment only Invoice and payment
Tax lines per document One withholding tax code Several types and codes at once
Accumulation and thresholds Not supported Supported
Exemptions and certificates Limited Full support
Availability Legacy, not for new customers Standard; the only option in S/4HANA

Because extended withholding tax covers everything classic does and adds invoice-time deduction, multiple codes and accumulation, it is the version behind both procedures below. SAP S/4HANA supports extended withholding tax only.

Post Withholding Tax During Vendor Invoice Posting

When the withholding tax type is set to deduct at invoice entry, the tax is calculated as soon as the supplier invoice is posted in FB60. The steps below record the invoice and its withholding tax in a single document.

Step 1) Enter the transaction code FB60 in the SAP command field.

SAP command field with transaction code FB60 entered to post a vendor invoice

Step 2) On the next screen, enter the company code to which the invoice is to be posted.

Enter Company Code pop-up shown when FB60 is opened for the invoice

Step 3) On the Basic data tab, enter the following invoice details. The screenshot after the list shows where each field sits.

  1. Enter the Vendor ID (withholding tax enabled) of the vendor to be invoiced
  2. Enter the Invoice Date
  3. Confirm the document type is Vendor Invoice
  4. Enter the Amount for the invoice
  5. Select the Tax Code for the applicable tax
  6. Tick the Calculate Tax indicator
  7. Enter the Purchase Account
  8. Enter the amount for the line item

FB60 Basic data tab with vendor ID, invoice date, amount, tax code and purchase account

Step 4) Select the Withholding Tax tab and enter the following, then confirm the code that defaults from the vendor master.

  1. Enter the Tax Base Amount
  2. Enter the Tax Exempt Amount
  3. Check the Withholding Tax Code

FB60 Withholding Tax tab showing the tax base amount, exempt amount and withholding tax code

Step 5) Press the Post button on the standard toolbar.

Post button on the SAP standard toolbar used to save the FB60 vendor invoice

Step 6) Wait for the document number to be generated and shown on the status bar for confirmation.

SAP status bar confirming the vendor invoice document number posted through FB60

The vendor invoice has now been posted with its withholding tax deducted at source, and the retained amount sits on the withholding tax liability account ready for remittance.

Post Withholding Tax During Payment Posting

When the withholding tax type is configured to deduct at payment, no tax is taken at invoice time. Instead, the deduction is calculated when the open item is cleared with an outgoing payment in F-53. The steps below post the payment and its withholding tax together.

Step 1) Enter the transaction code F-53 in the command field.

SAP command field with transaction code F-53 entered to post an outgoing payment

Step 2) On the next screen, enter the following header and bank data.

  1. Enter the Document Date
  2. Enter the Cash or Bank Account from which the payment is posted
  3. Enter the Payment Amount
  4. Enter the Vendor ID of the vendor receiving the payment

F-53 header data screen with document date, bank account, payment amount and vendor ID

Step 3) Assign the payment amount to the appropriate invoice so that the payment balances against the open item.

F-53 open item list with the payment assigned to the vendor invoice

Step 4) From the standard menu bar, choose Document then Simulate to preview the clearing document.

F-53 menu path used to simulate the clearing document before posting

Step 5) On the simulation screen, confirm that the withholding tax is also credited according to the base amount entered on the invoice.

F-53 simulation showing the withholding tax line credited alongside the payment

Step 6) Press Post on the standard toolbar to post the outgoing payment.

Post button on the SAP standard toolbar used to save the F-53 outgoing payment

Step 7) Check the status bar for the document number that is generated.

SAP status bar confirming the outgoing payment document number posted through F-53

The outgoing payment has now been posted, and SAP has deducted the withholding tax at the moment of clearing rather than at invoice entry.

Withholding Tax Configuration, Tables, and Reporting

Before either transaction can calculate tax, extended withholding tax has to be configured and switched on for the company code. The main setup runs through the following IMG activities:

  1. Define the withholding tax type separately for invoice posting and for payment posting
  2. Define the withholding tax codes and their rates under each type
  3. Assign the types and codes to the company code and set the validity period
  4. Activate extended withholding tax for the company code
  5. Assign the general ledger accounts that receive the withholding tax
  6. Enter the withholding tax type and code in the vendor master record

SAP stores the configuration and the posted amounts in a small set of tables, which are useful for verification and reporting.

Table Contents
T059P Withholding tax types
T059Z Withholding tax codes and rates
T001WT Company code settings per withholding tax type
LFBW Withholding tax data in the vendor master
WITH_ITEM Withholding tax line items per document

For period-end, the generic withholding tax reporting tool produces the returns and vendor certificates that authorities require, with country versions such as J1INMIS for India. Related transactions include FB60 and FB65 for invoices, F-53 and F110 for payments, and FBL1N to review the vendor line items. These postings feed the standard FI reports and the FI tables used across the module.

FAQs

Input tax, such as VAT, is charged by the supplier and reclaimed from the authority. Withholding tax is deducted by the buyer from the supplier’s payment and paid to the authority on the supplier’s behalf. They post to different accounts.

Usually the vendor master has no withholding tax type or code, or the type is set to deduct at payment rather than at invoice. Check the base amount is not zero and that the type is active for the company code.

The tax base amount is the portion of the invoice that is subject to withholding tax, and the rate is applied to it. The exempt amount is the part excluded from the deduction, for example an allowance or a certificate-based reduction.

Yes, under extended withholding tax. A vendor master can hold several type-and-code combinations, so a single invoice can carry, for example, a base tax plus a surcharge or cess line, each posting to its own liability account.

Reverse an invoice with FB08 and the withholding tax lines reverse with it. If the item was already paid, first reset the clearing with FBRA, then reverse the payment. A reversal reason and an open posting period are required.

Machine learning suggests the correct tax and withholding codes from historical postings, flags vendors missing tax data, and detects anomalies before filing. SAP delivers this through Business AI and Document Information Extraction embedded in accounts payable and tax compliance.

GitHub Copilot helps with the code around the transaction, not the SAP screen. It drafts ABAP calls to BAPI_ACC_DOCUMENT_POST, batch input recordings and reporting scripts. Every generated withholding tax posting still needs testing in a sandbox client.

It depends on the base amount configured for the withholding tax type. SAP can calculate on the gross amount, the net amount, or a modified base such as net plus tax. The tax base amount field on the Withholding Tax tab shows the value actually used.

Summarize this post with: