> ## Documentation Index
> Fetch the complete documentation index at: https://docs.lerian.studio/llms.txt
> Use this file to discover all available pages before exploring further.

# Payroll, employment, and rail operations

> Read payroll reconciliation and employment changes, and operate the Dataprev rail connection from the Consignado CLT section of the Lender module.

This page covers the last two groups of the **Consignado CLT** section of the [Lender module](https://docs.lerian.studio/en/products/lender/console/consignado-module.md): **Payroll and employment**, and **Dataprev rail**. Each screen needs its own permission.

## Payroll and employment

***

| Screen | What it shows |
| - | - |
| **Escriturações** | What payroll escriturou for your contracts in a window you choose, with Dataprev's analysis of each record. The Console does not re-derive the analysis. A window can span two payroll months, and each record sits under its own competência. |
| **Repasses** | The CEF transfers that Dataprev included in a window, one row per registro. The three times on a row are the employer paying the guia, the money reaching your institution, and Dataprev recording it. |
| **Ended employment bonds** | The employment bonds that the rail reported as ended. Each one suspends the payroll deduction on its contract. Whether the suspension was already applied is a separate read. |
| **New employment bonds** | The workers that the rail reported with a new employment bond in a window you choose, with their consignable margin. |

Escriturações, Repasses, and New employment bonds read Dataprev. They ask for a window of at most 30 days, and nothing is asked of the rail before you choose one. An empty answer is the rail answering, not a failure. For New employment bonds, every read spends rail quota.

## Dataprev rail

***

| Screen | What it shows | What you do there |
| - | - | - |
| **Rail commands** | The rail mutations the gateway claimed before the call departed, with what the rail answered and when, newest first. | Read. A command whose window closed before the rail answered shows an outcome that nobody established. Some rail operations write nothing here, so an empty list does not prove that nothing was commanded. |
| **Event delivery** | Whether each fact that the gateway wrote has left it for the broker, and the facts it gave up on. | Requeue a fact that the gateway gave up on. |
| **Scheduled jobs** | Whether each loop that the gateway runs on a clock is running in the process that answered, how often it passes, and how its last pass went. | Read. |
| **Throughput** | How fast your organization, and no other, sends requests to the Dataprev rail, and the rates it has held. | **Adjust rate** to a whole number from 0 to the rail ceiling. Zero pauses every outbound request from your organization to Dataprev. Set a rate above zero to resume. |
| **Dataprev custody** | The status of the credentials the gateway uses with Dataprev, and when the client certificate expires. | Replace the certificate, the OAuth credentials, the solicitante code, and, where the deployment allows it, the portal base URL. **Revoke credentials** revokes the Dataprev credentials. |

The Console warns you when the client certificate is about to expire, and when it has expired. When the certificate has expired, calls to Dataprev fail. Replace the certificate.

A revocation cannot be undone from the Console. A complete upload of a new certificate and a new OAuth client opens a new custody. Rail calls fail closed while the credentials are revoked. The OAuth client secret is write-only: the Console never shows it again.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.