Example qbXML to Add an Invoice

<?xml version="1.0" encoding="utf-8"?>
<?qbxml version="2.0"?>
<QBXML>
	<QBXMLMsgsRq onError="stopOnError">
		<InvoiceAddRq requestID="2">
			<InvoiceAdd>
				<CustomerRef>
					<ListID>F560000-1197683156</ListID>
				</CustomerRef>
				<TxnDate>2007-12-14</TxnDate>
				<RefNumber>9668</RefNumber>
				<BillAddress>
					<Addr1>56 Cowles Road</Addr1>
					<City>Willington</City>
					<State>CT</State>
					<PostalCode>06279</PostalCode>
					<Country>United States</Country>
				</BillAddress>
				<PONumber></PONumber>
				<Memo></Memo>

				<InvoiceLineAdd>
					<ItemRef>
						<FullName>Downloaded Invoice</FullName>
					</ItemRef>
					<Desc>Item 1 Description Goes Here</Desc>
					<Quantity>1</Quantity>
					<Rate>295</Rate>
				</InvoiceLineAdd>

				<InvoiceLineAdd>
					<ItemRef>
						<FullName>Downloaded Invoice</FullName>
					</ItemRef>
					<Desc>Item 2 Description Goes Here</Desc>
					<Quantity>3</Quantity>
					<Rate>25</Rate>
				</InvoiceLineAdd>
			
			</InvoiceAdd>
		</InvoiceAddRq>
	</QBXMLMsgsRq>
</QBXML>
quickbooks_qbxml_invoiceadd.txt · Last modified: 2013/01/21 12:44 (external edit)