Symptom
- An error message "Tax Code in Procedure Coming Invalid at the time of Posting Billing Document" is encountered during the posting of Sales Billing Document after Post Goods Issue (PGI).
- The error prevents the completion of the posting process.
Environment
SAP S/4HANA Cloud Public Edition
Reproducing the Issue
- Navigate to the Billing Document Creation section.
- Attempt to post a Sales Billing Document after PGI.
- Observe the error message "Tax Code in Procedure Coming Invalid at the time of Posting Billing Document".
Cause
Condition class is marked as 'D'(Tax) for the condition type, but calculation type is marked as 'B' (Fixed Value). The mapping of conditions of class 'D' in connection with a calculation rule not by percentage is not provided in the standard system.
Condition class 'D' (taxes) is only reserved for sales tax by percentage.
Resolution
Change the condition class as 'A' (Surcharge) and check it again by creating new Sales order.
Keywords
SAP S/4HANA Cloud Public Edition, Sales Billing, Posting Billing Document, Tax Code, Error, Invalid Tax Code, VAT declaration error after upgrade 2602statutory report VAT missing documentstax code invalid after CE upgradebilling document tax error upgradecustom tax conditions disappear billing , KBA , SD-BIL-IV-2CL , Processing Billing Documents (Public Cloud) , Problem
SAP Knowledge Base Article - Public