有人知道这是不是一个错误?或者,如果我在发票上传递税码ref的方式是问题吗?
以下是我发布到API的发票创建XML:
<?xml version="1.0"?>
<Invoice xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schema.intuit.com/finance/v3">
<CustomField>
<DefinitionId>1</DefinitionId>
<Type>StringType</Type>
<StringValue>15129</StringValue>
</CustomField>
<CustomField>
<DefinitionId>2</DefinitionId>
<Type>StringType</Type>
<StringValue>13553</StringValue>
</CustomField>
<DocNumber>9316-O</DocNumber>
<TxnDate>2016-05-12-06:00</TxnDate>
<PrivateNote>15129 / Acme </PrivateNote>
<Line>
<LineNum>1</LineNum>
<Description>Project: Acme </Description>
<DetailType>DescriptionOnly</DetailType>
</Line>
<Line>
<LineNum>2</LineNum>
<Description>Part: 74827 - 8 ea. Down Rod and link 810 x 23 of:
1" x .25 wall alum. tubing;
Zinc plated R hand Threaded Clevis ;
Zinc plated L hand Threaded Clevis ;;
Part: 74830 - 8 ea. Down Rod and link 944 x 27.4375 of:
1" x .25 wall alum. tubing;
Zinc plated R hand Threaded Clevis ;
Zinc plated L hand Threaded Clevis ;;
Part: 74829 - 4 ea. Down Rod and link 943 x 24.8125 of:
1" x .25 wall alum. tubing;
Zinc plated R hand Threaded Clevis ;
Zinc plated L hand Threaded Clevis ;;
Part: 74831 - 20 ea. Link x 7.7 of:
Aluminum Mill 5052 .250Ga.;;
</Description>
<Amount>1387.63000000</Amount>
<DetailType>SalesItemLineDetail</DetailType>
<SalesItemLineDetail>
<ItemRef>19</ItemRef>
<Qty>1</Qty>
<TaxCodeRef>TAX</TaxCodeRef>
</SalesItemLineDetail>
</Line>
<TxnTaxDetail>
<TxnTaxCodeRef>5</TxnTaxCodeRef>
</TxnTaxDetail>
<CustomerRef>423</CustomerRef>
<PrintStatus>NeedToPrint</PrintStatus>
<EmailStatus>NeedToSend</EmailStatus>
<BillEmail>
<Address>test@test.com</Address>
</BillEmail>
</Invoice>
更新1: