---
title: Serpro Similarity Return
description: Capability specific to payroll loans (INSS) and operations that require comparison against the Serpro database. Returns a similarity score between the captured selfie and the photo on file at Serpro.
canonical: https://developer.unico.io/capabilities/serpro-similarity-return
locale: en
generated_by: markdown-export
---

- [/](/)
- [Capabilities](/capabilities)
- Serpro Similarity Return

**On this pageSerpro Similarity ReturnCapability specific to payroll loans (INSS) and operations that require comparison against the Serpro database. Returns a similarity score between the captured selfie and the photo on file at Serpro.

### What it does​

The capability triggers a comparison between the session selfie and the Serpro photo associated with the provided CPF. Returns a score from 0 to 100 when the comparison is possible, or special codes (-1, -2) when Serpro can't find the face or the integration with Serpro fails.
### Inputs​

A capture session opened via [Create Process](/developers/api-reference/post-processes) with a flow that includes Serpro Similarity.
The user's CPF.
Prior tenant enablement for the Serpro capability (negotiated with the Unico Onboarding team).

### Possible responses​

ResponseMeaning**Score 0–100**When Serpro finds the face. The higher the score, the higher the similarity.**Score -1**Serpro **could not find a face** associated with the CPF.**Score -2****Integration error** with Serpro — the score could not be obtained.
Score -1 and -2 are not low scoresThey are signal codes for distinct scenarios. Treating them as if they were a zero score leads to wrong decisions.
### Availability​

Integration components requiredAPI Web or SDK
Enablement requiredEven on the supported surfaces, the tenant needs to be **enabled** for the Serpro capability. Contact Unico's Onboarding team if your operation does not yet have access.
### Valid combinations​

Serpro Similarity appears in flows that include `serpro` or are specific to payroll loans:
`idcheckserpro`, `idcheckserprodocs`, `idcheckserprodocssign`, `idunicoserprodocssign`, `creditoconsignado`.
For the full matrix, see [Available flows](/developers/start/flows).
### Products that use this capability​

### Behavior inside `creditoconsignado`​

The `creditoconsignado` flow **branches the journey** based on Serpro's return:

**Serpro positive** → goes straight to electronic signature.
**Serpro negative (-1, or low similarity)** → requests documents for facematch.

Facematch positive → proceeds to signature.
Facematch negative → the journey ends **without signature**.

This conditional behavior is part of the flow — it does not require orchestration on your back-end.Last updated on Oct 8, 2026**