I am using Quickbooks Desktop 18.0 and I am syncing data between my c# application and QuickBooks via Web Connector.
I have one task where I have to push bills and I have predefined account reference for each expenses row in Bill under Vendors -> Bills.
I am unable to push the Bills because, I am getting error like this
0x80040400: QuickBooks found an error when parsing the provided XML text stream
The error caused due to middot separator in Account reference. Account reference name is
EXPENDITURE:Marketing:858700 ยท Advertising
Look between 858700 and Advertising. If I remove the <AccountRef>
tag from the BillAddRq XML, Bill is pushed and If I replace the middot with dash then I get error like this
<?xml version="1.0" ?>
<QBXML>
<QBXMLMsgsRs>
<BillAddRs statusCode="3140" statusSeverity="Error" statusMessage="There is an invalid reference to QuickBooks Account "EXPENDITURE:Marketing:858700 - Advertising" in the Bill. QuickBooks error message: Invalid argument. The specified record does not exist in the list." />
</QBXMLMsgsRs>
</QBXML>
I need to push Bill along with Account reference.
What should I do?
Please help. Thanks in advance.