Deel · Capability
Endpoints — subpackage_reports
Endpoints — subpackage_reports. 3 operations. Lead operation: List payroll events by legal entity. Self-contained Naftiko capability covering one Deel business surface.
What You Can Do
GET
Getgplegalentityreports
— List payroll events by legal entity
/v1/gp/legal-entities/{legal-entity-id}/reports
GET
Getgpreportgrosstonet
— List gross-to-net report.
/v1/gp/reports/{id}/gross-to-net
GET
Getgpreportgrosstonetcsv
— Download gross to net report
/v1/gp/reports/{id}/gross-to-net/csv
MCP Tools
list-payroll-events-legal-entity
List payroll events by legal entity
read-only
idempotent
list-gross-net-report
List gross-to-net report.
read-only
idempotent
download-gross-net-report
Download gross to net report
read-only
idempotent
Capability Spec
naftiko: 1.0.0-alpha2
info:
label: Endpoints — subpackage_reports
description: 'Endpoints — subpackage_reports. 3 operations. Lead operation: List payroll events by legal entity. Self-contained
Naftiko capability covering one Deel business surface.'
tags:
- Deel
- subpackage_reports
created: '2026-05-19'
modified: '2026-05-19'
binds:
- namespace: env
keys:
DEEL_API_KEY: DEEL_API_KEY
capability:
consumes:
- type: http
namespace: global-payroll-endpoints-subpackage-reports
baseUri: https://api.letsdeel.com/rest/v2
description: Endpoints — subpackage_reports business capability. Self-contained, no shared references.
resources:
- name: gp-legal-entities-legal_entity_id-reports
path: /gp/legal-entities/{legal_entity_id}/reports
operations:
- name: getgplegalentityreports
method: GET
description: List payroll events by legal entity
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: legal_entity_id
in: path
type: string
description: Unique identifier for the legal entity.
required: true
- name: Authorization
in: header
type: string
description: '## Authentication'
required: true
- name: gp-reports-id-gross_to_net
path: /gp/reports/{id}/gross_to_net
operations:
- name: getgpreportgrosstonet
method: GET
description: List gross-to-net report.
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: id
in: path
type: string
description: Id of the gp payroll report.
required: true
- name: currency
in: query
type: string
description: Currency to be used in the report calculation.
- name: limit
in: query
type: number
description: Maximum number of records to return.
- name: offset
in: query
type: number
description: Offset/index of record for the next page of records to return.
- name: Authorization
in: header
type: string
description: '## Authentication'
required: true
- name: gp-reports-id-gross_to_net-csv
path: /gp/reports/{id}/gross_to_net/csv
operations:
- name: getgpreportgrosstonetcsv
method: GET
description: Download gross to net report
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: id
in: path
type: string
description: Id of the gp payroll report.
required: true
- name: currency
in: query
type: string
description: Currency to be used in the report calculation.
- name: Authorization
in: header
type: string
description: '## Authentication'
required: true
authentication:
type: bearer
token: '{{env.DEEL_API_KEY}}'
exposes:
- type: rest
namespace: global-payroll-endpoints-subpackage-reports-rest
port: 8080
description: REST adapter for Endpoints — subpackage_reports. One Spectral-compliant resource per consumed operation,
prefixed with /v1.
resources:
- path: /v1/gp/legal-entities/{legal-entity-id}/reports
name: gp-legal-entities-legal-entity-id-reports
description: REST surface for gp-legal-entities-legal_entity_id-reports.
operations:
- method: GET
name: getgplegalentityreports
description: List payroll events by legal entity
call: global-payroll-endpoints-subpackage-reports.getgplegalentityreports
with:
legal_entity_id: rest.legal_entity_id
Authorization: rest.Authorization
outputParameters:
- type: object
mapping: $.
- path: /v1/gp/reports/{id}/gross-to-net
name: gp-reports-id-gross-to-net
description: REST surface for gp-reports-id-gross_to_net.
operations:
- method: GET
name: getgpreportgrosstonet
description: List gross-to-net report.
call: global-payroll-endpoints-subpackage-reports.getgpreportgrosstonet
with:
id: rest.id
currency: rest.currency
limit: rest.limit
offset: rest.offset
Authorization: rest.Authorization
outputParameters:
- type: object
mapping: $.
- path: /v1/gp/reports/{id}/gross-to-net/csv
name: gp-reports-id-gross-to-net-csv
description: REST surface for gp-reports-id-gross_to_net-csv.
operations:
- method: GET
name: getgpreportgrosstonetcsv
description: Download gross to net report
call: global-payroll-endpoints-subpackage-reports.getgpreportgrosstonetcsv
with:
id: rest.id
currency: rest.currency
Authorization: rest.Authorization
outputParameters:
- type: object
mapping: $.
- type: mcp
namespace: global-payroll-endpoints-subpackage-reports-mcp
port: 9090
transport: http
description: MCP adapter for Endpoints — subpackage_reports. One tool per consumed operation, routed inline through this
capability's consumes block.
tools:
- name: list-payroll-events-legal-entity
description: List payroll events by legal entity
hints:
readOnly: true
destructive: false
idempotent: true
call: global-payroll-endpoints-subpackage-reports.getgplegalentityreports
with:
legal_entity_id: tools.legal_entity_id
Authorization: tools.Authorization
outputParameters:
- type: object
mapping: $.
- name: list-gross-net-report
description: List gross-to-net report.
hints:
readOnly: true
destructive: false
idempotent: true
call: global-payroll-endpoints-subpackage-reports.getgpreportgrosstonet
with:
id: tools.id
currency: tools.currency
limit: tools.limit
offset: tools.offset
Authorization: tools.Authorization
outputParameters:
- type: object
mapping: $.
- name: download-gross-net-report
description: Download gross to net report
hints:
readOnly: true
destructive: false
idempotent: true
call: global-payroll-endpoints-subpackage-reports.getgpreportgrosstonetcsv
with:
id: tools.id
currency: tools.currency
Authorization: tools.Authorization
outputParameters:
- type: object
mapping: $.