Working with examples I found I was able to add a SalesReceipt via QB WebConnector using QBXML. Specifically I was adding a LineGroup (SalesReceiptLineGroupAdd) - and after adding that group I need to modify it.
Well to modify it I need the TxnLineID of the LineGroup. It did not appear in my results - although the add and response were successes. Roughly here is the outline of the request:
<?qbxml version="2.0"?>
<QBXML>
<QBXMLMsgsRq onError="stopOnError">
<SalesReceiptAddRq requestID="22">
<SalesReceiptAdd>
... customer, billing, etc...
<SalesReceiptLineGroupAdd>
<ItemGroupRef>
<FullName>2604-1</FullName>
</ItemGroupRef>
<Quantity>1</Quantity>
</SalesReceiptLineGroupAdd>
</SalesReceiptAdd>
</SalesReceiptAddRq>
</QBXMLMsgsRq>
</QBXML>
And in the response:
<SalesReceiptLineGroupRet>
<ItemGroupRef>
<ListID>800002A9-1389300902</ListID>
<FullName>2604-1</FullName>
</ItemGroupRef>
<Desc>test group 1</Desc>
<Quantity>1</Quantity>
... etc ...
but I expected
<SalesReceiptLineGroupRet>
<TxnLineID>619-1394725756</TxnLineID>
<ItemGroupRef>
<ListID>800002A9-1389300902</ListID>
<FullName>2604-1</FullName>
</ItemGroupRef>
<Desc>test group 1</Desc>
<Quantity>1</Quantity>
... etc ...
Based on the documentation. What is wrong?