Skip to main content
Error format Lerian SLC returns errors as RFC 9457 problem details with the application/problem+json media type:
Field definitions
  • type – A URI that identifies the error in the Lerian error catalog, built as https://errors.lerian.studio/v1/<code>.
  • title – The HTTP status text, for example Conflict or Unprocessable Entity. It comes from the status, not from the name of the error.
  • status – The HTTP status code, repeated from the response status line.
  • detail – An explanation specific to this occurrence. A response with status 500 or above carries the fixed text internal error, so branch on code instead of parsing this field.
  • code – The stable machine identifier, in the form SLC-NNNN. Branch on this field.
  • correlationId – The request-scoped correlation identifier, the same value as the response X-Request-Id header. Quote this value in a support request.
  • errors – A list of per-field details, each with a location, a message, and the offending value. A schema validation failure lists one entry per field.

Platform and request errors


These codes can arrive from any endpoint. Each one describes the request, the credential, or the availability of the service rather than the settlement operation itself.

Settlement operation errors


These codes come from the operations domain. They describe the settlement instruction you submitted, the original operation a cancellation targets, or the answer a reconcile received from the counterparty.

Núclea rejection codes


Núclea, the clearing house that operates the SLC, answers a submission or a return file with its own business error codes, in the form ESLCNNNN. Lerian SLC records them against the operation and hands them back unchanged. The operation detail response carries eslcErrors, an array of the recorded codes that is empty when the operation has none. It also carries lastError, the recorded codes joined into one string, or null when there are none. eslcErrors can also carry the occurrence code that an IF Domicílio returns. Each value arrives verbatim from the network, so read it as counterparty vocabulary rather than a Lerian code. Núclea defines 85 of these codes. The table below covers the ones that change what you do next.
Núclea can refuse a file submission synchronously with one of four codes: ESLC0119, ESLC0123, ESLC0140, and ESLC0161. The table above names the remedy for each code. SLC operations describes the transmit-attempt budget.
The remaining codes The rest of the catalog describes the submitted record or the participant registration. The largest families are:
  • Field domain and format – A value sits outside the domain the layout permits, or a segment carries the wrong format. Currency codes, person types, arrangement institutors, and occurrence codes appear here.
  • Registration and enrolment – A CNPJ, an ISPB, or a participant relationship differs from what Núclea holds for the acquirer.
  • Duplicate control numbers – A control number or a file name repeats one Núclea already registered.
  • Dates and reporting periods – A payment date, a reference date, or a report range sits outside what the product type permits.
  • Record state and occurrence codes – The occurrence code does not suit the current state of the record, such as a settled record or a cancelled one.
  • Return periods – The record sits inside a return period, and Núclea names the file type that carries the correction.
  • Limits and volumes – A payment amount, a file count, or a record count sits above the accepted maximum.
Núclea sends a code from these families on a line of a return file or in its verdict on a submission. Lerian SLC records it in eslcErrors on the operation. Quote the code when you raise the case with Núclea, because it is the identifier Núclea support works from.