1

寻找澄清/最终答案:

参考问题: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 />
...

4

1 回答 1

1

根据文档:

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

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

谢谢,
杰瑞德

于 2013-02-18T13:30:17.463 回答