I have a web server connecting to QuickBooks Desktop via the Web Connector. Most of my transaction types are working, but I have a few which are not. When I run them through the XML validator, I get this error:
Requested validation for QB Web Connector (qwc), file has processing instruction indicating <?qbxml... obeying processing instruction Line: 2 LinePos: 8 Src Text: Reason: The element 'QBXML' is used but not declared in the DTD/Schema.
My QBXML is as follows:
<?xml version="1.0" ?><?qbxml version="13.0"?>
<QBXML>
<QBXMLMsgsRq onError = "stopOnError">
<ReceivePaymentAddRq requestID = "2">
<ReceivePaymentAdd>
<CustomerRef>
<ListID>8000017D-1509724466</ListID>
</CustomerRef>
<TxnDate>2016-01-04</TxnDate>
<RefNumber>1000</RefNumber>
<TotalAmount>39.99</TotalAmount>
<PaymentMethodRef>
<FullName>Cash</FullName>
</PaymentMethodRef>
<AppliedToTxnAdd>
<TxnID>81E-1509734863</TxnID>
<PaymentAmount>39.99</PaymentAmount>
</AppliedToTxnAdd>
</ReceivePaymentAdd>
</ReceivePaymentAddRq>
</QBXMLMsgsRq>
</QBXML>
The XML validator says the QBXML is valid for both the Desktop and On-Line versions, but gives the error when testing for the Web Connector
I'm having this issue with EmployeeAdd, ReceivePaymentAdd and PaymentMethodAdd. I'm not having it with AccountAdd, ClassAdd, CustomerAdd, ItemServiceAdd or InvoiceAdd.
I've tried changing the Version to everything between 2.0 and 13.0
Has anyone else run across this and found a solution?