CompanyQuery qbXML example

Reads the company file's name, address and settings.

qbXML CompanyQueryRq, version 16.0
<?xml version="1.0" encoding="utf-8"?>
<?qbxml version="16.0"?>
<QBXML>
  <QBXMLMsgsRq onError="stopOnError">
    <CompanyQueryRq/>
  </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 good first request: it needs no data in the file and shows the connection works.

The same request with QuBe Sync's API

QuBe Sync writes the qbXML for you and delivers QuickBooks' answer to your webhook as JSON. This request needs no parameters.

GET /api/v2/connections/{connection_id}/companies

Every field CompanyQuery takes is in Intuit's reference.

More requests

Company and housekeeping

All qbXML examples