You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

使用Sage Intacct创建AR销售发票API时税金未显示问题

Sage Intacct Web Services API创建AR销售发票税金未显示问题

我正在使用Sage Intacct的Web Services API创建AR销售发票。XML请求中包含用于传递税金详情的特定属性,但提交后发票虽已生成且行项目正常显示,税金却未在任何位置体现。

参考信息

  • 参考文档:https://developer.intacct.com/api/accounts-receivable/invoices/#create-invoice-legacy
  • 端点URL:https://api.intacct.com/ia/xml/xmlgw.phtml

提交的XML请求

<?xml version="1.0" encoding="UTF-8"?>
<request>
  <control>
    <senderid>{{sender_id}}</senderid>
    <password>{{sender_password}}</password>
    <controlid>{{$timestamp}}</controlid>
    <uniqueid>false</uniqueid>
    <dtdversion>3.0</dtdversion>
    <includewhitespace>false</includewhitespace>
  </control>
  <operation>
    <authentication>
      <sessionid>{{session_id}}</sessionid>
    </authentication>
    <content>
        <function controlid="123456">
        <create_invoice>
          <customerid>DWL-CUS00020</customerid>
          <datecreated>
            <year>2018</year>
            <month>03</month>
            <day>31</day>
          </datecreated>
          <dateposted>
            <year>2018</year>
            <month>05</month>
            <day>31</day>
          </dateposted>
          <datedue>
            <year>2018</year>
            <month>04</month>
            <day>30</day>
          </datedue>
          <termname></termname>
          <batchkey></batchkey>
          <action>Submit</action>
          <invoiceno>TEST-21</invoiceno>
          <ponumber>OBTEST-21</ponumber>
          <description>Opening Balance</description>
          <externalid></externalid>
          <billto>
            <contactname></contactname>
          </billto>
          <shipto>
            <contactname></contactname>
          </shipto>
          <basecurr>GBP</basecurr>
          <currency>GBP</currency>
          <exchratedate>
            <year>2019</year>
            <month>04</month>
            <day>1</day>
          </exchratedate>
          <exchratetype>Goodwill and Investment by BLS Inter.</exchratetype>
          <nogl>false</nogl>
          <supdocid></supdocid>
          <customfields>
            <customfield>
              <customfieldname></customfieldname>
              <customfieldvalue></customfieldvalue>
            </customfield>
          </customfields>
          <taxsolutionid></taxsolutionid>
          <invoiceitems>
            <lineitem>
              <glaccountno>16110</glaccountno>
              <offsetglaccountno></offsetglaccountno>
              <amount>10.00</amount>
              <memo></memo>
              <locationid>Entity Name</locationid>
              <departmentid></departmentid>
              <key></key>
              <totalpaid>10.00</totalpaid>
              <totaldue>0</totaldue>
              <customfields>
                <customfield>
                  <customfieldname></customfieldname>
                  <customfieldvalue></customfieldvalue>
                </customfield>
              </customfields>
              <revrectemplate></revrectemplate>
              <defrevaccount></defrevaccount>
              <revrecstartdate>
                <year></year>
                <month></month>
                <day></day>
              </revrecstartdate>
              <revrecenddate>
                <year></year>
                <month></month>
                <day></day>
              </revrecenddate>
              <projectid></projectid>
              <customerid>DWL-CUS00020</customerid>
              <vendorid></vendorid>
              <employeeid></employeeid>
              <itemid></itemid>
              <classid></classid>
              <warehouseid></warehouseid>
              <taxentries>
                <taxentry>
                    <detailid>VAT</detailid>
                    <trx_tax>2.00</trx_tax>
                </taxentry>
              </taxentries>
            </lineitem>
          </invoiceitems>
        </create_invoice>
      </function>
    </content>
  </operation>
</request>

相关截图

  • 发票截图:发票截图
  • 税务机构截图:税务机构截图
  • 税金详情截图:税金详情截图
  • 税目映射截图:税目映射截图
  • 税目表截图:税目表截图

若需其他信息,我乐意提供。


内容的提问来源于stack exchange,提问作者Harish Kumar

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.06.25 13:55:11