- DOCUMENTAÇÃO
- KLEVER SASS REST CLIENT API
- login
- v1
- accompaniment
- Cria um novo acompanhamento.
- Obter todas as empresas de suporte para uma organização.
- Obter pontuação das alertas de empresas em acompanhamento por ID da organização e cnpj.
- Aplicar alertas dinâmicas por id da organização e cnpj, alertas manuais aplicados também são retornados.
- Aplicar todos os vetos dinâmicos por ID da organização e CNPJ.
- credit_analysis
- report
- methodk
- certificate
- document_ocr
- fiscal_notes
- sped
- power_attorney
- serasa
- scr
- company
- Adicionar lista de empresas.
- Adicionar empresa dado o cnpj.
- Obter os dados de uma empresa dado o cnpj.
- Obter as imagens de geolocalização para um cnpj.
- Obter todas as informações de uma empresa por cnpj
- Atualizar dados de uma empresa dado o cnpj.
- Obter as empresas da organização ativa.
- Excluir empresa a partir do Cnpj.
- Obter todas as informações de uma empresa por cnpj v2
- v2
- Acompanhamento
- Reportes
- Certificado Digital
- OnDemand
- Empresas
- Certificados de Debitos
- Sanções
- Pessoas
- Scr
- Protestos
- Kyc
- Processos Judiciais
- Ibge
- Documento de análise
- Notas Fiscais.
- Sped
- Documentos de análise.
- Obter os dados de OCR IRPF pelo id.
- Gerar OCR do documento IRPF
- Gerar OCR do documento IRPF with Hook
- Obter listagem de documentos da empresa ou pessoa pelo documento.
- Enviar documento de análise (PDF).
- Obter os dados de faturamento pelo documento.
- Obter endividamento pelo documento.
- Obter os dados de IRPF pelo documento.
- Balances
Gerar Método K.
Prod Env
https://api.klever.tec.br/api
Prod Env
https://api.klever.tec.br/api
POST
/external_resource/methodk
External Resource
Requisição
Authorization
Forneça seu token bearer no cabeçalho
Authorization
ao fazer requisições para recursos protegidos.Exemplo:
Authorization: Bearer ********************
Parâmetros Bodyapplication/json
Os dados para solicitar o método k.
cnpj
string
requerido
newAnalysis
boolean
opcional
Exemplo
{
"cnpj": "string",
"newAnalysis": true
}
Exemplos de Requisição
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.klever.tec.br/api/external_resource/methodk' \
--header 'Content-Type: application/json' \
--data-raw '{
"cnpj": "string",
"newAnalysis": true
}'
Respostas
🟢200OK
application/json
Body
analysis
array[object (MethodKScoreAnalysisDto) {3}]
opcional
operations
object
opcional
total
number <double>
opcional
type
enum<string>
opcional
Valores permitidos:
STRENGTHREGISTERHABITUALITYALLBALANCEDEMOSTRATION
balances
array[object (MethodKBalanceDto) {3}]
opcional
description
enum<string>
opcional
Valores permitidos:
AVAILABILITYCP_CUSTOMERSSTOCKOTHER_ASSETSCURRENT_ASSETSLP_CUSTOMERSNON_CURRENT_ASSETSPERMANENTTOTAL_ASSETSCP_SUPPLIERSCP_BANKSOTHER_PASSIVESCURRENT_PASSIVESLP_BANKSNON_CURRENT_PASSIVESREFPLTOTAL_PASSIVESCCLNCGNET_DEBTGENERAL_INDEBTEDNESSNET_REVENUECMVOPERATIONAL_EXPENSESEBITDADEPRECIATION_AMORTIZATION_EXPENSESOPERATING_PROFITFINANCIAL_RESULTTAXESLIQUID_PROFITDL_EBITDAEBITDA_PERCENTLL_PERCENT
endDate
string <date>
opcional
endValue
number <double>
opcional
cnae
string
opcional
cnpj
string
opcional
created
string <date-time>
opcional
demonstrations
array[object (MethodKBalanceDto) {3}]
opcional
description
enum<string>
opcional
Valores permitidos:
AVAILABILITYCP_CUSTOMERSSTOCKOTHER_ASSETSCURRENT_ASSETSLP_CUSTOMERSNON_CURRENT_ASSETSPERMANENTTOTAL_ASSETSCP_SUPPLIERSCP_BANKSOTHER_PASSIVESCURRENT_PASSIVESLP_BANKSNON_CURRENT_PASSIVESREFPLTOTAL_PASSIVESCCLNCGNET_DEBTGENERAL_INDEBTEDNESSNET_REVENUECMVOPERATIONAL_EXPENSESEBITDADEPRECIATION_AMORTIZATION_EXPENSESOPERATING_PROFITFINANCIAL_RESULTTAXESLIQUID_PROFITDL_EBITDAEBITDA_PERCENTLL_PERCENT
endDate
string <date>
opcional
endValue
number <double>
opcional
fantasyName
string
opcional
habituality
integer <int32>
opcional
habitualityWeight
integer <int32>
opcional
indicativeOperation
object (IndicativeOperationDto)
opcional
gracePeriod
integer <int32>
opcional
grossBreakeven
number <double>
opcional
liquidBreakeven
number <double>
opcional
operations
object
opcional
requestedVolume
number <double>
opcional
term
integer <int32>
opcional
typeOfGuarantee
enum<string>
opcional
Valores permitidos:
NONEAVALDISCOUNTRECEITAREPROVED
volume
string
opcional
municipality
string
opcional
openingDate
string <date-time>
opcional
organizationId
string
opcional
quantityEmployee
integer <int32>
opcional
register
integer <int32>
opcional
registerWeight
integer <int32>
opcional
robustnessWeight
integer <int32>
opcional
scale
object (MethodKScaleDto)
opcional
operationAction
string
opcional
rating
string
opcional
scale
integer <int32>
opcional
strength
integer <int32>
opcional
total
integer <int32>
opcional
uf
string
opcional
Exemplo
{
"analysis": [
{
"operations": {
"property1": {},
"property2": {}
},
"total": 0,
"type": "STRENGTH"
}
],
"balances": [
{
"description": "AVAILABILITY",
"endDate": "2019-08-24",
"endValue": 0
}
],
"cnae": "string",
"cnpj": "string",
"created": "2019-08-24T14:15:22Z",
"demonstrations": [
{
"description": "AVAILABILITY",
"endDate": "2019-08-24",
"endValue": 0
}
],
"fantasyName": "string",
"habituality": 0,
"habitualityWeight": 0,
"indicativeOperation": {
"gracePeriod": 0,
"grossBreakeven": 0,
"liquidBreakeven": 0,
"operations": {
"property1": {},
"property2": {}
},
"requestedVolume": 0,
"term": 0,
"typeOfGuarantee": "NONE",
"volume": "string"
},
"municipality": "string",
"openingDate": "2019-08-24T14:15:22Z",
"organizationId": "string",
"quantityEmployee": 0,
"register": 0,
"registerWeight": 0,
"robustnessWeight": 0,
"scale": {
"operationAction": "string",
"rating": "string",
"scale": 0
},
"strength": 0,
"total": 0,
"uf": "string"
}
🟠404CNPJ não encontrado
🟠422Erro inesperado