0

我正在尝试使用 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 中进行特定设置还是发送了错误的字段?

4

1 回答 1

1

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

于 2016-08-24T00:11:18.800 回答