# UUID for employee payslips/payroll events/g2n report

**URL:** <https://stack.deel.com/t/uuid-for-employee-payslips-payroll-events-g2n-report/378>\
**Category:** Q&A\
**Tags:** api\
**Created:** [February 17, 2025, 8:41am UTC](https://stack.deel.com/t/uuid-for-employee-payslips-payroll-events-g2n-report/378 "2025-02-17T08:41:27Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![hug.f](https://avatars.discourse-cdn.com/v4/letter/h/779978/32.png) [@hug.f](https://stack.deel.com/u/hug.f)\
**Post date:** [February 17, 2025, 8:41am UTC](https://stack.deel.com/t/uuid-for-employee-payslips-payroll-events-g2n-report/378/1 "2025-02-17T08:41:27Z")

</div>

Hello,

I can’t find the IDs/UUIDs required to for several roots, can you please clarify where to find the IDs needed for the following:

1. **Retrieve employee payslips** ([https://api.letsdeel.com/rest/v2/gp/workers/{id}/payslips](https://api.letsdeel.com/rest/v2/gp/workers/%7Bid%7D/payslips))  
It says “Unique identifier for the worker.”, I used the worker UUID from “List of contracts” but it returns error 400

2. **List payroll events by legal entity** ([https://api.letsdeel.com/rest/v2/gp/legal-entities/{id}/reports](https://api.letsdeel.com/rest/v2/gp/legal-entities/%7Bid%7D/reports))  
It says “Unique identifier for the legal entity.”, I used the legal entity UUID from “List of legal entities” but it returns error 400

3. **List gross-to-net report** (can’t put the link I’m blocked…)  
I don’t know where to find “Unique identifier for the payroll report in UUID format.”

Thank you in advance for your help  
Yours sincerely

---

<div class="post-metadata">

**Author:** ![Gabriela\_Deel](https://avatars.discourse-cdn.com/v4/letter/g/ecae2f/32.png) [@Gabriela\_Deel](https://stack.deel.com/u/Gabriela_Deel)\
**Post date:** [June 9, 2025, 9:27am UTC](https://stack.deel.com/t/uuid-for-employee-payslips-payroll-events-g2n-report/378/2 "2025-06-09T09:27:33Z")

</div>

Hello @hug.f

1. To retrieve the worker id, you can rely on [/people](https://developer.deel.com/reference/getpeoplelist) API

2. You can use [/legal-entities](https://developer.deel.com/reference/getlegalentitylist) to retrieve the list of Legal Entities and their id information

3. Please call [/reports](https://developer.deel.com/reference/getgplegalentities) with the legal entity id, to retrieve the payroll event id. With this info you will be able to download the G2N report

All the best,  
Gabriela
