> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.staple.ai/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.staple.ai/_mcp/server.

# Extract Vietnam Electricity Bill

POST https://api.staple.io/v1/documents/extract/evn
Content-Type: multipart/form-data

Extract the structured data from a document using the Vietname Electricity Bill model in Staple. The document would NOT be left in the queue specified for any further manipulation.

Reference: https://docs.staple.ai/api-reference/v1/documents/extract-vietnam-electricity-bill

## OpenAPI Specification

```yaml
openapi: 3.1.0
info:
  title: v1
  version: 1.0.0
paths:
  /v1/documents/extract/evn:
    post:
      operationId: extractVietnamElectricityBill
      summary: Extract Vietnam Electricity Bill
      description: >-
        Extract the structured data from a document using the Vietname
        Electricity Bill model in Staple. The document would NOT be left in the
        queue specified for any further manipulation.
      tags:
        - documents
      parameters:
        - name: x-api-key
          in: header
          description: API key issued by Staple.
          required: true
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/Documents_extractVietnamElectricityBill_Response_200
      requestBody:
        content:
          multipart/form-data:
            schema:
              type: object
              properties:
                files:
                  type: string
                  format: binary
                  description: File to upload
              required:
                - files
servers:
  - url: https://api.staple.io
    description: https://api.staple.io
components:
  schemas:
    Documents_extractVietnamElectricityBill_Response_200:
      type: object
      properties: {}
      description: Empty response body
      title: Documents_extractVietnamElectricityBill_Response_200
  securitySchemes:
    apiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key
      description: API key issued by Staple.
    bearerAuth:
      type: http
      scheme: bearer
      description: JWT obtained from the login endpoint.

```

## Examples



**Request**

```json
{
  "files": "<file: string>"
}
```

**Response**

```json
{
  "BigBoxes": [
    {
      "box": [
        71,
        196,
        287,
        240,
        179,
        218,
        "EVNSPC\nTONC CONG TY BIEN LUC MOEN NAM\n"
      ],
      "page": 0
    },
    {
      "box": [
        401,
        165,
        805,
        251,
        603,
        208,
        "HÓA ĐƠN GTGT ( TIỀN ĐIỆN )\n( Bản thể hiện của hóa đơn điện tử )\nĐến ngày 04/06/2017\nTừ ngày 05/05/2017\nKỳ :\n"
      ],
      "page": 0
    },
    {
      "box": [
        909,
        162,
        1095,
        251,
        1002,
        206.5,
        "Mẫu số :\n01GTKT0/001\nKý hiệu AH/17E\nSố 0046500\nID HÐ :\n50591992\n"
      ],
      "page": 0
    },
    {
      "box": [
        703,
        323,
        933,
        347,
        818,
        335,
        "ĐT sửa chữa:\n073.2216316\n"
      ],
      "page": 0
    },
    {
      "box": [
        57,
        266,
        684,
        547,
        370.5,
        406.5,
        "CÔNG TY ĐIỆN LỰC TIỀN GIANG- Điện lực Chợ Gạo\nĐịa chỉ :\n52 Ô 4 Khu || Thị trấn Chợ Gạo Huyện Chợ Gạo Tỉnh Tiền Giang\nĐiện thoại:\n073.2216317\nMST:\n0300942001020\nTên khách hàng:\nNguyễn Thị Trúc Thủy\nĐịa chỉ :\nấp Quang Ninh Xã Quên Long\nĐiện thoại:\nMST:\nMã KH:\nPB08070044907\nMã Itoán:\nPB08070044907\nMă tram:\n080798609\nCấp ĐA:\nMã giả :\nKT:\n100% * SHBT-A\nCHỈ SỐ MỚI\nCHỈ SỐ CŨ\nĐN TIÊU THỤ\nBộ Cs\nHS NHÂN\n"
      ],
      "page": 0
    },
    {
      "box": [
        701,
        411,
        885,
        482,
        793,
        446.5,
        "Sổ Công tơ .06000673\nMã NN:\n4401\nSố GCS:\nG0204-008\n"
      ],
      "page": 0
    },
    {
      "box": [
        976,
        412,
        1064,
        479,
        1020,
        445.5,
        "Só hộ :\nMã tổ :\n12\n04\nP GCS:\n"
      ],
      "page": 0
    },
    {
      "box": [
        741,
        517,
        821,
        536,
        781,
        526.5,
        "ĐƠN GIÁ\n"
      ],
      "page": 0
    },
    {
      "box": [
        925,
        513,
        1039,
        534,
        982,
        523.5,
        "THÀNH TIỀN\n"
      ],
      "page": 0
    },
    {
      "box": [
        96,
        553,
        118,
        574,
        107,
        563.5,
        "KT\n"
      ],
      "page": 0
    },
    {
      "box": [
        224,
        557,
        277,
        575,
        250.5,
        566,
        "12.141\n"
      ],
      "page": 0
    },
    {
      "box": [
        352,
        557,
        406,
        575,
        379,
        566,
        "11.729\n"
      ],
      "page": 0
    },
    {
      "box": [
        469,
        559,
        473,
        573,
        471,
        566,
        ""
      ],
      "page": 0
    },
    {
      "box": [
        610,
        557,
        640,
        574,
        625,
        565.5,
        "412\n"
      ],
      "page": 0
    },
    {
      "box": [
        684,
        594,
        712,
        717,
        698,
        655.5,
        "50\n50\n100\n100\n100\n12\n"
      ],
      "page": 0
    },
    {
      "box": [
        785,
        593,
        834,
        718,
        809.5,
        655.5,
        "1.484\n1.533\n1.786\n2.242\n2.503\n2.587\n"
      ],
      "page": 0
    },
    {
      "box": [
        1042,
        591,
        1116,
        717,
        1079,
        654,
        "74.200\n76.650\n178.600\n224.200\n250.300\n31.044\n"
      ],
      "page": 0
    },
    {
      "box": [
        65,
        732,
        1114,
        943,
        589.5,
        837.5,
        "Cộng:\n412\n834.994\nThuế GTGT:\nThuế suất GTGT:\n10%\n83.499\nTổng cộng tiền thanh toán:\n918.493\nSố tiền viết bằng chữ Chín trăm mười tám nghìn bốn trăm chín mươi ba đồng.\nNgày ký :\n05/06/2017\nNgười ký :\nCÔNG TY ĐIỆN LỰC TIỀN GIANG- ĐIỆN LỰC CHỢ GẠO\n"
      ],
      "page": 0
    }
  ],
  "CompanyAddress": {
    "UICategory": "Company Information",
    "UIName": "Company Address",
    "matches": [
      {
        "keyword": null,
        "match": "52 Ô 4 Khu || Thị trấn Chợ Gạo Huyện Chợ Gạo Tỉnh Tiền Giang",
        "matchmulti": null,
        "page": 0,
        "value": [
          127,
          299,
          654,
          325,
          390.5,
          312,
          "52 Ô 4 Khu || Thị trấn Chợ Gạo Huyện Chợ Gạo Tỉnh Tiền Giang"
        ]
      }
    ]
  },
  "CompanyName": {
    "UICategory": "Company Information",
    "UIName": "Company Name",
    "matches": [
      {
        "keyword": null,
        "match": "CÔNG TY ĐIỆN LỰC TIỀN GIANG- Điện lực Chợ Gạo",
        "matchmulti": null,
        "page": 0,
        "value": [
          57,
          269,
          533,
          298,
          295,
          283.5,
          "CÔNG TY ĐIỆN LỰC TIỀN GIANG- Điện lực Chợ Gạo"
        ]
      }
    ]
  },
  "CompanyPhone": {
    "UICategory": "Company Information",
    "UIName": "Company Phone",
    "matches": [
      {
        "keyword": null,
        "match": "0732216317",
        "matchmulti": null,
        "page": 0,
        "value": [
          153,
          325,
          263,
          348,
          208,
          336.5,
          "073.2216317"
        ]
      }
    ]
  },
  "CustomerAddress": {
    "UICategory": "Customer Information",
    "UIName": "Customer Address",
    "matches": [
      {
        "keyword": null,
        "match": "ấp Quang Ninh Xã Quên Long",
        "matchmulti": null,
        "page": 0,
        "value": [
          127,
          388,
          375,
          414,
          251,
          401,
          "ấp Quang Ninh Xã Quên Long"
        ]
      }
    ]
  },
  "CustomerID": {
    "UICategory": "Customer Information",
    "UIName": "Customer ID",
    "matches": [
      {
        "keyword": null,
        "match": "PB08070044907",
        "matchmulti": null,
        "page": 0,
        "value": [
          127,
          435,
          270,
          459,
          198.5,
          447,
          "PB08070044907"
        ]
      }
    ]
  },
  "CustomerName": {
    "UICategory": "Customer Information",
    "UIName": "Customer Name",
    "matches": [
      {
        "keyword": null,
        "match": "Nguyễn Thị Trúc Thủy",
        "matchmulti": null,
        "page": 0,
        "value": [
          219,
          360,
          418,
          387,
          318.5,
          373.5,
          "Nguyễn Thị Trúc Thủy"
        ]
      }
    ]
  },
  "CustomerPhone": {
    "UICategory": "Customer Information",
    "UIName": "Customer Phone",
    "matches": [
      {
        "keyword": null,
        "match": null,
        "page": null,
        "value": null
      }
    ]
  },
  "DateFrom": {
    "UICategory": "Bill Information",
    "UIName": "Start Date",
    "matches": [
      {
        "keyword": null,
        "match": "05/05/2017",
        "matchmulti": null,
        "page": 0,
        "value": [
          450,
          226,
          612,
          250,
          531,
          238,
          "Từ ngày 05/05/2017"
        ]
      }
    ]
  },
  "DateOfRelease": {
    "UICategory": "Bill Information",
    "UIName": "Date of release",
    "matches": [
      {
        "keyword": [
          1017,
          886,
          1112,
          906,
          1064.5,
          896,
          "05/06/2017"
        ],
        "match": "05/06/2017",
        "matchmulti": null,
        "page": 0,
        "value": [
          1017,
          886,
          1112,
          906,
          1064.5,
          896,
          "05/06/2017"
        ]
      }
    ]
  },
  "DateTo": {
    "UICategory": "Bill Information",
    "UIName": "End Date",
    "matches": [
      {
        "keyword": null,
        "match": "04/06/2017",
        "matchmulti": null,
        "page": 0,
        "value": [
          633,
          224,
          805,
          248,
          719,
          236,
          "Đến ngày 04/06/2017"
        ]
      }
    ]
  },
  "DetectedText": "EVNSPC TONC CONG TY BIEN LUC MOEN NAM HÓA ĐƠN GTGT ( TIỀN ĐIỆN ) ( Bản thể hiện của hóa đơn điện tử ) Kỳ : Từ ngày 05/05/2017 Đến ngày 04/06/2017 Mẫu số : 01GTKT0/001 Ký hiệu AH/17E Số 0046500 ID HÐ : 50591992 ĐT sửa chữa: 073.2216316 CÔNG TY ĐIỆN LỰC TIỀN GIANG- Điện lực Chợ Gạo Địa chỉ : 52 Ô 4 Khu || Thị trấn Chợ Gạo Huyện Chợ Gạo Tỉnh Tiền Giang Điện thoại: 073.2216317 MST: 0300942001020 Tên khách hàng: Nguyễn Thị Trúc Thủy Địa chỉ : ấp Quang Ninh Xã Quên Long Điện thoại: MST: Mã KH: PB08070044907 Mã Itoán: PB08070044907 Mă tram: 080798609 Cấp ĐA: Mã giả : KT: 100% * SHBT-A Bộ Cs CHỈ SỐ MỚI CHỈ SỐ CŨ HS NHÂN ĐN TIÊU THỤ Sổ Công tơ .06000673 Mã NN: 4401 Số GCS: G0204-008 Só hộ : Mã tổ : 12 P GCS: 04 ĐƠN GIÁ THÀNH TIỀN KT 12.141 11.729 412 50 50 100 100 100 12 1.484 1.533 1.786 2.242 2.503 2.587 74.200 76.650 178.600 224.200 250.300 31.044 Cộng: 412 834.994 Thuế suất GTGT: 10% Thuế GTGT: 83.499 Tổng cộng tiền thanh toán: 918.493 Số tiền viết bằng chữ Chín trăm mười tám nghìn bốn trăm chín mươi ba đồng. Ngày ký : 05/06/2017 Người ký : CÔNG TY ĐIỆN LỰC TIỀN GIANG- ĐIỆN LỰC CHỢ GẠO ",
  "DocSize": [
    [
      1111,
      1200,
      3
    ]
  ],
  "SmallBoxes": [
    {
      "box": [
        113,
        196,
        204,
        214,
        158.5,
        205,
        "EVNSPC"
      ],
      "page": 0
    },
    {
      "box": [
        71,
        220,
        287,
        240,
        179,
        230,
        "TONC CONG TY BIEN LUC MOEN NAM"
      ],
      "page": 0
    },
    {
      "box": [
        409,
        165,
        799,
        204,
        604,
        184.5,
        "HÓA ĐƠN GTGT ( TIỀN ĐIỆN )"
      ],
      "page": 0
    },
    {
      "box": [
        446,
        201,
        759,
        227,
        602.5,
        214,
        "( Bản thể hiện của hóa đơn điện tử )"
      ],
      "page": 0
    },
    {
      "box": [
        401,
        227,
        423,
        250,
        412,
        238.5,
        "Kỳ :"
      ],
      "page": 0
    },
    {
      "box": [
        450,
        226,
        612,
        250,
        531,
        238,
        "Từ ngày 05/05/2017"
      ],
      "page": 0
    },
    {
      "box": [
        633,
        224,
        805,
        248,
        719,
        236,
        "Đến ngày 04/06/2017"
      ],
      "page": 0
    },
    {
      "box": [
        911,
        162,
        975,
        182,
        943,
        172,
        "Mẫu số :"
      ],
      "page": 0
    },
    {
      "box": [
        982,
        162,
        1095,
        184,
        1038.5,
        173,
        "01GTKT0/001"
      ],
      "page": 0
    },
    {
      "box": [
        909,
        185,
        1045,
        207,
        977,
        196,
        "Ký hiệu AH/17E"
      ],
      "page": 0
    },
    {
      "box": [
        914,
        208,
        1018,
        228,
        966,
        218,
        "Số 0046500"
      ],
      "page": 0
    },
    {
      "box": [
        910,
        233,
        963,
        252,
        936.5,
        242.5,
        "ID HÐ :"
      ],
      "page": 0
    },
    {
      "box": [
        971,
        233,
        1054,
        252,
        1012.5,
        242.5,
        "50591992"
      ],
      "page": 0
    },
    {
      "box": [
        703,
        324,
        815,
        345,
        759,
        334.5,
        "ĐT sửa chữa:"
      ],
      "page": 0
    },
    {
      "box": [
        822,
        324,
        933,
        347,
        877.5,
        335.5,
        "073.2216316"
      ],
      "page": 0
    },
    {
      "box": [
        57,
        269,
        533,
        298,
        295,
        283.5,
        "CÔNG TY ĐIỆN LỰC TIỀN GIANG- Điện lực Chợ Gạo"
      ],
      "page": 0
    },
    {
      "box": [
        57,
        299,
        119,
        325,
        88,
        312,
        "Địa chỉ :"
      ],
      "page": 0
    },
    {
      "box": [
        127,
        299,
        654,
        325,
        390.5,
        312,
        "52 Ô 4 Khu || Thị trấn Chợ Gạo Huyện Chợ Gạo Tỉnh Tiền Giang"
      ],
      "page": 0
    },
    {
      "box": [
        57,
        325,
        146,
        346,
        101.5,
        335.5,
        "Điện thoại:"
      ],
      "page": 0
    },
    {
      "box": [
        153,
        325,
        263,
        348,
        208,
        336.5,
        "073.2216317"
      ],
      "page": 0
    },
    {
      "box": [
        384,
        326,
        425,
        346,
        404.5,
        336,
        "MST:"
      ],
      "page": 0
    },
    {
      "box": [
        432,
        326,
        569,
        346,
        500.5,
        336,
        "0300942001020"
      ],
      "page": 0
    },
    {
      "box": [
        58,
        359,
        210,
        385,
        134,
        372,
        "Tên khách hàng:"
      ],
      "page": 0
    },
    {
      "box": [
        219,
        360,
        418,
        387,
        318.5,
        373.5,
        "Nguyễn Thị Trúc Thủy"
      ],
      "page": 0
    },
    {
      "box": [
        57,
        387,
        119,
        409,
        88,
        398,
        "Địa chỉ :"
      ],
      "page": 0
    },
    {
      "box": [
        127,
        388,
        375,
        414,
        251,
        401,
        "ấp Quang Ninh Xã Quên Long"
      ],
      "page": 0
    },
    {
      "box": [
        57,
        411,
        147,
        433,
        102,
        422,
        "Điện thoại:"
      ],
      "page": 0
    },
    {
      "box": [
        385,
        416,
        426,
        434,
        405.5,
        425,
        "MST:"
      ],
      "page": 0
    },
    {
      "box": [
        58,
        435,
        119,
        456,
        88.5,
        445.5,
        "Mã KH:"
      ],
      "page": 0
    },
    {
      "box": [
        127,
        435,
        270,
        459,
        198.5,
        447,
        "PB08070044907"
      ],
      "page": 0
    },
    {
      "box": [
        385,
        440,
        468,
        459,
        426.5,
        449.5,
        "Mã Itoán:"
      ],
      "page": 0
    },
    {
      "box": [
        476,
        440,
        617,
        459,
        546.5,
        449.5,
        "PB08070044907"
      ],
      "page": 0
    },
    {
      "box": [
        58,
        461,
        130,
        480,
        94,
        470.5,
        "Mă tram:"
      ],
      "page": 0
    },
    {
      "box": [
        138,
        461,
        236,
        482,
        187,
        471.5,
        "080798609"
      ],
      "page": 0
    },
    {
      "box": [
        385,
        462,
        454,
        483,
        419.5,
        472.5,
        "Cấp ĐA:"
      ],
      "page": 0
    },
    {
      "box": [
        58,
        485,
        119,
        505,
        88.5,
        495,
        "Mã giả :"
      ],
      "page": 0
    },
    {
      "box": [
        127,
        485,
        154,
        505,
        140.5,
        495,
        "KT:"
      ],
      "page": 0
    },
    {
      "box": [
        163,
        485,
        286,
        507,
        224.5,
        496,
        "100% * SHBT-A"
      ],
      "page": 0
    },
    {
      "box": [
        77,
        518,
        135,
        537,
        106,
        527.5,
        "Bộ Cs"
      ],
      "page": 0
    },
    {
      "box": [
        171,
        516,
        276,
        538,
        223.5,
        527,
        "CHỈ SỐ MỚI"
      ],
      "page": 0
    },
    {
      "box": [
        303,
        516,
        398,
        538,
        350.5,
        527,
        "CHỈ SỐ CŨ"
      ],
      "page": 0
    },
    {
      "box": [
        430,
        518,
        514,
        538,
        472,
        528,
        "HS NHÂN"
      ],
      "page": 0
    },
    {
      "box": [
        567,
        516,
        684,
        541,
        625.5,
        528.5,
        "ĐN TIÊU THỤ"
      ],
      "page": 0
    },
    {
      "box": [
        701,
        411,
        885,
        434,
        793,
        422.5,
        "Sổ Công tơ .06000673"
      ],
      "page": 0
    },
    {
      "box": [
        703,
        438,
        760,
        458,
        731.5,
        448,
        "Mã NN:"
      ],
      "page": 0
    },
    {
      "box": [
        768,
        438,
        806,
        458,
        787,
        448,
        "4401"
      ],
      "page": 0
    },
    {
      "box": [
        702,
        460,
        773,
        480,
        737.5,
        470,
        "Số GCS:"
      ],
      "page": 0
    },
    {
      "box": [
        781,
        460,
        873,
        482,
        827,
        471,
        "G0204-008"
      ],
      "page": 0
    },
    {
      "box": [
        977,
        412,
        1033,
        433,
        1005,
        422.5,
        "Só hộ :"
      ],
      "page": 0
    },
    {
      "box": [
        976,
        434,
        1024,
        455,
        1000,
        444.5,
        "Mã tổ :"
      ],
      "page": 0
    },
    {
      "box": [
        1034,
        434,
        1051,
        455,
        1042.5,
        444.5,
        "12"
      ],
      "page": 0
    },
    {
      "box": [
        976,
        461,
        1037,
        479,
        1006.5,
        470,
        "P GCS:"
      ],
      "page": 0
    },
    {
      "box": [
        1045,
        460,
        1064,
        479,
        1054.5,
        469.5,
        "04"
      ],
      "page": 0
    },
    {
      "box": [
        741,
        516,
        821,
        536,
        781,
        526,
        "ĐƠN GIÁ"
      ],
      "page": 0
    },
    {
      "box": [
        925,
        512,
        1039,
        535,
        982,
        523.5,
        "THÀNH TIỀN"
      ],
      "page": 0
    },
    {
      "box": [
        96,
        553,
        118,
        574,
        107,
        563.5,
        "KT"
      ],
      "page": 0
    },
    {
      "box": [
        224,
        557,
        277,
        575,
        250.5,
        566,
        "12.141"
      ],
      "page": 0
    },
    {
      "box": [
        352,
        557,
        406,
        575,
        379,
        566,
        "11.729"
      ],
      "page": 0
    },
    {
      "box": [
        610,
        557,
        640,
        574,
        625,
        565.5,
        "412"
      ],
      "page": 0
    },
    {
      "box": [
        694,
        594,
        712,
        612,
        703,
        603,
        "50"
      ],
      "page": 0
    },
    {
      "box": [
        694,
        616,
        713,
        632,
        703.5,
        624,
        "50"
      ],
      "page": 0
    },
    {
      "box": [
        684,
        637,
        712,
        654,
        698,
        645.5,
        "100"
      ],
      "page": 0
    },
    {
      "box": [
        684,
        657,
        710,
        677,
        697,
        667,
        "100"
      ],
      "page": 0
    },
    {
      "box": [
        683,
        679,
        711,
        695,
        697,
        687,
        "100"
      ],
      "page": 0
    },
    {
      "box": [
        694,
        701,
        712,
        717,
        703,
        709,
        "12"
      ],
      "page": 0
    },
    {
      "box": [
        788,
        593,
        832,
        612,
        810,
        602.5,
        "1.484"
      ],
      "page": 0
    },
    {
      "box": [
        788,
        616,
        832,
        633,
        810,
        624.5,
        "1.533"
      ],
      "page": 0
    },
    {
      "box": [
        789,
        637,
        833,
        654,
        811,
        645.5,
        "1.786"
      ],
      "page": 0
    },
    {
      "box": [
        788,
        658,
        832,
        676,
        810,
        667,
        "2.242"
      ],
      "page": 0
    },
    {
      "box": [
        786,
        678,
        832,
        695,
        809,
        686.5,
        "2.503"
      ],
      "page": 0
    },
    {
      "box": [
        787,
        699,
        832,
        718,
        809.5,
        708.5,
        "2.587"
      ],
      "page": 0
    },
    {
      "box": [
        1057,
        591,
        1114,
        609,
        1085.5,
        600,
        "74.200"
      ],
      "page": 0
    },
    {
      "box": [
        1057,
        613,
        1114,
        630,
        1085.5,
        621.5,
        "76.650"
      ],
      "page": 0
    },
    {
      "box": [
        1046,
        634,
        1113,
        653,
        1079.5,
        643.5,
        "178.600"
      ],
      "page": 0
    },
    {
      "box": [
        1043,
        656,
        1113,
        673,
        1078,
        664.5,
        "224.200"
      ],
      "page": 0
    },
    {
      "box": [
        1046,
        678,
        1114,
        696,
        1080,
        687,
        "250.300"
      ],
      "page": 0
    },
    {
      "box": [
        1057,
        697,
        1114,
        717,
        1085.5,
        707,
        "31.044"
      ],
      "page": 0
    },
    {
      "box": [
        67,
        736,
        117,
        760,
        92,
        748,
        "Cộng:"
      ],
      "page": 0
    },
    {
      "box": [
        682,
        736,
        712,
        754,
        697,
        745,
        "412"
      ],
      "page": 0
    },
    {
      "box": [
        1045,
        736,
        1114,
        754,
        1079.5,
        745,
        "834.994"
      ],
      "page": 0
    },
    {
      "box": [
        67,
        773,
        208,
        794,
        137.5,
        783.5,
        "Thuế suất GTGT:"
      ],
      "page": 0
    },
    {
      "box": [
        217,
        774,
        251,
        794,
        234,
        784,
        "10%"
      ],
      "page": 0
    },
    {
      "box": [
        539,
        771,
        635,
        795,
        587,
        783,
        "Thuế GTGT:"
      ],
      "page": 0
    },
    {
      "box": [
        1056,
        774,
        1114,
        791,
        1085,
        782.5,
        "83.499"
      ],
      "page": 0
    },
    {
      "box": [
        65,
        809,
        283,
        835,
        174,
        822,
        "Tổng cộng tiền thanh toán:"
      ],
      "page": 0
    },
    {
      "box": [
        1045,
        810,
        1113,
        830,
        1079,
        820,
        "918.493"
      ],
      "page": 0
    },
    {
      "box": [
        69,
        847,
        719,
        874,
        394,
        860.5,
        "Số tiền viết bằng chữ Chín trăm mười tám nghìn bốn trăm chín mươi ba đồng."
      ],
      "page": 0
    },
    {
      "box": [
        932,
        886,
        1009,
        907,
        970.5,
        896.5,
        "Ngày ký :"
      ],
      "page": 0
    },
    {
      "box": [
        1017,
        886,
        1112,
        906,
        1064.5,
        896,
        "05/06/2017"
      ],
      "page": 0
    },
    {
      "box": [
        519,
        906,
        609,
        933,
        564,
        919.5,
        "Người ký :"
      ],
      "page": 0
    },
    {
      "box": [
        618,
        906,
        1113,
        933,
        865.5,
        919.5,
        "CÔNG TY ĐIỆN LỰC TIỀN GIANG- ĐIỆN LỰC CHỢ GẠO"
      ],
      "page": 0
    }
  ],
  "Timeliness": {
    "UICategory": "Bill Information",
    "UIName": "Out of Date",
    "matches": [
      {
        "keyword": null,
        "match": "Invalid",
        "page": null,
        "value": null
      }
    ]
  },
  "TotalMatch": {
    "UICategory": "Bill Information",
    "UIName": "Total Validity Check",
    "matches": [
      {
        "keyword": null,
        "match": "Valid",
        "page": null,
        "value": null
      }
    ]
  },
  "TotalNumber": {
    "UICategory": "Bill Information",
    "UIName": "Total in numbers",
    "matches": [
      {
        "keyword": [
          65,
          809,
          283,
          835,
          174,
          822,
          "Tổng cộng tiền thanh toán:"
        ],
        "match": "918.493",
        "matchmulti": null,
        "page": 0,
        "value": [
          1045,
          810,
          1113,
          830,
          1079,
          820,
          "918.493"
        ]
      }
    ]
  },
  "TotalWord": {
    "UICategory": "Bill Information",
    "UIName": "Total in words",
    "matches": [
      {
        "keyword": [
          69,
          847,
          719,
          874,
          394,
          860.5,
          "Số tiền viết bằng chữ Chín trăm mười tám nghìn bốn trăm chín mươi ba đồng."
        ],
        "match": "chín trăm mười tám nghìn bốn trăm chín mươi ba",
        "matchmulti": null,
        "page": 0,
        "value": [
          69,
          847,
          719,
          874,
          394,
          860.5,
          "Số tiền viết bằng chữ Chín trăm mười tám nghìn bốn trăm chín mươi ba đồng."
        ]
      }
    ]
  }
}
```

**SDK Code**

```python Extract Vietnam Electricity Bill
import requests

url = "https://api.staple.io/v1/documents/extract/evn"

files = { "files": "open('string', 'rb')" }
headers = {"x-api-key": "<apiKey>"}

response = requests.post(url, files=files, headers=headers)

print(response.json())
```

```javascript Extract Vietnam Electricity Bill
const url = 'https://api.staple.io/v1/documents/extract/evn';
const form = new FormData();
form.append('files', 'string');

const options = {method: 'POST', headers: {'x-api-key': '<apiKey>'}};

options.body = form;

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go Extract Vietnam Electricity Bill
package main

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

func main() {

	url := "https://api.staple.io/v1/documents/extract/evn"

	payload := strings.NewReader("-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"files\"; filename=\"string\"\r\nContent-Type: application/octet-stream\r\n\r\n\r\n-----011000010111000001101001--\r\n")

	req, _ := http.NewRequest("POST", url, payload)

	req.Header.Add("x-api-key", "<apiKey>")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby Extract Vietnam Electricity Bill
require 'uri'
require 'net/http'

url = URI("https://api.staple.io/v1/documents/extract/evn")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Post.new(url)
request["x-api-key"] = '<apiKey>'
request.body = "-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"files\"; filename=\"string\"\r\nContent-Type: application/octet-stream\r\n\r\n\r\n-----011000010111000001101001--\r\n"

response = http.request(request)
puts response.read_body
```

```java Extract Vietnam Electricity Bill
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.post("https://api.staple.io/v1/documents/extract/evn")
  .header("x-api-key", "<apiKey>")
  .body("-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"files\"; filename=\"string\"\r\nContent-Type: application/octet-stream\r\n\r\n\r\n-----011000010111000001101001--\r\n")
  .asString();
```

```php Extract Vietnam Electricity Bill
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('POST', 'https://api.staple.io/v1/documents/extract/evn', [
  'multipart' => [
    [
        'name' => 'files',
        'filename' => 'string',
        'contents' => null
    ]
  ]
  'headers' => [
    'x-api-key' => '<apiKey>',
  ],
]);

echo $response->getBody();
```

```csharp Extract Vietnam Electricity Bill
using RestSharp;

var client = new RestClient("https://api.staple.io/v1/documents/extract/evn");
var request = new RestRequest(Method.POST);
request.AddHeader("x-api-key", "<apiKey>");
request.AddParameter("undefined", "-----011000010111000001101001\r\nContent-Disposition: form-data; name=\"files\"; filename=\"string\"\r\nContent-Type: application/octet-stream\r\n\r\n\r\n-----011000010111000001101001--\r\n", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
```

```swift Extract Vietnam Electricity Bill
import Foundation

let headers = ["x-api-key": "<apiKey>"]
let parameters = [
  [
    "name": "files",
    "fileName": "string"
  ]
]

let boundary = "---011000010111000001101001"

var body = ""
var error: NSError? = nil
for param in parameters {
  let paramName = param["name"]!
  body += "--\(boundary)\r\n"
  body += "Content-Disposition:form-data; name=\"\(paramName)\""
  if let filename = param["fileName"] {
    let contentType = param["content-type"]!
    let fileContent = String(contentsOfFile: filename, encoding: String.Encoding.utf8)
    if (error != nil) {
      print(error as Any)
    }
    body += "; filename=\"\(filename)\"\r\n"
    body += "Content-Type: \(contentType)\r\n\r\n"
    body += fileContent
  } else if let paramValue = param["value"] {
    body += "\r\n\r\n\(paramValue)"
  }
}

let request = NSMutableURLRequest(url: NSURL(string: "https://api.staple.io/v1/documents/extract/evn")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "POST"
request.allHTTPHeaderFields = headers
request.httpBody = postData as Data

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```