QbXML for Adding a Sales Order
Example qbXML Request
<?xml version="1.0"?>
<?qbxml version="4.0"?>
<QBXML>
<QBXMLMsgsRq onError="stopOnError">
<SalesOrderAddRq requestID="1">
<SalesOrderAdd>
<CustomerRef>
<FullName>PINNACLE SENIOR CARE</FullName>
</CustomerRef>
<TxnDate>2013-05-23</TxnDate>
<RefNumber>23112628110</RefNumber>
<BillAddress>
<Addr1>Pam Barker</Addr1>
<Addr2>500 Kirts Boulevard</Addr2>
<Addr3/>
<City>Troy</City>
<State>Mi</State>
<PostalCode>48084</PostalCode>
<Country>US</Country>
</BillAddress>
<ShipAddress>
<Addr1/>
<Addr2>7322 Southwest Freeway </Addr2>
<Addr3>Ste, 170</Addr3>
<City>Houston</City>
<State>TX</State>
<PostalCode>77074</PostalCode>
<Country>US</Country>
</ShipAddress>
<ItemSalesTaxRef>
<FullName>Out of State</FullName>
</ItemSalesTaxRef>
<Memo>Shipping to Pinnacle Senior Care Houston </Memo>
<SalesOrderLineAdd>
<ItemRef>
<FullName>Booklets:CB1-101</FullName>
</ItemRef>
<Desc>CHF</Desc>
<Quantity>15</Quantity>
<Amount>59.25</Amount>
</SalesOrderLineAdd>
<SalesOrderLineAdd>
<ItemRef>
<FullName>Booklets:CB3-101</FullName>
</ItemRef>
<Desc>High Blood Pressure</Desc>
<Quantity>15</Quantity>
<Amount>59.25</Amount>
</SalesOrderLineAdd>
<SalesOrderLineAdd>
<ItemRef>
<FullName>Booklets:DB1-101</FullName>
</ItemRef>
<Desc>Diabetes Type 1 or 2 with Insulin</Desc>
<Quantity>15</Quantity>
<Amount>59.25</Amount>
</SalesOrderLineAdd>
<SalesOrderLineAdd>
<ItemRef>
<FullName>Booklets:DB2-101</FullName>
</ItemRef>
<Desc>Diabetes Type 1 or 2 w/o Insulin</Desc>
<Quantity>15</Quantity>
<Amount>59.25</Amount>
</SalesOrderLineAdd>
</SalesOrderAdd>
</SalesOrderAddRq>
</QBXMLMsgsRq>
</QBXML>