首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >IPP应课税行

IPP应课税行
EN

Stack Overflow用户
提问于 2013-05-19 06:02:00
回答 1查看 53关注 0票数 1

使用QuickBooks桌面的C#应用编程接口,如何将行标记为应纳税?下面是我的代码:

代码语言:javascript
复制
            InvoiceLine qboInvoiceLine = new InvoiceLine();
            qboInvoiceLine.Amount = order.ShippingExclTax;
            qboInvoiceLine.AmountSpecified = true;
            qboInvoiceLine.Taxable = false;
            qboInvoiceLine.TaxableSpecified = false;

我的XML没有指定计税元素:

代码语言:javascript
复制
<?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>
EN

回答 1

Stack Overflow用户

发布于 2013-05-20 04:44:25

我需要将SalesTaxCodeName赋值为"Tax“或"Non",而不是赋值为true或false。

票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/16629412

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档