ListDel qbXML example
Deletes a list record, such as a customer or an item, that no transaction uses.
qbXML
ListDelRq, version 16.0
<?xml version="1.0" encoding="utf-8"?>
<?qbxml version="16.0"?>
<QBXML>
<QBXMLMsgsRq onError="stopOnError">
<ListDelRq>
<ListDelType>Customer</ListDelType>
<ListID>80000001-1700000000</ListID>
</ListDelRq>
</QBXMLMsgsRq>
</QBXML>
Open in the validator
Check it against the qbXML 16.0 schema, edit it, and run it in your own QuickBooks.
Things to know
- A record that transactions use can't be deleted. Make it inactive with a Mod instead.
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}/lists
{
"list_del_type": "Customer",
"list_id": "80000001-1700000000"
}
Every field ListDel takes is in Intuit's reference.
More requests
Company and housekeeping