Symptom
Withholding Tax Certificate Numbers are missing or not printed for certain line items in the Thailand Withholding Tax report attachments (PND3, PND53, PND54, PND2).
Environment
SAP S/4HANA Cloud Public Edition
Reproducing the Issue
- Run the Thailand Withholding Tax report (TH_WHT_PND3 or TH_WHT_PND53) in the Run Statutory Reports app.
- Open the generated attachment and observe that the Withholding Tax Certificate Number is missing for certain line items.
Cause
Cause 1: Incorrect "No Certificate Numbering" configuration
The "No Certificate Numbering" setting in the withholding tax type is not configured correctly. The correct configuration is:
- For withholding tax type at the time of invoice: "No Cert. Numbering" should be checked.
- For withholding tax type at the time of payment: "No Cert. Numbering" should not be checked.
Cause 2: Tax amount manually set to zero
A Withholding Tax Certificate Number is only generated when both of the following conditions are met simultaneously:
- A valid withholding tax code is assigned to the payment or invoice line item.
- The withholding tax base amount or withholding tax amount is not zero.
If the tax amount is manually set to zero in the document, or if no valid withholding tax code is assigned, no certificate number is generated for that line item.
Additionally, when two withholding tax line items share the same company code, document number, fiscal year, tax type, and tax code, the report merges them into a single line. The certificate number displayed is taken from one of the merged lines. If the line without a certificate number is selected during the merge, the certificate number appears blank in the report.
Resolution
Resolution 1: Correct the "No Certificate Numbering" configuration
Navigate to the configuration activity "Define Withholding Tax Type for Invoice Posting" or "Define Withholding Tax Type for Payment Posting" and verify the following:
- For withholding tax type at the time of invoice: check "No Cert. Numbering." See Defining Withholding Tax Types for Invoice Posting for more details.
- For withholding tax type at the time of payment: uncheck "No Cert. Numbering."
Resolution 2: Remove tax code instead of manually zeroing the tax amount
If the withholding tax amount for a line item should be zero, remove the tax code from the document at the time of posting rather than manually setting the tax amount to zero. Manually zeroing the tax amount leaves an invalid withholding tax line in the system, which causes the certificate number to appear missing in the report.
Keywords
Thailand, withholding tax, PND3, PND53, PND54, PND2, certificate number, CTNUMBER, running number, missing, zero, tax amount, no cert numbering, TH_WHT_PND3, TH_WHT_PND53, TH_WHT_PND54, Run Statutory Reports, WITH_ITEM, FI-AP-AP-Q1, serial number, first column, sequence number , KBA , FI-AP-AP-Q1 , Withholding Tax (Reporting) , Problem
SAP Knowledge Base Article - Public