Free Invoice Parser API (OCR) & Data Extraction (PDF, Images) | Documentation
Getting Started

Get your API credentials

Open the Start API Integration page to view your Client ID and API Key.

Get API Keys Free

Basic information

Base URL

https://www.glassever.com/api

Request headers

Send the following headers with every request. Find both values on the credentials page.

Header Type Source
client-id String Credentials page
api-key String Credentials page

Request body

POST Content type: form-data
Parameter Type Required Description
file File Yes The image or PDF to extract text from (PNG, JPEG, PDF).

Response Sample 200 OK

{
    "invoice_number": "INV-2026-1048",
    "po_number": "PO-77821",
    "invoice_date": "2026-11-10",
    "due_date": "2026-11-25",
    "payment_terms": "Net 15",
    "currency": "PKR",
    "vendor": {
        "name": "GLASS EVER SOLUTIONS",
        "address": "Software & Digital Services                          INVOICE",
        "email": "[email protected]",
        "phone": null,
        "website": null,
        "tax_id": null
    },
    "customer": {
        "name": "PAYMENT DETAILS",
        "address": null,
        "email": null,
        "phone": null,
        "website": null,
        "tax_id": null
    },
    "line_items": [
        {
            "description": "Website maintenance and support - November 2026",
            "quantity": 1,
            "unit_price": 45000,
            "total": 45000
        },
        {
            "description": "API integration and configuration",
            "quantity": 2,
            "unit_price": 18500,
            "total": 37000
        },
        {
            "description": "Cloud hosting (annual plan)",
            "quantity": 1,
            "unit_price": 24000,
            "total": 24000
        }
    ],
    "subtotal": 106000,
    "discount": null,
    "tax": {
        "rate": 18,
        "amount": 18126
    },
    "shipping": 1500,
    "total": 120326,
    "amount_paid": 50000,
    "amount_due": 70326,
    "notes": null,
    "warnings": [
        "Subtotal/discount/tax/shipping give 125626.00 but total is 120326.00."
    ],
    "success": true
}  
 
API Tool

Free Invoice Parser API (OCR) & Data Extraction (PDF, Images)

Integrate automated invoice processing into your applications with the GlassEver Invoice Parser API. Upload invoices in supported document formats, including PDF and images, and automatically extract relevant invoice information using OCR and document parsing technology. Retrieve structured data such as invoice numbers, invoice dates, due dates, vendor and customer details, item descriptions, quantities, unit prices, taxes, subtotals, and grand totals in JSON format. Ideal for automating accounts payable workflows, expense management, invoice processing, financial record management, and integrating invoice data extraction into websites, mobile applications, and backend systems.

Basic plan
200 requests / day