In making a request via qbXML for importing invoices, I'm using the following snippet:
<InvoiceQueryRq requestID="1">
<IncludeLineItems>true</IncludeLineItems>
<OwnerID>0</OwnerID>
</InvoiceQueryRq>
This allows me to grab all line items for all the invoices I'm importing -- which is exactly what I want, as I report on these invoices, their items and quantities (and descriptions).
However, my problem is when the quickbooks user deletes one of the line items, there's no way for me to tell in the response I'm getting. I'll get updates, like updated quantities or descriptions, and of course I get all new line items.
I understand that one solution would be to simply wipe out any data on known invoices and re-insert with new data, however I want to avoid further data manipulation overhead.
Thus, my core question is, is there a way to also include deleted line items on an invoice query?