Xero工资单列表

huangapple go评论65阅读模式
英文:

Xero Payslip List

问题

我可以通过这个API获取工资单的信息:

GET https://api.xero.com/payroll.xro/1.0/Payslip/5037f8ef-e9b5-40a6-9ec1-0f6f7ebb4787.

但我需要所有工资单列表的API,因为我想将此API集成到我的系统中,并按员工方式获取我的Xero组织的所有工资单。

是否可能?如果可能,该如何实现?请协助我。

谢谢。

英文:

I can get a payslip's information by this api

GET https://api.xero.com/payroll.xro/1.0/Payslip/5037f8ef-e9b5-40a6-9ec1-0f6f7ebb4787.

But I need all the payslip list's api. Beacuse I want to integrate this api in my system and get all the payslip for my xero organaigation aslo in employee wise.

Is it possible? If Possible then how? Please assist me.

Thanks.

I can get a payslip's information by this api

GET https://api.xero.com/payroll.xro/1.0/Payslip/5037f8ef-e9b5-40a6-9ec1-0f6f7ebb4787.

答案1

得分: 1

目前无法通过单一调用获取所有工资单的列表。

您需要首先调用支付流程终端点以获取支付流程ID,然后针对您感兴趣的期间对每个支付流程ID进行调用以获取工资单ID的列表,然后分别查询每个工资单。

英文:

It is not currently possible to get a list of all payslips as a single call.

You need to first make a call to the payruns endpoint to get a payrun id, make a call to each pay run id for the period you are interested in to get a list of payslip ids and then query each of these separately.

huangapple
  • 本文由 发表于 2023年5月22日 12:19:27
  • 转载请务必保留本文链接:https://go.coder-hub.com/76303018.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定