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.
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.
Step 2) On the next screen, enter the company code to which the invoice is to be posted.
Step 3) On the Basic data tab, enter the following invoice details. The screenshot after the list shows where each field sits.
- Enter the Vendor ID (withholding tax enabled) of the vendor to be invoiced
- Enter the Invoice Date
- Confirm the document type is Vendor Invoice
- Enter the Amount for the invoice
- Select the Tax Code for the applicable tax
- Tick the Calculate Tax indicator
- Enter the Purchase Account
- Enter the amount for the line item
Step 4) Select the Withholding Tax tab and enter the following, then confirm the code that defaults from the vendor master.
- Enter the Tax Base Amount
- Enter the Tax Exempt Amount
- Check the Withholding Tax Code
Step 5) Press the Post button on the standard toolbar.
Step 6) Wait for the document number to be generated and shown on the status bar for confirmation.
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.
Step 2) On the next screen, enter the following header and bank data.
- Enter the Document Date
- Enter the Cash or Bank Account from which the payment is posted
- Enter the Payment Amount
- Enter the Vendor ID of the vendor receiving the payment
Step 3) Assign the payment amount to the appropriate invoice so that the payment balances against the open item.
Step 4) From the standard menu bar, choose Document then Simulate to preview the clearing document.
Step 5) On the simulation screen, confirm that the withholding tax is also credited according to the base amount entered on the invoice.
Step 6) Press Post on the standard toolbar to post the outgoing payment.
Step 7) Check the status bar for the document number that is generated.
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:
- Define the withholding tax type separately for invoice posting and for payment posting
- Define the withholding tax codes and their rates under each type
- Assign the types and codes to the company code and set the validity period
- Activate extended withholding tax for the company code
- Assign the general ledger accounts that receive the withholding tax
- 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.









