SAP Knowledge Base Article - Public

2791195 - Error "Tax code not configured for country" When Updating a Sales Order with ManageSalesOrderIn

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

  1. Execute your web service request.
  2. Go to the Sales Order work center.
  3. Open the Sales Order view.
  4. Search for Sales Order ABC.
  5. Navigate to the Items tab, select Items XX.
  6. 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

Product

SAP Business ByDesign 1905