Download the rail's document for a contract
Proxies consultar-informacoes-contrato-trabalhador (Manual 004 §2.2): the document the payroll rail holds for a contract, selected by tipoArquivo (2..5). The response is the document itself, streamed in the content type the rail declared — not a JSON envelope with base64. tipoArquivo is required and validated locally, so an out-of-domain value never spends rail quota. Nothing is cached: the value of this operation is being the rail’s current truth. The route accepts no CPF, because the rail operation has no such parameter.
GET
Download the rail's document for a contract
Parámetros de ruta
Parámetros de consulta
Respuesta
The contract document, in the content type the rail declared.
The response is of type file.

