# Labor

## Labor Debts (PJ98)

Returns the result of the issue of the Labor Debt Clearance Certificate for a given CNPJ

**Section:** `pjLaborDebts`

**Required parameter:** `cnpj`

{% tabs %}
{% tab title="Schema" %}
| Attribute                | Type   | Description                                                |
| ------------------------ | ------ | ---------------------------------------------------------- |
| statusCode               | String | Query status ([details](../../data-structure#status-code)) |
| data                     | Object | Return data                                                |
| data.message             | String | Return message                                             |
| data.status              | String | Status ("CONSTA", "NADA CONSTA")                           |
| data.certificateNumber   | String | Certificate number                                         |
| data.certificateValidity | String | Certificate validity                                       |
{% endtab %}

{% tab title="Example" %}
```json
{
  "statusCode": "X0",
  "data": {
    "message": "Message",
    "status": "CONSTA",
    "certificateNumber": "X0",
    "certificateValidity": ""
  }
}
```
{% endtab %}

{% tab title="Validations Rules" %}
| Rule                  | Description                                        |
| --------------------- | -------------------------------------------------- |
| has\_no\_labor\_debts | The rule will be invalid if there are labor debts. |
{% endtab %}
{% endtabs %}
