QbXML for Voiding a Transaction
Example qbXML Request
Voiding a Transaction
<?xml version="1.0" encoding="utf-8"?>
<?qbxml version="8.0"?>
<QBXML>
<QBXMLMsgsRq onError="stopOnError">
<TxnVoidRq>
<!-- TxnVoidType may have one of the following values: ARRefundCreditCard, Bill, BillPaymentCheck, BillPaymentCreditCard, Charge, Check, CreditCardCharge, CreditCardCredit, CreditMemo, Deposit, InventoryAdjustment, Invoice, ItemReceipt, JournalEntry, SalesReceipt, VendorCredit -->
<TxnVoidType>Invoice</TxnVoidType>
<TxnID>ABCD-1234</TxnID>
</TxnVoidRq>
</QBXMLMsgsRq>
</QBXML>