Get the payroll summary
curl --request GET \
--url https://{your-subdomain}.neetoinvoice.com/api/external/v2/reports/payroll-summary \
--header 'X-Api-Key: <x-api-key>'const options = {method: 'GET', headers: {'X-Api-Key': '<x-api-key>'}};
fetch('https://{your-subdomain}.neetoinvoice.com/api/external/v2/reports/payroll-summary', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://{your-subdomain}.neetoinvoice.com/api/external/v2/reports/payroll-summary"
headers = {"X-Api-Key": "<x-api-key>"}
response = requests.get(url, headers=headers)
print(response.text){
"month": 9,
"year": 2026,
"working_days": 22,
"rows": [
{
"user_name": "Oliver Smith",
"user_email": "oliver@example.com",
"working_days": 22,
"present_days": 20,
"lop_days": 2
}
]
}Reports
Payroll summary
Per user, the working days (Mon-Fri) in a month, the days with time logged and the loss-of-pay (LOP) days. A working day with nothing logged is an LOP day. The full set is returned, ordered by name.
GET
/
reports
/
payroll-summary
Get the payroll summary
curl --request GET \
--url https://{your-subdomain}.neetoinvoice.com/api/external/v2/reports/payroll-summary \
--header 'X-Api-Key: <x-api-key>'const options = {method: 'GET', headers: {'X-Api-Key': '<x-api-key>'}};
fetch('https://{your-subdomain}.neetoinvoice.com/api/external/v2/reports/payroll-summary', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://{your-subdomain}.neetoinvoice.com/api/external/v2/reports/payroll-summary"
headers = {"X-Api-Key": "<x-api-key>"}
response = requests.get(url, headers=headers)
print(response.text){
"month": 9,
"year": 2026,
"working_days": 22,
"rows": [
{
"user_name": "Oliver Smith",
"user_email": "oliver@example.com",
"working_days": 22,
"present_days": 20,
"lop_days": 2
}
]
}Replace
Learn how to find your subdomain in Workspace subdomain.
{your-subdomain} with your workspace’s subdomain. Learn how to find your subdomain in Workspace subdomain.
Headers
Use the X-Api-Key header to provide your workspace API key. Refer to Authentication for more information.
Query Parameters
Month number, 1 to 12.
Year, for example 2026.
Response
200 - application/json
OK - Request succeeded
Example:
9
Example:
2026
Working days (Mon-Fri) in the month, the same for every user.
Example:
22
Hide child attributes
Hide child attributes