【问题标题】:Quickbook IPP Can't DeleteQuickbook IPP 无法删除
【发布时间】:2023-03-06 08:01:01
【问题描述】:

当我尝试使用 Quickbook IPP for QB Desktop 删除发票时,我收到错误“无法删除同步的 TXN_HDR 记录。使用 REVERT 对象 API”。我的要求和回应如下。为了安全起见,我删除了授权标头。有什么想法吗?

请求:

POST https://services.intuit.com/sb/invoice/v2/[realmId] HTTP/1.1
Content-Type: text/xml
Content-Length: 404

<?xml version="1.0" encoding="ISO-8859-1" standalone="yes"?>
                  <Del RequestId="b31649561ac1dbc0cadcca5b3d6c8ef9" xmlns="http://www.intuit.com/sb/cdm/v2">
                     <Object xsi:type="Invoice"
                     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                        <Id idDomain="NG">1002</Id>
                     </Object>
                  </Del>

回复:

HTTP/1.1 200 OK
Date: Mon, 09 Sep 2013 15:43:02 GMT
Server: Apache/2.2.22 (Unix)
Response-Routing-Time: 200
Content-Length: 392
Connection: close
Content-Type: text/xml

<?xml version="1.0" ?><RestResponse xmlns="http://www.intuit.com/sb/cdm/v2"><Error RequestId="0a7cb165f7274ed39a7311e4c3c66e51"><RequestName>ErrorRequest</RequestName><ProcessedTime>2013-09-09T15:43:02.993Z</ProcessedTime><ErrorCode>-3002</ErrorCode><ErrorDesc>cannot DELETE synchronized TXN_HDR record. Use REVERT object API</ErrorDesc><DBErrorCode>20924</DBErrorCode></Error></RestResponse>

【问题讨论】:

    标签: php quickbooks intuit-partner-platform devkit


    【解决方案1】:

    杰里米,
    v2 不支持发票删除。您可以通过 API 恢复对发票的最后更改,但不能将其删除。您只能从 QuickBooks 中删除它。
    问候
    震动

    【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2018-01-23
    • 1970-01-01
    • 2018-11-13
    • 2021-04-05
    • 1970-01-01
    相关资源
    最近更新 更多