无法使用IDS V3创建新帐单

时间:2013-12-24 22:56:05

标签: intuit-partner-platform

我无法使用IDS V3在QuickBooks Online中创建新帐单。这是我的要求。

DEBUG com.intuit.logger  - Request URI : https://quickbooks.api.intuit.com/v3/company/RealmId/batch?requestid=567368a3b9fd45299418635cfc141316&
 DEBUG com.intuit.logger  - Http Method : POST
 DEBUG com.intuit.logger  - Request Body : <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
        <IntuitBatchRequest xmlns="http://schema.intuit.com/finance/v3">
            <BatchItemRequest bId="1" operation="create">
                <Bill>
                    <DocNumber>1039</DocNumber>
                    <TxnDate>2013-12-24</TxnDate>
                    <PrivateNote></PrivateNote>
                    <Line>
                        <Description>12/24/2013: AU-Payroll Clearing: sdsdfdsf</Description>
                        <Amount>12.00</Amount>
                        <DetailType>AccountBasedExpenseLineDetail</DetailType>
                        <AccountBasedExpenseLineDetail>
                            <CustomerRef type="Customer">14</CustomerRef>
                            <AccountRef type="Account">7</AccountRef>
                            <BillableStatus>Billable</BillableStatus>
                        </AccountBasedExpenseLineDetail>
                    </Line>
                    <VendorRef type="Vendor">16</VendorRef>
                    <Memo></Memo>
                </Bill>
            </BatchItemRequest>
        </IntuitBatchRequest>

这是我得到的回复

<html><head>
<title>302 Found</title>
</head><body>
<h1>Found</h1>
<p>The document has moved <a href="https://internal.qdc.qbo.intuit.com/qbo22/v3/company/<realmId>/batch?requestid=567368a3b9fd45299418635cfc141316&amp;">here</a>.</p>
</body></html>

有人能帮助我吗? 谢谢

0 个答案:

没有答案