QbXML for Querying for Deleted Objects
You can query for objects that have been deleted like this:
Example Request
<?xml version="1.0" encoding="utf-8"?> <?qbxml version="9.0"?> <QBXML> <QBXMLMsgsRq onError="stopOnError"> <TxnDeletedQueryRq> <!-- TxnDelType may have one of the following values: ARRefundCreditCard, Bill, BillPaymentCheck, BillPaymentCreditCard, BuildAssembly, Charge, Check, CreditCardCharge, CreditCardCredit, CreditMemo, Deposit, Estimate, InventoryAdjustment, Invoice, ItemReceipt, JournalEntry, PayrollLiabilityAdjustment [PRIVATE], PayrollPriorPayment [PRIVATE], PayrollYearToDateAdjustment [PRIVATE], PurchaseOrder, ReceivePayment, SalesOrder, SalesReceipt, SalesTaxPaymentCheck, TimeTracking, TransferInventory, VehicleMileage, VendorCredit --> <TxnDelType>Invoice</TxnDelType> <TxnDelType>ReceivePayment</TxnDelType> </TxnDeletedQueryRq> </QBXMLMsgsRq> </QBXML>
Example Response
todo