在NetSuite中将Customer设置为免税



我正在尝试用SOAP请求更新NetSuite中的客户。我能够正确搜索客户并返回客户,但是当我尝试发送应税或免税字段时,如下所示:

<taxExempt xmlns="urn:relationships_2014_1.lists.webservices.netsuite.com">true</taxExempt>
      <taxable xmlns="urn:relationships_2014_1.lists.webservices.netsuite.com">false</taxable>

NetSuite返回以下错误:

<?xml version="1.0" encoding="utf-16"?>
<WriteResponse xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <status isSuccess="false" xmlns="urn:core_2014_1.platform.webservices.netsuite.com">
    <statusDetail>
      <code>INSUFFICIENT_PERMISSION</code>
      <message>You do not have permissions to set a value for element taxexempt due to one of the following reasons: 1) The field is read-only; 2) An associated feature is disabled; 3) The field is available either when a record is created or updated, but not in both cases.</message>
    </statusDetail>
  </status>
</WriteResponse>

我也试过单独做应税或免税,但它抛出了同样的问题。是否有一定的设置,我需要在NetSuite或我发送错误的字段?

免税仅适用于加拿大账户。您希望taxable=false,并确保taxitem字段为空(或者只保留taxable,并将taxitem设置为相应的非应税税项的id)

相关内容

  • 没有找到相关文章

最新更新