VAT withholding code returns full 20% VAT when you expected the net amount

VAT withholding is not a lower rate; it is full VAT plus a second, offsetting line for the withheld share. If the withholding logic does not fire, you get one line at the full rate instead of two that net to the expected amount.

By Herb Park, Clarent Technologies

Symptom

A domestic Turkish sale of services posted with a withholding tax code comes back with a single 20% VAT line. The user expected the net of VAT after withholding, for example 6% of the base when 70% of the VAT is withheld.

What it usually means

There is no 6% VAT rate in Turkey. A correct result is two lines: output VAT at the full rate, and the withheld share on the opposite side, each with its own ERP tax code. In the engine, the second line usually comes from an allocation or rule that the withholding tax code triggers. One line at 20% means that trigger did not match this posting. The rate is fine.

How to confirm it

  1. Pull the request and response for the failing document and for an earlier document with the same code that posted correctly.
  2. Compare: does the good one carry the withholding elements and a second result with the withholding ERP code? Does the bad one?
  3. Find the condition that triggers withholding and check it against the failing posting path: document type, how the tax code is passed, which company the call lands on.
A correct withholding response has two tax results, and the failing one has only the first Tax results side by side (illustrative amounts and codes, with 70% of the VAT withheld). Count the results before you look at the rate.
  • Earlier document: correct: Taxable base 1,000.00 Result 1 VAT 20% 200.00 code A2 Result 2 withheld 70% 140.00 code W7 (opposite side) Net VAT charged 60.00
  • Failing document: Taxable base 1,000.00 Result 1 VAT 20% 200.00 code A2 (no second result) Net VAT charged 200.00
  • (1) Both documents get output VAT at the full 20%. The rate is fine.
  • (2) The withheld share is a second result with its own ERP tax code, on the opposite side.
  • (3) The two results net to 60.00, which is the 6% of the base the user expected.
  • (4) The second result is missing, so the withholding trigger did not match this posting path.

Fix

Make sure the withholding trigger matches every posting path that uses the code (invoices, manual or uploaded postings, credit notes) in both test and production, then re-test for two lines that net correctly.

How to prevent it