intuit partner platform - IPP Taxable Line -
using c# api quickbooks desktop, how mark lines taxable? here code:
invoiceline qboinvoiceline = new invoiceline(); qboinvoiceline.amount = order.shippingexcltax; qboinvoiceline.amountspecified = true; qboinvoiceline.taxable = false; qboinvoiceline.taxablespecified = false;
my xml fails specify taxable element:
<?xml version="1.0" encoding="utf-8"?> <add xmlns:xsi="http://www.w3.org/2001/xmlschema-instance" xmlns:xsd="http://www.w3.org/2001/xmlschema" requestid="8313fa49e42f432cacfcade7b0787a7a" fullresponse="true" xmlns="http://www.intuit.com/sb/cdm/v2"><externalrealmid>310582310</externalrealmid> <object xsi:type="invoice"> <header> <docnumber>1</docnumber> <txndate>2013-05-18t17:54:52.668263-04:00</txndate> <customername>web store</customername> <shipaddr> <line1>john smith</line1> <line2>21 west 52nd street</line2> <line3 /> <city>new york</city> <country>united states</country> <countrysubdivisioncode>new york</countrysubdivisioncode> <postalcode>10021</postalcode> </shipaddr> <discountamt>0</discountamt> </header> <line> <amount>1.0000</amount> <itemname>testshoe123</itemname> <unitprice>1.0000</unitprice> <qty>1</qty> </line> <line> <amount>0.0000</amount> <itemname>in-store pickup</itemname> <unitprice>0.0000</unitprice> <qty>1</qty> </line>
i needed assign salestaxcodename "tax" or "non", instead of taxable true or false.
Comments
Post a Comment