---
title: "Payslips | Docs | Payroll by R&D Copilot"
description: "Read employee amounts and year-to-date totals."
canonical: "https://payroll.rdcopilot.com/docs/api-reference/payslips/"
language: en
updated: 2026-11-22
---

# Payslips

Read employee amounts and year-to-date totals.

## Read an employee payslip

GET `/payroll/v1/pay-runs/{runId}/payslips/{employeeId}`

### Parameters

| Name | In | Type | Required | Meaning |
| --- | --- | --- | --- | --- |
| `runId` | path | `string` | Yesrequired |  |
| `employeeId` | path | `string` | Yesrequired |  |

### Responses

| Status | Meaning | Body |
| --- | --- | --- |
| `200` | Current record. | `Payslip` |
| `401` | Token missing or invalid. | `Error` |
| `403` | The client lacks access to this company or operation. | `Error` |
| `404` | Record not found. | `Error` |
| `429` | Too many requests. The request was not processed. | `Error` |
| `503` | The service cannot answer now. | `Error` |

### Request

curl

```bash
curl "$RDC_BASE_URL/payroll/v1/pay-runs/PR-2026-11/payslips/maria-costea" \
  -H "Authorization: Bearer $RDC_TOKEN"
```

JavaScript

```javascript
const response = await fetch(`${process.env.RDC_BASE_URL}/payroll/v1/pay-runs/PR-2026-11/payslips/maria-costea`, {
  method: 'GET',
  headers: {
    Authorization: `Bearer ${process.env.RDC_TOKEN}`,
  },
});
const result = await response.json();
```

Python

```python
import os
import requests

response = requests.request(
    'GET',
    f'{os.environ["RDC_BASE_URL"]}/payroll/v1/pay-runs/PR-2026-11/payslips/maria-costea',
    headers={
        'Authorization': f'Bearer {os.environ["RDC_TOKEN"]}',
    },
)
result = response.json()
```

PHP

```php
<?php

$curl = curl_init(getenv('RDC_BASE_URL') . '/payroll/v1/pay-runs/PR-2026-11/payslips/maria-costea');
curl_setopt_array($curl, [
    CURLOPT_CUSTOMREQUEST => 'GET',
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_HTTPHEADER => [
        'Authorization: Bearer ' . getenv('RDC_TOKEN'),
    ],
]);
$result = json_decode(curl_exec($curl), true);
curl_close($curl);
```

C#

```csharp
using System.Net.Http.Headers;

var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Get, $"{Environment.GetEnvironmentVariable("RDC_BASE_URL")}/payroll/v1/pay-runs/PR-2026-11/payslips/maria-costea");
request.Headers.Authorization = new AuthenticationHeaderValue("Bearer", Environment.GetEnvironmentVariable("RDC_TOKEN"));
var response = await client.SendAsync(request);
var result = await response.Content.ReadAsStringAsync();
```

### Response `200`

JSON

```json
{
  "employeeId": "maria-costea",
  "daysWorked": 19,
  "netChange": "-292.50",
  "changeReason": "days_or_earnings",
  "earnings": {
    "base": "9500.00",
    "additions": "0.00"
  },
  "gross": "9500.00",
  "pension": "2375.00",
  "health": "950.00",
  "employeeContributions": "3325.00",
  "incomeTax": "617.50",
  "net": "5557.50",
  "employerContribution": "213.75",
  "totalCost": "9713.75",
  "paymentDate": "2026-12-04",
  "yearToDate": {
    "gross": "109500.00",
    "pension": "27375.00",
    "health": "10950.00",
    "employeeContributions": "38325.00",
    "incomeTax": "7117.50",
    "net": "64057.50",
    "employerContribution": "2463.75",
    "totalCost": "111963.75"
  }
}
```
