@section('title', __('Document Validation'))
Infosimples
{{ __('Provider') }} · {{ __('settings') }}
{{ json_encode(['args' => $h->args, 'result' => $h->result, 'errors' => $h->errors], JSON_PRETTY_PRINT | JSON_UNESCAPED_UNICODE | JSON_UNESCAPED_SLASHES) }}
@foreach ((array) $h->receipts as $r)
{{ __('Receipt') }} {{ $loop->iteration }}
@endforeach
{{ __('Validate') }}: {{ $valUserName }}
{{ __('Official queries') }}
{{ __('Image analysis (uploaded documents)') }}
{{ $message }}
@enderror @error('birthdate'){{ $message }}
@enderror @elseif ($mode === 'cnh'){{ __('Required fields vary by state') }} — {{ __('see per-state docs') }} · {{ __('Tip: run OCR CNH first to extract the registro automatically.') }}
@error('uf'){{ $message }}
@enderror @error('cpf'){{ $message }}
@enderror @elseif ($mode === 'veiculo'){{ $message }}
@enderror @error('placa'){{ $message }}
@enderror @elseif (in_array($mode, ['ocr_cnh', 'ocr_crlv', 'qr'])){{ $message }}
@enderror{{ $mode === 'qr' ? __('Decodes the QR Code (e.g. digital CRLV-e) — R$ 0,02') : __('Extracts the document fields with confidence score — R$ 0,10') }}. {{ __('Note: a valid image that is not the expected document is billed too (code 702).') }}
@else{{ $message }}
@enderror @endif{{ $lastResult['success'] ? __('Success') : __('Error') }} ({{ $lastResult['code'] }}) @if ($lastResult['price']) · R$ {{ number_format($lastResult['price'], 2, ',', '.') }} @endif
{{ $lastResult['message'] }}
@if (!empty($lastResult['campos']))| {{ __('Field') }} | {{ __('Value') }} | Score |
|---|---|---|
| {{ $c['titulo'] }} | {{ $c['valor'] }} | {{ $c['score'] !== null ? number_format($c['score'] * 100, 0) . '%' : '—' }} |
{{ json_encode($lastResult['result'], JSON_PRETTY_PRINT | JSON_UNESCAPED_UNICODE | JSON_UNESCAPED_SLASHES) }}
@endif
@foreach ((array) ($lastResult['receipts'] ?? []) as $r)
{{ __('Receipt') }} {{ $loop->iteration }}
@endforeach
{{ __('Selfie (liveness by web link)') }}
{{ $selfieInfo ? __('Selfie received at') . ' ' . $selfieInfo['at'] : __('No selfie received yet.') }} @if ($selfieInfo) · {{ __('view') }} @endif
@if ($selfieUrl){{ __('Send this link to the driver (WhatsApp/e-mail). It opens the phone camera in the browser.') }}
@endif