TxnDel qbXML example

Deletes a transaction completely. To keep a record of it, void it instead.

qbXML TxnDelRq, version 16.0
<?xml version="1.0" encoding="utf-8"?>
<?qbxml version="16.0"?>
<QBXML>
  <QBXMLMsgsRq onError="stopOnError">
    <TxnDelRq>
      <TxnDelType>Invoice</TxnDelType>
      <TxnID>1A2B-1700000000</TxnID>
    </TxnDelRq>
  </QBXMLMsgsRq>
</QBXML>
Open in the validator Check it against the qbXML 16.0 schema, edit it, and run it in your own QuickBooks.

The same request with QuBe Sync's API

QuBe Sync takes this JSON, writes the qbXML for you and delivers QuickBooks' answer to your webhook as JSON.

DELETE /api/v2/connections/{connection_id}/txns
{
  "txn_del_type": "Invoice",
  "txn_id": "1A2B-1700000000"
}

Every field TxnDel takes is in Intuit's reference.

More requests

Company and housekeeping

All qbXML examples