QbXML for Adding a Purchase Order

From ConsoliBYTE Wiki
Jump to: navigation, search
 
<?xml version="1.0" encoding="utf-8"?>
<?qbxml version="7.0"?>
<QBXML>
  <QBXMLMsgsRq onError="stopOnError">
    <PurchaseOrderAddRq>
 
      <PurchaseOrderAdd>
 
        <VendorRef>
          <FullName>Test Vendor</FullName>
        </VendorRef>
 
        <TxnDate>2013-01-02</TxnDate>
        <RefNumber>3434</RefNumber>
 
        <PurchaseOrderLineAdd>
          <ItemRef>
            <FullName>My Item Name</FullName>
          </ItemRef>
          <Desc>Test description.</Desc>
          <Quantity>5</Quantity>
          <Rate>29.95</Rate>
        </PurchaseOrderLineAdd>
 
      </PurchaseOrderAdd>
 
    </PurchaseOrderAddRq>
  </QBXMLMsgsRq>
</QBXML>