0
由於某些原因,當我嘗試在Quickbooks IPP中還原貸項憑證時,我收到一個空白回覆。我刪除了授權頭,所以我可以將它張貼如下申請:CreditMemo回覆空白回覆/不還原
POST https://services.intuit.com/sb/creditmemo/v2/[realmid] HTTP/1.1
Content-Type: text/xml
Content-Length: 312
<?xml version="1.0" encoding="ISO-8859-1" standalone="yes"?>
<Revert RequestId="73c6e0d1268aaac3a34e8e00a73d0e74"
xmlns="http://www.intuit.com/sb/cdm/v2">
<Object xsi:type="CreditMemo"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<Id idDomain="NG">46537073</Id>
</Object>
</Revert>
響應:
HTTP/1.1 200 OK
Date: Thu, 22 Aug 2013 06:39:25 GMT
Server: Apache/2.2.3 (Red Hat)
Response-Routing-Time: 185
Connection: close
Transfer-Encoding: chunked
Content-Type: text/plain; charset=UTF-8
我使用的是PHP的devkit
如果存在像這樣的鏈接事務,您無法恢復貸記憑證 – DevZer0
那麼我怎樣才能讓它脫離錯誤狀態? – Jeremy
只有與QuickBooks至少同步一次的對象纔可以恢復。這意味着該對象已被數據服務更新(即通過操作),是的,不應該有任何關聯的交易 –