Maybe someone can help me here, I want to get all payroll details from Quickbooks using QBWC but I'm getting 0x80040400 error saying QuickBooks found an error when parsing the provided XML text stream.
When I do other queries it works perfect only for this query I'm getting this error.
Here is the XML I'm sending to QB:
<?qbxml version="7.0"?>
<QBXML>
<QBXMLMsgsRq onError="stopOnError">
<PayrollDetailReportQueryRq>
<PayrollDetailReportType>PayrollTransactionDetail</PayrollDetailReportType>
<DisplayReport>true</DisplayReport>
<ReportDateMacro>All</ReportDateMacro>
<ReportClassFilter>
<FullName>Name</FullName>
</ReportClassFilter>
<ReportModifiedDateRangeMacro>All</ReportModifiedDateRangeMacro>
<ReportDetailLevelFilter>All</ReportDetailLevelFilter> <!-- opt, v3.0 -->
</PayrollDetailReportQueryRq>
</QBXMLEvents>
</QBXML>
Did you try the XML Validator and see what it said?
Your document isn't valid XML. Fix the ending tag
<QBXMLEvents>
to match the starting tagQBXMLMsgsRq
.