ItemNonInventoryAdd qbXML example

Adds a non-inventory item: something you sell or buy but don't keep stock of.

qbXML ItemNonInventoryAddRq, version 16.0
<?xml version="1.0" encoding="utf-8"?>
<?qbxml version="16.0"?>
<QBXML>
  <QBXMLMsgsRq onError="stopOnError">
    <ItemNonInventoryAddRq>
      <ItemNonInventoryAdd>
        <Name>Shipping Box</Name>
        <SalesOrPurchase>
          <Desc>Shipping box, medium</Desc>
          <Price>4.50</Price>
          <AccountRef>
            <FullName>Sales</FullName>
          </AccountRef>
        </SalesOrPurchase>
      </ItemNonInventoryAdd>
    </ItemNonInventoryAddRq>
  </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 *Ref that names a record QuickBooks doesn't have answers 3120 when it gives a ListID and 3140 when it gives a FullName.
  • 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}/item-non-inventories
{
  "name": "Shipping Box",
  "sales_or_purchase": {
    "account_ref": {
      "full_name": "Sales"
    },
    "desc": "Shipping box, medium",
    "price": 4.5
  }
}

Every field ItemNonInventoryAdd takes is in Intuit's reference.

More requests

Items

All qbXML examples