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