Since you're querying by FullName
, and FullName
is a unique key in QuickBooks, you can't also use MaxReturned
(since it's a unique key, you can always only get a maximum of 1 result back).
<?xml version="1.0"?>
<?qbxml version="4.0"?>
<QBXML>
<QBXMLMsgsRq onError="stopOnError">
<VendorQueryRq requestID="1">
<FullName>My Vendor</FullName>
</VendorQueryRq>
</QBXMLMsgsRq>
</QBXML>
The OSR is always the best source for qbXML:
We also have a wiki with some example requests on it over here: