Know Your Customer
...
ID OCR
US

US Utility Bill Extraction

Overview

This API is designed to extract detailed addresses and basic account information associated with the bill from different utility and telecom bills in the United States. Utility bills are a common and reliable source for address verification, making this API help businesses requiring proof of residence for customer verification purposes.

Usecase

This API is primarily used for customer onboarding in sectors where proof of residence is required, such as banking, telecommunications, and rental services. By automating the extraction of address data from utility and telecom bills, the API facilitates quicker customer verification processes and improves the accuracy of data capture.

API Details

Request Body

Production
Preproduction


Request Body Parameters

Input Parameter

Data Type

Description

fileUrl

String

The URL where the utility or telecom bill PDF is stored for download.

Response Body

JSON


Response Body Parameters

Output Parameter

Data Type

Description

name

String

The name of the individual or entity the bill is issued to.

address.streetAddress

String

The street address as listed on the bill.

address.city

String

The city as listed on the bill.

address.state

String

The state as listed on the bill.

address.zipCode

String

The postal zip code as listed on the bill.

address.country

String

The country as listed on the bill.

billDate

String

The date the bill was issued.

accountNumber

String

The account number associated with the bill.

companyName

String

The name of the company issuing the bill.

Error Cases

The API can encounter the following error cases:

  • Invalid URL: If the fileUrl provided does not link to a valid or accessible PDF document.
  • Unsupported Document Type: If the document at the fileUrl is not a utility or telecom bill.
  • Parsing Error: If the document's structure prevents data extraction.
  • Service Unavailability: When the service is temporarily unavailable due to maintenance or unexpected outages.

Error Codes Description

HTTP Status Code

Description

400

Invalid URL: The URL provided is malformed or inaccessible.

400

Unsupported Document Type: The document is not a recognized utility or telecom bill format.

403

Auth Toke Forbidden to consume this service.

422

Parsing Error: Failed to extract data from the provided document.

503

Service Unavailability: The extraction service is temporarily unavailable.



Error Code Response & Mapping

400(Bad Request)
400(Bad Request)
404(Data not found)
409(Upstream Down)