AccountAdd qbXML example

Adds an account to the chart of accounts.

qbXML AccountAddRq, version 16.0
<?xml version="1.0" encoding="utf-8"?>
<?qbxml version="16.0"?>
<QBXML>
  <QBXMLMsgsRq onError="stopOnError">
    <AccountAddRq>
      <AccountAdd>
        <Name>Office Supplies</Name>
        <AccountType>Expense</AccountType>
      </AccountAdd>
    </AccountAddRq>
  </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

  • Elements must appear in the order the schema lists them: a valid element in the wrong place fails validation.

The same request with QuBe Sync's API

QuBe Sync takes this JSON, writes the qbXML for you and delivers QuickBooks' answer to your webhook as JSON.

POST /api/v2/connections/{connection_id}/accounts
{
  "account_type": "Expense",
  "name": "Office Supplies"
}

Every field AccountAdd takes is in Intuit's reference.

More requests

Accounting

All qbXML examples