IntuitDeveloper/QBXML_SDK_Samples

error in journal entry using web connector

vipul006060 opened this issue · 0 comments

We have chart of accounts map in parent child hierarchy, so I have pass Account full name separated by ':' , but still it gives error

I am using QB enterprise 2017, and latest web connector 2.2.0.71

Error message :-
Sending error message back to application:
HRESULT = 0x80040400
Message: QuickBooks found an error when parsing the provided XML text stream.

Sample Xml sending to web connector:-

<?xml version="1.0"?><?qbxml version="13.0"?><QBXML><QBXMLMsgsRq onError = "continueOnError"><JournalEntryAddRq requestID = "3"><JournalEntryAdd><TxnDate>2017-01-02</TxnDate><RefNumber>1</RefNumber> <JournalDebitLine><AccountRef><FullName>CREDIT CARDS:Amex</FullName></AccountRef><Amount>375.64</Amount></JournalDebitLine> <JournalDebitLine><AccountRef><FullName>CREDIT CARDS:Visa/MC</FullName></AccountRef><Amount>1761.18</Amount></JournalDebitLine> <JournalDebitLine><AccountRef><FullName>CREDIT CARDS:Cash</FullName></AccountRef><Amount>25.50</Amount></JournalDebitLine> <JournalDebitLine><AccountRef><FullName>ACCOUNTS RECEIVABLE.:Guest Ledger AR</FullName></AccountRef><Amount>735.91</Amount></JournalDebitLine> <JournalCreditLine><AccountRef><FullName>OTHER SALES:OTHER INCOME:Telephone</FullName></AccountRef><Amount>0.75</Amount></JournalCreditLine> <JournalCreditLine><AccountRef><FullName>SALES TAX:Sales Taxes Collected</FullName></AccountRef><Amount>123.13</Amount></JournalCreditLine> <JournalCreditLine><AccountRef><FullName>OTHER SALES:OTHER INCOME:Sundries</FullName></AccountRef><Amount>15.47</Amount></JournalCreditLine> <JournalCreditLine><AccountRef><FullName>OTHER SALES:OTHER INCOME:Sundries</FullName></AccountRef><Amount>2.73</Amount></JournalCreditLine> <JournalCreditLine><AccountRef><FullName>OTHER SALES:OTHER INCOME:Sundries</FullName></AccountRef><Amount>7.73</Amount></JournalCreditLine> <JournalCreditLine><AccountRef><FullName>SALES TAX:Sales Taxes Collected</FullName></AccountRef><Amount>49.24</Amount></JournalCreditLine> <JournalCreditLine><AccountRef><FullName>OTHER SALES:OTHER INCOME:Pets</FullName></AccountRef><Amount>20.00</Amount></JournalCreditLine> <JournalCreditLine><AccountRef><FullName>ROOMS DEPARTMENT:FRANCHISE EXPENSE:FRANCHISE ADVERTISING & FEES:Loyalty Program</FullName></AccountRef><Amount>-32.00</Amount></JournalCreditLine> <JournalCreditLine><AccountRef><FullName>Rooms:ROOM REVENUE:Net Room Revenue Taxable</FullName></AccountRef><Amount>1142.48</Amount></JournalCreditLine> <JournalCreditLine><AccountRef><FullName>Rooms:ROOM REVENUE:Net Room Revenue Taxable</FullName></AccountRef><Amount>606.00</Amount></JournalCreditLine> <JournalCreditLine><AccountRef><FullName>Rooms:ROOM REVENUE:Net Room Revenue Taxable</FullName></AccountRef><Amount>245.00</Amount></JournalCreditLine> <JournalCreditLine><AccountRef><FullName>Rooms:ROOM REVENUE:Net Room Revenue Taxable</FullName></AccountRef><Amount>592.00</Amount></JournalCreditLine> <JournalCreditLine><AccountRef><FullName>SALES TAX:Sales Taxes Collected</FullName></AccountRef><Amount>2.57</Amount></JournalCreditLine> <JournalCreditLine><AccountRef><FullName>SALES TAX:Sales Taxes Collected</FullName></AccountRef><Amount>123.13</Amount></JournalCreditLine> `