I want to provide a Customer ListId
through QBXML and get the list of all Invoices, Estimates and Payments under that particular customer. What QBXML request would give me this? Please help.
You should refer to the QuickBooks OSR for all qbXML reference:
There are also some additional samples here:
If you refer to the QuickBooks OSR, you'll find some really unsurprising qbXML requests named:
An InvoiceQueryRq
will give you invoices, an EstimateQueryRq
will give you estimates, and so on and so forth. You may also want to check out TransactionQueryRq
which queries all types of transaction at once (but be aware it will only give you summary data, and not detailed data like line items, etc. that the other more specific request types will give you).
The OSR will also show you that you can filter these queries to get back invoices, estimates, or payments for just a specific entity (e.g. a specific customer).
<EntityFilter>
<ListID >IDTYPE</ListID>
<!-- OR -->
<ListIDWithChildren >IDTYPE</ListIDWithChildren>
</EntityFilter>
You can refer to the QuickBooks OSR link above for full qbXML reference and examples (look at the XMLOps
tab in the OSR).