IDS XML for Adding an Invoice
From ConsoliBYTE Wiki
<?xml version="1.0" encoding="utf-16"?> <Add xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" RequestId="69910e87a0924977b9fef947dcb3a93a" xmlns="http://www.intuit.com/sb/cdm/v2"> <ExternalRealmId>156234822</ExternalRealmId> <Object xsi:type="Invoice"> <Header> <DocNumber>99009926</DocNumber> <!-- this is the invoice # --> <TxnDate>2010-07-07</TxnDate> <!-- invoice date --> <CustomerId>44818054</CustomerId> <TotalAmt>2500</TotalAmt> <DueDate>2011-01-07</DueDate> <DiscountAmt>0</DiscountAmt> </Header> <Line> <Desc>Keyboards</Desc> <ItemName>Your Parent Item:Your Child Item</ItemName> <!-- corresponds to the "Item Name/SKU" column in the GUI --> <UnitPrice>12</UnitPrice> <!-- corresponds to the Rate column in the GUI --> <Qty>2</Qty> </Line> </Object> </Add>