Ler documento de veículo (DUA/livrete) e devolver campos para autofill
OCR a vehicle document (JPEG/PNG/PDF) via Claude Vision and return RAW TEXT fields for the create-vehicle form to prefill (id resolution happens in the FE, section-scoped — never here).
Accepts ONE OR MORE images so the caller can send the frente AND the verso — the technical fields (cilindrada, potência, combustível, cor, lugares) live on the verso of the DUA/livrete, so a front-only photo can't read them. All images are read together in a single vision call and billed as ONE read.
Unreadable/unsupported input returns success=False (never a 5xx); billing only fires on success. Heavy sync work (CV + PyMuPDF + Anthropic + pyodbc) runs in the threadpool so the event loop is never blocked (same pattern as /invoices/process-qr).
Request
- Base URLhttps://api.multigest.pt (the document declares no server; this is the origin it was published from)
- URLhttps://api.multigest.pt/api/vehicles/ocr-document
- AuthAPI key in header x-api-token and API key in header x-origin-verify
Headers
Request body multipart/form-data
Response
Successful Response
Changes
No recorded changes to this operation across all 21 revisions of this API.