---
title: Dewa Bill OCR extraction API
slug: api-marketplace/dewa-bill-ocr-extraction-api
createdAt: 2026-06-03T09:51:42.060Z
---

### Introduction

The DEWA Bill Extraction API is designed to automatically extract key information from DEWA (Dubai Electricity and Water Authority) utility bills submitted by users. Using OCR and document intelligence techniques, the API identifies and captures relevant fields from the bill, converting unstructured document data into a structured JSON response.

This API helps organizations digitize utility bill processing, reduce manual data entry, improve operational efficiency, and enable faster address verification, KYC, and underwriting workflows.

### API Details

**Endpoint:**

:::CodeblockTabs
Production Environment

```none
POST  https://api.signzy.app/api/v3/extraction/dewa-bill_uae
```
:::

:::CodeblockTabs
UAT/Testing environment

```none
POST  https://api-preproduction.signzy.app/api/v3/extraction/dewa-bill_uae
```
:::

### Request body parameters

| Parameter | Type   | Required | Description                                                           |
| --------- | ------ | -------- | --------------------------------------------------------------------- |
| file\_url | string | Yes      | Persist file URL (Supported file types are jpg, jpeg, png, pdf, tiff) |

**JSON**

:::BlockQuote
\{
&#x20;   "file\_url": "file url"
}
:::

### Request headers

| Name          | Value            | Required | Description                                                                                                |
| ------------- | ---------------- | -------- | ---------------------------------------------------------------------------------------------------------- |
| Content-Type  | application/json | Yes      | The type of content that the request body contains.                                                        |
| Authorization | XXXXXXXXXXX      | Yes      | An authentication token to authorize the request. Reach out to the Signzy support team to get one created. |

### Code samples

**Code samples:**

:::CodeblockTabs
```curl
curl --location 'https://api-preproduction.signzy.app/api/v3/extraction/dewa-bill_uae' \
--header 'Content-Type: application/json' \
--header 'Authorization:<auth_key>' \
--data '{
    "file_url": "file url"
}'
```

```nodejs
const axios = require('axios');
let data = JSON.stringify({
  "file_url": "file url"

let config = {
  method: 'post',
  maxBodyLength: Infinity,
  url: 'https://api-preproduction.signzy.app/api/v3/extraction/dewa-bill_uae',
  headers: { 
    'Content-Type': 'application/json', 
    'Authorization': '<auth_key>'
  },
  data : data
};

axios.request(config)
.then((response) => {
  console.log(JSON.stringify(response.data));
})
.catch((error) => {
  console.log(error);
});

```

```python
import requests
import json

url = "https://api-preproduction.signzy.app/api/v3/extraction/dewa-bill_uae"

payload = json.dumps({
  "file_url": "file url"
})
headers = {
  'Content-Type': 'application/json',
  'Authorization': '<auth_key>'
}

response = requests.request("POST", url, headers=headers, data=payload)

print(response.text)

```

```go
package main

import (
  "fmt"
  "strings"
  "net/http"
  "io"
)

func main() {

  url := "https://api-preproduction.signzy.app/api/v3/extraction/dewa-bill_uae"
  method := "POST"

  payload := strings.NewReader(`{
    "file_url": "file url"
}`)

  client := &http.Client {
  }
  req, err := http.NewRequest(method, url, payload)

  if err != nil {
    fmt.Println(err)
    return
  }
  req.Header.Add("Content-Type", "application/json")
  req.Header.Add("Authorization", "<auth_key>")

  res, err := client.Do(req)
  if err != nil {
    fmt.Println(err)
    return
  }
  defer res.Body.Close()

  body, err := io.ReadAll(res.Body)
  if err != nil {
    fmt.Println(err)
    return
  }
  fmt.Println(string(body))
}
```
:::

***

### Response body parameters

| **Group**                    | **Parameter**                 | **Data type** | **Description**                                                                              |
| ---------------------------- | ----------------------------- | ------------- | -------------------------------------------------------------------------------------------- |
| document\_identity           | invoice\_number               | string        | Bill/invoice number as printed on the DEWA bill.                                             |
| document\_identity           | issue\_date\_and\_month       | string (date) | Bill issue date. Format: DD/MM/YYYY.                                                         |
| document\_identity           | billing\_period               | string        | Billing cycle covered by the bill. Format: DD/MM/YYYY to DD/MM/YYYY.                         |
| borrower\_corporate\_profile | account\_number               | string        | DEWA account number associated with the bill.                                                |
| borrower\_corporate\_profile | business\_partner\_name       | string        | Registered account holder / business partner name.                                           |
| borrower\_corporate\_profile | account\_and\_premise\_type   | string        | Account category and premise type. Example: Commercial / SHED, Residential / Villa.          |
| borrower\_corporate\_profile | customer\_vat\_number         | string        | Customer's VAT (TRN) number, if present on the bill.                                         |
| property\_geolocation        | premise\_number               | string        | Premise number identifying the metered location.                                             |
| property\_geolocation        | physical\_address\_plot\_info | string        | Full physical address including plot/shed, area, and PO Box. May contain newline characters. |
| financial\_overheads         | total\_amount\_due            | string        | Total payable amount including currency. Example: 2,330.62 AED.                              |
| financial\_overheads         | current\_month\_total         | string        | Current month's charges total (currency implied as AED).                                     |
| financial\_overheads         | total\_vat\_paid              | string        | Total VAT amount on the current bill.                                                        |
| credit\_risk\_past\_arrears  | previous\_bill\_balance       | string        | Outstanding balance carried over from the previous bill.                                     |
| credit\_risk\_past\_arrears  | payments\_received            | string        | Payments received against the previous balance.                                              |
| operational\_capacity        | electricity\_consumption      | string        | Electricity consumed in the billing period, including unit. Example: 5,897 kWh.              |
| operational\_capacity        | water\_consumption            | string        | Water consumed in the billing period, including unit. Example: 17.812 m³.                    |
| operational\_capacity        | sewerage\_charges             | string        | Sewerage charges for the billing period.                                                     |

### Response examples

:::CodeblockTabs
200

```json
{
    "result": {
        "document_identity": {
            "invoice_number": "100930395454",
            "issue_date_and_month": "29/01/2026",
            "billing_period": "26/12/2025 to 25/01/2026"
        },
        "borrower_corporate_profile": {
            "account_number": "2042932280",
            "business_partner_name": "BLUE BIRD FOODS FACTORY L.L.C",
            "account_and_premise_type": "Commercial / SHED",
            "customer_vat_number": "100451353500003"
        },
        "property_geolocation": {
            "premise_number": "599018143",
            "physical_address_plot_info": "SHED - WH-38\n599-JEBEL ALI INDUSTRIAL FIRST,\nPO Box: 52936, Dubai, UAE"
        },
        "financial_overheads": {
            "total_amount_due": "2,330.62 AED",
            "current_month_total": "2,330.62",
            "total_vat_paid": "107.43"
        },
        "credit_risk_past_arrears": {
            "previous_bill_balance": "2,486.31",
            "payments_received": "2,486.31"
        },
        "operational_capacity": {
            "electricity_consumption": "5,897 kWh",
            "water_consumption": "17.812 m³",
            "sewerage_charges": "74.59"
        }
    }
}
```

401

```json
{
    "message": "Invalid authentication credentials"
}
```

409

```json
{
    "error": {
        "reason": "Error From Upstream",
        "status": 409,
        "message": "Upstream Down",
        "type": "Conflict",
        "statusCode": 409,
        "name": "error"
    }
}
```

422

```json
{
    "code": "VALIDATION_ERROR",
    "error_message": "Failed to download image URL"
}
```
:::

## Contact Us for Any Assistance

If you have any questions or need assistance, please reach out to our customer support team. You can contact us via email at help\@signzy.com. We strive to provide prompt and reliable assistance, ensuring your queries are addressed effectively.
