QuickBooks Example .QWC File

From ConsoliBYTE Wiki
Jump to: navigation, search

Example .QWC File

QuickBooks Web Connector .QWC files are actually just plain text files (XML) with a .QWC file extension. You can edit .QWC files using Windows Notepad or any other text editor.

 
<?xml version="1.0"?>
<QBWCXML>
  <AppName>QuickBooks Integrator</AppName>
  <AppID></AppID>
  <AppURL>https://secure.domain.com/quickbooks/server.php</AppURL>
  <AppDescription></AppDescription>
  <AppSupport>http://www.domain.com/quickbooks/support.php</AppSupport>
  <UserName>username</UserName>
  <OwnerID>{90A44FB7-33D9-4815-AC85-AC86A7E7D1EB}</OwnerID>
  <FileID>{57F3B9B6-86F1-4FCC-B1FF-967DE1813D20}</FileID>
  <QBType>QBFS</QBType>
  <Scheduler>
    <RunEveryNMinutes>2</RunEveryNMinutes>
  </Scheduler>
  <IsReadOnly>false</IsReadOnly>
</QBWCXML>
 

.QWC File Notes

<AppName> This is displayed to the user in the Web Connector GUI

<AppSupport>…</AppSupport> Must contain a valid URL to a valid page which returns a 200 OK HTTP response when visited.

<AppURL>…</AppURL> Must contain a valid URL to your SOAP server, https://... if it's remote, http://localhost/… if it's local. If you're using the PHP DevKit, this should be the URL of your modified docs/example_web_connector.php script.

<FileID>…</FileID> You can make this up as long as it follows the GUID format (uppercase HEX chars only!): {6904A826-7368-11DC-8317-F7AD55D89593}. It has something to do with DataExt elements; most simple integrations can just make this up.

<OwnerID>…</OwnerID> Same as above

<QBType>…</QBType> Specifies the type of Quickbooks you want to connect to with the web connector (ie “QBFS” or “QBPOS”)

<Scheduler>…</Scheduler> This is an optional element, use this to schedule the Web Connector to run every so often automatically

<IsReadOnly>…</IsReadOnly> If you set this to true, your application will not be able to add, modify, or delete data in QuickBooks. This *does not work* correctly with the Web Connector Intuit provides (Intuit's implementation is broken)