# Quod Restrições e Passagens PJ

Negativações, ações judiciais, falência e recuperação judicial, cheques sem fundos (CCF), protestos e consultas anteriores (passagens) do CNPJ.

- **Identificador:** `empresas/quod-restricoes-e-passagens-pj`
- **Categoria:** Crédito, renda e birô
- **Audiência:** PJ
- **Endpoint:** `POST /api/v1/{tenant}/empresas/quod-restricoes-e-passagens-pj`
- **Preço de tabela:** R$ 3,470 por consulta bem-sucedida
- **Página:** https://www.proteo.com.br/api/consultas/empresas/quod-restricoes-e-passagens-pj

## Quando usar

Descrição

O serviço Quod Restrições e Passagens PJ retorna as restrições registradas para a empresa em seis tipos: negativações, ações judiciais, falência e recuperação judicial, cheques sem fundos (CCF), protestos e consultas à base Quod (passagens). Para cada tipo, mostra a quantidade de ocorrências, o valor total (nos tipos que trazem valor) e se consta ou não alguma ocorrência, com o detalhamento em tabelas, como processos, cartórios de protesto e consultas anteriores nos últimos 12 meses.

Por padrão a data de referência é a de hoje; a opção "Data de referência fixa" permite informar outra data.

## Parâmetros (corpo JSON)

| Campo | Obrigatório | Descrição |
|---|---|---|
| `document` | sim | CNPJ da empresa, com ou sem máscara. |

## Campos de retorno (`data`)

| Campo | Tipo |
|---|---|
| `VerifiQPJResponseEx.Response.Header.Status` | número |
| `VerifiQPJResponseEx.Response.Header.QueryId` | texto |
| `VerifiQPJResponseEx.Response.Header.TransactionId` | texto |
| `VerifiQPJResponseEx.Response.Records.QdpjVerifiQPJOutput[].CNPJ` | texto |
| `VerifiQPJResponseEx.Response.Records.QdpjVerifiQPJOutput[].DateReference` | texto |
| `VerifiQPJResponseEx.Response.Records.QdpjVerifiQPJOutput[].Restrictive.Negative.Apontamentos.Apontamento[].CpfCnpj` | texto |
| `VerifiQPJResponseEx.Response.Records.QdpjVerifiQPJOutput[].Restrictive.Negative.Apontamentos.Apontamento[].DateReference.Year` | texto |
| `VerifiQPJResponseEx.Response.Records.QdpjVerifiQPJOutput[].Restrictive.Negative.Apontamentos.Apontamento[].DateReference.Month` | texto |
| `VerifiQPJResponseEx.Response.Records.QdpjVerifiQPJOutput[].Restrictive.Negative.Apontamentos.Apontamento[].DateReference.Day` | texto |
| `VerifiQPJResponseEx.Response.Records.QdpjVerifiQPJOutput[].Restrictive.Negative.Apontamentos.Apontamento[].CountApontamento` | texto |
| `VerifiQPJResponseEx.Response.Records.QdpjVerifiQPJOutput[].Restrictive.Negative.Apontamentos.Apontamento[].AmountTotal` | texto |
| `VerifiQPJResponseEx.Response.Records.QdpjVerifiQPJOutput[].Restrictive.Negative.Apontamentos.Apontamento[].Situation` | texto |
| `VerifiQPJResponseEx.Response.Records.QdpjVerifiQPJOutput[].Restrictive.Negative.LawSuitLevelsApontamentos.LawSuitLevelsApontamento[].DateReference.Year` | texto |
| `VerifiQPJResponseEx.Response.Records.QdpjVerifiQPJOutput[].Restrictive.Negative.LawSuitLevelsApontamentos.LawSuitLevelsApontamento[].DateReference.Month` | texto |
| `VerifiQPJResponseEx.Response.Records.QdpjVerifiQPJOutput[].Restrictive.Negative.LawSuitLevelsApontamentos.LawSuitLevelsApontamento[].DateReference.Day` | texto |
| `VerifiQPJResponseEx.Response.Records.QdpjVerifiQPJOutput[].Restrictive.Negative.LawSuitLevelsApontamentos.LawSuitLevelsApontamento[].CountLawsuits` | texto |
| `VerifiQPJResponseEx.Response.Records.QdpjVerifiQPJOutput[].Restrictive.Negative.LawSuitLevelsApontamentos.LawSuitLevelsApontamento[].AmountLawsuitTotal` | texto |
| `VerifiQPJResponseEx.Response.Records.QdpjVerifiQPJOutput[].Restrictive.Negative.LawSuitLevelsApontamentos.LawSuitLevelsApontamento[].Situation` | texto |
| `VerifiQPJResponseEx.Response.Records.QdpjVerifiQPJOutput[].Restrictive.Negative.LawSuitLevelsApontamentos.LawSuitLevelsApontamento[].LawSuitDetails.LawSuitDetail[].ProcessNumber` | texto |
| `VerifiQPJResponseEx.Response.Records.QdpjVerifiQPJOutput[].Restrictive.Negative.LawSuitLevelsApontamentos.LawSuitLevelsApontamento[].LawSuitDetails.LawSuitDetail[].Comarca` | texto |
| `VerifiQPJResponseEx.Response.Records.QdpjVerifiQPJOutput[].Restrictive.Negative.LawSuitLevelsApontamentos.LawSuitLevelsApontamento[].LawSuitDetails.LawSuitDetail[].Forum` | texto |
| `VerifiQPJResponseEx.Response.Records.QdpjVerifiQPJOutput[].Restrictive.Negative.LawSuitLevelsApontamentos.LawSuitLevelsApontamento[].LawSuitDetails.LawSuitDetail[].Vara` | texto |
| `VerifiQPJResponseEx.Response.Records.QdpjVerifiQPJOutput[].Restrictive.Negative.LawSuitLevelsApontamentos.LawSuitLevelsApontamento[].LawSuitDetails.LawSuitDetail[].Name` | texto |
| `VerifiQPJResponseEx.Response.Records.QdpjVerifiQPJOutput[].Restrictive.Negative.LawSuitLevelsApontamentos.LawSuitLevelsApontamento[].LawSuitDetails.LawSuitDetail[].DateDistribution.Year` | texto |
| `VerifiQPJResponseEx.Response.Records.QdpjVerifiQPJOutput[].Restrictive.Negative.LawSuitLevelsApontamentos.LawSuitLevelsApontamento[].LawSuitDetails.LawSuitDetail[].DateDistribution.Month` | texto |
| `VerifiQPJResponseEx.Response.Records.QdpjVerifiQPJOutput[].Restrictive.Negative.LawSuitLevelsApontamentos.LawSuitLevelsApontamento[].LawSuitDetails.LawSuitDetail[].DateDistribution.Day` | texto |
| `VerifiQPJResponseEx.Response.Records.QdpjVerifiQPJOutput[].Restrictive.Negative.LawSuitLevelsApontamentos.LawSuitLevelsApontamento[].LawSuitDetails.LawSuitDetail[].ProcessType` | texto |
| `VerifiQPJResponseEx.Response.Records.QdpjVerifiQPJOutput[].Restrictive.Negative.LawSuitLevelsApontamentos.LawSuitLevelsApontamento[].LawSuitDetails.LawSuitDetail[].ProcessAuthor` | texto |
| `VerifiQPJResponseEx.Response.Records.QdpjVerifiQPJOutput[].Restrictive.Negative.LawSuitLevelsApontamentos.LawSuitLevelsApontamento[].LawSuitDetails.LawSuitDetail[].City` | texto |
| `VerifiQPJResponseEx.Response.Records.QdpjVerifiQPJOutput[].Restrictive.Negative.LawSuitLevelsApontamentos.LawSuitLevelsApontamento[].LawSuitDetails.LawSuitDetail[].State` | texto |
| `VerifiQPJResponseEx.Response.Records.QdpjVerifiQPJOutput[].Restrictive.Negative.LawSuitLevelsApontamentos.LawSuitLevelsApontamento[].LawSuitDetails.LawSuitDetail[].JusticeType` | texto |
| `VerifiQPJResponseEx.Response.Records.QdpjVerifiQPJOutput[].Restrictive.Negative.LawSuitLevelsApontamentos.LawSuitLevelsApontamento[].LawSuitDetails.LawSuitDetail[].CpfCnpj` | texto |
| `VerifiQPJResponseEx.Response.Records.QdpjVerifiQPJOutput[].Restrictive.Negative.LawSuitBankruptApontamentos.LawSuitBankruptApontamento[].DateReference.Year` | texto |
| `VerifiQPJResponseEx.Response.Records.QdpjVerifiQPJOutput[].Restrictive.Negative.LawSuitBankruptApontamentos.LawSuitBankruptApontamento[].DateReference.Month` | texto |
| `VerifiQPJResponseEx.Response.Records.QdpjVerifiQPJOutput[].Restrictive.Negative.LawSuitBankruptApontamentos.LawSuitBankruptApontamento[].DateReference.Day` | texto |
| `VerifiQPJResponseEx.Response.Records.QdpjVerifiQPJOutput[].Restrictive.Negative.LawSuitBankruptApontamentos.LawSuitBankruptApontamento[].CountLawsuits` | texto |
| `VerifiQPJResponseEx.Response.Records.QdpjVerifiQPJOutput[].Restrictive.Negative.LawSuitBankruptApontamentos.LawSuitBankruptApontamento[].AmountLawsuitTotal` | texto |
| `VerifiQPJResponseEx.Response.Records.QdpjVerifiQPJOutput[].Restrictive.Negative.LawSuitBankruptApontamentos.LawSuitBankruptApontamento[].Situation` | texto |
| `VerifiQPJResponseEx.Response.Records.QdpjVerifiQPJOutput[].Restrictive.Negative.CCFApontamentos.CCFApontamento[].DateReference.Year` | texto |
| `VerifiQPJResponseEx.Response.Records.QdpjVerifiQPJOutput[].Restrictive.Negative.CCFApontamentos.CCFApontamento[].DateReference.Month` | texto |
| `VerifiQPJResponseEx.Response.Records.QdpjVerifiQPJOutput[].Restrictive.Negative.CCFApontamentos.CCFApontamento[].DateReference.Day` | texto |
| `VerifiQPJResponseEx.Response.Records.QdpjVerifiQPJOutput[].Restrictive.Negative.CCFApontamentos.CCFApontamento[].CountBounceTotal` | texto |
| `VerifiQPJResponseEx.Response.Records.QdpjVerifiQPJOutput[].Restrictive.Negative.CCFApontamentos.CCFApontamento[].Situation` | texto |
| `VerifiQPJResponseEx.Response.Records.QdpjVerifiQPJOutput[].Restrictive.Inquiries.CNPJ` | texto |
| `VerifiQPJResponseEx.Response.Records.QdpjVerifiQPJOutput[].Restrictive.Inquiries.DateReference.Year` | texto |
| `VerifiQPJResponseEx.Response.Records.QdpjVerifiQPJOutput[].Restrictive.Inquiries.DateReference.Month` | texto |
| `VerifiQPJResponseEx.Response.Records.QdpjVerifiQPJOutput[].Restrictive.Inquiries.DateReference.Day` | texto |
| `VerifiQPJResponseEx.Response.Records.QdpjVerifiQPJOutput[].Restrictive.Inquiries.InquiryCount12Months` | número |
| `VerifiQPJResponseEx.Response.Records.QdpjVerifiQPJOutput[].Restrictive.Inquiries.Situation` | texto |
| `VerifiQPJResponseEx.Response.Records.QdpjVerifiQPJOutput[].Restrictive.Inquiries.InquiryDetails.InquiryDetail[].SourceCnpj` | texto |
| `VerifiQPJResponseEx.Response.Records.QdpjVerifiQPJOutput[].Restrictive.Inquiries.InquiryDetails.InquiryDetail[].SourceName` | texto |
| `VerifiQPJResponseEx.Response.Records.QdpjVerifiQPJOutput[].Restrictive.Inquiries.InquiryDetails.InquiryDetail[].SourceActivity` | texto |
| `VerifiQPJResponseEx.Response.Records.QdpjVerifiQPJOutput[].Restrictive.Inquiries.InquiryDetails.InquiryDetail[].DateInquiry.Year` | texto |
| `VerifiQPJResponseEx.Response.Records.QdpjVerifiQPJOutput[].Restrictive.Inquiries.InquiryDetails.InquiryDetail[].DateInquiry.Month` | texto |
| `VerifiQPJResponseEx.Response.Records.QdpjVerifiQPJOutput[].Restrictive.Inquiries.InquiryDetails.InquiryDetail[].InquiryCount` | número |
| `VerifiQPJResponseEx.Response.Records.QdpjVerifiQPJOutput[].Restrictive.Protests.Protest[].CpfCnpj` | texto |
| `VerifiQPJResponseEx.Response.Records.QdpjVerifiQPJOutput[].Restrictive.Protests.Protest[].DataConsulta` | texto |
| `VerifiQPJResponseEx.Response.Records.QdpjVerifiQPJOutput[].Restrictive.Protests.Protest[].QuantidadeProtestos` | texto |
| `VerifiQPJResponseEx.Response.Records.QdpjVerifiQPJOutput[].Restrictive.Protests.Protest[].ValorTotalProtestos` | texto |
| `VerifiQPJResponseEx.Response.Records.QdpjVerifiQPJOutput[].Restrictive.Protests.Protest[].Situacao` | texto |
| `VerifiQPJResponseEx.Response.Records.QdpjVerifiQPJOutput[].Restrictive.Protests.Protest[].Protests.Conteudo[].codigo_cartorio` | texto |
| `VerifiQPJResponseEx.Response.Records.QdpjVerifiQPJOutput[].Restrictive.Protests.Protest[].Protests.Conteudo[].nome` | texto |
| `VerifiQPJResponseEx.Response.Records.QdpjVerifiQPJOutput[].Restrictive.Protests.Protest[].Protests.Conteudo[].telefone` | texto |
| `VerifiQPJResponseEx.Response.Records.QdpjVerifiQPJOutput[].Restrictive.Protests.Protest[].Protests.Conteudo[].uf` | texto |
| `VerifiQPJResponseEx.Response.Records.QdpjVerifiQPJOutput[].Restrictive.Protests.Protest[].Protests.Conteudo[].cidade` | texto |
| `VerifiQPJResponseEx.Response.Records.QdpjVerifiQPJOutput[].Restrictive.Protests.Protest[].Protests.Conteudo[].protestos` | texto |
| `VerifiQPJResponseEx.Response.Records.QdpjVerifiQPJOutput[].Restrictive.Protests.Protest[].Protests.Conteudo[].valor_protestado` | texto |

## Exemplo de resposta (valores fictícios)

```json
{
  "execution_id": "00000000-0000-0000-0000-000000000000",
  "status": "success",
  "message": "Consulta realizada com sucesso",
  "query_name": "Quod Restrições e Passagens PJ",
  "query_slug": "quod-restricoes-e-passagens-pj",
  "data": {
    "VerifiQPJResponseEx": {
      "Response": {
        "Header": {
          "Status": 0,
          "QueryId": "texto",
          "TransactionId": "texto"
        },
        "Records": {
          "QdpjVerifiQPJOutput": [
            {
              "CNPJ": "texto",
              "DateReference": "texto",
              "Restrictive": {
                "Negative": {
                  "Apontamentos": {
                    "Apontamento": [
                      {
                        "CpfCnpj": "texto",
                        "DateReference": {
                          "Year": "texto",
                          "Month": "texto",
                          "Day": "texto"
                        },
                        "CountApontamento": "texto",
                        "AmountTotal": "texto",
                        "Situation": "texto"
                      }
                    ]
                  },
                  "LawSuitLevelsApontamentos": {
                    "LawSuitLevelsApontamento": [
                      {
                        "DateReference": {
                          "Year": "texto",
                          "Month": "texto",
                          "Day": "texto"
                        },
                        "CountLawsuits": "texto",
                        "AmountLawsuitTotal": "texto",
                        "Situation": "texto",
                        "LawSuitDetails": {
                          "LawSuitDetail": [
                            {
                              "ProcessNumber": "texto",
                              "Comarca": "texto",
                              "Forum": "texto",
                              "Vara": "texto",
                              "Name": "texto",
                              "DateDistribution": {
                                "Year": "texto",
                                "Month": "texto",
                                "Day": "texto"
                              },
                              "ProcessType": "texto",
                              "ProcessAuthor": "texto",
                              "City": "texto",
                              "State": "texto",
                              "JusticeType": "texto",
                              "CpfCnpj": "texto"
                            }
                          ]
                        }
                      }
                    ]
                  },
                  "LawSuitBankruptApontamentos": {
                    "LawSuitBankruptApontamento": [
                      {
                        "DateReference": {
                          "Year": "texto",
                          "Month": "texto",
                          "Day": "texto"
                        },
                        "CountLawsuits": "texto",
                        "AmountLawsuitTotal": "texto",
                        "Situation": "texto"
                      }
                    ]
                  },
                  "CCFApontamentos": {
                    "CCFApontamento": [
                      {
                        "DateReference": {
                          "Year": "texto",
                          "Month": "texto",
                          "Day": "texto"
                        },
                        "CountBounceTotal": "texto",
                        "Situation": "texto"
                      }
                    ]
                  }
                },
                "Inquiries": {
                  "CNPJ": "texto",
                  "DateReference": {
                    "Year": "texto",
                    "Month": "texto",
                    "Day": "texto"
                  },
                  "InquiryCount12Months": 0,
                  "Situation": "texto",
                  "InquiryDetails": {
                    "InquiryDetail": [
                      {
                        "SourceCnpj": "texto",
                        "SourceName": "texto",
                        "SourceActivity": "texto",
                        "DateInquiry": {
                          "Year": "texto",
                          "Month": "texto"
                        },
                        "InquiryCount": 0
                      }
                    ]
                  }
                },
                "Protests": {
                  "Protest": [
                    {
                      "CpfCnpj": "texto",
                      "DataConsulta": "texto",
                      "QuantidadeProtestos": "texto",
                      "ValorTotalProtestos": "texto",
                      "Situacao": "texto",
                      "Protests": {
                        "Conteudo": [
                          {
                            "codigo_cartorio": "texto",
                            "nome": "texto",
                            "telefone": "texto",
                            "uf": "texto",
                            "cidade": "texto",
                            "protestos": "texto",
                            "valor_protestado": "texto"
                          }
                        ]
                      }
                    }
                  ]
                }
              }
            }
          ]
        }
      }
    }
  },
  "consulted_at": "2026-01-01T12:00:00Z",
  "query_cost": "3.470"
}
```
