Discussions
Join us for complimentary one-day events around the world and step into a future fueled by AI and limitless potential. Explore new breakthroughs, sharpen your skills, and connect with experts who are shaping what’s next. Experience bold keynotes, interactive learning, and connections that span the global NetSuite community. Discover what's next at SuiteConnect Tour 2026.
Ceating items problem on tax code
Hi
We are trying to add inventory items via Web services but have failed in setting the taxt code. Can anybody help with this please.
This is the type of SOPA message we send:
<listAcct:displayName>test</listAcct:displayName>
<listAcct:itemId>123</listAcct:itemId>
<listAcct:purchaseTaxCode xsi:type="platformCore:RecordRef">17.5%</listAcct:purchaseTaxCode>
<listAcct:salesTaxCode xsi:type="platformCore:RecordRef">17.5%</listAcct:salesTaxCode>
This is the error we get:
Array ( [faultcode] => soapenv:Server.userException [faultstring] => org.xml.sax.SAXException: Unable to marshall between XML and Castor Objects :Illegal Text data found as child of: purchaseTaxCode value: "17.5%" [detail] => Array ( [hostname] => sb-partners-java002.svale.netledger.com ) )