IPP客户对象为非应税

时间:2013-02-14 21:56:11

标签: intuit-partner-platform

寻找澄清/最终答案:

参考问题:https://idnforums.intuit.com/messageview.aspx?catid=87&threadid=16477

What's the proper way to edit a customer and make them non-taxable? 

If you set SalesTaxCodeId to "0" you get: 
Error validating Sales Tax Code ID:Invalid integer. 

If you set SalesTaxCodeId to "" the customer becomes taxable. 

If you omit SalesTaxCodeId, the customer becomes taxable. 

The docs say "If the field value is null, the job is not taxable. ", but that doesn't seem to be the case. 

We have been setting SalesTaxCodeId to "" in the past, but it looks like this no longer works. Code is attached. 

What's the right way? 

Paul 

有人指出,这个问题是一个错误,保罗注意到它已被修复。为了澄清,为了将客户设置为不应税,SalesTaxCodeId / SalesTaxCodeName必须是空字段?

实施例

...
<SalesTaxCodeId />
<SalesTaxCodeName />
...

1 个答案:

答案 0 :(得分:1)

根据文件:

QBO仅支持应税或不征税的客户或工作,因此如果此字段为“1”,则该工作应纳税。如果字段值为null,则该作业不征税。所有其他值均无效。 请注意,如果您指定了TaxAmt和TaxRate,即使您未直接指定,SalesTaxCodeId也将为“1”。

  

要使SalesTaxCodeId免税,TaxAmt和TaxRate必须为空。

感谢,
震动