Sanmol Software is leading custom solutions provider as per customer needs!!

Sanmol Software

U13, Breezy Castle, 125 Owen Roberts Dr, PO Box 11958, Grand Cayman, KY1-1010, Cayman Islands

24/7 online support


QbXML for Adding Inventory Items

Example qbXML Request

 
<?xml version="1.0" encoding="utf-8"?>
<?qbxml version="7.0"?>
<QBXML>
  <QBXMLMsgsRq onError="stopOnError">
    <ItemInventoryAddRq requestID="SXRlbUludmVudG9yeUFkZHwxNTA=" >
      <ItemInventoryAdd>
        <Name>product name here</Name>
        <SalesDesc>your sales description here</SalesDesc>
        <SalesPrice>85.00</SalesPrice>
        <IncomeAccountRef>
          <FullName>Sales</FullName>
        </IncomeAccountRef>
        <COGSAccountRef>
          <FullName>Cost of Goods Sold</FullName>
        </COGSAccountRef>
        <AssetAccountRef>
          <FullName>Inventory Asset</FullName>
        </AssetAccountRef>
      </ItemInventoryAdd>
    </ItemInventoryAddRq>
  </QBXMLMsgsRq>
</QBXML>
 

Example qbXML Response

 
<?xml version="1.0" ?>
<QBXML>
  <QBXMLMsgsRs>
    <ItemInventoryAddRs requestID="SXRlbUludmVudG9yeUFkZHwxNTA=" statusCode="0" statusSeverity="Info" statusMessage="Status OK">
      <ItemInventoryRet>
        <ListID>8000085A-1231522945</ListID>
        <TimeCreated>2009-01-09T12:42:25-05:00</TimeCreated>
        <TimeModified>2009-01-09T12:42:25-05:00</TimeModified>
        <EditSequence>1231522945</EditSequence>
        <Name>product name here</Name>
        <FullName>product name here</FullName>
        <IsActive>true</IsActive>
        <Sublevel>0</Sublevel>
        <SalesTaxCodeRef>
          <ListID>10000-1128983215</ListID>
          <FullName>Tax</FullName>
        </SalesTaxCodeRef>
        <SalesDesc>your sales description here</SalesDesc>
        <SalesPrice>85.00</SalesPrice>
        <IncomeAccountRef>
          <ListID>420000-1128987409</ListID>
          <FullName>Sales</FullName>
        </IncomeAccountRef>
        <PurchaseCost>0.00</PurchaseCost>
        <COGSAccountRef>
          <ListID>50001-1129079237</ListID>
          <FullName>Cost of Goods Sold</FullName>
        </COGSAccountRef>
        <AssetAccountRef>
          <ListID>A20000-1155155306</ListID>
          <FullName>Inventory Asset</FullName>
        </AssetAccountRef>
        <QuantityOnHand>0</QuantityOnHand>
        <AverageCost>0.00</AverageCost>
        <QuantityOnOrder>0</QuantityOnOrder>
        <QuantityOnSalesOrder>0</QuantityOnSalesOrder>
      </ItemInventoryRet>
    </ItemInventoryAddRs>
  </QBXMLMsgsRs>
</QBXML>