从发票中检索 Xero会计工作编号

问题描述

我是 Xero 的新手,不确定如何从发票详细信息中获取工作编号。所有发票都与我们系统中的工作编号相关联。不幸的是,我没有将工作编号视为一个单独的字段,而是作为描述的一部分。 请参阅下面的屏幕截图。

enter image description here

我正在使用 Xero .net SDK 从 Xero 获取数据,我能够获取联系人、发票和采购订单,但现在我需要从发票中获取工作编号。我们如何才能做到这一点?

当我使用发票 ID 查询单个发票时,我会在列表中获取行项目,但其中也没有包含工作编号的描述,因此我可以从描述中提取该信息。我可能错了请纠正我获取工作号的正确方法是什么。

这是我用来获取代码获取访问令牌的范围的登录 URL

https://login.xero.com/identity/connect/authorize?response_type=code&client_id=4F6E00D21C2A4575877A34C37AA0000D&redirect_uri=https://localhost:5050&scope=openid profile email files accounting.transactions accounting.transactions.read accounting.reports.read accounting.journals.read accounting.settings accounting.settings.read accounting.contacts accounting.contacts.read accounting.attachments accounting.attachments.read offline_access payroll.employees payroll.payruns payroll.payslip payroll.settings payroll.timesheets assets&state=123&code_challenge=H6E6d30D7iYVRdVu3twjE5lX2APLAf1E2z4FO$AQZNU&code_challenge_method=S256

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)