Note that there are some explanatory texts on larger screens.

plurals
  1. POQBXML InvoiceAddRq and Taxes
    primarykey
    data
    text
    <p>I'm having an issue trying to get tax applied to an invoice with QBXML. I'm using SalesTaxCodeRef in InvoiceLineAdd but it doesn't seem that it's working for whatever reason. This same code worked for SalesReceiptAddRq. Am I missing a flag or something?</p> <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt; &lt;?qbxml version="11.0"?&gt;&lt;QBXML&gt; &lt;QBXMLMsgsRq onError="stopOnError"&gt; &lt;InvoiceAddRq requestID="c16d1753af62163f3891551c07a1eed493bb291a"&gt; &lt;InvoiceAdd&gt; &lt;CustomerRef&gt; &lt;FullName&gt;Customers FullName&lt;/FullName&gt; &lt;/CustomerRef&gt; &lt;TemplateRef&gt; &lt;FullName&gt;Default Template&lt;/FullName&gt; &lt;/TemplateRef&gt; &lt;TxnDate&gt;2013-07-31&lt;/TxnDate&gt; &lt;RefNumber&gt;12324&lt;/RefNumber&gt; &lt;BillAddress&gt; &lt;Addr1&gt;Customers FullName&lt;/Addr1&gt; &lt;Addr2&gt;123 Test Dr&lt;/Addr2&gt; &lt;Addr3&gt;&lt;/Addr3&gt; &lt;City&gt;Customer City&lt;/City&gt; &lt;State&gt;AL&lt;/State&gt; &lt;PostalCode&gt;12323&lt;/PostalCode&gt; &lt;Country&gt;US&lt;/Country&gt; &lt;/BillAddress&gt; &lt;ShipAddress&gt; &lt;Addr1&gt;Customers FullName&lt;/Addr1&gt; &lt;Addr2&gt;123 Test Dr&lt;/Addr2&gt; &lt;Addr3&gt;&lt;/Addr3&gt; &lt;City&gt;Customer City&lt;/City&gt; &lt;State&gt;AL&lt;/State&gt; &lt;PostalCode&gt;12323&lt;/PostalCode&gt; &lt;Country&gt;US&lt;/Country&gt; &lt;/ShipAddress&gt; &lt;IsPending&gt;false&lt;/IsPending&gt; &lt;IsToBePrinted&gt;false&lt;/IsToBePrinted&gt; &lt;IsToBeEmailed&gt;false&lt;/IsToBeEmailed&gt; &lt;InvoiceLineAdd&gt; &lt;ItemRef&gt; &lt;ListID&gt;80000540-1339572998&lt;/ListID&gt; &lt;/ItemRef&gt; &lt;Desc&gt;Item Desc&lt;/Desc&gt; &lt;Quantity&gt;1&lt;/Quantity&gt; &lt;Rate&gt;39.27&lt;/Rate&gt; &lt;SalesTaxCodeRef&gt; &lt;FullName&gt;SBT&lt;/FullName&gt; &lt;/SalesTaxCodeRef&gt; &lt;/InvoiceLineAdd&gt; &lt;/InvoiceAdd&gt; &lt;/InvoiceAddRq&gt; &lt;/QBXMLMsgsRq&gt; &lt;/QBXML&gt; </code></pre>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload