Extracting data from a PDF is now a single API call

    DocuTray is the document processing API for developers — trained for LATAM documents.

    PDF to JSONPDF to ExcelOCR for LATAMOCR API
    # paso 1 — envía el documento a /api/convert
    curl -X POST https://app.docutray.com/api/convert \
      -H "Authorization: Bearer $DOCUTRAY_API_KEY" \
      -F "image=@cartola-tc-marzo.pdf" \
      -F "document_type_code=cartola_tarjeta_credito"
    
    # también acepta JSON con base64 o URL.
    # identificar → convertir → validar → exportar.

    // beyond OCR: the full flow in one call

    Clientes que confían en DocuTray

    TRUSTED BYLogo EvotingLogo ClayLogo YappLogo Skualo
    DEVELOPER EXPERIENCE

    A developer experience as direct as an API call

    Any document, any format, any layout. In seconds.

    01

    Multiple formats

    Extract data from PDFs, images, photos and scanned documents. Any format, any layout.

    02

    AI accuracy

    OCR + AI specialized and tuned for Spanish documents: high accuracy even on tough scans.

    03

    Blazing fast

    Process hundreds of documents in minutes with our high-performance extraction engine.

    04

    Security & privacy

    High security standards and configurable data retention for your confidential information.

    05

    API integration

    REST + webhooks. Upload via base64, form-data or URL and integrate into your systems in minutes.

    06

    Custom documents

    Build extractors for your organization’s internal documents with the help of our assistant.

    THE PROBLEM

    Document processing is a mess. Even with AI.

    // build it yourself

    Your own OCR pipeline

    • Choosing and orchestrating OCR, LLMs and RAG
    • Cloud infrastructure and scaling
    • Error handling and retries
    • Monitoring, logging and updates
    • Custom validations per document type
    • Security and compliance

    …instead of focusing on your product.

    // with docutray

    One call. Clean JSON.

    POST /v1/process → validated JSON
    • A single API call
    • No infrastructure to maintain
    • Integrate in minutes, not weeks
    Read the docs ↗
    PIPELINE

    How DocuTray

    Six stages of intelligent document processing. One single call — scroll to walk through them.

    STEP 01 / 06

    API Call

    You send the document —PDF, image or scan— in a single request. Pick whatever method suits you: file (form-data), base64 or a URL — they all hit the same endpoint.

    # multipart/form-data — subida directa del archivo
    curl -X POST https://app.docutray.com/api/convert \
      -H "Authorization: Bearer •••" \
      -F "image=@cartola-tc-marzo.pdf" \
      -F "document_type_code=cartola_tarjeta_credito"
    STEP 02 / 06

    Identify

    DocuTray automatically recognizes which document it is. You don’t have to tell it or maintain rules per format.

    // webhook IDENTIFICATION_COMPLETED
    {
      "status": "SUCCESS",
      "document_type": {
        "code": "cartola_tarjeta_credito",
        "name": "Cartola tarjeta de crédito",
        "confidence": 0.98
      },
      "alternatives": [
        { "code": "cartola_cuenta_corriente", "confidence": 0.12 }
      ]
    }
    STEP 03 / 06

    Convert

    OCR + AI read the content and structure it into the JSON schema you defined, even with tough scans or photos.

    "transacciones": [
      {
        "fecha": "2026-03-04",
        "comercio": "LIDER",
        "monto": 45990
      },
      { … }   // +84 movimientos
    ]
    STEP 04 / 06

    Validate

    Business rules catch inconsistencies before they reach your system: balance checks, totals and formats.

    // webhook STEP_COMPLETED → validation
    "validation": {
      "errors": {
        "count": 0,
        "messages": []
      },
      "warnings": {
        "count": 1,
        "messages": ["Monto supera el promedio histórico"]
      }
    }
    STEP 05 / 06

    Enrich

    We cross the data with your internal databases or external sources to complete what the document doesn’t carry.

    {
      "comercio": "LIDER",
      "monto": 45990,
      "categoria": "supermercado",   // ← enriquecido
      "rubro_sii": "471000"        // ← enriquecido
    }
    STEP 06 / 06

    Export

    We deliver the result to your systems via webhook in real time, or you download it as JSON or Excel.

    → POST https://tu-app.com/webhooks/docutray
    {
      "status": "completed",
      "export": ["json", "xlsx"]
    }
    SUPPORTED DOCUMENTS

    Trained on the documents used across LATAM

    OCR and data extraction in Spanish: from bank statements to SII and SAT invoices, including foreign-trade documents.

    BANKING

    Checking account statement

    Transactions, balances and holders from any bank statement.

    BANKING

    Credit card statement

    Domestic and international transactions, limits and payments.

    INVESTMENTS

    Investment statement

    Positions, movements and returns from brokers and funds.

    CHILE

    SII invoices

    Chilean invoices, credit notes and fee receipts.

    MEXICO

    SAT invoices

    Mexican CFDI and tax receipts.

    COMEX

    International invoicing

    Commercial invoices from foreign suppliers, in any currency.

    COMEX

    Packing list

    Packages, weights and contents, ready for your system.

    COMEX

    Bill of Lading / Waybill

    Bills of lading and transport documentation.

    HEALTH

    Medical prescription

    Reads prescriptions, even with doctors’ handwriting.

    Your document isn’t on the list? Build a custom extractor with our AI →

    CUSTOMERS

    What our customers say

    We were looking for an OCR provider, and DocuTray ended up being much more than that. With a single API call, we can identify the document, extract the relevant data and validate its consistency, achieving results far superior to other solutions we tried.
    Felipe Lorca
    Felipe LorcaCEO, EVoting
    EVoting logo
    DocuTray’s API gave us a superpower: we can automatically read medical prescriptions, even with doctors’ handwriting. Now we can build experiences for our customers that we couldn’t before.
    Mauricio Ferraro
    Mauricio FerraroCo-founder & CEO, Yapp
    Yapp logo
    START TODAY

    Ready to extract data from your documents?

    Start processing documents in minutes, not weeks. Create your free account or write to us: we reply the same day.

    Send us a message

    This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.