InvoiceAdd order wrong
Closed this issue · 3 comments
rogerfar commented
In the latest version the order of InvoiceAdd has changed (that's the only entity I verified, there might be others):
v0.2:
<?xml version="1.0" encoding="utf-8"?>
<?qbxml version="13.0"?>
<QBXML>
<QBXMLMsgsRq onError="continueOnError">
<InvoiceAddRq>
<InvoiceAdd>
<InvoiceLineAdd>
<Desc>TEST</Desc>
</InvoiceLineAdd>
<CustomerRef>
<ListID>80000003-1547478958</ListID>
<FullName>Arnett-Wessin Energy Services</FullName>
</CustomerRef>
<TemplateRef>
<ListID>80000002-1547157537</ListID>
<FullName>Intuit Professional Invoice</FullName>
</TemplateRef>
<TxnDate>2019-03-20</TxnDate>
<RefNumber>3</RefNumber>
<BillAddress />
<TermsRef>
<ListID>80000001-1547157549</ListID>
<FullName>1% 10 Net 30</FullName>
</TermsRef>
<ShipDate>2019-03-20</ShipDate>
<CustomerSalesTaxCodeRef>
<ListID>80000001-1547157549</ListID>
<FullName>G</FullName>
</CustomerSalesTaxCodeRef>
</InvoiceAdd>
</InvoiceAddRq>
</QBXMLMsgsRq>
</QBXML>
v0.11:
<?xml version="1.0" encoding="utf-8"?>
<?qbxml version="13.0"?>
<QBXML>
<QBXMLMsgsRq onError="continueOnError">
<InvoiceAddRq>
<InvoiceAdd>
<CustomerRef>
<ListID>80000003-1547478958</ListID>
<FullName>Arnett-Wessin Energy Services</FullName>
</CustomerRef>
<TemplateRef>
<ListID>80000002-1547157537</ListID>
<FullName>Intuit Professional Invoice</FullName>
</TemplateRef>
<TxnDate>2019-03-20</TxnDate>
<RefNumber>3</RefNumber>
<BillAddress />
<TermsRef>
<ListID>80000001-1547157549</ListID>
<FullName>1% 10 Net 30</FullName>
</TermsRef>
<ShipDate>2019-03-20</ShipDate>
<CustomerSalesTaxCodeRef>
<ListID>80000001-1547157549</ListID>
<FullName>G</FullName>
</CustomerSalesTaxCodeRef>
<InvoiceLineAdd>
<Desc>TEST</Desc>
</InvoiceLineAdd>
</InvoiceAdd>
</InvoiceAddRq>
</QBXMLMsgsRq>
</QBXML>
The former will error out in the QB validator saying that the order is wrong.
jsgoupil commented
Thanks.
I have fixed this issue, I just have to release the Nuget package. I will try to do that this week!
jsgoupil commented
It's published now.