-1

我正在尝试通过“SDK Test Plus 3”提交以下 QBXML 销售收据,但出现错误。

“-2147220480 QuickBooks 在解析提供的 XML 文本流时发现错误。”


<?xml version="1.0" encoding="utf-8"?> 
<?qbxml version="7.0"?> 
<QBXML> 
   <QBXMLMsgsRq onError="stopOnError"> 
      <SalesReceiptAddRq requestID="0"> 
         <SalesReceiptAdd> 
            <CustomerRef> 
               <FullName>Test-Sales</FullName> 
            </CustomerRef>
        <ClassRef>
        <FullName>FUpscale</FullName> 
        </ClassRef>
            <TxnDate>2013-04-09</TxnDate> 
            <RefNumber>12</RefNumber> 
            <BillAddress> 
               <Addr1>amazon</Addr1> 
               <Addr2></Addr2> 
               <City></City> 
               <PostalCode></PostalCode> 
               <Country></Country> 
            </BillAddress> 
            <PaymentMethodRef> 
               <FullName></FullName>          
            </PaymentMethodRef> 
            <Memo>Test</Memo> 
            <IsToBePrinted>false</IsToBePrinted> 
            <SalesReceiptLineAdd> 
               <ItemRef> 
                  <FullName>AFANG-BK</FullName>          
               </ItemRef>
    <InventorySiteRef>
               <FullName>Roosevelt</FullName>
          </InventorySiteRef>
               <Quantity>1</Quantity> 
               <Rate>1.00</Rate> 
            </SalesReceiptLineAdd> 
         </SalesReceiptAdd> 
      </SalesReceiptAddRq> 
   </QBXMLMsgsRq> 
</QBXML>

Win XP QB 企业版 13.0 R5

4

1 回答 1

0

刚刚找到将QBXML版本升级到12.0的解决方案

于 2013-04-10T13:54:00.443 回答