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

如何在Xero生成发票编号与ID后同步更新并实现发票匹配?

Xero发票同步匹配问题

我需要向Xero发送2份基础发票,由Xero生成发票编号(Invoice Nr)和发票ID(InvoiceId)并返回,以此更新我方系统数据。但发送请求后,我方IDE会创建新根节点,导致后续匹配困难。想咨询是否可以在发送发票时附带自定义GUID,用于后续的信息匹配和更新?之前试过用客户信息+金额的方式做匹配,但效果不好。

附上请求代码:

{ 
  "Invoices": [ 
    { 
      "Type": "ACCREC", 
      "Contact": { "ContactID": "XYZ" }, 
      "Status": "AUTHORISED", 
      "LineItems": [ 
        { 
          "Description": "16 Jul 2024 transport ", 
          "Quantity": "28", 
          "UnitAmount": "190", 
          "LineAmount": "5351.", 
          "AccountCode": "200" 
        } 
      ] 
    }, 
    { 
      "Type": "ACCREC", 
      "Contact": { "ContactID": "ABC" }, 
      "Status": "AUTHORISED", 
      "LineItems": [ 
        { 
          "Description": "16 Jul 2024 transport TCI U 316377 8123", 
          "Quantity": "30.005", 
          "UnitAmount": "190", 
          "LineAmount": "5700.95", 
          "AccountCode": "200" 
        } 
      ] 
    } 
  ] 
}

内容的提问来源于stack exchange,提问作者Jason Teunissen

相关产品推荐
方舟 Agent Plan

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

最近更新时间:2026.06.20 19:37:33