I am trying to Update a Purchase order via the API when Is end this XML
<?xml version="1.0" encoding="utf-8"?><?qbxml version="6.0"?><QBXML>
<QBXMLMsgsRq onError="stopOnError">
<PurchaseOrderModRq>
<PurchaseOrderMod>
<TxnID useMacro="MACROTYPE">467E53-1730759675</TxnID>
<EditSequence>1730759890</EditSequence>
<VendorRef>
<ListID>80002A46-1318620869</ListID>
</VendorRef>
<TxnDate>2024-11-04</TxnDate>
<RefNumber>MFRECTST261</RefNumber>
<ShipAddress>
<Addr1>Affordable Granite Benchtops (Int) Ltd</Addr1>
<Addr2>34 Portage Road</Addr2>
<Addr3>New Lynn</Addr3>
</ShipAddress>
<TermsRef>
<FullName>60 Days - EOM</FullName>
</TermsRef>
<DueDate>2024-11-12</DueDate>
<ExpectedDate>2024-11-12</ExpectedDate>
<IsToBePrinted>true</IsToBePrinted>
<IsToBeEmailed>false</IsToBeEmailed>
<PurchaseOrderLineMod>
<TxnLineID useMacro="MACROTYPE">467E55-1730759675</TxnLineID>
<ItemRef>
<ListID>800000-1203471897</ListID>
</ItemRef>
<Desc>Matt Test 2</Desc>
<Quantity>2</Quantity>
<Amount>99.00</Amount>
<IsManuallyClosed>true</IsManuallyClosed>
<ReceivedQuantity>2</ReceivedQuantity>
<Other1>10814</Other1>
</PurchaseOrderLineMod>
</PurchaseOrderMod>
</PurchaseOrderModRq>
</QBXMLMsgsRq>
</QBXML>
The APi returns a Bad Request Error. If I remove this part
<ReceivedQuantity>2</ReceivedQuantity>
The XML works but I need to update the Recvd Qty
What Am i missing?
Thanks in Advance
Matt