SAP Knowledge Base Article - Public

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


  • 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


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).


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.


Make sure tag  <TaxationCharacteristicsCode listID="YY">Tax Code</TaxationCharacteristicsCode> is within  tag <PriceAndTaxCalculationItem>:

       <PriceAndTaxCalculationItem itemProductTaxDetailsListCompleteTransmissionIndicator="true">
        <TaxationCharacteristicsCode listID="YY">Tax Code</TaxationCharacteristicsCode>
                  <EventTypeCode listID="YY">Tax Code</EventTypeCode>
                  <TypeCode listID="YY">1</TypeCode>
                  <RateTypeCode listID="YY1||2|1">1</RateTypeCode>
                  <BaseAmount currencyCode="CURRENCY">11.22</BaseAmount>
                  <Percent> PERCENTAGE VALUE</Percent>
                  <BaseQuantity unitCode="EA">1.0</BaseQuantity>


Webservice, tag, tax code, tax country , KBA , AP-SLO-SO , Sales Order , How To


SAP Business ByDesign 1905