This page provides the success response of the BharatOCR API for the Invoice document.

{
  "verification_id": "test_verification_id1",
  "reference_id": 1358,
  "status": "VALID",
  "document_type": "INVOICE",
  "document_fields": {
    "vendor": {
      "name": "Tech Solutions Pvt Ltd",
      "address": "1234, Business Park, MG Road, Bangalore, Karnataka, 560001, IN",
      "contact": "9876543210",
      "email": "contact@techsolutions.com",
      "gstin": "29AALCT1234E1Z9",
      "state": "Karnataka",
      "state_code": "29",
      "pan": "AALCT1234E"
    },
    "buyer": {
      "name": "Global Enterprises",
      "address": "5678, Industrial Complex, Sector 15, Noida, Uttar Pradesh, 201301, IN",
      "contact_person": "Ravi Kumar",
      "contact": "9123456789",
      "gstin": "09AABCG1234C1Z5",
      "state": "Uttar Pradesh",
      "state_code": "09",
      "place_of_supply": "Uttar Pradesh"
    },
    "invoice_details": {
      "invoice_number": "INV-20250319-001",
      "invoice_date": "2025-03-19",
      "order_reference": {
        "order_ref_no": "ORD-20250318-1234",
        "order_ref_date": "2025-03-18"
      },
      "indent": {
        "indent_no": "IND-20250317-5678",
        "indent_date": "2025-03-17"
      },
      "dispatched_through": "XYZ Logistics",
      "payment_terms": "Net 30 Days",
      "sales_person": "John Doe",
      "destination": "Noida, Uttar Pradesh"
    },
    "line_items": [
      {
        "item_no": 1,
        "model_no": "PROD-001",
        "description": "Wireless Mouse Model X, 2.4 GHz, Black, Ergonomic Design",
        "total_amount": 1200.00,
        "unit_rate": 200.00,
        "quantity": 6,
        "alternate_quantity": 6,
        "hsn_sac": "84716040"
      },
      {
        "item_no": 2,
        "model_no": "PROD-002",
        "description": "Mechanical Keyboard, RGB Backlit, USB-C, 104 Keys",
        "total_amount": 3000.00,
        "unit_rate": 750.00,
        "quantity": 4,
        "alternate_quantity": 4,
        "hsn_sac": "84716090"
      }
    ],
    "totals": {
      "sub_total": 4200.00,
      "igst": 0.00,
      "cgst": 378.00,
      "sgst": 378.00,
      "round_off": 0.00,
      "grand_total": 4956.00,
      "amount_in_words": "Four Thousand Nine Hundred Fifty-Six Only"
    },
    "bank_details": {
      "bank_name": "HDFC Bank",
      "account_number": "123456789012",
      "branch_ifs": "HDFC0000123",
      "swift_code": "HDFCINBBXXX"
    },
    "declaration": "This is a computer-generated invoice and does not require a signature.",
    "additional_info": {
      "delivery_note": "DN-20250319-001",
      "po_no": "PO-20250318-1234",
      "po_date": "2025-03-18",
      "order_form_no": "OF-20250318-5678",
      "proforma_invoice_no": "PI-20250318-001",
      "proforma_invoice_date": "2025-03-18"
    }
  }
}