Symptom
In SAP S/4HANA Cloud Public Edition, when using journal entry API to post journal entries with tax items, error "Condition Type &1 tax code &2 does not exist" is raised, despite field TaxItemClassification is filled in the payload.
Environment
SAP S/4HANA Cloud Public Edition
Cause
In the tax code there are more than one entry for given TaxItemClassification, and system cannot determine the correct condition type to use.
Resolution
Field ConditionType should be filled under ProductTaxItem in the payload.
This field is required if the relationship between TaxItemClassification and ConditionType is 1:n. If no value is specified, the first condition type is the default value.
If the first condition type is not a valid entry, then it will cause error.
See Also
Keywords
journal entry api, condition type, conditiontype, taxitemclassification, producttaxitem, mws/vst, mwvs, mwas, tax code 5a, tax country be, vat, does not exist error, tax configuration, payload, api error , KBA , AC-INT-2CL , Accounting Interface (Public Cloud) , Problem
SAP Knowledge Base Article - Public