Symptom
-
You want to update the Tax Country for Item XX on Sales Order ABC by using the web service ManageSalesOrderIn.
-
The response displays the following error:
"Tax code not configured for country DEF"
ABC is the sales order ID
XX is the line item ID
DEF is the Tax Country
Environment
SAP Business ByDesign
Reproducing the Issue
- Execute your web service request.
- Go to the Sales Order work center.
- Open the Sales Order view.
- Search for Sales Order ABC.
- Navigate to the Items tab, select Items XX.
- Go to the Taxes subtab.
Item XX has Tax Country MNO but you expect Tax Country ABC (MNO is the original Tax Country of the Sales Order).
Cause
Tag <TaxationCharacteristicsCode listID="YY">Tax Code</TaxationCharacteristicsCode> is not placed within the right tag.
YY is the Tax Country Code, ex: GB for Great Britain.
Resolution
Make sure tag <TaxationCharacteristicsCode listID="YY">Tax Code</TaxationCharacteristicsCode> is within tag <PriceAndTaxCalculationItem>:
<Item>
<ID>XX</ID>
<PriceAndTaxCalculationItem itemProductTaxDetailsListCompleteTransmissionIndicator="true">
<TaxationCharacteristicsCode listID="YY">Tax Code</TaxationCharacteristicsCode>
<ItemProductTaxDetails>
<TransactionCurrencyProductTax>
<CountryCode>YY</CountryCode>
<EventTypeCode listID="YY">Tax Code</EventTypeCode>
<TypeCode listID="YY">1</TypeCode>
<RateTypeCode listID="YY1||2|1">1</RateTypeCode>
<CurrencyCode>CURRENCY</CurrencyCode>
<BaseAmount currencyCode="CURRENCY">11.22</BaseAmount>
<Percent> PERCENTAGE VALUE</Percent>
<BaseQuantity unitCode="EA">1.0</BaseQuantity>
<BaseQuantityTypeCode>EA</BaseQuantityTypeCode>
<Rate>
<DecimalValue>VALUE</DecimalValue>
</Rate>
</TransactionCurrencyProductTax>
</ItemProductTaxDetails>
</PriceAndTaxCalculationItem>
</Item>
Keywords
Webservice, tag, tax code, tax country , KBA , AP-SLO-SO , Sales Order , How To