I'm using the QuickBooks web connector to create sales orders on QuickBooks desktop. Here is a sample QBXML that I'm using.
<?xml version="1.0" encoding="UTF-8"?>
<?qbxml version="14.0"?>
<QBXML>
<QBXMLMsgsRq onError="stopOnError">
<SalesOrderAddRq>
<SalesOrderAdd>
<CustomerRef>
<ListID>80000001-1643109823</ListID>
<FullName>Restaurant</FullName>
</CustomerRef>
<PONumber>47773542</PONumber>
<ShipDate>2022-01-29</ShipDate>
<TxnDate>2022-01-28</TxnDate>
<SalesOrderLineAdd>
<ItemRef>
<ListID>80000001-1643109922</ListID>
<FullName>ASuper Food </FullName>
</ItemRef>
<Quantity>8</Quantity>
<Amount>217.60</Amount>
</SalesOrderLineAdd>
</SalesOrderAdd>
</SalesOrderAddRq>
</QBXMLMsgsRq>
</QBXML>
It works perfectly fine when I remove the TxnDate element from the XML. But when having the TxnDate element, it throws following error:
QuickBooks found an error when parsing the provided XML text stream.
Any help would be highly appreciated.