@section('title', __('Document Validation Settings'))
{{-- status --}}

{{ __('Provider') }}

Infosimples

{{ __('API token') }}

{{ $tokenSet ? __('Configured') : __('Not configured') }}

{{ __('Mode') }}

{{ $testMode ? __('TEST (simulated)') : __('REAL (uses credits)') }}

{{ __('Queries made') }}

{{ $totalCount }} @if($lastRun) ({{ __('last') }}: {{ $lastRun->format('d/m H:i') }}) @endif

{{ __('Total spent') }}

R$ {{ number_format($totalSpent, 2, ',', '.') }}

{{-- config --}}
@error('token')

{{ $message }}

@enderror

{{ __('Find it at') }} api.infosimples.com — {{ __('the token is stored encrypted') }}.

@error('uf')

{{ $message }}

@enderror

{{ __('Use it to explore the whole flow; turn off to run real queries.') }}

{{ __('Checking token...') }}
@if ($connResult)

{{ $connResult['ok'] ? '✔ ' . __('Connection OK') : '✖ ' . __('Connection failed') }}

{{ $connResult['label'] }}

@if (!empty($connResult['raw']))
{{ __('view') }}
{{ json_encode($connResult['raw'], JSON_PRETTY_PRINT | JSON_UNESCAPED_UNICODE | JSON_UNESCAPED_SLASHES) }}
@endif
@endif
{{-- helper --}}

{{ __('Available queries') }}

  • CPF (Receita Federal) — {{ __('requires CPF + birth date') }}
  • CNH (Detran/UF) — {{ __('required fields vary by state (e.g. CPF, CNH number)') }} — {{ __('see per-state docs') }}
  • {{ __('Vehicle') }} (Detran/UF) — {{ __('usually plate + Renavam') }}
  • OCR CNH (R$ 0,10) · OCR CRLV (R$ 0,10) · QR Code (R$ 0,02) — {{ __('image analysis of the uploaded documents') }}

{{ __('Every query is recorded with result, receipt and cost in the validation history.') }} {{ __('Heads-up: some error responses are also billed (e.g. 612 "not found", 702 "document not identified").') }}

{{-- ===== análise automática (camada gratuita) ===== --}}

{{ __('Automatic analysis (free)') }}

{{ __('As soon as the driver signs up, the platform reads the documents on its own (OCR) and checks CPF, name, expiry date, category and plate against what was declared. The human operator only steps in when the automation cannot conclude — and already receives the exact reason.') }}


  • {{ __('Rejected automatically') }}: {{ __('expired licence, invalid CPF.') }}
  • {{ __('Sent to the operator') }}: {{ __('unreadable photo, CPF/name that does not match the sign-up, unrecognised document, plate different from the registered one.') }}
  • {{ __('Approved') }}: {{ __('everything matches (only when the option above is on).') }}
  • {{ __('Costs nothing: it runs on the server itself. The paid check (Infosimples) is only worth it as a final confirmation against the official database.') }}
{{ __('Open validation management') }}