Home / Documents / Electricity bill

Address

Electricity bill OCR API

Read electricity bills from state boards and private DISCOMs as address proof. Bills older than about three months are flagged, since most lenders will not accept them.

Sample Electricity bill (synthetic specimen)
Synthetic specimen. No real person's data.

Real response for this sample

FieldValueConfidence
providerTAMIL NADU POWER DISTRIBUTION CORPORATION LTD100%
consumer number04-123-456-789100%
nameRAVI KUMAR100%
address12, Gandhi Street, Ram Nagar, Coimbatore - 641009100%
pincode641009100%
bill date2026-11-01100%
due date2026-11-15100%
amount due1234.0097%
units consumed245100%

No review needed. Read in 181 ms.

Fields returned

FieldWhat it is
consumer_numberService / consumer / CA number
name, address, pincodeAs billed
bill_date, due_date, periodBilling dates
amount_due, units_consumedAmount and kWh
providerElectricity board

Every field comes with a confidence score from 0 to 1.

Checks

  • Bill is not older than 3 months
  • Due date after bill date
  • Amount is valid

If a required field is missing, unsure, or a check fails, the response hasneeds_review: true and a warning explaining why.

Used for

  • Address proof
  • Utility-payment track record

Request

Send a JPEG, PNG, WebP, TIFF, BMP or PDF up to 10 MB. Leave out document_type to detect it automatically.

curl https://api.lendocr.com/v1/documents:extract \
  -H "Authorization: Bearer lo_test_..." \
  -F file=@document.jpg \
  -F document_type=electricity_bill

Authentication, errors, batch uploads and webhooks →

Questions about the electricity bill API

Which electricity boards are supported?

Bills from state boards and private DISCOMs are read by their labels (consumer or service number, bill date, amount payable), so most formats work without special templates.

Can I send a phone photo of a electricity bill?

Yes. Send a JPEG, PNG, WebP, TIFF, BMP or PDF up to 10 MB. Tilted and low-resolution photos are handled; if an image is too unclear, the response is flagged for review and says why.

Do you store the electricity bill after reading it?

No. On the extract API the document is processed in memory and dropped. For background jobs it is kept encrypted only until processed, and results are erased after 24 hours.