如何在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
相关产品推荐
相关产品推荐

