Read the payroll escrituração records included in a window
Reads the rail’s consultar-escrituracoes-remuneracoes (Manual 005 v1.13 §3.3): every escrituração record included in the inclusion window, each carrying its OWN competência and Dataprev’s pre-computed analise verdict, relayed verbatim. The window is mandatory and capped at 30 days by the rail (code GR); this gateway refuses a wider window locally. The read writes nothing: the reconciliation job’s per-record done-keys are untouched, so a record read here is still delivered as a fact by the job.
Authorizations
JWT bearer token issued by the identity provider.
Query Parameters
Inclusion window start, RFC 3339 (rail dataHoraInicio, Obrigatório Sim — Manual 005 v1.13 §3.3.1 p.20 / §3.4.1 p.26).
"2026-07-01T00:00:00Z"
Inclusion window end, RFC 3339 (rail dataHoraFim, Obrigatório Sim). The span must not exceed 30 days — the rail answers code GR above that (Manual 005 v1.13 §4.1 p.29), and this gateway refuses 422 locally so the attempt costs no rail quota.
"2026-07-30T00:00:00Z"
Response
OK
The escrituração records included in the window. Each carries its OWN competência — there is no envelope-level competência because one window routinely spans two payroll months. An empty list is the rail's answer, not an error.

