admin管理员组

文章数量:1278920

I'm having trouble fetching a specific sales order from QuickBooks. I’ve tried using TXNNumber and RefNumber in my queries, but each time I get the error: "System.Exception: QuickBooks found an error when parsing the provided XML text stream."

Has anyone figured out how to query a specific sales order in QuickBooks Desktop Enterprise?

Thanks in advance for the help!

Below is one example query I used,

<?qbxml version="16.0"?>
<QBXML>
    <QBXMLMsgsRq onError="stopOnError">
        <SalesOrderQueryRq requestID="2">
            <MaxReturned>10</MaxReturned>
            <TxnNumber>377074</TxnNumber>
            <TxnDateRangeFilter>
                <FromTxnDate>2025-02-15</FromTxnDate>
                <ToTxnDate>2025-02-20</ToTxnDate>
            </TxnDateRangeFilter>
        </SalesOrderQueryRq>
    </QBXMLMsgsRq>
</QBXML>

I expected for the specific transaction to come as a response but it didn't work, this same query worked when I removed the TXNumber tag

本文标签: netSearching for a specific sales order in Quickbooks desktop enterpriseStack Overflow