Document Models - Get Analyze Result

Gets the result of document analysis.

GET {endpoint}/documentintelligence/documentModels/{modelId}/analyzeResults/{resultId}?api-version=2024-07-31-preview

URI Parameters

Name In Required Type Description
endpoint
path True

string

uri

The Document Intelligence service endpoint.

modelId
path True

string

Unique document model name.

Regex pattern: ^[a-zA-Z0-9][a-zA-Z0-9._~-]{1,63}$

resultId
path True

string

uuid

Analyze operation result ID.

api-version
query True

string

The API version to use for this operation.

Responses

Name Type Description
200 OK

AnalyzeResultOperation

The request has succeeded.

Other Status Codes

ErrorResponse

An unexpected error response.

Security

Ocp-Apim-Subscription-Key

Type: apiKey
In: header

OAuth2Auth

Type: oauth2
Flow: accessCode
Authorization URL: https://login.microsoftonline.com/common/oauth2/authorize
Token URL: https://login.microsoftonline.com/common/oauth2/token

Scopes

Name Description
https://cognitiveservices.azure.com/.default

Examples

Get Analyze Document Result

Sample request

GET https://myendpoint.cognitiveservices.azure.com/documentintelligence/documentModels/prebuilt-invoice/analyzeResults/3b31320d-8bab-4f88-b19c-2322a7f11034?api-version=2024-07-31-preview

Sample response

{
  "status": "succeeded",
  "createdDateTime": "2021-09-24T13:00:46Z",
  "lastUpdatedDateTime": "2021-09-24T13:00:49Z",
  "analyzeResult": {
    "apiVersion": "2024-07-31-preview",
    "modelId": "prebuilt-invoice",
    "stringIndexType": "textElements",
    "contentFormat": "text",
    "content": "CONTOSO LTD.\nINVOICE\nContoso Headquarters\nINVOICE: INV-100\n123 456th St\nINVOICE DATE: 11/15/2019\nNew York, NY, 10001\nDUE DATE: 12/15/2019\nCUSTOMER NAME: MICROSOFT CORPORATION\nSERVICE PERIOD: 10/14/2019 – 11/14/2019\nCUSTOMER ID: CID-12345\nMicrosoft Corp\n123 Other St,\nRedmond WA, 98052\nBILL TO:\nSHIP TO:\nSERVICE ADDRESS:\nMicrosoft Finance\nMicrosoft Delivery\nMicrosoft Services\n123 Bill St,\n123 Ship St,\n123 Service St,\nRedmond WA, 98052\nRedmond WA, 98052\nRedmond WA, 98052\nSALESPERSON\nP.O. NUMBER\nREQUISITIONER\nSHIPPED VIA\nF.O.B. POINT\nTERMS\nPO-3333\nDATE\nITEM CODE\nDESCRIPTION\nQTY\nUM\nPRICE\nTAX\nAMOUNT\n3/4/2021\nA123\nConsulting Services\n2\nhours\n$30.00\n10%\n$60.00\n3/5/2021\nB456\nDocument Fee\n3\n$10.00\n5%\n$30.00\n3/6/2021\nC789\nPrinting Fee\n10\npages\n$1.00\n20%\n$10.00\nSUBTOTAL\n$100.00\nSALES TAX\n$10.00\nTOTAL\n$110.00\nPREVIOUS UNPAID BALANCE\n$500.00\nAMOUNT DUE\n$610.00\nTHANK YOU FOR YOUR BUSINESS!\nREMIT TO:\nContoso Billing\n123 Remit St\nNew York, NY, 10001\n:unselected:",
    "pages": [
      {
        "pageNumber": 1,
        "angle": 0,
        "width": 8.5,
        "height": 11,
        "unit": "inch",
        "words": [
          {
            "content": "CONTOSO",
            "polygon": [
              0.5911,
              0.6857,
              1.7451,
              0.6857,
              1.7451,
              0.8664,
              0.5911,
              0.8664
            ],
            "confidence": 1,
            "span": {
              "offset": 0,
              "length": 7
            }
          },
          {
            "content": "LTD.",
            "polygon": [
              1.8441,
              0.6879,
              2.3181,
              0.6879,
              2.3181,
              0.865,
              1.8441,
              0.865
            ],
            "confidence": 1,
            "span": {
              "offset": 8,
              "length": 4
            }
          },
          {
            "content": "INVOICE",
            "polygon": [
              7.0751,
              0.589,
              7.9886,
              0.589,
              7.9886,
              0.7697,
              7.0751,
              0.7697
            ],
            "confidence": 1,
            "span": {
              "offset": 13,
              "length": 7
            }
          },
          {
            "content": "Contoso",
            "polygon": [
              0.5882,
              1.4303,
              1.1337,
              1.4303,
              1.1337,
              1.5383,
              0.5882,
              1.5383
            ],
            "confidence": 1,
            "span": {
              "offset": 21,
              "length": 7
            }
          },
          {
            "content": "Headquarters",
            "polygon": [
              1.1905,
              1.4239,
              2.0978,
              1.4239,
              2.0978,
              1.5664,
              1.1905,
              1.5664
            ],
            "confidence": 1,
            "span": {
              "offset": 29,
              "length": 12
            }
          },
          {
            "content": "INVOICE:",
            "polygon": [
              6.8599,
              1.4217,
              7.4328,
              1.4217,
              7.4328,
              1.5218,
              6.8599,
              1.5218
            ],
            "confidence": 1,
            "span": {
              "offset": 42,
              "length": 8
            }
          },
          {
            "content": "INV-100",
            "polygon": [
              7.4959,
              1.422,
              7.9988,
              1.422,
              7.9988,
              1.5215,
              7.4959,
              1.5215
            ],
            "confidence": 1,
            "span": {
              "offset": 51,
              "length": 7
            }
          },
          {
            "content": "123",
            "polygon": [
              0.5945,
              1.6339,
              0.8213,
              1.6339,
              0.8213,
              1.742,
              0.5945,
              1.742
            ],
            "confidence": 1,
            "span": {
              "offset": 59,
              "length": 3
            }
          },
          {
            "content": "456th",
            "polygon": [
              0.874,
              1.6092,
              1.2102,
              1.6092,
              1.2102,
              1.742,
              0.874,
              1.742
            ],
            "confidence": 1,
            "span": {
              "offset": 63,
              "length": 5
            }
          },
          {
            "content": "St",
            "polygon": [
              1.2598,
              1.6339,
              1.3812,
              1.6339,
              1.3812,
              1.742,
              1.2598,
              1.742
            ],
            "confidence": 1,
            "span": {
              "offset": 69,
              "length": 2
            }
          },
          {
            "content": "INVOICE",
            "polygon": [
              6.2263,
              1.6254,
              6.7562,
              1.6254,
              6.7562,
              1.7256,
              6.2263,
              1.7256
            ],
            "confidence": 1,
            "span": {
              "offset": 72,
              "length": 7
            }
          },
          {
            "content": "DATE:",
            "polygon": [
              6.8132,
              1.6267,
              7.1891,
              1.6267,
              7.1891,
              1.7248,
              6.8132,
              1.7248
            ],
            "confidence": 1,
            "span": {
              "offset": 80,
              "length": 5
            }
          },
          {
            "content": "11/15/2019",
            "polygon": [
              7.2528,
              1.6139,
              7.993,
              1.6139,
              7.993,
              1.7449,
              7.2528,
              1.7449
            ],
            "confidence": 1,
            "span": {
              "offset": 86,
              "length": 10
            }
          },
          {
            "content": "New",
            "polygon": [
              0.5943,
              1.8385,
              0.8848,
              1.8385,
              0.8848,
              1.9454,
              0.5943,
              1.9454
            ],
            "confidence": 1,
            "span": {
              "offset": 97,
              "length": 3
            }
          },
          {
            "content": "York,",
            "polygon": [
              0.9293,
              1.8307,
              1.2568,
              1.8307,
              1.2568,
              1.9675,
              0.9293,
              1.9675
            ],
            "confidence": 1,
            "span": {
              "offset": 101,
              "length": 5
            }
          },
          {
            "content": "NY,",
            "polygon": [
              1.3205,
              1.8382,
              1.5242,
              1.8382,
              1.5242,
              1.9675,
              1.3205,
              1.9675
            ],
            "confidence": 1,
            "span": {
              "offset": 107,
              "length": 3
            }
          },
          {
            "content": "10001",
            "polygon": [
              1.5915,
              1.8372,
              1.9894,
              1.8372,
              1.9894,
              1.9454,
              1.5915,
              1.9454
            ],
            "confidence": 1,
            "span": {
              "offset": 111,
              "length": 5
            }
          },
          {
            "content": "DUE",
            "polygon": [
              6.4966,
              1.8333,
              6.7569,
              1.8333,
              6.7569,
              1.9322,
              6.4966,
              1.9322
            ],
            "confidence": 1,
            "span": {
              "offset": 117,
              "length": 3
            }
          },
          {
            "content": "DATE:",
            "polygon": [
              6.8126,
              1.8333,
              7.1846,
              1.8333,
              7.1846,
              1.9315,
              6.8126,
              1.9315
            ],
            "confidence": 1,
            "span": {
              "offset": 121,
              "length": 5
            }
          },
          {
            "content": "12/15/2019",
            "polygon": [
              7.2494,
              1.8206,
              7.993,
              1.8206,
              7.993,
              1.9515,
              7.2494,
              1.9515
            ],
            "confidence": 1,
            "span": {
              "offset": 127,
              "length": 10
            }
          },
          {
            "content": "CUSTOMER",
            "polygon": [
              4.9513,
              2.0388,
              5.6868,
              2.0388,
              5.6868,
              2.1389,
              4.9513,
              2.1389
            ],
            "confidence": 1,
            "span": {
              "offset": 138,
              "length": 8
            }
          },
          {
            "content": "NAME:",
            "polygon": [
              5.7412,
              2.04,
              6.1764,
              2.04,
              6.1764,
              2.1381,
              5.7412,
              2.1381
            ],
            "confidence": 1,
            "span": {
              "offset": 147,
              "length": 5
            }
          },
          {
            "content": "MICROSOFT",
            "polygon": [
              6.2419,
              2.0391,
              6.9981,
              2.0391,
              6.9981,
              2.1386,
              6.2419,
              2.1386
            ],
            "confidence": 1,
            "span": {
              "offset": 153,
              "length": 9
            }
          },
          {
            "content": "CORPORATION",
            "polygon": [
              7.0448,
              2.0391,
              7.9825,
              2.0391,
              7.9825,
              2.1386,
              7.0448,
              2.1386
            ],
            "confidence": 1,
            "span": {
              "offset": 163,
              "length": 11
            }
          },
          {
            "content": "SERVICE",
            "polygon": [
              5.1667,
              2.2421,
              5.6923,
              2.2421,
              5.6923,
              2.3422,
              5.1667,
              2.3422
            ],
            "confidence": 1,
            "span": {
              "offset": 175,
              "length": 7
            }
          },
          {
            "content": "PERIOD:",
            "polygon": [
              5.748,
              2.2421,
              6.2721,
              2.2421,
              6.2721,
              2.3422,
              5.748,
              2.3422
            ],
            "confidence": 1,
            "span": {
              "offset": 183,
              "length": 7
            }
          },
          {
            "content": "10/14/2019",
            "polygon": [
              6.3357,
              2.2306,
              7.0749,
              2.2306,
              7.0749,
              2.3615,
              6.3357,
              2.3615
            ],
            "confidence": 1,
            "span": {
              "offset": 191,
              "length": 10
            }
          },
          {
            "content": "–",
            "polygon": [
              7.122,
              2.2922,
              7.1995,
              2.2922,
              7.1995,
              2.3037,
              7.122,
              2.3037
            ],
            "confidence": 1,
            "span": {
              "offset": 202,
              "length": 1
            }
          },
          {
            "content": "11/14/2019",
            "polygon": [
              7.2528,
              2.2306,
              7.9952,
              2.2306,
              7.9952,
              2.3615,
              7.2528,
              2.3615
            ],
            "confidence": 1,
            "span": {
              "offset": 204,
              "length": 10
            }
          },
          {
            "content": "CUSTOMER",
            "polygon": [
              6.3253,
              2.4488,
              7.0608,
              2.4488,
              7.0608,
              2.5489,
              6.3253,
              2.5489
            ],
            "confidence": 1,
            "span": {
              "offset": 215,
              "length": 8
            }
          },
          {
            "content": "ID:",
            "polygon": [
              7.1153,
              2.45,
              7.2809,
              2.45,
              7.2809,
              2.5481,
              7.1153,
              2.5481
            ],
            "confidence": 1,
            "span": {
              "offset": 224,
              "length": 3
            }
          },
          {
            "content": "CID-12345",
            "polygon": [
              7.3369,
              2.4491,
              7.9951,
              2.4491,
              7.9951,
              2.5486,
              7.3369,
              2.5486
            ],
            "confidence": 1,
            "span": {
              "offset": 228,
              "length": 9
            }
          },
          {
            "content": "Microsoft",
            "polygon": [
              0.5943,
              2.6436,
              1.2303,
              2.6436,
              1.2303,
              2.759,
              0.5943,
              2.759
            ],
            "confidence": 1,
            "span": {
              "offset": 238,
              "length": 9
            }
          },
          {
            "content": "Corp",
            "polygon": [
              1.2808,
              2.651,
              1.586,
              2.651,
              1.586,
              2.7871,
              1.2808,
              2.7871
            ],
            "confidence": 1,
            "span": {
              "offset": 248,
              "length": 4
            }
          },
          {
            "content": "123",
            "polygon": [
              0.5945,
              2.8541,
              0.8213,
              2.8541,
              0.8213,
              2.9623,
              0.5945,
              2.9623
            ],
            "confidence": 1,
            "span": {
              "offset": 253,
              "length": 3
            }
          },
          {
            "content": "Other",
            "polygon": [
              0.875,
              2.8476,
              1.262,
              2.8476,
              1.262,
              2.9623,
              0.875,
              2.9623
            ],
            "confidence": 1,
            "span": {
              "offset": 257,
              "length": 5
            }
          },
          {
            "content": "St,",
            "polygon": [
              1.3058,
              2.8541,
              1.4633,
              2.8541,
              1.4633,
              2.9845,
              1.3058,
              2.9845
            ],
            "confidence": 1,
            "span": {
              "offset": 263,
              "length": 3
            }
          },
          {
            "content": "Redmond",
            "polygon": [
              0.5943,
              3.0513,
              1.2222,
              3.0513,
              1.2222,
              3.1656,
              0.5943,
              3.1656
            ],
            "confidence": 1,
            "span": {
              "offset": 267,
              "length": 7
            }
          },
          {
            "content": "WA,",
            "polygon": [
              1.2753,
              3.0585,
              1.5468,
              3.0585,
              1.5468,
              3.1878,
              1.2753,
              3.1878
            ],
            "confidence": 1,
            "span": {
              "offset": 275,
              "length": 3
            }
          },
          {
            "content": "98052",
            "polygon": [
              1.6033,
              3.0575,
              2.0083,
              3.0575,
              2.0083,
              3.1656,
              1.6033,
              3.1656
            ],
            "confidence": 1,
            "span": {
              "offset": 279,
              "length": 5
            }
          },
          {
            "content": "BILL",
            "polygon": [
              0.5909,
              3.5603,
              0.8438,
              3.5603,
              0.8438,
              3.6579,
              0.5909,
              3.6579
            ],
            "confidence": 1,
            "span": {
              "offset": 285,
              "length": 4
            }
          },
          {
            "content": "TO:",
            "polygon": [
              0.8846,
              3.559,
              1.1032,
              3.559,
              1.1032,
              3.6592,
              0.8846,
              3.6592
            ],
            "confidence": 1,
            "span": {
              "offset": 290,
              "length": 3
            }
          },
          {
            "content": "SHIP",
            "polygon": [
              3.3361,
              3.559,
              3.6278,
              3.559,
              3.6278,
              3.6592,
              3.3361,
              3.6592
            ],
            "confidence": 1,
            "span": {
              "offset": 294,
              "length": 4
            }
          },
          {
            "content": "TO:",
            "polygon": [
              3.6716,
              3.559,
              3.8903,
              3.559,
              3.8903,
              3.6592,
              3.6716,
              3.6592
            ],
            "confidence": 1,
            "span": {
              "offset": 299,
              "length": 3
            }
          },
          {
            "content": "SERVICE",
            "polygon": [
              6.2104,
              3.559,
              6.7361,
              3.559,
              6.7361,
              3.6592,
              6.2104,
              3.6592
            ],
            "confidence": 1,
            "span": {
              "offset": 303,
              "length": 7
            }
          },
          {
            "content": "ADDRESS:",
            "polygon": [
              6.7828,
              3.559,
              7.4232,
              3.559,
              7.4232,
              3.6592,
              6.7828,
              3.6592
            ],
            "confidence": 1,
            "span": {
              "offset": 311,
              "length": 8
            }
          },
          {
            "content": "Microsoft",
            "polygon": [
              0.5943,
              3.7641,
              1.2303,
              3.7641,
              1.2303,
              3.8794,
              0.5943,
              3.8794
            ],
            "confidence": 1,
            "span": {
              "offset": 320,
              "length": 9
            }
          },
          {
            "content": "Finance",
            "polygon": [
              1.287,
              3.7701,
              1.7878,
              3.7701,
              1.7878,
              3.8794,
              1.287,
              3.8794
            ],
            "confidence": 1,
            "span": {
              "offset": 330,
              "length": 7
            }
          },
          {
            "content": "Microsoft",
            "polygon": [
              3.3454,
              3.7641,
              3.9814,
              3.7641,
              3.9814,
              3.8794,
              3.3454,
              3.8794
            ],
            "confidence": 1,
            "span": {
              "offset": 338,
              "length": 9
            }
          },
          {
            "content": "Delivery",
            "polygon": [
              4.0381,
              3.7647,
              4.5762,
              3.7647,
              4.5762,
              3.9076,
              4.0381,
              3.9076
            ],
            "confidence": 1,
            "span": {
              "offset": 348,
              "length": 8
            }
          },
          {
            "content": "Microsoft",
            "polygon": [
              6.2197,
              3.7641,
              6.8557,
              3.7641,
              6.8557,
              3.8794,
              6.2197,
              3.8794
            ],
            "confidence": 1,
            "span": {
              "offset": 357,
              "length": 9
            }
          },
          {
            "content": "Services",
            "polygon": [
              6.9042,
              3.7701,
              7.4427,
              3.7701,
              7.4427,
              3.8794,
              6.9042,
              3.8794
            ],
            "confidence": 1,
            "span": {
              "offset": 367,
              "length": 8
            }
          },
          {
            "content": "123",
            "polygon": [
              0.5945,
              3.9746,
              0.8213,
              3.9746,
              0.8213,
              4.0827,
              0.5945,
              4.0827
            ],
            "confidence": 1,
            "span": {
              "offset": 376,
              "length": 3
            }
          },
          {
            "content": "Bill",
            "polygon": [
              0.8842,
              3.9681,
              1.0657,
              3.9681,
              1.0657,
              4.0817,
              0.8842,
              4.0817
            ],
            "confidence": 1,
            "span": {
              "offset": 380,
              "length": 4
            }
          },
          {
            "content": "St,",
            "polygon": [
              1.1222,
              3.9746,
              1.2765,
              3.9746,
              1.2765,
              4.1049,
              1.1222,
              4.1049
            ],
            "confidence": 1,
            "span": {
              "offset": 385,
              "length": 3
            }
          },
          {
            "content": "123",
            "polygon": [
              3.3456,
              3.9746,
              3.5724,
              3.9746,
              3.5724,
              4.0827,
              3.3456,
              4.0827
            ],
            "confidence": 1,
            "span": {
              "offset": 389,
              "length": 3
            }
          },
          {
            "content": "Ship",
            "polygon": [
              3.6239,
              3.9681,
              3.9042,
              3.9681,
              3.9042,
              4.1109,
              3.6239,
              4.1109
            ],
            "confidence": 1,
            "span": {
              "offset": 393,
              "length": 4
            }
          },
          {
            "content": "St,",
            "polygon": [
              3.9536,
              3.9746,
              4.1111,
              3.9746,
              4.1111,
              4.1049,
              3.9536,
              4.1049
            ],
            "confidence": 1,
            "span": {
              "offset": 398,
              "length": 3
            }
          },
          {
            "content": "123",
            "polygon": [
              6.2199,
              3.9746,
              6.4467,
              3.9746,
              6.4467,
              4.0827,
              6.2199,
              4.0827
            ],
            "confidence": 1,
            "span": {
              "offset": 402,
              "length": 3
            }
          },
          {
            "content": "Service",
            "polygon": [
              6.4985,
              3.9734,
              6.9738,
              3.9734,
              6.9738,
              4.0827,
              6.4985,
              4.0827
            ],
            "confidence": 1,
            "span": {
              "offset": 406,
              "length": 7
            }
          },
          {
            "content": "St,",
            "polygon": [
              7.0246,
              3.9746,
              7.1821,
              3.9746,
              7.1821,
              4.1049,
              7.0246,
              4.1049
            ],
            "confidence": 1,
            "span": {
              "offset": 414,
              "length": 3
            }
          },
          {
            "content": "Redmond",
            "polygon": [
              0.5943,
              4.1717,
              1.2222,
              4.1717,
              1.2222,
              4.2861,
              0.5943,
              4.2861
            ],
            "confidence": 1,
            "span": {
              "offset": 418,
              "length": 7
            }
          },
          {
            "content": "WA,",
            "polygon": [
              1.2753,
              4.1789,
              1.5468,
              4.1789,
              1.5468,
              4.3082,
              1.2753,
              4.3082
            ],
            "confidence": 1,
            "span": {
              "offset": 426,
              "length": 3
            }
          },
          {
            "content": "98052",
            "polygon": [
              1.6033,
              4.1779,
              2.0083,
              4.1779,
              2.0083,
              4.2861,
              1.6033,
              4.2861
            ],
            "confidence": 1,
            "span": {
              "offset": 430,
              "length": 5
            }
          },
          {
            "content": "Redmond",
            "polygon": [
              3.3454,
              4.1717,
              3.9732,
              4.1717,
              3.9732,
              4.2861,
              3.3454,
              4.2861
            ],
            "confidence": 1,
            "span": {
              "offset": 436,
              "length": 7
            }
          },
          {
            "content": "WA,",
            "polygon": [
              4.0264,
              4.1789,
              4.2979,
              4.1789,
              4.2979,
              4.3082,
              4.0264,
              4.3082
            ],
            "confidence": 1,
            "span": {
              "offset": 444,
              "length": 3
            }
          },
          {
            "content": "98052",
            "polygon": [
              4.3544,
              4.1779,
              4.7594,
              4.1779,
              4.7594,
              4.2861,
              4.3544,
              4.2861
            ],
            "confidence": 1,
            "span": {
              "offset": 448,
              "length": 5
            }
          },
          {
            "content": "Redmond",
            "polygon": [
              6.2197,
              4.1717,
              6.8475,
              4.1717,
              6.8475,
              4.2861,
              6.2197,
              4.2861
            ],
            "confidence": 1,
            "span": {
              "offset": 454,
              "length": 7
            }
          },
          {
            "content": "WA,",
            "polygon": [
              6.9007,
              4.1789,
              7.1722,
              4.1789,
              7.1722,
              4.3082,
              6.9007,
              4.3082
            ],
            "confidence": 1,
            "span": {
              "offset": 462,
              "length": 3
            }
          },
          {
            "content": "98052",
            "polygon": [
              7.2287,
              4.1779,
              7.6337,
              4.1779,
              7.6337,
              4.2861,
              7.2287,
              4.2861
            ],
            "confidence": 1,
            "span": {
              "offset": 466,
              "length": 5
            }
          },
          {
            "content": "SALESPERSON",
            "polygon": [
              0.7018,
              4.6528,
              1.6092,
              4.6528,
              1.6092,
              4.7529,
              0.7018,
              4.7529
            ],
            "confidence": 1,
            "span": {
              "offset": 472,
              "length": 11
            }
          },
          {
            "content": "P.O.",
            "polygon": [
              2.1216,
              4.6528,
              2.3788,
              4.6528,
              2.3788,
              4.7529,
              2.1216,
              4.7529
            ],
            "confidence": 1,
            "span": {
              "offset": 484,
              "length": 4
            }
          },
          {
            "content": "NUMBER",
            "polygon": [
              2.4376,
              4.654,
              3.0155,
              4.654,
              3.0155,
              4.7529,
              2.4376,
              4.7529
            ],
            "confidence": 1,
            "span": {
              "offset": 489,
              "length": 6
            }
          },
          {
            "content": "REQUISITIONER",
            "polygon": [
              3.4953,
              4.6528,
              4.5157,
              4.6528,
              4.5157,
              4.7687,
              3.4953,
              4.7687
            ],
            "confidence": 1,
            "span": {
              "offset": 496,
              "length": 13
            }
          },
          {
            "content": "SHIPPED",
            "polygon": [
              4.81,
              4.6528,
              5.362,
              4.6528,
              5.362,
              4.7529,
              4.81,
              4.7529
            ],
            "confidence": 1,
            "span": {
              "offset": 510,
              "length": 7
            }
          },
          {
            "content": "VIA",
            "polygon": [
              5.409,
              4.654,
              5.6317,
              4.654,
              5.6317,
              4.7517,
              5.409,
              4.7517
            ],
            "confidence": 1,
            "span": {
              "offset": 518,
              "length": 3
            }
          },
          {
            "content": "F.O.B.",
            "polygon": [
              5.8696,
              4.6528,
              6.2467,
              4.6528,
              6.2467,
              4.7529,
              5.8696,
              4.7529
            ],
            "confidence": 1,
            "span": {
              "offset": 522,
              "length": 6
            }
          },
          {
            "content": "POINT",
            "polygon": [
              6.3054,
              4.6528,
              6.706,
              4.6528,
              6.706,
              4.7529,
              6.3054,
              4.7529
            ],
            "confidence": 1,
            "span": {
              "offset": 529,
              "length": 5
            }
          },
          {
            "content": "TERMS",
            "polygon": [
              7.1806,
              4.6528,
              7.6304,
              4.6528,
              7.6304,
              4.7529,
              7.1806,
              4.7529
            ],
            "confidence": 1,
            "span": {
              "offset": 535,
              "length": 5
            }
          },
          {
            "content": "PO-3333",
            "polygon": [
              1.9114,
              4.9282,
              2.4718,
              4.9282,
              2.4718,
              5.0363,
              1.9114,
              5.0363
            ],
            "confidence": 1,
            "span": {
              "offset": 541,
              "length": 7
            }
          },
          {
            "content": "DATE",
            "polygon": [
              0.7409,
              5.421,
              1.0744,
              5.421,
              1.0744,
              5.5186,
              0.7409,
              5.5186
            ],
            "confidence": 1,
            "span": {
              "offset": 549,
              "length": 4
            }
          },
          {
            "content": "ITEM",
            "polygon": [
              1.4213,
              5.421,
              1.7338,
              5.421,
              1.7338,
              5.5186,
              1.4213,
              5.5186
            ],
            "confidence": 1,
            "span": {
              "offset": 554,
              "length": 4
            }
          },
          {
            "content": "CODE",
            "polygon": [
              1.7893,
              5.4197,
              2.1407,
              5.4197,
              2.1407,
              5.5199,
              1.7893,
              5.5199
            ],
            "confidence": 1,
            "span": {
              "offset": 559,
              "length": 4
            }
          },
          {
            "content": "DESCRIPTION",
            "polygon": [
              2.8516,
              5.4197,
              3.7134,
              5.4197,
              3.7134,
              5.5199,
              2.8516,
              5.5199
            ],
            "confidence": 1,
            "span": {
              "offset": 564,
              "length": 11
            }
          },
          {
            "content": "QTY",
            "polygon": [
              4.4043,
              5.4197,
              4.6631,
              5.4197,
              4.6631,
              5.5357,
              4.4043,
              5.5357
            ],
            "confidence": 1,
            "span": {
              "offset": 576,
              "length": 3
            }
          },
          {
            "content": "UM",
            "polygon": [
              5.049,
              5.421,
              5.2654,
              5.421,
              5.2654,
              5.5199,
              5.049,
              5.5199
            ],
            "confidence": 1,
            "span": {
              "offset": 580,
              "length": 2
            }
          },
          {
            "content": "PRICE",
            "polygon": [
              5.8563,
              5.4199,
              6.2163,
              5.4199,
              6.2163,
              5.5197,
              5.8563,
              5.5197
            ],
            "confidence": 1,
            "span": {
              "offset": 583,
              "length": 5
            }
          },
          {
            "content": "TAX",
            "polygon": [
              6.7169,
              5.421,
              6.974,
              5.421,
              6.974,
              5.5186,
              6.7169,
              5.5186
            ],
            "confidence": 1,
            "span": {
              "offset": 589,
              "length": 3
            }
          },
          {
            "content": "AMOUNT",
            "polygon": [
              7.2847,
              5.4197,
              7.9039,
              5.4197,
              7.9039,
              5.5199,
              7.2847,
              5.5199
            ],
            "confidence": 1,
            "span": {
              "offset": 593,
              "length": 6
            }
          },
          {
            "content": "3/4/2021",
            "polygon": [
              0.592,
              5.682,
              1.2092,
              5.682,
              1.2092,
              5.8243,
              0.592,
              5.8243
            ],
            "confidence": 1,
            "span": {
              "offset": 600,
              "length": 8
            }
          },
          {
            "content": "A123",
            "polygon": [
              1.6069,
              5.6948,
              1.9417,
              5.6948,
              1.9417,
              5.803,
              1.6069,
              5.803
            ],
            "confidence": 1,
            "span": {
              "offset": 609,
              "length": 4
            }
          },
          {
            "content": "Consulting",
            "polygon": [
              2.3388,
              5.6883,
              3.0438,
              5.6883,
              3.0438,
              5.8312,
              2.3388,
              5.8312
            ],
            "confidence": 1,
            "span": {
              "offset": 614,
              "length": 10
            }
          },
          {
            "content": "Services",
            "polygon": [
              3.0925,
              5.6937,
              3.6278,
              5.6937,
              3.6278,
              5.803,
              3.0925,
              5.803
            ],
            "confidence": 1,
            "span": {
              "offset": 625,
              "length": 8
            }
          },
          {
            "content": "2",
            "polygon": [
              4.5977,
              5.6948,
              4.6635,
              5.6948,
              4.6635,
              5.8017,
              4.5977,
              5.8017
            ],
            "confidence": 1,
            "span": {
              "offset": 634,
              "length": 1
            }
          },
          {
            "content": "hours",
            "polygon": [
              4.8444,
              5.6883,
              5.2071,
              5.6883,
              5.2071,
              5.803,
              4.8444,
              5.803
            ],
            "confidence": 1,
            "span": {
              "offset": 636,
              "length": 5
            }
          },
          {
            "content": "$30.00",
            "polygon": [
              5.9669,
              5.6777,
              6.4142,
              5.6777,
              6.4142,
              5.8215,
              5.9669,
              5.8215
            ],
            "confidence": 1,
            "span": {
              "offset": 642,
              "length": 6
            }
          },
          {
            "content": "10%",
            "polygon": [
              6.7168,
              5.6932,
              6.9826,
              5.6932,
              6.9826,
              5.8045,
              6.7168,
              5.8045
            ],
            "confidence": 1,
            "span": {
              "offset": 649,
              "length": 3
            }
          },
          {
            "content": "$60.00",
            "polygon": [
              7.4642,
              5.6777,
              7.9116,
              5.6777,
              7.9116,
              5.8215,
              7.4642,
              5.8215
            ],
            "confidence": 1,
            "span": {
              "offset": 653,
              "length": 6
            }
          },
          {
            "content": "3/5/2021",
            "polygon": [
              0.592,
              5.9787,
              1.2088,
              5.9787,
              1.2088,
              6.121,
              0.592,
              6.121
            ],
            "confidence": 1,
            "span": {
              "offset": 660,
              "length": 8
            }
          },
          {
            "content": "B456",
            "polygon": [
              1.6214,
              5.9915,
              1.9419,
              5.9915,
              1.9419,
              6.0997,
              1.6214,
              6.0997
            ],
            "confidence": 1,
            "span": {
              "offset": 669,
              "length": 4
            }
          },
          {
            "content": "Document",
            "polygon": [
              2.345,
              5.993,
              3.0318,
              5.993,
              3.0318,
              6.0997,
              2.345,
              6.0997
            ],
            "confidence": 1,
            "span": {
              "offset": 674,
              "length": 8
            }
          },
          {
            "content": "Fee",
            "polygon": [
              3.0887,
              5.993,
              3.3096,
              5.993,
              3.3096,
              6.0997,
              3.0887,
              6.0997
            ],
            "confidence": 1,
            "span": {
              "offset": 683,
              "length": 3
            }
          },
          {
            "content": "3",
            "polygon": [
              4.5967,
              5.9915,
              4.6627,
              5.9915,
              4.6627,
              6.0997,
              4.5967,
              6.0997
            ],
            "confidence": 1,
            "span": {
              "offset": 687,
              "length": 1
            }
          },
          {
            "content": "$10.00",
            "polygon": [
              5.9669,
              5.9743,
              6.4142,
              5.9743,
              6.4142,
              6.1182,
              5.9669,
              6.1182
            ],
            "confidence": 1,
            "span": {
              "offset": 689,
              "length": 6
            }
          },
          {
            "content": "5%",
            "polygon": [
              6.7508,
              5.9898,
              6.9393,
              5.9898,
              6.9393,
              6.1012,
              6.7508,
              6.1012
            ],
            "confidence": 1,
            "span": {
              "offset": 696,
              "length": 2
            }
          },
          {
            "content": "$30.00",
            "polygon": [
              7.4642,
              5.9743,
              7.9116,
              5.9743,
              7.9116,
              6.1182,
              7.4642,
              6.1182
            ],
            "confidence": 1,
            "span": {
              "offset": 699,
              "length": 6
            }
          },
          {
            "content": "3/6/2021",
            "polygon": [
              0.592,
              6.2789,
              1.2088,
              6.2789,
              1.2088,
              6.4213,
              0.592,
              6.4213
            ],
            "confidence": 1,
            "span": {
              "offset": 706,
              "length": 8
            }
          },
          {
            "content": "C789",
            "polygon": [
              1.6152,
              6.2918,
              1.94,
              6.2918,
              1.94,
              6.3999,
              1.6152,
              6.3999
            ],
            "confidence": 1,
            "span": {
              "offset": 715,
              "length": 4
            }
          },
          {
            "content": "Printing",
            "polygon": [
              2.345,
              6.2906,
              2.8575,
              6.2906,
              2.8575,
              6.4281,
              2.345,
              6.4281
            ],
            "confidence": 1,
            "span": {
              "offset": 720,
              "length": 8
            }
          },
          {
            "content": "Fee",
            "polygon": [
              2.9143,
              6.2933,
              3.1351,
              6.2933,
              3.1351,
              6.3999,
              2.9143,
              6.3999
            ],
            "confidence": 1,
            "span": {
              "offset": 729,
              "length": 3
            }
          },
          {
            "content": "10",
            "polygon": [
              4.5158,
              6.2918,
              4.6637,
              6.2918,
              4.6637,
              6.3999,
              4.5158,
              6.3999
            ],
            "confidence": 1,
            "span": {
              "offset": 733,
              "length": 2
            }
          },
          {
            "content": "pages",
            "polygon": [
              4.8444,
              6.3196,
              5.2199,
              6.3196,
              5.2199,
              6.4281,
              4.8444,
              6.4281
            ],
            "confidence": 1,
            "span": {
              "offset": 736,
              "length": 5
            }
          },
          {
            "content": "$1.00",
            "polygon": [
              6.0502,
              6.2746,
              6.4142,
              6.2746,
              6.4142,
              6.4184,
              6.0502,
              6.4184
            ],
            "confidence": 1,
            "span": {
              "offset": 742,
              "length": 5
            }
          },
          {
            "content": "20%",
            "polygon": [
              6.712,
              6.2901,
              6.9826,
              6.2901,
              6.9826,
              6.4014,
              6.712,
              6.4014
            ],
            "confidence": 1,
            "span": {
              "offset": 748,
              "length": 3
            }
          },
          {
            "content": "$10.00",
            "polygon": [
              7.4642,
              6.2746,
              7.9116,
              6.2746,
              7.9116,
              6.4184,
              7.4642,
              6.4184
            ],
            "confidence": 1,
            "span": {
              "offset": 752,
              "length": 6
            }
          },
          {
            "content": "SUBTOTAL",
            "polygon": [
              6.0282,
              6.9118,
              6.7309,
              6.9118,
              6.7309,
              7.0199,
              6.0282,
              7.0199
            ],
            "confidence": 1,
            "span": {
              "offset": 759,
              "length": 8
            }
          },
          {
            "content": "$100.00",
            "polygon": [
              7.3842,
              6.8679,
              7.9181,
              6.8679,
              7.9181,
              7.0118,
              7.3842,
              7.0118
            ],
            "confidence": 1,
            "span": {
              "offset": 768,
              "length": 7
            }
          },
          {
            "content": "SALES",
            "polygon": [
              6.0382,
              7.2089,
              6.4262,
              7.2089,
              6.4262,
              7.317,
              6.0382,
              7.317
            ],
            "confidence": 1,
            "span": {
              "offset": 776,
              "length": 5
            }
          },
          {
            "content": "TAX",
            "polygon": [
              6.4702,
              7.2099,
              6.728,
              7.2099,
              6.728,
              7.316,
              6.4702,
              7.316
            ],
            "confidence": 1,
            "span": {
              "offset": 782,
              "length": 3
            }
          },
          {
            "content": "$10.00",
            "polygon": [
              7.4709,
              7.165,
              7.9182,
              7.165,
              7.9182,
              7.3089,
              7.4709,
              7.3089
            ],
            "confidence": 1,
            "span": {
              "offset": 786,
              "length": 6
            }
          },
          {
            "content": "TOTAL",
            "polygon": [
              6.2969,
              7.5089,
              6.7309,
              7.5089,
              6.7309,
              7.617,
              6.2969,
              7.617
            ],
            "confidence": 1,
            "span": {
              "offset": 793,
              "length": 5
            }
          },
          {
            "content": "$110.00",
            "polygon": [
              7.3842,
              7.465,
              7.9181,
              7.465,
              7.9181,
              7.6089,
              7.3842,
              7.6089
            ],
            "confidence": 1,
            "span": {
              "offset": 799,
              "length": 7
            }
          },
          {
            "content": "PREVIOUS",
            "polygon": [
              4.8126,
              7.8055,
              5.4789,
              7.8055,
              5.4789,
              7.9137,
              4.8126,
              7.9137
            ],
            "confidence": 1,
            "span": {
              "offset": 807,
              "length": 8
            }
          },
          {
            "content": "UNPAID",
            "polygon": [
              5.5362,
              7.8065,
              6.057,
              7.8065,
              6.057,
              7.9137,
              5.5362,
              7.9137
            ],
            "confidence": 1,
            "span": {
              "offset": 816,
              "length": 6
            }
          },
          {
            "content": "BALANCE",
            "polygon": [
              6.1164,
              7.8057,
              6.7249,
              7.8057,
              6.7249,
              7.9135,
              6.1164,
              7.9135
            ],
            "confidence": 1,
            "span": {
              "offset": 823,
              "length": 7
            }
          },
          {
            "content": "$500.00",
            "polygon": [
              7.3842,
              7.7617,
              7.9181,
              7.7617,
              7.9181,
              7.9055,
              7.3842,
              7.9055
            ],
            "confidence": 1,
            "span": {
              "offset": 831,
              "length": 7
            }
          },
          {
            "content": "AMOUNT",
            "polygon": [
              5.7652,
              8.1022,
              6.4055,
              8.1022,
              6.4055,
              8.2104,
              5.7652,
              8.2104
            ],
            "confidence": 1,
            "span": {
              "offset": 839,
              "length": 6
            }
          },
          {
            "content": "DUE",
            "polygon": [
              6.4562,
              8.1032,
              6.725,
              8.1032,
              6.725,
              8.2104,
              6.4562,
              8.2104
            ],
            "confidence": 1,
            "span": {
              "offset": 846,
              "length": 3
            }
          },
          {
            "content": "$610.00",
            "polygon": [
              7.3842,
              8.0584,
              7.9181,
              8.0584,
              7.9181,
              8.2022,
              7.3842,
              8.2022
            ],
            "confidence": 1,
            "span": {
              "offset": 850,
              "length": 7
            }
          },
          {
            "content": "THANK",
            "polygon": [
              3.129,
              8.5453,
              3.5887,
              8.5453,
              3.5887,
              8.6429,
              3.129,
              8.6429
            ],
            "confidence": 1,
            "span": {
              "offset": 858,
              "length": 5
            }
          },
          {
            "content": "YOU",
            "polygon": [
              3.6316,
              8.544,
              3.9064,
              8.544,
              3.9064,
              8.6442,
              3.6316,
              8.6442
            ],
            "confidence": 1,
            "span": {
              "offset": 864,
              "length": 3
            }
          },
          {
            "content": "FOR",
            "polygon": [
              3.9671,
              8.544,
              4.2187,
              8.544,
              4.2187,
              8.6442,
              3.9671,
              8.6442
            ],
            "confidence": 1,
            "span": {
              "offset": 868,
              "length": 3
            }
          },
          {
            "content": "YOUR",
            "polygon": [
              4.2638,
              8.544,
              4.6347,
              8.544,
              4.6347,
              8.6442,
              4.2638,
              8.6442
            ],
            "confidence": 1,
            "span": {
              "offset": 872,
              "length": 4
            }
          },
          {
            "content": "BUSINESS!",
            "polygon": [
              4.6859,
              8.539,
              5.356,
              8.539,
              5.356,
              8.6442,
              4.6859,
              8.6442
            ],
            "confidence": 1,
            "span": {
              "offset": 877,
              "length": 9
            }
          },
          {
            "content": "REMIT",
            "polygon": [
              0.5909,
              9.1619,
              1.0014,
              9.1619,
              1.0014,
              9.2596,
              0.5909,
              9.2596
            ],
            "confidence": 1,
            "span": {
              "offset": 887,
              "length": 5
            }
          },
          {
            "content": "TO:",
            "polygon": [
              1.0446,
              9.1607,
              1.2603,
              9.1607,
              1.2603,
              9.2608,
              1.0446,
              9.2608
            ],
            "confidence": 1,
            "span": {
              "offset": 893,
              "length": 3
            }
          },
          {
            "content": "Contoso",
            "polygon": [
              0.5882,
              9.3697,
              1.1337,
              9.3697,
              1.1337,
              9.4777,
              0.5882,
              9.4777
            ],
            "confidence": 1,
            "span": {
              "offset": 897,
              "length": 7
            }
          },
          {
            "content": "Billing",
            "polygon": [
              1.1905,
              9.3631,
              1.5828,
              9.3631,
              1.5828,
              9.5059,
              1.1905,
              9.5059
            ],
            "confidence": 1,
            "span": {
              "offset": 905,
              "length": 7
            }
          },
          {
            "content": "123",
            "polygon": [
              0.5945,
              9.5728,
              0.8213,
              9.5728,
              0.8213,
              9.681,
              0.5945,
              9.681
            ],
            "confidence": 1,
            "span": {
              "offset": 913,
              "length": 3
            }
          },
          {
            "content": "Remit",
            "polygon": [
              0.881,
              9.5717,
              1.264,
              9.5717,
              1.264,
              9.681,
              0.881,
              9.681
            ],
            "confidence": 1,
            "span": {
              "offset": 917,
              "length": 5
            }
          },
          {
            "content": "St",
            "polygon": [
              1.3125,
              9.5728,
              1.4337,
              9.5728,
              1.4337,
              9.681,
              1.3125,
              9.681
            ],
            "confidence": 1,
            "span": {
              "offset": 923,
              "length": 2
            }
          },
          {
            "content": "New",
            "polygon": [
              0.5943,
              9.7808,
              0.8848,
              9.7808,
              0.8848,
              9.8877,
              0.5943,
              9.8877
            ],
            "confidence": 1,
            "span": {
              "offset": 926,
              "length": 3
            }
          },
          {
            "content": "York,",
            "polygon": [
              0.9293,
              9.773,
              1.2568,
              9.773,
              1.2568,
              9.9098,
              0.9293,
              9.9098
            ],
            "confidence": 1,
            "span": {
              "offset": 930,
              "length": 5
            }
          },
          {
            "content": "NY,",
            "polygon": [
              1.3205,
              9.7805,
              1.5233,
              9.7805,
              1.5233,
              9.9098,
              1.3205,
              9.9098
            ],
            "confidence": 1,
            "span": {
              "offset": 936,
              "length": 3
            }
          },
          {
            "content": "10001",
            "polygon": [
              1.5903,
              9.7795,
              1.9882,
              9.7795,
              1.9882,
              9.8877,
              1.5903,
              9.8877
            ],
            "confidence": 1,
            "span": {
              "offset": 940,
              "length": 5
            }
          }
        ],
        "selectionMarks": [
          {
            "state": "unselected",
            "polygon": [
              4.3231,
              5.6279,
              4.7562,
              5.6279,
              4.7562,
              5.8654,
              4.3231,
              5.8654
            ],
            "confidence": 0.212,
            "span": {
              "offset": 946,
              "length": 12
            }
          }
        ],
        "lines": [
          {
            "content": "CONTOSO LTD.",
            "polygon": [
              0.5911,
              0.6857,
              2.3181,
              0.6857,
              2.3181,
              0.8664,
              0.5911,
              0.8664
            ],
            "spans": [
              {
                "offset": 0,
                "length": 12
              }
            ]
          },
          {
            "content": "INVOICE",
            "polygon": [
              7.0751,
              0.589,
              7.9886,
              0.589,
              7.9886,
              0.7697,
              7.0751,
              0.7697
            ],
            "spans": [
              {
                "offset": 13,
                "length": 7
              }
            ]
          },
          {
            "content": "Contoso Headquarters",
            "polygon": [
              0.5882,
              1.4239,
              2.0978,
              1.4239,
              2.0978,
              1.5664,
              0.5882,
              1.5664
            ],
            "spans": [
              {
                "offset": 21,
                "length": 20
              }
            ]
          },
          {
            "content": "INVOICE: INV-100",
            "polygon": [
              6.8599,
              1.4217,
              7.9988,
              1.4217,
              7.9988,
              1.5218,
              6.8599,
              1.5218
            ],
            "spans": [
              {
                "offset": 42,
                "length": 16
              }
            ]
          },
          {
            "content": "123 456th St",
            "polygon": [
              0.5945,
              1.6092,
              1.3812,
              1.6092,
              1.3812,
              1.742,
              0.5945,
              1.742
            ],
            "spans": [
              {
                "offset": 59,
                "length": 12
              }
            ]
          },
          {
            "content": "INVOICE DATE: 11/15/2019",
            "polygon": [
              6.2263,
              1.6139,
              7.993,
              1.6139,
              7.993,
              1.7449,
              6.2263,
              1.7449
            ],
            "spans": [
              {
                "offset": 72,
                "length": 24
              }
            ]
          },
          {
            "content": "New York, NY, 10001",
            "polygon": [
              0.5943,
              1.8307,
              1.9894,
              1.8307,
              1.9894,
              1.9675,
              0.5943,
              1.9675
            ],
            "spans": [
              {
                "offset": 97,
                "length": 19
              }
            ]
          },
          {
            "content": "DUE DATE: 12/15/2019",
            "polygon": [
              6.4966,
              1.8206,
              7.993,
              1.8206,
              7.993,
              1.9515,
              6.4966,
              1.9515
            ],
            "spans": [
              {
                "offset": 117,
                "length": 20
              }
            ]
          },
          {
            "content": "CUSTOMER NAME: MICROSOFT CORPORATION",
            "polygon": [
              4.9513,
              2.0388,
              7.9825,
              2.0388,
              7.9825,
              2.1389,
              4.9513,
              2.1389
            ],
            "spans": [
              {
                "offset": 138,
                "length": 36
              }
            ]
          },
          {
            "content": "SERVICE PERIOD: 10/14/2019 – 11/14/2019",
            "polygon": [
              5.1667,
              2.2306,
              7.9952,
              2.2306,
              7.9952,
              2.3615,
              5.1667,
              2.3615
            ],
            "spans": [
              {
                "offset": 175,
                "length": 39
              }
            ]
          },
          {
            "content": "CUSTOMER ID: CID-12345",
            "polygon": [
              6.3253,
              2.4488,
              7.9951,
              2.4488,
              7.9951,
              2.5489,
              6.3253,
              2.5489
            ],
            "spans": [
              {
                "offset": 215,
                "length": 22
              }
            ]
          },
          {
            "content": "Microsoft Corp",
            "polygon": [
              0.5943,
              2.6436,
              1.586,
              2.6436,
              1.586,
              2.7871,
              0.5943,
              2.7871
            ],
            "spans": [
              {
                "offset": 238,
                "length": 14
              }
            ]
          },
          {
            "content": "123 Other St,",
            "polygon": [
              0.5945,
              2.8476,
              1.4633,
              2.8476,
              1.4633,
              2.9845,
              0.5945,
              2.9845
            ],
            "spans": [
              {
                "offset": 253,
                "length": 13
              }
            ]
          },
          {
            "content": "Redmond WA, 98052",
            "polygon": [
              0.5943,
              3.0513,
              2.0083,
              3.0513,
              2.0083,
              3.1878,
              0.5943,
              3.1878
            ],
            "spans": [
              {
                "offset": 267,
                "length": 17
              }
            ]
          },
          {
            "content": "BILL TO:",
            "polygon": [
              0.5909,
              3.559,
              1.1032,
              3.559,
              1.1032,
              3.6592,
              0.5909,
              3.6592
            ],
            "spans": [
              {
                "offset": 285,
                "length": 8
              }
            ]
          },
          {
            "content": "SHIP TO:",
            "polygon": [
              3.3361,
              3.559,
              3.8903,
              3.559,
              3.8903,
              3.6592,
              3.3361,
              3.6592
            ],
            "spans": [
              {
                "offset": 294,
                "length": 8
              }
            ]
          },
          {
            "content": "SERVICE ADDRESS:",
            "polygon": [
              6.2104,
              3.559,
              7.4232,
              3.559,
              7.4232,
              3.6592,
              6.2104,
              3.6592
            ],
            "spans": [
              {
                "offset": 303,
                "length": 16
              }
            ]
          },
          {
            "content": "Microsoft Finance",
            "polygon": [
              0.5943,
              3.7641,
              1.7878,
              3.7641,
              1.7878,
              3.8794,
              0.5943,
              3.8794
            ],
            "spans": [
              {
                "offset": 320,
                "length": 17
              }
            ]
          },
          {
            "content": "Microsoft Delivery",
            "polygon": [
              3.3454,
              3.7641,
              4.5762,
              3.7641,
              4.5762,
              3.9076,
              3.3454,
              3.9076
            ],
            "spans": [
              {
                "offset": 338,
                "length": 18
              }
            ]
          },
          {
            "content": "Microsoft Services",
            "polygon": [
              6.2197,
              3.7641,
              7.4427,
              3.7641,
              7.4427,
              3.8794,
              6.2197,
              3.8794
            ],
            "spans": [
              {
                "offset": 357,
                "length": 18
              }
            ]
          },
          {
            "content": "123 Bill St,",
            "polygon": [
              0.5945,
              3.9681,
              1.2765,
              3.9681,
              1.2765,
              4.1049,
              0.5945,
              4.1049
            ],
            "spans": [
              {
                "offset": 376,
                "length": 12
              }
            ]
          },
          {
            "content": "123 Ship St,",
            "polygon": [
              3.3456,
              3.9681,
              4.1111,
              3.9681,
              4.1111,
              4.1109,
              3.3456,
              4.1109
            ],
            "spans": [
              {
                "offset": 389,
                "length": 12
              }
            ]
          },
          {
            "content": "123 Service St,",
            "polygon": [
              6.2199,
              3.9734,
              7.1821,
              3.9734,
              7.1821,
              4.1049,
              6.2199,
              4.1049
            ],
            "spans": [
              {
                "offset": 402,
                "length": 15
              }
            ]
          },
          {
            "content": "Redmond WA, 98052",
            "polygon": [
              0.5943,
              4.1717,
              2.0083,
              4.1717,
              2.0083,
              4.3082,
              0.5943,
              4.3082
            ],
            "spans": [
              {
                "offset": 418,
                "length": 17
              }
            ]
          },
          {
            "content": "Redmond WA, 98052",
            "polygon": [
              3.3454,
              4.1717,
              4.7594,
              4.1717,
              4.7594,
              4.3082,
              3.3454,
              4.3082
            ],
            "spans": [
              {
                "offset": 436,
                "length": 17
              }
            ]
          },
          {
            "content": "Redmond WA, 98052",
            "polygon": [
              6.2197,
              4.1717,
              7.6337,
              4.1717,
              7.6337,
              4.3082,
              6.2197,
              4.3082
            ],
            "spans": [
              {
                "offset": 454,
                "length": 17
              }
            ]
          },
          {
            "content": "SALESPERSON",
            "polygon": [
              0.7018,
              4.6528,
              1.6092,
              4.6528,
              1.6092,
              4.7529,
              0.7018,
              4.7529
            ],
            "spans": [
              {
                "offset": 472,
                "length": 11
              }
            ]
          },
          {
            "content": "P.O. NUMBER",
            "polygon": [
              2.1216,
              4.6528,
              3.0155,
              4.6528,
              3.0155,
              4.7529,
              2.1216,
              4.7529
            ],
            "spans": [
              {
                "offset": 484,
                "length": 11
              }
            ]
          },
          {
            "content": "REQUISITIONER",
            "polygon": [
              3.4953,
              4.6528,
              4.5157,
              4.6528,
              4.5157,
              4.7687,
              3.4953,
              4.7687
            ],
            "spans": [
              {
                "offset": 496,
                "length": 13
              }
            ]
          },
          {
            "content": "SHIPPED VIA",
            "polygon": [
              4.81,
              4.6528,
              5.6317,
              4.6528,
              5.6317,
              4.7529,
              4.81,
              4.7529
            ],
            "spans": [
              {
                "offset": 510,
                "length": 11
              }
            ]
          },
          {
            "content": "F.O.B. POINT",
            "polygon": [
              5.8696,
              4.6528,
              6.706,
              4.6528,
              6.706,
              4.7529,
              5.8696,
              4.7529
            ],
            "spans": [
              {
                "offset": 522,
                "length": 12
              }
            ]
          },
          {
            "content": "TERMS",
            "polygon": [
              7.1806,
              4.6528,
              7.6304,
              4.6528,
              7.6304,
              4.7529,
              7.1806,
              4.7529
            ],
            "spans": [
              {
                "offset": 535,
                "length": 5
              }
            ]
          },
          {
            "content": "PO-3333",
            "polygon": [
              1.9114,
              4.9282,
              2.4718,
              4.9282,
              2.4718,
              5.0363,
              1.9114,
              5.0363
            ],
            "spans": [
              {
                "offset": 541,
                "length": 7
              }
            ]
          },
          {
            "content": "DATE",
            "polygon": [
              0.7409,
              5.421,
              1.0744,
              5.421,
              1.0744,
              5.5186,
              0.7409,
              5.5186
            ],
            "spans": [
              {
                "offset": 549,
                "length": 4
              }
            ]
          },
          {
            "content": "ITEM CODE",
            "polygon": [
              1.4213,
              5.4197,
              2.1407,
              5.4197,
              2.1407,
              5.5199,
              1.4213,
              5.5199
            ],
            "spans": [
              {
                "offset": 554,
                "length": 9
              }
            ]
          },
          {
            "content": "DESCRIPTION",
            "polygon": [
              2.8516,
              5.4197,
              3.7134,
              5.4197,
              3.7134,
              5.5199,
              2.8516,
              5.5199
            ],
            "spans": [
              {
                "offset": 564,
                "length": 11
              }
            ]
          },
          {
            "content": "QTY",
            "polygon": [
              4.4043,
              5.4197,
              4.6631,
              5.4197,
              4.6631,
              5.5357,
              4.4043,
              5.5357
            ],
            "spans": [
              {
                "offset": 576,
                "length": 3
              }
            ]
          },
          {
            "content": "UM",
            "polygon": [
              5.049,
              5.421,
              5.2654,
              5.421,
              5.2654,
              5.5199,
              5.049,
              5.5199
            ],
            "spans": [
              {
                "offset": 580,
                "length": 2
              }
            ]
          },
          {
            "content": "PRICE",
            "polygon": [
              5.8563,
              5.4199,
              6.2163,
              5.4199,
              6.2163,
              5.5197,
              5.8563,
              5.5197
            ],
            "spans": [
              {
                "offset": 583,
                "length": 5
              }
            ]
          },
          {
            "content": "TAX",
            "polygon": [
              6.7169,
              5.421,
              6.974,
              5.421,
              6.974,
              5.5186,
              6.7169,
              5.5186
            ],
            "spans": [
              {
                "offset": 589,
                "length": 3
              }
            ]
          },
          {
            "content": "AMOUNT",
            "polygon": [
              7.2847,
              5.4197,
              7.9039,
              5.4197,
              7.9039,
              5.5199,
              7.2847,
              5.5199
            ],
            "spans": [
              {
                "offset": 593,
                "length": 6
              }
            ]
          },
          {
            "content": "3/4/2021",
            "polygon": [
              0.592,
              5.682,
              1.2092,
              5.682,
              1.2092,
              5.8243,
              0.592,
              5.8243
            ],
            "spans": [
              {
                "offset": 600,
                "length": 8
              }
            ]
          },
          {
            "content": "A123",
            "polygon": [
              1.6069,
              5.6948,
              1.9417,
              5.6948,
              1.9417,
              5.803,
              1.6069,
              5.803
            ],
            "spans": [
              {
                "offset": 609,
                "length": 4
              }
            ]
          },
          {
            "content": "Consulting Services",
            "polygon": [
              2.3388,
              5.6883,
              3.6278,
              5.6883,
              3.6278,
              5.8312,
              2.3388,
              5.8312
            ],
            "spans": [
              {
                "offset": 614,
                "length": 19
              }
            ]
          },
          {
            "content": "2",
            "polygon": [
              4.5977,
              5.6948,
              4.6635,
              5.6948,
              4.6635,
              5.8017,
              4.5977,
              5.8017
            ],
            "spans": [
              {
                "offset": 634,
                "length": 1
              }
            ]
          },
          {
            "content": "hours",
            "polygon": [
              4.8444,
              5.6883,
              5.2071,
              5.6883,
              5.2071,
              5.803,
              4.8444,
              5.803
            ],
            "spans": [
              {
                "offset": 636,
                "length": 5
              }
            ]
          },
          {
            "content": "$30.00",
            "polygon": [
              5.9669,
              5.6777,
              6.4142,
              5.6777,
              6.4142,
              5.8215,
              5.9669,
              5.8215
            ],
            "spans": [
              {
                "offset": 642,
                "length": 6
              }
            ]
          },
          {
            "content": "10%",
            "polygon": [
              6.7168,
              5.6932,
              6.9826,
              5.6932,
              6.9826,
              5.8045,
              6.7168,
              5.8045
            ],
            "spans": [
              {
                "offset": 649,
                "length": 3
              }
            ]
          },
          {
            "content": "$60.00",
            "polygon": [
              7.4642,
              5.6777,
              7.9116,
              5.6777,
              7.9116,
              5.8215,
              7.4642,
              5.8215
            ],
            "spans": [
              {
                "offset": 653,
                "length": 6
              }
            ]
          },
          {
            "content": "3/5/2021",
            "polygon": [
              0.592,
              5.9787,
              1.2088,
              5.9787,
              1.2088,
              6.121,
              0.592,
              6.121
            ],
            "spans": [
              {
                "offset": 660,
                "length": 8
              }
            ]
          },
          {
            "content": "B456",
            "polygon": [
              1.6214,
              5.9915,
              1.9419,
              5.9915,
              1.9419,
              6.0997,
              1.6214,
              6.0997
            ],
            "spans": [
              {
                "offset": 669,
                "length": 4
              }
            ]
          },
          {
            "content": "Document Fee",
            "polygon": [
              2.345,
              5.993,
              3.3096,
              5.993,
              3.3096,
              6.0997,
              2.345,
              6.0997
            ],
            "spans": [
              {
                "offset": 674,
                "length": 12
              }
            ]
          },
          {
            "content": "3",
            "polygon": [
              4.5967,
              5.9915,
              4.6627,
              5.9915,
              4.6627,
              6.0997,
              4.5967,
              6.0997
            ],
            "spans": [
              {
                "offset": 687,
                "length": 1
              }
            ]
          },
          {
            "content": "$10.00",
            "polygon": [
              5.9669,
              5.9743,
              6.4142,
              5.9743,
              6.4142,
              6.1182,
              5.9669,
              6.1182
            ],
            "spans": [
              {
                "offset": 689,
                "length": 6
              }
            ]
          },
          {
            "content": "5%",
            "polygon": [
              6.7508,
              5.9898,
              6.9393,
              5.9898,
              6.9393,
              6.1012,
              6.7508,
              6.1012
            ],
            "spans": [
              {
                "offset": 696,
                "length": 2
              }
            ]
          },
          {
            "content": "$30.00",
            "polygon": [
              7.4642,
              5.9743,
              7.9116,
              5.9743,
              7.9116,
              6.1182,
              7.4642,
              6.1182
            ],
            "spans": [
              {
                "offset": 699,
                "length": 6
              }
            ]
          },
          {
            "content": "3/6/2021",
            "polygon": [
              0.592,
              6.2789,
              1.2088,
              6.2789,
              1.2088,
              6.4213,
              0.592,
              6.4213
            ],
            "spans": [
              {
                "offset": 706,
                "length": 8
              }
            ]
          },
          {
            "content": "C789",
            "polygon": [
              1.6152,
              6.2918,
              1.94,
              6.2918,
              1.94,
              6.3999,
              1.6152,
              6.3999
            ],
            "spans": [
              {
                "offset": 715,
                "length": 4
              }
            ]
          },
          {
            "content": "Printing Fee",
            "polygon": [
              2.345,
              6.2906,
              3.1351,
              6.2906,
              3.1351,
              6.4281,
              2.345,
              6.4281
            ],
            "spans": [
              {
                "offset": 720,
                "length": 12
              }
            ]
          },
          {
            "content": "10",
            "polygon": [
              4.5158,
              6.2918,
              4.6637,
              6.2918,
              4.6637,
              6.3999,
              4.5158,
              6.3999
            ],
            "spans": [
              {
                "offset": 733,
                "length": 2
              }
            ]
          },
          {
            "content": "pages",
            "polygon": [
              4.8444,
              6.3196,
              5.2199,
              6.3196,
              5.2199,
              6.4281,
              4.8444,
              6.4281
            ],
            "spans": [
              {
                "offset": 736,
                "length": 5
              }
            ]
          },
          {
            "content": "$1.00",
            "polygon": [
              6.0502,
              6.2746,
              6.4142,
              6.2746,
              6.4142,
              6.4184,
              6.0502,
              6.4184
            ],
            "spans": [
              {
                "offset": 742,
                "length": 5
              }
            ]
          },
          {
            "content": "20%",
            "polygon": [
              6.712,
              6.2901,
              6.9826,
              6.2901,
              6.9826,
              6.4014,
              6.712,
              6.4014
            ],
            "spans": [
              {
                "offset": 748,
                "length": 3
              }
            ]
          },
          {
            "content": "$10.00",
            "polygon": [
              7.4642,
              6.2746,
              7.9116,
              6.2746,
              7.9116,
              6.4184,
              7.4642,
              6.4184
            ],
            "spans": [
              {
                "offset": 752,
                "length": 6
              }
            ]
          },
          {
            "content": "SUBTOTAL",
            "polygon": [
              6.0282,
              6.9118,
              6.7309,
              6.9118,
              6.7309,
              7.0199,
              6.0282,
              7.0199
            ],
            "spans": [
              {
                "offset": 759,
                "length": 8
              }
            ]
          },
          {
            "content": "$100.00",
            "polygon": [
              7.3842,
              6.8679,
              7.9181,
              6.8679,
              7.9181,
              7.0118,
              7.3842,
              7.0118
            ],
            "spans": [
              {
                "offset": 768,
                "length": 7
              }
            ]
          },
          {
            "content": "SALES TAX",
            "polygon": [
              6.0382,
              7.2089,
              6.728,
              7.2089,
              6.728,
              7.317,
              6.0382,
              7.317
            ],
            "spans": [
              {
                "offset": 776,
                "length": 9
              }
            ]
          },
          {
            "content": "$10.00",
            "polygon": [
              7.4709,
              7.165,
              7.9182,
              7.165,
              7.9182,
              7.3089,
              7.4709,
              7.3089
            ],
            "spans": [
              {
                "offset": 786,
                "length": 6
              }
            ]
          },
          {
            "content": "TOTAL",
            "polygon": [
              6.2969,
              7.5089,
              6.7309,
              7.5089,
              6.7309,
              7.617,
              6.2969,
              7.617
            ],
            "spans": [
              {
                "offset": 793,
                "length": 5
              }
            ]
          },
          {
            "content": "$110.00",
            "polygon": [
              7.3842,
              7.465,
              7.9181,
              7.465,
              7.9181,
              7.6089,
              7.3842,
              7.6089
            ],
            "spans": [
              {
                "offset": 799,
                "length": 7
              }
            ]
          },
          {
            "content": "PREVIOUS UNPAID BALANCE",
            "polygon": [
              4.8126,
              7.8055,
              6.7249,
              7.8055,
              6.7249,
              7.9137,
              4.8126,
              7.9137
            ],
            "spans": [
              {
                "offset": 807,
                "length": 23
              }
            ]
          },
          {
            "content": "$500.00",
            "polygon": [
              7.3842,
              7.7617,
              7.9181,
              7.7617,
              7.9181,
              7.9055,
              7.3842,
              7.9055
            ],
            "spans": [
              {
                "offset": 831,
                "length": 7
              }
            ]
          },
          {
            "content": "AMOUNT DUE",
            "polygon": [
              5.7652,
              8.1022,
              6.725,
              8.1022,
              6.725,
              8.2104,
              5.7652,
              8.2104
            ],
            "spans": [
              {
                "offset": 839,
                "length": 10
              }
            ]
          },
          {
            "content": "$610.00",
            "polygon": [
              7.3842,
              8.0584,
              7.9181,
              8.0584,
              7.9181,
              8.2022,
              7.3842,
              8.2022
            ],
            "spans": [
              {
                "offset": 850,
                "length": 7
              }
            ]
          },
          {
            "content": "THANK YOU FOR YOUR BUSINESS!",
            "polygon": [
              3.129,
              8.539,
              5.356,
              8.539,
              5.356,
              8.6442,
              3.129,
              8.6442
            ],
            "spans": [
              {
                "offset": 858,
                "length": 28
              }
            ]
          },
          {
            "content": "REMIT TO:",
            "polygon": [
              0.5909,
              9.1607,
              1.2603,
              9.1607,
              1.2603,
              9.2608,
              0.5909,
              9.2608
            ],
            "spans": [
              {
                "offset": 887,
                "length": 9
              }
            ]
          },
          {
            "content": "Contoso Billing",
            "polygon": [
              0.5882,
              9.3631,
              1.5828,
              9.3631,
              1.5828,
              9.5059,
              0.5882,
              9.5059
            ],
            "spans": [
              {
                "offset": 897,
                "length": 15
              }
            ]
          },
          {
            "content": "123 Remit St",
            "polygon": [
              0.5945,
              9.5717,
              1.4337,
              9.5717,
              1.4337,
              9.681,
              0.5945,
              9.681
            ],
            "spans": [
              {
                "offset": 913,
                "length": 12
              }
            ]
          },
          {
            "content": "New York, NY, 10001",
            "polygon": [
              0.5943,
              9.773,
              1.9882,
              9.773,
              1.9882,
              9.9098,
              0.5943,
              9.9098
            ],
            "spans": [
              {
                "offset": 926,
                "length": 19
              }
            ]
          }
        ],
        "spans": [
          {
            "offset": 0,
            "length": 958
          }
        ]
      }
    ],
    "tables": [
      {
        "rowCount": 4,
        "columnCount": 8,
        "cells": [
          {
            "kind": "columnHeader",
            "rowIndex": 0,
            "columnIndex": 0,
            "rowSpan": 1,
            "columnSpan": 1,
            "content": "DATE",
            "boundingRegions": [
              {
                "pageNumber": 1,
                "polygon": [
                  0.4932,
                  5.329,
                  1.3011,
                  5.3213,
                  1.3011,
                  5.6056,
                  0.5009,
                  5.6056
                ]
              }
            ],
            "spans": [
              {
                "offset": 549,
                "length": 4
              }
            ]
          },
          {
            "kind": "columnHeader",
            "rowIndex": 0,
            "columnIndex": 1,
            "rowSpan": 1,
            "columnSpan": 1,
            "content": "ITEM CODE",
            "boundingRegions": [
              {
                "pageNumber": 1,
                "polygon": [
                  1.3011,
                  5.3213,
                  2.2476,
                  5.3213,
                  2.2399,
                  5.6056,
                  1.3011,
                  5.6056
                ]
              }
            ],
            "spans": [
              {
                "offset": 554,
                "length": 9
              }
            ]
          },
          {
            "kind": "columnHeader",
            "rowIndex": 0,
            "columnIndex": 2,
            "rowSpan": 1,
            "columnSpan": 1,
            "content": "DESCRIPTION",
            "boundingRegions": [
              {
                "pageNumber": 1,
                "polygon": [
                  2.2476,
                  5.3213,
                  4.3174,
                  5.329,
                  4.3097,
                  5.6056,
                  2.2399,
                  5.6056
                ]
              }
            ],
            "spans": [
              {
                "offset": 564,
                "length": 11
              }
            ]
          },
          {
            "kind": "columnHeader",
            "rowIndex": 0,
            "columnIndex": 3,
            "rowSpan": 1,
            "columnSpan": 1,
            "content": "QTY",
            "boundingRegions": [
              {
                "pageNumber": 1,
                "polygon": [
                  4.3174,
                  5.329,
                  4.7483,
                  5.329,
                  4.7483,
                  5.6056,
                  4.3097,
                  5.6056
                ]
              }
            ],
            "spans": [
              {
                "offset": 576,
                "length": 3
              }
            ]
          },
          {
            "kind": "columnHeader",
            "rowIndex": 0,
            "columnIndex": 4,
            "rowSpan": 1,
            "columnSpan": 1,
            "content": "UM",
            "boundingRegions": [
              {
                "pageNumber": 1,
                "polygon": [
                  4.7483,
                  5.329,
                  5.5639,
                  5.329,
                  5.5639,
                  5.6056,
                  4.7483,
                  5.6056
                ]
              }
            ],
            "spans": [
              {
                "offset": 580,
                "length": 2
              }
            ]
          },
          {
            "kind": "columnHeader",
            "rowIndex": 0,
            "columnIndex": 5,
            "rowSpan": 1,
            "columnSpan": 1,
            "content": "PRICE",
            "boundingRegions": [
              {
                "pageNumber": 1,
                "polygon": [
                  5.5639,
                  5.329,
                  6.495,
                  5.329,
                  6.495,
                  5.6056,
                  5.5639,
                  5.6056
                ]
              }
            ],
            "spans": [
              {
                "offset": 583,
                "length": 5
              }
            ]
          },
          {
            "kind": "columnHeader",
            "rowIndex": 0,
            "columnIndex": 6,
            "rowSpan": 1,
            "columnSpan": 1,
            "content": "TAX",
            "boundingRegions": [
              {
                "pageNumber": 1,
                "polygon": [
                  6.495,
                  5.329,
                  7.1875,
                  5.329,
                  7.1952,
                  5.6056,
                  6.495,
                  5.6056
                ]
              }
            ],
            "spans": [
              {
                "offset": 589,
                "length": 3
              }
            ]
          },
          {
            "kind": "columnHeader",
            "rowIndex": 0,
            "columnIndex": 7,
            "rowSpan": 1,
            "columnSpan": 1,
            "content": "AMOUNT",
            "boundingRegions": [
              {
                "pageNumber": 1,
                "polygon": [
                  7.1875,
                  5.329,
                  7.9954,
                  5.329,
                  7.9954,
                  5.598,
                  7.1952,
                  5.6056
                ]
              }
            ],
            "spans": [
              {
                "offset": 593,
                "length": 6
              }
            ]
          },
          {
            "rowIndex": 1,
            "columnIndex": 0,
            "rowSpan": 1,
            "columnSpan": 1,
            "content": "3/4/2021",
            "boundingRegions": [
              {
                "pageNumber": 1,
                "polygon": [
                  0.5009,
                  5.6056,
                  1.3011,
                  5.6056,
                  1.3011,
                  5.8976,
                  0.5009,
                  5.8976
                ]
              }
            ],
            "spans": [
              {
                "offset": 600,
                "length": 8
              }
            ]
          },
          {
            "rowIndex": 1,
            "columnIndex": 1,
            "rowSpan": 1,
            "columnSpan": 1,
            "content": "A123",
            "boundingRegions": [
              {
                "pageNumber": 1,
                "polygon": [
                  1.3011,
                  5.6056,
                  2.2399,
                  5.6056,
                  2.2322,
                  5.8976,
                  1.3011,
                  5.8976
                ]
              }
            ],
            "spans": [
              {
                "offset": 609,
                "length": 4
              }
            ]
          },
          {
            "rowIndex": 1,
            "columnIndex": 2,
            "rowSpan": 1,
            "columnSpan": 1,
            "content": "Consulting Services",
            "boundingRegions": [
              {
                "pageNumber": 1,
                "polygon": [
                  2.2399,
                  5.6056,
                  4.3097,
                  5.6056,
                  4.3097,
                  5.8976,
                  2.2322,
                  5.8976
                ]
              }
            ],
            "spans": [
              {
                "offset": 614,
                "length": 19
              }
            ]
          },
          {
            "rowIndex": 1,
            "columnIndex": 3,
            "rowSpan": 1,
            "columnSpan": 1,
            "content": "2 :unselected:",
            "boundingRegions": [
              {
                "pageNumber": 1,
                "polygon": [
                  4.3097,
                  5.6056,
                  4.7483,
                  5.6056,
                  4.7483,
                  5.8976,
                  4.3097,
                  5.8976
                ]
              }
            ],
            "spans": [
              {
                "offset": 634,
                "length": 1
              },
              {
                "offset": 946,
                "length": 12
              }
            ]
          },
          {
            "rowIndex": 1,
            "columnIndex": 4,
            "rowSpan": 1,
            "columnSpan": 1,
            "content": "hours",
            "boundingRegions": [
              {
                "pageNumber": 1,
                "polygon": [
                  4.7483,
                  5.6056,
                  5.5639,
                  5.6056,
                  5.5639,
                  5.8976,
                  4.7483,
                  5.8976
                ]
              }
            ],
            "spans": [
              {
                "offset": 636,
                "length": 5
              }
            ]
          },
          {
            "rowIndex": 1,
            "columnIndex": 5,
            "rowSpan": 1,
            "columnSpan": 1,
            "content": "$30.00",
            "boundingRegions": [
              {
                "pageNumber": 1,
                "polygon": [
                  5.5639,
                  5.6056,
                  6.495,
                  5.6056,
                  6.495,
                  5.8976,
                  5.5639,
                  5.8976
                ]
              }
            ],
            "spans": [
              {
                "offset": 642,
                "length": 6
              }
            ]
          },
          {
            "rowIndex": 1,
            "columnIndex": 6,
            "rowSpan": 1,
            "columnSpan": 1,
            "content": "10%",
            "boundingRegions": [
              {
                "pageNumber": 1,
                "polygon": [
                  6.495,
                  5.6056,
                  7.1952,
                  5.6056,
                  7.1952,
                  5.8976,
                  6.495,
                  5.8976
                ]
              }
            ],
            "spans": [
              {
                "offset": 649,
                "length": 3
              }
            ]
          },
          {
            "rowIndex": 1,
            "columnIndex": 7,
            "rowSpan": 1,
            "columnSpan": 1,
            "content": "$60.00",
            "boundingRegions": [
              {
                "pageNumber": 1,
                "polygon": [
                  7.1952,
                  5.6056,
                  7.9954,
                  5.598,
                  7.9954,
                  5.9053,
                  7.1952,
                  5.8976
                ]
              }
            ],
            "spans": [
              {
                "offset": 653,
                "length": 6
              }
            ]
          },
          {
            "rowIndex": 2,
            "columnIndex": 0,
            "rowSpan": 1,
            "columnSpan": 1,
            "content": "3/5/2021",
            "boundingRegions": [
              {
                "pageNumber": 1,
                "polygon": [
                  0.5009,
                  5.8976,
                  1.3011,
                  5.8976,
                  1.3011,
                  6.1973,
                  0.5086,
                  6.1973
                ]
              }
            ],
            "spans": [
              {
                "offset": 660,
                "length": 8
              }
            ]
          },
          {
            "rowIndex": 2,
            "columnIndex": 1,
            "rowSpan": 1,
            "columnSpan": 1,
            "content": "B456",
            "boundingRegions": [
              {
                "pageNumber": 1,
                "polygon": [
                  1.3011,
                  5.8976,
                  2.2322,
                  5.8976,
                  2.2245,
                  6.1973,
                  1.3011,
                  6.1973
                ]
              }
            ],
            "spans": [
              {
                "offset": 669,
                "length": 4
              }
            ]
          },
          {
            "rowIndex": 2,
            "columnIndex": 2,
            "rowSpan": 1,
            "columnSpan": 1,
            "content": "Document Fee",
            "boundingRegions": [
              {
                "pageNumber": 1,
                "polygon": [
                  2.2322,
                  5.8976,
                  4.3097,
                  5.8976,
                  4.3097,
                  6.1973,
                  2.2245,
                  6.1973
                ]
              }
            ],
            "spans": [
              {
                "offset": 674,
                "length": 12
              }
            ]
          },
          {
            "rowIndex": 2,
            "columnIndex": 3,
            "rowSpan": 1,
            "columnSpan": 1,
            "content": "3",
            "boundingRegions": [
              {
                "pageNumber": 1,
                "polygon": [
                  4.3097,
                  5.8976,
                  4.7483,
                  5.8976,
                  4.7483,
                  6.1973,
                  4.3097,
                  6.1973
                ]
              }
            ],
            "spans": [
              {
                "offset": 687,
                "length": 1
              }
            ]
          },
          {
            "rowIndex": 2,
            "columnIndex": 4,
            "rowSpan": 1,
            "columnSpan": 1,
            "content": "",
            "boundingRegions": [
              {
                "pageNumber": 1,
                "polygon": [
                  4.7483,
                  5.8976,
                  5.5639,
                  5.8976,
                  5.5639,
                  6.1973,
                  4.7483,
                  6.1973
                ]
              }
            ],
            "spans": []
          },
          {
            "rowIndex": 2,
            "columnIndex": 5,
            "rowSpan": 1,
            "columnSpan": 1,
            "content": "$10.00",
            "boundingRegions": [
              {
                "pageNumber": 1,
                "polygon": [
                  5.5639,
                  5.8976,
                  6.495,
                  5.8976,
                  6.495,
                  6.1973,
                  5.5639,
                  6.1973
                ]
              }
            ],
            "spans": [
              {
                "offset": 689,
                "length": 6
              }
            ]
          },
          {
            "rowIndex": 2,
            "columnIndex": 6,
            "rowSpan": 1,
            "columnSpan": 1,
            "content": "5%",
            "boundingRegions": [
              {
                "pageNumber": 1,
                "polygon": [
                  6.495,
                  5.8976,
                  7.1952,
                  5.8976,
                  7.1952,
                  6.1973,
                  6.495,
                  6.1973
                ]
              }
            ],
            "spans": [
              {
                "offset": 696,
                "length": 2
              }
            ]
          },
          {
            "rowIndex": 2,
            "columnIndex": 7,
            "rowSpan": 1,
            "columnSpan": 1,
            "content": "$30.00",
            "boundingRegions": [
              {
                "pageNumber": 1,
                "polygon": [
                  7.1952,
                  5.8976,
                  7.9954,
                  5.9053,
                  7.9954,
                  6.1896,
                  7.1952,
                  6.1973
                ]
              }
            ],
            "spans": [
              {
                "offset": 699,
                "length": 6
              }
            ]
          },
          {
            "rowIndex": 3,
            "columnIndex": 0,
            "rowSpan": 1,
            "columnSpan": 1,
            "content": "3/6/2021",
            "boundingRegions": [
              {
                "pageNumber": 1,
                "polygon": [
                  0.5086,
                  6.1973,
                  1.3011,
                  6.1973,
                  1.3011,
                  6.4969,
                  0.5086,
                  6.4969
                ]
              }
            ],
            "spans": [
              {
                "offset": 706,
                "length": 8
              }
            ]
          },
          {
            "rowIndex": 3,
            "columnIndex": 1,
            "rowSpan": 1,
            "columnSpan": 1,
            "content": "C789",
            "boundingRegions": [
              {
                "pageNumber": 1,
                "polygon": [
                  1.3011,
                  6.1973,
                  2.2245,
                  6.1973,
                  2.2245,
                  6.4969,
                  1.3011,
                  6.4969
                ]
              }
            ],
            "spans": [
              {
                "offset": 715,
                "length": 4
              }
            ]
          },
          {
            "rowIndex": 3,
            "columnIndex": 2,
            "rowSpan": 1,
            "columnSpan": 1,
            "content": "Printing Fee",
            "boundingRegions": [
              {
                "pageNumber": 1,
                "polygon": [
                  2.2245,
                  6.1973,
                  4.3097,
                  6.1973,
                  4.3097,
                  6.4969,
                  2.2245,
                  6.4969
                ]
              }
            ],
            "spans": [
              {
                "offset": 720,
                "length": 12
              }
            ]
          },
          {
            "rowIndex": 3,
            "columnIndex": 3,
            "rowSpan": 1,
            "columnSpan": 1,
            "content": "10",
            "boundingRegions": [
              {
                "pageNumber": 1,
                "polygon": [
                  4.3097,
                  6.1973,
                  4.7483,
                  6.1973,
                  4.7483,
                  6.4969,
                  4.3097,
                  6.4969
                ]
              }
            ],
            "spans": [
              {
                "offset": 733,
                "length": 2
              }
            ]
          },
          {
            "rowIndex": 3,
            "columnIndex": 4,
            "rowSpan": 1,
            "columnSpan": 1,
            "content": "pages",
            "boundingRegions": [
              {
                "pageNumber": 1,
                "polygon": [
                  4.7483,
                  6.1973,
                  5.5639,
                  6.1973,
                  5.5639,
                  6.4969,
                  4.7483,
                  6.4969
                ]
              }
            ],
            "spans": [
              {
                "offset": 736,
                "length": 5
              }
            ]
          },
          {
            "rowIndex": 3,
            "columnIndex": 5,
            "rowSpan": 1,
            "columnSpan": 1,
            "content": "$1.00",
            "boundingRegions": [
              {
                "pageNumber": 1,
                "polygon": [
                  5.5639,
                  6.1973,
                  6.495,
                  6.1973,
                  6.495,
                  6.4969,
                  5.5639,
                  6.4969
                ]
              }
            ],
            "spans": [
              {
                "offset": 742,
                "length": 5
              }
            ]
          },
          {
            "rowIndex": 3,
            "columnIndex": 6,
            "rowSpan": 1,
            "columnSpan": 1,
            "content": "20%",
            "boundingRegions": [
              {
                "pageNumber": 1,
                "polygon": [
                  6.495,
                  6.1973,
                  7.1952,
                  6.1973,
                  7.1952,
                  6.4969,
                  6.495,
                  6.4969
                ]
              }
            ],
            "spans": [
              {
                "offset": 748,
                "length": 3
              }
            ]
          },
          {
            "rowIndex": 3,
            "columnIndex": 7,
            "rowSpan": 1,
            "columnSpan": 1,
            "content": "$10.00",
            "boundingRegions": [
              {
                "pageNumber": 1,
                "polygon": [
                  7.1952,
                  6.1973,
                  7.9954,
                  6.1896,
                  7.9954,
                  6.5046,
                  7.1952,
                  6.4969
                ]
              }
            ],
            "spans": [
              {
                "offset": 752,
                "length": 6
              }
            ]
          }
        ],
        "boundingRegions": [
          {
            "pageNumber": 1,
            "polygon": [
              0.4901,
              5.3293,
              7.9946,
              5.3289,
              7.9954,
              6.5019,
              0.4906,
              6.502
            ]
          }
        ],
        "spans": [
          {
            "offset": 549,
            "length": 209
          },
          {
            "offset": 946,
            "length": 12
          }
        ]
      },
      {
        "rowCount": 2,
        "columnCount": 6,
        "cells": [
          {
            "kind": "columnHeader",
            "rowIndex": 0,
            "columnIndex": 0,
            "rowSpan": 1,
            "columnSpan": 1,
            "content": "SALESPERSON",
            "boundingRegions": [
              {
                "pageNumber": 1,
                "polygon": [
                  0.4977,
                  4.565,
                  1.8042,
                  4.565,
                  1.8119,
                  4.8388,
                  0.5054,
                  4.8388
                ]
              }
            ],
            "spans": [
              {
                "offset": 472,
                "length": 11
              }
            ]
          },
          {
            "kind": "columnHeader",
            "rowIndex": 0,
            "columnIndex": 1,
            "rowSpan": 1,
            "columnSpan": 1,
            "content": "P.O. NUMBER",
            "boundingRegions": [
              {
                "pageNumber": 1,
                "polygon": [
                  1.8042,
                  4.565,
                  3.3105,
                  4.565,
                  3.3105,
                  4.8388,
                  1.8119,
                  4.8388
                ]
              }
            ],
            "spans": [
              {
                "offset": 484,
                "length": 11
              }
            ]
          },
          {
            "kind": "columnHeader",
            "rowIndex": 0,
            "columnIndex": 2,
            "rowSpan": 1,
            "columnSpan": 1,
            "content": "REQUISITIONER",
            "boundingRegions": [
              {
                "pageNumber": 1,
                "polygon": [
                  3.3105,
                  4.565,
                  4.6939,
                  4.565,
                  4.6862,
                  4.8388,
                  3.3105,
                  4.8388
                ]
              }
            ],
            "spans": [
              {
                "offset": 496,
                "length": 13
              }
            ]
          },
          {
            "kind": "columnHeader",
            "rowIndex": 0,
            "columnIndex": 3,
            "rowSpan": 1,
            "columnSpan": 1,
            "content": "SHIPPED VIA",
            "boundingRegions": [
              {
                "pageNumber": 1,
                "polygon": [
                  4.6939,
                  4.565,
                  5.7468,
                  4.565,
                  5.7468,
                  4.8388,
                  4.6862,
                  4.8388
                ]
              }
            ],
            "spans": [
              {
                "offset": 510,
                "length": 11
              }
            ]
          },
          {
            "kind": "columnHeader",
            "rowIndex": 0,
            "columnIndex": 4,
            "rowSpan": 1,
            "columnSpan": 1,
            "content": "F.O.B. POINT",
            "boundingRegions": [
              {
                "pageNumber": 1,
                "polygon": [
                  5.7468,
                  4.565,
                  6.815,
                  4.565,
                  6.815,
                  4.8388,
                  5.7468,
                  4.8388
                ]
              }
            ],
            "spans": [
              {
                "offset": 522,
                "length": 12
              }
            ]
          },
          {
            "kind": "columnHeader",
            "rowIndex": 0,
            "columnIndex": 5,
            "rowSpan": 1,
            "columnSpan": 1,
            "content": "TERMS",
            "boundingRegions": [
              {
                "pageNumber": 1,
                "polygon": [
                  6.815,
                  4.565,
                  7.9985,
                  4.565,
                  7.9985,
                  4.8388,
                  6.815,
                  4.8388
                ]
              }
            ],
            "spans": [
              {
                "offset": 535,
                "length": 5
              }
            ]
          },
          {
            "rowIndex": 1,
            "columnIndex": 0,
            "rowSpan": 1,
            "columnSpan": 1,
            "content": "",
            "boundingRegions": [
              {
                "pageNumber": 1,
                "polygon": [
                  0.5054,
                  4.8388,
                  1.8119,
                  4.8388,
                  1.8119,
                  5.1058,
                  0.5131,
                  5.1058
                ]
              }
            ],
            "spans": []
          },
          {
            "rowIndex": 1,
            "columnIndex": 1,
            "rowSpan": 1,
            "columnSpan": 1,
            "content": "PO-3333",
            "boundingRegions": [
              {
                "pageNumber": 1,
                "polygon": [
                  1.8119,
                  4.8388,
                  3.3105,
                  4.8388,
                  3.3105,
                  5.1058,
                  1.8119,
                  5.1058
                ]
              }
            ],
            "spans": [
              {
                "offset": 541,
                "length": 7
              }
            ]
          },
          {
            "rowIndex": 1,
            "columnIndex": 2,
            "rowSpan": 1,
            "columnSpan": 1,
            "content": "",
            "boundingRegions": [
              {
                "pageNumber": 1,
                "polygon": [
                  3.3105,
                  4.8388,
                  4.6862,
                  4.8388,
                  4.6862,
                  5.1058,
                  3.3105,
                  5.1058
                ]
              }
            ],
            "spans": []
          },
          {
            "rowIndex": 1,
            "columnIndex": 3,
            "rowSpan": 1,
            "columnSpan": 1,
            "content": "",
            "boundingRegions": [
              {
                "pageNumber": 1,
                "polygon": [
                  4.6862,
                  4.8388,
                  5.7468,
                  4.8388,
                  5.7468,
                  5.1058,
                  4.6862,
                  5.1058
                ]
              }
            ],
            "spans": []
          },
          {
            "rowIndex": 1,
            "columnIndex": 4,
            "rowSpan": 1,
            "columnSpan": 1,
            "content": "",
            "boundingRegions": [
              {
                "pageNumber": 1,
                "polygon": [
                  5.7468,
                  4.8388,
                  6.815,
                  4.8388,
                  6.815,
                  5.1058,
                  5.7468,
                  5.1058
                ]
              }
            ],
            "spans": []
          },
          {
            "rowIndex": 1,
            "columnIndex": 5,
            "rowSpan": 1,
            "columnSpan": 1,
            "content": "",
            "boundingRegions": [
              {
                "pageNumber": 1,
                "polygon": [
                  6.815,
                  4.8388,
                  7.9985,
                  4.8388,
                  7.9985,
                  5.1125,
                  6.815,
                  5.1058
                ]
              }
            ],
            "spans": []
          }
        ],
        "boundingRegions": [
          {
            "pageNumber": 1,
            "polygon": [
              0.4971,
              4.565,
              7.9889,
              4.5653,
              7.989,
              5.1146,
              0.4963,
              5.1141
            ]
          }
        ],
        "spans": [
          {
            "offset": 472,
            "length": 76
          }
        ]
      },
      {
        "rowCount": 5,
        "columnCount": 2,
        "cells": [
          {
            "rowIndex": 0,
            "columnIndex": 0,
            "rowSpan": 1,
            "columnSpan": 1,
            "content": "SUBTOTAL",
            "boundingRegions": [
              {
                "pageNumber": 1,
                "polygon": [
                  4.7474,
                  6.7934,
                  6.8058,
                  6.7934,
                  6.8105,
                  7.0886,
                  4.7474,
                  7.0886
                ]
              }
            ],
            "spans": [
              {
                "offset": 759,
                "length": 8
              }
            ]
          },
          {
            "rowIndex": 0,
            "columnIndex": 1,
            "rowSpan": 1,
            "columnSpan": 1,
            "content": "$100.00",
            "boundingRegions": [
              {
                "pageNumber": 1,
                "polygon": [
                  6.8058,
                  6.7934,
                  7.9981,
                  6.7934,
                  7.9981,
                  7.0934,
                  6.8105,
                  7.0886
                ]
              }
            ],
            "spans": [
              {
                "offset": 768,
                "length": 7
              }
            ]
          },
          {
            "rowIndex": 1,
            "columnIndex": 0,
            "rowSpan": 1,
            "columnSpan": 1,
            "content": "SALES TAX",
            "boundingRegions": [
              {
                "pageNumber": 1,
                "polygon": [
                  4.7474,
                  7.0886,
                  6.8105,
                  7.0886,
                  6.8105,
                  7.3743,
                  4.7427,
                  7.3743
                ]
              }
            ],
            "spans": [
              {
                "offset": 776,
                "length": 9
              }
            ]
          },
          {
            "rowIndex": 1,
            "columnIndex": 1,
            "rowSpan": 1,
            "columnSpan": 1,
            "content": "$10.00",
            "boundingRegions": [
              {
                "pageNumber": 1,
                "polygon": [
                  6.8105,
                  7.0886,
                  7.9981,
                  7.0934,
                  7.9981,
                  7.3934,
                  6.8105,
                  7.3743
                ]
              }
            ],
            "spans": [
              {
                "offset": 786,
                "length": 6
              }
            ]
          },
          {
            "rowIndex": 2,
            "columnIndex": 0,
            "rowSpan": 1,
            "columnSpan": 1,
            "content": "TOTAL",
            "boundingRegions": [
              {
                "pageNumber": 1,
                "polygon": [
                  4.7427,
                  7.3743,
                  6.8105,
                  7.3743,
                  6.8105,
                  7.6839,
                  4.7427,
                  7.6839
                ]
              }
            ],
            "spans": [
              {
                "offset": 793,
                "length": 5
              }
            ]
          },
          {
            "rowIndex": 2,
            "columnIndex": 1,
            "rowSpan": 1,
            "columnSpan": 1,
            "content": "$110.00",
            "boundingRegions": [
              {
                "pageNumber": 1,
                "polygon": [
                  6.8105,
                  7.3743,
                  7.9981,
                  7.3934,
                  7.9981,
                  7.6886,
                  6.8105,
                  7.6839
                ]
              }
            ],
            "spans": [
              {
                "offset": 799,
                "length": 7
              }
            ]
          },
          {
            "rowIndex": 3,
            "columnIndex": 0,
            "rowSpan": 1,
            "columnSpan": 1,
            "content": "PREVIOUS UNPAID BALANCE",
            "boundingRegions": [
              {
                "pageNumber": 1,
                "polygon": [
                  4.7427,
                  7.6839,
                  6.8105,
                  7.6839,
                  6.8105,
                  7.9743,
                  4.7427,
                  7.9743
                ]
              }
            ],
            "spans": [
              {
                "offset": 807,
                "length": 23
              }
            ]
          },
          {
            "rowIndex": 3,
            "columnIndex": 1,
            "rowSpan": 1,
            "columnSpan": 1,
            "content": "$500.00",
            "boundingRegions": [
              {
                "pageNumber": 1,
                "polygon": [
                  6.8105,
                  7.6839,
                  7.9981,
                  7.6886,
                  7.9981,
                  7.9839,
                  6.8105,
                  7.9743
                ]
              }
            ],
            "spans": [
              {
                "offset": 831,
                "length": 7
              }
            ]
          },
          {
            "rowIndex": 4,
            "columnIndex": 0,
            "rowSpan": 1,
            "columnSpan": 1,
            "content": "AMOUNT DUE",
            "boundingRegions": [
              {
                "pageNumber": 1,
                "polygon": [
                  4.7427,
                  7.9743,
                  6.8105,
                  7.9743,
                  6.8105,
                  8.2839,
                  4.7381,
                  8.2839
                ]
              }
            ],
            "spans": [
              {
                "offset": 839,
                "length": 10
              }
            ]
          },
          {
            "rowIndex": 4,
            "columnIndex": 1,
            "rowSpan": 1,
            "columnSpan": 1,
            "content": "$610.00",
            "boundingRegions": [
              {
                "pageNumber": 1,
                "polygon": [
                  6.8105,
                  7.9743,
                  7.9981,
                  7.9839,
                  7.9981,
                  8.2839,
                  6.8105,
                  8.2839
                ]
              }
            ],
            "spans": [
              {
                "offset": 850,
                "length": 7
              }
            ]
          }
        ],
        "boundingRegions": [
          {
            "pageNumber": 1,
            "polygon": [
              4.7456,
              6.7793,
              8.0143,
              6.7788,
              8.0137,
              8.2981,
              4.7446,
              8.2981
            ]
          }
        ],
        "spans": [
          {
            "offset": 759,
            "length": 98
          }
        ]
      }
    ],
    "documents": [
      {
        "docType": "prebuilt:invoice",
        "boundingRegions": [
          {
            "pageNumber": 1,
            "polygon": [
              0,
              0,
              8.5,
              0,
              8.5,
              11,
              0,
              11
            ]
          }
        ],
        "fields": {
          "AmountDue": {
            "type": "number",
            "valueNumber": 610,
            "content": "$610.00",
            "boundingRegions": [
              {
                "pageNumber": 1,
                "polygon": [
                  7.3842,
                  8.0584,
                  7.9181,
                  8.0584,
                  7.9181,
                  8.2022,
                  7.3842,
                  8.2022
                ]
              }
            ],
            "confidence": 0.973,
            "spans": [
              {
                "offset": 850,
                "length": 7
              }
            ]
          },
          "BillingAddress": {
            "type": "string",
            "valueString": "123 Bill St, Redmond WA, 98052",
            "content": "123 Bill St, Redmond WA, 98052",
            "boundingRegions": [
              {
                "pageNumber": 1,
                "polygon": [
                  0.5943,
                  3.9681,
                  2.0083,
                  3.9681,
                  2.0083,
                  4.3082,
                  0.5943,
                  4.3082
                ]
              }
            ],
            "confidence": 0.947,
            "spans": [
              {
                "offset": 376,
                "length": 12
              },
              {
                "offset": 418,
                "length": 17
              }
            ]
          },
          "BillingAddressRecipient": {
            "type": "string",
            "valueString": "Microsoft Finance",
            "content": "Microsoft Finance",
            "boundingRegions": [
              {
                "pageNumber": 1,
                "polygon": [
                  0.5943,
                  3.7641,
                  1.7878,
                  3.7641,
                  1.7878,
                  3.8794,
                  0.5943,
                  3.8794
                ]
              }
            ],
            "confidence": 0.957,
            "spans": [
              {
                "offset": 320,
                "length": 17
              }
            ]
          },
          "CustomerAddress": {
            "type": "string",
            "valueString": "123 Other St, Redmond WA, 98052",
            "content": "123 Other St, Redmond WA, 98052",
            "boundingRegions": [
              {
                "pageNumber": 1,
                "polygon": [
                  0.5943,
                  2.8476,
                  2.0083,
                  2.8476,
                  2.0083,
                  3.1878,
                  0.5943,
                  3.1878
                ]
              }
            ],
            "confidence": 0.947,
            "spans": [
              {
                "offset": 253,
                "length": 31
              }
            ]
          },
          "CustomerAddressRecipient": {
            "type": "string",
            "valueString": "Microsoft Corp",
            "content": "Microsoft Corp",
            "boundingRegions": [
              {
                "pageNumber": 1,
                "polygon": [
                  0.5943,
                  2.6436,
                  1.586,
                  2.6436,
                  1.586,
                  2.7871,
                  0.5943,
                  2.7871
                ]
              }
            ],
            "confidence": 0.956,
            "spans": [
              {
                "offset": 238,
                "length": 14
              }
            ]
          },
          "CustomerId": {
            "type": "string",
            "valueString": "CID-12345",
            "content": "CID-12345",
            "boundingRegions": [
              {
                "pageNumber": 1,
                "polygon": [
                  7.3369,
                  2.4491,
                  7.9951,
                  2.4491,
                  7.9951,
                  2.5486,
                  7.3369,
                  2.5486
                ]
              }
            ],
            "confidence": 0.964,
            "spans": [
              {
                "offset": 228,
                "length": 9
              }
            ]
          },
          "CustomerName": {
            "type": "string",
            "valueString": "MICROSOFT CORPORATION",
            "content": "MICROSOFT CORPORATION",
            "boundingRegions": [
              {
                "pageNumber": 1,
                "polygon": [
                  6.2419,
                  2.0391,
                  7.9825,
                  2.0391,
                  7.9825,
                  2.1386,
                  6.2419,
                  2.1386
                ]
              }
            ],
            "confidence": 0.949,
            "spans": [
              {
                "offset": 153,
                "length": 21
              }
            ]
          },
          "DueDate": {
            "type": "date",
            "valueDate": "2019-12-15",
            "content": "12/15/2019",
            "boundingRegions": [
              {
                "pageNumber": 1,
                "polygon": [
                  7.2494,
                  1.8206,
                  7.993,
                  1.8206,
                  7.993,
                  1.9515,
                  7.2494,
                  1.9515
                ]
              }
            ],
            "confidence": 0.973,
            "spans": [
              {
                "offset": 127,
                "length": 10
              }
            ]
          },
          "InvoiceDate": {
            "type": "date",
            "valueDate": "2019-11-15",
            "content": "11/15/2019",
            "boundingRegions": [
              {
                "pageNumber": 1,
                "polygon": [
                  7.2528,
                  1.6139,
                  7.993,
                  1.6139,
                  7.993,
                  1.7449,
                  7.2528,
                  1.7449
                ]
              }
            ],
            "confidence": 0.972,
            "spans": [
              {
                "offset": 86,
                "length": 10
              }
            ]
          },
          "InvoiceId": {
            "type": "string",
            "valueString": "INV-100",
            "content": "INV-100",
            "boundingRegions": [
              {
                "pageNumber": 1,
                "polygon": [
                  7.4959,
                  1.422,
                  7.9988,
                  1.422,
                  7.9988,
                  1.5215,
                  7.4959,
                  1.5215
                ]
              }
            ],
            "confidence": 0.973,
            "spans": [
              {
                "offset": 51,
                "length": 7
              }
            ]
          },
          "InvoiceTotal": {
            "type": "number",
            "valueNumber": 110,
            "content": "$110.00",
            "boundingRegions": [
              {
                "pageNumber": 1,
                "polygon": [
                  7.3842,
                  7.465,
                  7.9181,
                  7.465,
                  7.9181,
                  7.6089,
                  7.3842,
                  7.6089
                ]
              }
            ],
            "confidence": 0.973,
            "spans": [
              {
                "offset": 799,
                "length": 7
              }
            ]
          },
          "Items": {
            "type": "array",
            "valueArray": [
              {
                "type": "object",
                "valueObject": {
                  "Amount": {
                    "type": "number",
                    "valueNumber": 60,
                    "content": "$60.00",
                    "boundingRegions": [
                      {
                        "pageNumber": 1,
                        "polygon": [
                          7.4642,
                          5.6777,
                          7.9116,
                          5.6777,
                          7.9116,
                          5.8215,
                          7.4642,
                          5.8215
                        ]
                      }
                    ],
                    "confidence": 0.902,
                    "spans": [
                      {
                        "offset": 653,
                        "length": 6
                      }
                    ]
                  },
                  "Date": {
                    "type": "date",
                    "valueDate": "2021-03-04",
                    "content": "3/4/2021",
                    "boundingRegions": [
                      {
                        "pageNumber": 1,
                        "polygon": [
                          0.592,
                          5.682,
                          1.2092,
                          5.682,
                          1.2092,
                          5.8243,
                          0.592,
                          5.8243
                        ]
                      }
                    ],
                    "confidence": 0.938,
                    "spans": [
                      {
                        "offset": 600,
                        "length": 8
                      }
                    ]
                  },
                  "Description": {
                    "type": "string",
                    "valueString": "Consulting Services",
                    "content": "Consulting Services",
                    "boundingRegions": [
                      {
                        "pageNumber": 1,
                        "polygon": [
                          2.3388,
                          5.6883,
                          3.6278,
                          5.6883,
                          3.6278,
                          5.8312,
                          2.3388,
                          5.8312
                        ]
                      }
                    ],
                    "confidence": 0.9,
                    "spans": [
                      {
                        "offset": 614,
                        "length": 19
                      }
                    ]
                  },
                  "ProductCode": {
                    "type": "string",
                    "valueString": "A123",
                    "content": "A123",
                    "boundingRegions": [
                      {
                        "pageNumber": 1,
                        "polygon": [
                          1.6069,
                          5.6948,
                          1.9417,
                          5.6948,
                          1.9417,
                          5.803,
                          1.6069,
                          5.803
                        ]
                      }
                    ],
                    "confidence": 0.877,
                    "spans": [
                      {
                        "offset": 609,
                        "length": 4
                      }
                    ]
                  },
                  "Quantity": {
                    "type": "number",
                    "valueNumber": 2,
                    "content": "2",
                    "boundingRegions": [
                      {
                        "pageNumber": 1,
                        "polygon": [
                          4.5977,
                          5.6948,
                          4.6635,
                          5.6948,
                          4.6635,
                          5.8017,
                          4.5977,
                          5.8017
                        ]
                      }
                    ],
                    "confidence": 0.899,
                    "spans": [
                      {
                        "offset": 634,
                        "length": 1
                      }
                    ]
                  },
                  "Tax": {
                    "type": "number",
                    "content": "10%",
                    "boundingRegions": [
                      {
                        "pageNumber": 1,
                        "polygon": [
                          6.7168,
                          5.6932,
                          6.9826,
                          5.6932,
                          6.9826,
                          5.8045,
                          6.7168,
                          5.8045
                        ]
                      }
                    ],
                    "confidence": 0.78,
                    "spans": [
                      {
                        "offset": 649,
                        "length": 3
                      }
                    ]
                  },
                  "Unit": {
                    "type": "string",
                    "valueString": "hours",
                    "content": "hours",
                    "boundingRegions": [
                      {
                        "pageNumber": 1,
                        "polygon": [
                          4.8444,
                          5.6883,
                          5.2071,
                          5.6883,
                          5.2071,
                          5.803,
                          4.8444,
                          5.803
                        ]
                      }
                    ],
                    "confidence": 0.899,
                    "spans": [
                      {
                        "offset": 636,
                        "length": 5
                      }
                    ]
                  },
                  "UnitPrice": {
                    "type": "number",
                    "valueNumber": 30,
                    "content": "$30.00",
                    "boundingRegions": [
                      {
                        "pageNumber": 1,
                        "polygon": [
                          5.9669,
                          5.6777,
                          6.4142,
                          5.6777,
                          6.4142,
                          5.8215,
                          5.9669,
                          5.8215
                        ]
                      }
                    ],
                    "confidence": 0.828,
                    "spans": [
                      {
                        "offset": 642,
                        "length": 6
                      }
                    ]
                  }
                },
                "content": "3/4/2021 A123 Consulting Services 2 hours $30.00 10% $60.00",
                "boundingRegions": [
                  {
                    "pageNumber": 1,
                    "polygon": [
                      0.592,
                      5.6777,
                      7.9116,
                      5.6777,
                      7.9116,
                      5.8312,
                      0.592,
                      5.8312
                    ]
                  }
                ],
                "confidence": 0.955,
                "spans": [
                  {
                    "offset": 600,
                    "length": 59
                  }
                ]
              },
              {
                "type": "object",
                "valueObject": {
                  "Amount": {
                    "type": "number",
                    "valueNumber": 30,
                    "content": "$30.00",
                    "boundingRegions": [
                      {
                        "pageNumber": 1,
                        "polygon": [
                          7.4642,
                          5.9743,
                          7.9116,
                          5.9743,
                          7.9116,
                          6.1182,
                          7.4642,
                          6.1182
                        ]
                      }
                    ],
                    "confidence": 0.916,
                    "spans": [
                      {
                        "offset": 699,
                        "length": 6
                      }
                    ]
                  },
                  "Date": {
                    "type": "date",
                    "valueDate": "2021-03-05",
                    "content": "3/5/2021",
                    "boundingRegions": [
                      {
                        "pageNumber": 1,
                        "polygon": [
                          0.592,
                          5.9787,
                          1.2088,
                          5.9787,
                          1.2088,
                          6.121,
                          0.592,
                          6.121
                        ]
                      }
                    ],
                    "confidence": 0.902,
                    "spans": [
                      {
                        "offset": 660,
                        "length": 8
                      }
                    ]
                  },
                  "Description": {
                    "type": "string",
                    "valueString": "Document Fee",
                    "content": "Document Fee",
                    "boundingRegions": [
                      {
                        "pageNumber": 1,
                        "polygon": [
                          2.345,
                          5.993,
                          3.3096,
                          5.993,
                          3.3096,
                          6.0997,
                          2.345,
                          6.0997
                        ]
                      }
                    ],
                    "confidence": 0.901,
                    "spans": [
                      {
                        "offset": 674,
                        "length": 12
                      }
                    ]
                  },
                  "ProductCode": {
                    "type": "string",
                    "valueString": "B456",
                    "content": "B456",
                    "boundingRegions": [
                      {
                        "pageNumber": 1,
                        "polygon": [
                          1.6214,
                          5.9915,
                          1.9419,
                          5.9915,
                          1.9419,
                          6.0997,
                          1.6214,
                          6.0997
                        ]
                      }
                    ],
                    "confidence": 0.886,
                    "spans": [
                      {
                        "offset": 669,
                        "length": 4
                      }
                    ]
                  },
                  "Quantity": {
                    "type": "number",
                    "valueNumber": 3,
                    "content": "3",
                    "boundingRegions": [
                      {
                        "pageNumber": 1,
                        "polygon": [
                          4.5967,
                          5.9915,
                          4.6627,
                          5.9915,
                          4.6627,
                          6.0997,
                          4.5967,
                          6.0997
                        ]
                      }
                    ],
                    "confidence": 0.898,
                    "spans": [
                      {
                        "offset": 687,
                        "length": 1
                      }
                    ]
                  },
                  "Tax": {
                    "type": "number",
                    "content": "5%",
                    "boundingRegions": [
                      {
                        "pageNumber": 1,
                        "polygon": [
                          6.7508,
                          5.9898,
                          6.9393,
                          5.9898,
                          6.9393,
                          6.1012,
                          6.7508,
                          6.1012
                        ]
                      }
                    ],
                    "confidence": 0.772,
                    "spans": [
                      {
                        "offset": 696,
                        "length": 2
                      }
                    ]
                  },
                  "UnitPrice": {
                    "type": "number",
                    "valueNumber": 10,
                    "content": "$10.00",
                    "boundingRegions": [
                      {
                        "pageNumber": 1,
                        "polygon": [
                          5.9669,
                          5.9743,
                          6.4142,
                          5.9743,
                          6.4142,
                          6.1182,
                          5.9669,
                          6.1182
                        ]
                      }
                    ],
                    "confidence": 0.831,
                    "spans": [
                      {
                        "offset": 689,
                        "length": 6
                      }
                    ]
                  }
                },
                "content": "3/5/2021 B456 Document Fee 3 $10.00 5% $30.00",
                "boundingRegions": [
                  {
                    "pageNumber": 1,
                    "polygon": [
                      0.592,
                      5.9743,
                      7.9116,
                      5.9743,
                      7.9116,
                      6.121,
                      0.592,
                      6.121
                    ]
                  }
                ],
                "confidence": 0.941,
                "spans": [
                  {
                    "offset": 660,
                    "length": 45
                  }
                ]
              },
              {
                "type": "object",
                "valueObject": {
                  "Amount": {
                    "type": "number",
                    "valueNumber": 10,
                    "content": "$10.00",
                    "boundingRegions": [
                      {
                        "pageNumber": 1,
                        "polygon": [
                          7.4642,
                          6.2746,
                          7.9116,
                          6.2746,
                          7.9116,
                          6.4184,
                          7.4642,
                          6.4184
                        ]
                      }
                    ],
                    "confidence": 0.959,
                    "spans": [
                      {
                        "offset": 752,
                        "length": 6
                      }
                    ]
                  },
                  "Date": {
                    "type": "date",
                    "valueDate": "2021-03-06",
                    "content": "3/6/2021",
                    "boundingRegions": [
                      {
                        "pageNumber": 1,
                        "polygon": [
                          0.592,
                          6.2789,
                          1.2088,
                          6.2789,
                          1.2088,
                          6.4213,
                          0.592,
                          6.4213
                        ]
                      }
                    ],
                    "confidence": 0.903,
                    "spans": [
                      {
                        "offset": 706,
                        "length": 8
                      }
                    ]
                  },
                  "Description": {
                    "type": "string",
                    "valueString": "Printing Fee",
                    "content": "Printing Fee",
                    "boundingRegions": [
                      {
                        "pageNumber": 1,
                        "polygon": [
                          2.345,
                          6.2906,
                          3.1351,
                          6.2906,
                          3.1351,
                          6.4281,
                          2.345,
                          6.4281
                        ]
                      }
                    ],
                    "confidence": 0.899,
                    "spans": [
                      {
                        "offset": 720,
                        "length": 12
                      }
                    ]
                  },
                  "ProductCode": {
                    "type": "string",
                    "valueString": "C789",
                    "content": "C789",
                    "boundingRegions": [
                      {
                        "pageNumber": 1,
                        "polygon": [
                          1.6152,
                          6.2918,
                          1.94,
                          6.2918,
                          1.94,
                          6.3999,
                          1.6152,
                          6.3999
                        ]
                      }
                    ],
                    "confidence": 0.898,
                    "spans": [
                      {
                        "offset": 715,
                        "length": 4
                      }
                    ]
                  },
                  "Quantity": {
                    "type": "number",
                    "valueNumber": 10,
                    "content": "10",
                    "boundingRegions": [
                      {
                        "pageNumber": 1,
                        "polygon": [
                          4.5158,
                          6.2918,
                          4.6637,
                          6.2918,
                          4.6637,
                          6.3999,
                          4.5158,
                          6.3999
                        ]
                      }
                    ],
                    "confidence": 0.903,
                    "spans": [
                      {
                        "offset": 733,
                        "length": 2
                      }
                    ]
                  },
                  "Tax": {
                    "type": "number",
                    "content": "20%",
                    "boundingRegions": [
                      {
                        "pageNumber": 1,
                        "polygon": [
                          6.712,
                          6.2901,
                          6.9826,
                          6.2901,
                          6.9826,
                          6.4014,
                          6.712,
                          6.4014
                        ]
                      }
                    ],
                    "confidence": 0.791,
                    "spans": [
                      {
                        "offset": 748,
                        "length": 3
                      }
                    ]
                  },
                  "Unit": {
                    "type": "string",
                    "valueString": "pages",
                    "content": "pages",
                    "boundingRegions": [
                      {
                        "pageNumber": 1,
                        "polygon": [
                          4.8444,
                          6.3196,
                          5.2199,
                          6.3196,
                          5.2199,
                          6.4281,
                          4.8444,
                          6.4281
                        ]
                      }
                    ],
                    "confidence": 0.899,
                    "spans": [
                      {
                        "offset": 736,
                        "length": 5
                      }
                    ]
                  },
                  "UnitPrice": {
                    "type": "number",
                    "valueNumber": 1,
                    "content": "$1.00",
                    "boundingRegions": [
                      {
                        "pageNumber": 1,
                        "polygon": [
                          6.0502,
                          6.2746,
                          6.4142,
                          6.2746,
                          6.4142,
                          6.4184,
                          6.0502,
                          6.4184
                        ]
                      }
                    ],
                    "confidence": 0.829,
                    "spans": [
                      {
                        "offset": 742,
                        "length": 5
                      }
                    ]
                  }
                },
                "content": "3/6/2021 C789 Printing Fee 10 pages $1.00 20% $10.00",
                "boundingRegions": [
                  {
                    "pageNumber": 1,
                    "polygon": [
                      0.592,
                      6.2746,
                      7.9116,
                      6.2746,
                      7.9116,
                      6.4281,
                      0.592,
                      6.4281
                    ]
                  }
                ],
                "confidence": 0.956,
                "spans": [
                  {
                    "offset": 706,
                    "length": 52
                  }
                ]
              }
            ]
          },
          "Locale": {
            "type": "string",
            "valueString": "en-US",
            "confidence": 1
          },
          "PreviousUnpaidBalance": {
            "type": "number",
            "valueNumber": 500,
            "content": "$500.00",
            "boundingRegions": [
              {
                "pageNumber": 1,
                "polygon": [
                  7.3842,
                  7.7617,
                  7.9181,
                  7.7617,
                  7.9181,
                  7.9055,
                  7.3842,
                  7.9055
                ]
              }
            ],
            "confidence": 0.962,
            "spans": [
              {
                "offset": 831,
                "length": 7
              }
            ]
          },
          "PurchaseOrder": {
            "type": "string",
            "valueString": "PO-3333",
            "content": "PO-3333",
            "boundingRegions": [
              {
                "pageNumber": 1,
                "polygon": [
                  1.9114,
                  4.9282,
                  2.4718,
                  4.9282,
                  2.4718,
                  5.0363,
                  1.9114,
                  5.0363
                ]
              }
            ],
            "confidence": 0.967,
            "spans": [
              {
                "offset": 541,
                "length": 7
              }
            ]
          },
          "RemittanceAddress": {
            "type": "string",
            "valueString": "123 Remit St New York, NY, 10001",
            "content": "123 Remit St New York, NY, 10001",
            "boundingRegions": [
              {
                "pageNumber": 1,
                "polygon": [
                  0.5943,
                  9.5717,
                  1.9882,
                  9.5717,
                  1.9882,
                  9.9098,
                  0.5943,
                  9.9098
                ]
              }
            ],
            "confidence": 0.946,
            "spans": [
              {
                "offset": 913,
                "length": 32
              }
            ]
          },
          "RemittanceAddressRecipient": {
            "type": "string",
            "valueString": "Contoso Billing",
            "content": "Contoso Billing",
            "boundingRegions": [
              {
                "pageNumber": 1,
                "polygon": [
                  0.5882,
                  9.3631,
                  1.5828,
                  9.3631,
                  1.5828,
                  9.5059,
                  0.5882,
                  9.5059
                ]
              }
            ],
            "confidence": 0.956,
            "spans": [
              {
                "offset": 897,
                "length": 15
              }
            ]
          },
          "ServiceAddress": {
            "type": "string",
            "valueString": "123 Service St, Redmond WA, 98052",
            "content": "123 Service St, Redmond WA, 98052",
            "boundingRegions": [
              {
                "pageNumber": 1,
                "polygon": [
                  6.2197,
                  3.9734,
                  7.6337,
                  3.9734,
                  7.6337,
                  4.3082,
                  6.2197,
                  4.3082
                ]
              }
            ],
            "confidence": 0.946,
            "spans": [
              {
                "offset": 402,
                "length": 15
              },
              {
                "offset": 454,
                "length": 17
              }
            ]
          },
          "ServiceAddressRecipient": {
            "type": "string",
            "valueString": "Microsoft Services",
            "content": "Microsoft Services",
            "boundingRegions": [
              {
                "pageNumber": 1,
                "polygon": [
                  6.2197,
                  3.7641,
                  7.4427,
                  3.7641,
                  7.4427,
                  3.8794,
                  6.2197,
                  3.8794
                ]
              }
            ],
            "confidence": 0.951,
            "spans": [
              {
                "offset": 357,
                "length": 18
              }
            ]
          },
          "ServiceEndDate": {
            "type": "date",
            "valueDate": "2019-11-14",
            "content": "11/14/2019",
            "boundingRegions": [
              {
                "pageNumber": 1,
                "polygon": [
                  7.2528,
                  2.2306,
                  7.9952,
                  2.2306,
                  7.9952,
                  2.3615,
                  7.2528,
                  2.3615
                ]
              }
            ],
            "confidence": 0.973,
            "spans": [
              {
                "offset": 204,
                "length": 10
              }
            ]
          },
          "ServiceStartDate": {
            "type": "date",
            "valueDate": "2019-10-14",
            "content": "10/14/2019",
            "boundingRegions": [
              {
                "pageNumber": 1,
                "polygon": [
                  6.3357,
                  2.2306,
                  7.0749,
                  2.2306,
                  7.0749,
                  2.3615,
                  6.3357,
                  2.3615
                ]
              }
            ],
            "confidence": 0.973,
            "spans": [
              {
                "offset": 191,
                "length": 10
              }
            ]
          },
          "ShippingAddress": {
            "type": "string",
            "valueString": "123 Ship St, Redmond WA, 98052",
            "content": "123 Ship St, Redmond WA, 98052",
            "boundingRegions": [
              {
                "pageNumber": 1,
                "polygon": [
                  3.3454,
                  3.9681,
                  4.7594,
                  3.9681,
                  4.7594,
                  4.3082,
                  3.3454,
                  4.3082
                ]
              }
            ],
            "confidence": 0.946,
            "spans": [
              {
                "offset": 389,
                "length": 12
              },
              {
                "offset": 436,
                "length": 17
              }
            ]
          },
          "ShippingAddressRecipient": {
            "type": "string",
            "valueString": "Microsoft Delivery",
            "content": "Microsoft Delivery",
            "boundingRegions": [
              {
                "pageNumber": 1,
                "polygon": [
                  3.3454,
                  3.7641,
                  4.5762,
                  3.7641,
                  4.5762,
                  3.9076,
                  3.3454,
                  3.9076
                ]
              }
            ],
            "confidence": 0.955,
            "spans": [
              {
                "offset": 338,
                "length": 18
              }
            ]
          },
          "SubTotal": {
            "type": "number",
            "valueNumber": 100,
            "content": "$100.00",
            "boundingRegions": [
              {
                "pageNumber": 1,
                "polygon": [
                  7.3842,
                  6.8679,
                  7.9181,
                  6.8679,
                  7.9181,
                  7.0118,
                  7.3842,
                  7.0118
                ]
              }
            ],
            "confidence": 0.973,
            "spans": [
              {
                "offset": 768,
                "length": 7
              }
            ]
          },
          "TotalTax": {
            "type": "number",
            "valueNumber": 10,
            "content": "$10.00",
            "boundingRegions": [
              {
                "pageNumber": 1,
                "polygon": [
                  7.4709,
                  7.165,
                  7.9182,
                  7.165,
                  7.9182,
                  7.3089,
                  7.4709,
                  7.3089
                ]
              }
            ],
            "confidence": 0.973,
            "spans": [
              {
                "offset": 786,
                "length": 6
              }
            ]
          },
          "VendorAddress": {
            "type": "string",
            "valueString": "123 456th St New York, NY, 10001",
            "content": "123 456th St New York, NY, 10001",
            "boundingRegions": [
              {
                "pageNumber": 1,
                "polygon": [
                  0.5943,
                  1.6092,
                  1.9894,
                  1.6092,
                  1.9894,
                  1.9675,
                  0.5943,
                  1.9675
                ]
              }
            ],
            "confidence": 0.946,
            "spans": [
              {
                "offset": 59,
                "length": 12
              },
              {
                "offset": 97,
                "length": 19
              }
            ]
          },
          "VendorAddressRecipient": {
            "type": "string",
            "valueString": "Contoso Headquarters",
            "content": "Contoso Headquarters",
            "boundingRegions": [
              {
                "pageNumber": 1,
                "polygon": [
                  0.5882,
                  1.4239,
                  2.0978,
                  1.4239,
                  2.0978,
                  1.5664,
                  0.5882,
                  1.5664
                ]
              }
            ],
            "confidence": 0.956,
            "spans": [
              {
                "offset": 21,
                "length": 20
              }
            ]
          },
          "VendorName": {
            "type": "string",
            "valueString": "CONTOSO LTD.",
            "content": "CONTOSO LTD.",
            "boundingRegions": [
              {
                "pageNumber": 1,
                "polygon": [
                  0.5911,
                  0.6857,
                  2.3181,
                  0.6857,
                  2.3181,
                  0.8664,
                  0.5911,
                  0.8664
                ]
              }
            ],
            "confidence": 0.956,
            "spans": [
              {
                "offset": 0,
                "length": 12
              }
            ]
          }
        },
        "confidence": 1,
        "spans": [
          {
            "offset": 0,
            "length": 958
          }
        ]
      }
    ]
  }
}

Definitions

Name Description
AddressValue

Address field value.

AnalyzeResult

Document analysis result.

AnalyzeResultOperation

Status and result of the analyze operation.

BoundingRegion

Bounding polygon on a specific page of the input.

ContentFormat

Format of the content in analyzed result.

CurrencyValue

Currency field value.

Document

An object describing the location and semantic content of a document.

DocumentBarcode

A barcode object.

DocumentBarcodeKind

Barcode kind.

DocumentCaption

A caption object describing a table or figure.

DocumentField

An object representing the content and location of a field value.

DocumentFieldType

Semantic data type of the field value.

DocumentFigure

An object representing a figure in the document.

DocumentFootnote

A footnote object describing a table or figure.

DocumentFormula

A formula object.

DocumentFormulaKind

Formula kind.

DocumentKeyValueElement

An object representing the field key or value in a key-value pair.

DocumentKeyValuePair

An object representing a form field with distinct field label (key) and field value (may be empty).

DocumentLanguage

An object representing the detected language for a given text span.

DocumentLine

A content line object consisting of an adjacent sequence of content elements, such as words and selection marks.

DocumentPage

Content and layout elements extracted from a page from the input.

DocumentParagraph

A paragraph object consisting with contiguous lines generally with common alignment and spacing.

DocumentSection

An object representing a section in the document.

DocumentSelectionMark

A selection mark object representing check boxes, radio buttons, and other elements indicating a selection.

DocumentSelectionMarkState

State of the selection mark.

DocumentSignatureType

Presence of signature.

DocumentSpan

Contiguous region of the concatenated content property, specified as an offset and length.

DocumentStyle

An object representing observed text styles.

DocumentTable

A table object consisting table cells arranged in a rectangular layout.

DocumentTableCell

An object representing the location and content of a table cell.

DocumentTableCellKind

Table cell kind.

DocumentWord

A word object consisting of a contiguous sequence of characters. For non-space delimited languages, such as Chinese, Japanese, and Korean, each character is represented as its own word.

Error

The error object.

ErrorResponse

Error response object.

FontStyle

Font style.

FontWeight

Font weight.

InnerError

An object containing more specific information about the error.

LengthUnit

The unit used by the width, height, and polygon properties. For images, the unit is "pixel". For PDF, the unit is "inch".

OperationStatus

Operation status.

ParagraphRole

Semantic role of the paragraph.

StringIndexType

Method used to compute string offset and length.

Warning

The error object.

AddressValue

Address field value.

Name Type Description
city

string

Name of city, town, village, etc.

cityDistrict

string

Districts or boroughs within a city, such as Brooklyn in New York City or City of Westminster in London.

countryRegion

string

Country/region.

house

string

Build name, such as World Trade Center.

houseNumber

string

House or building number.

level

string

Floor number, such as 3F.

poBox

string

Post office box number.

postalCode

string

Postal code used for mail sorting.

road

string

Street name.

state

string

First-level administrative division.

stateDistrict

string

Second-level administrative division used in certain locales.

streetAddress

string

Street-level address, excluding city, state, countryRegion, and postalCode.

suburb

string

Unofficial neighborhood name, like Chinatown.

unit

string

Apartment or office number

AnalyzeResult

Document analysis result.

Name Type Description
apiVersion

string

API version used to produce this result.

content

string

Concatenate string representation of all textual and visual elements in reading order.

contentFormat

ContentFormat

Format of the analyze result top-level content.

documents

Document[]

Extracted documents.

figures

DocumentFigure[]

Extracted figures.

keyValuePairs

DocumentKeyValuePair[]

Extracted key-value pairs.

languages

DocumentLanguage[]

Detected languages.

modelId

string

Document model ID used to produce this result.

pages

DocumentPage[]

Analyzed pages.

paragraphs

DocumentParagraph[]

Extracted paragraphs.

sections

DocumentSection[]

Extracted sections.

stringIndexType

StringIndexType

Method used to compute string offset and length.

styles

DocumentStyle[]

Extracted font styles.

tables

DocumentTable[]

Extracted tables.

warnings

Warning[]

List of warnings encountered.

AnalyzeResultOperation

Status and result of the analyze operation.

Name Type Description
analyzeResult

AnalyzeResult

Document analysis result.

createdDateTime

string

Date and time (UTC) when the analyze operation was submitted.

error

Error

Encountered error during document analysis.

lastUpdatedDateTime

string

Date and time (UTC) when the status was last updated.

status

OperationStatus

Operation status. notStarted, running, succeeded, or failed

BoundingRegion

Bounding polygon on a specific page of the input.

Name Type Description
pageNumber

integer

1-based page number of page containing the bounding region.

polygon

number[]

Bounding polygon on the page, or the entire page if not specified. Coordinates specified relative to the top-left of the page. The numbers represent the x, y values of the polygon vertices, clockwise from the left (-180 degrees inclusive) relative to the element orientation.

ContentFormat

Format of the content in analyzed result.

Name Type Description
markdown

string

Markdown representation of the document content with section headings, tables, etc.

text

string

Plain text representation of the document content without any formatting.

CurrencyValue

Currency field value.

Name Type Description
amount

number

Currency amount.

currencyCode

string

Resolved currency code (ISO 4217), if any.

currencySymbol

string

Currency symbol label, if any.

Document

An object describing the location and semantic content of a document.

Name Type Description
boundingRegions

BoundingRegion[]

Bounding regions covering the document.

confidence

number

Confidence of correctly extracting the document.

docType

string

Document type.

fields

<string,  DocumentField>

Dictionary of named field values.

spans

DocumentSpan[]

Location of the document in the reading order concatenated content.

DocumentBarcode

A barcode object.

Name Type Description
confidence

number

Confidence of correctly extracting the barcode.

kind

DocumentBarcodeKind

Barcode kind.

polygon

number[]

Bounding polygon of the barcode, with coordinates specified relative to the top-left of the page. The numbers represent the x, y values of the polygon vertices, clockwise from the left (-180 degrees inclusive) relative to the element orientation.

span

DocumentSpan

Location of the barcode in the reading order concatenated content.

value

string

Barcode value.

DocumentBarcodeKind

Barcode kind.

Name Type Description
Aztec

string

Aztec code, as defined in ISO/IEC 24778:2008.

Codabar

string

Codabar barcode, as defined in ANSI/AIM BC3-1995.

Code128

string

Code 128 barcode, as defined in ISO/IEC 15417:2007.

Code39

string

Code 39 barcode, as defined in ISO/IEC 16388:2007.

Code93

string

Code 93 barcode, as defined in ANSI/AIM BC5-1995.

DataBar

string

GS1 DataBar barcode.

DataBarExpanded

string

GS1 DataBar Expanded barcode.

DataMatrix

string

Data matrix code, as defined in ISO/IEC 16022:2006.

EAN13

string

GS1 13-digit International Article Number (European Article Number).

EAN8

string

GS1 8-digit International Article Number (European Article Number).

ITF

string

Interleaved 2 of 5 barcode, as defined in ANSI/AIM BC2-1995.

MaxiCode

string

MaxiCode, as defined in ISO/IEC 16023:2000.

MicroQRCode

string

Micro QR code, as defined in ISO/IEC 23941:2022.

PDF417

string

PDF417, as defined in ISO 15438.

QRCode

string

QR code, as defined in ISO/IEC 18004:2015.

UPCA

string

GS1 12-digit Universal Product Code.

UPCE

string

GS1 6-digit Universal Product Code.

DocumentCaption

A caption object describing a table or figure.

Name Type Description
boundingRegions

BoundingRegion[]

Bounding regions covering the caption.

content

string

Content of the caption.

elements

string[]

Child elements of the caption.

spans

DocumentSpan[]

Location of the caption in the reading order concatenated content.

DocumentField

An object representing the content and location of a field value.

Name Type Description
boundingRegions

BoundingRegion[]

Bounding regions covering the field.

confidence

number

Confidence of correctly extracting the field.

content

string

Field content.

spans

DocumentSpan[]

Location of the field in the reading order concatenated content.

type

DocumentFieldType

Data type of the field value.

valueAddress

AddressValue

Address value.

valueArray

DocumentField[]

Array of field values.

valueBoolean

boolean

Boolean value.

valueCountryRegion

string

3-letter country code value (ISO 3166-1 alpha-3).

valueCurrency

CurrencyValue

Currency value.

valueDate

string

Date value in YYYY-MM-DD format (ISO 8601).

valueInteger

integer

Integer value.

valueNumber

number

Floating point value.

valueObject

<string,  DocumentField>

Dictionary of named field values.

valuePhoneNumber

string

Phone number value in E.164 format (ex. +19876543210).

valueSelectionGroup

string[]

Selection group value.

valueSelectionMark

DocumentSelectionMarkState

Selection mark value.

valueSignature

DocumentSignatureType

Presence of signature.

valueString

string

String value.

valueTime

string

Time value in hh:mm:ss format (ISO 8601).

DocumentFieldType

Semantic data type of the field value.

Name Type Description
address

string

Parsed address.

array

string

List of subfields of the same type.

boolean

string

Boolean value, normalized to true or false.

countryRegion

string

Country/region, normalized to ISO 3166-1 alpha-3 format (ex. USA).

currency

string

Currency amount with optional currency symbol and unit.

date

string

Date, normalized to ISO 8601 (YYYY-MM-DD) format.

integer

string

Integer number, normalized to 64-bit signed integer.

number

string

Floating point number, normalized to double precision floating point.

object

string

Named list of subfields of potentially different types.

phoneNumber

string

Phone number, normalized to E.164 (+{CountryCode}{SubscriberNumber}) format.

selectionGroup

string

Array of selected string values.

selectionMark

string

Is field selected?

signature

string

Is signature present?

string

string

Plain text.

time

string

Time, normalized to ISO 8601 (hh:mm:ss) format.

DocumentFigure

An object representing a figure in the document.

Name Type Description
boundingRegions

BoundingRegion[]

Bounding regions covering the figure.

caption

DocumentCaption

Caption associated with the figure.

elements

string[]

Child elements of the figure, excluding any caption or footnotes.

footnotes

DocumentFootnote[]

List of footnotes associated with the figure.

id

string

Figure ID.

spans

DocumentSpan[]

Location of the figure in the reading order concatenated content.

DocumentFootnote

A footnote object describing a table or figure.

Name Type Description
boundingRegions

BoundingRegion[]

Bounding regions covering the footnote.

content

string

Content of the footnote.

elements

string[]

Child elements of the footnote.

spans

DocumentSpan[]

Location of the footnote in the reading order concatenated content.

DocumentFormula

A formula object.

Name Type Description
confidence

number

Confidence of correctly extracting the formula.

kind

DocumentFormulaKind

Formula kind.

polygon

number[]

Bounding polygon of the formula, with coordinates specified relative to the top-left of the page. The numbers represent the x, y values of the polygon vertices, clockwise from the left (-180 degrees inclusive) relative to the element orientation.

span

DocumentSpan

Location of the formula in the reading order concatenated content.

value

string

LaTex expression describing the formula.

DocumentFormulaKind

Formula kind.

Name Type Description
display

string

A formula in display mode that takes up an entire line.

inline

string

A formula embedded within the content of a paragraph.

DocumentKeyValueElement

An object representing the field key or value in a key-value pair.

Name Type Description
boundingRegions

BoundingRegion[]

Bounding regions covering the key-value element.

content

string

Concatenated content of the key-value element in reading order.

spans

DocumentSpan[]

Location of the key-value element in the reading order concatenated content.

DocumentKeyValuePair

An object representing a form field with distinct field label (key) and field value (may be empty).

Name Type Description
confidence

number

Confidence of correctly extracting the key-value pair.

key

DocumentKeyValueElement

Field label of the key-value pair.

value

DocumentKeyValueElement

Field value of the key-value pair.

DocumentLanguage

An object representing the detected language for a given text span.

Name Type Description
confidence

number

Confidence of correctly identifying the language.

locale

string

Detected language. Value may an ISO 639-1 language code (ex. "en", "fr") or BCP 47 language tag (ex. "zh-Hans").

spans

DocumentSpan[]

Location of the text elements in the concatenated content the language applies to.

DocumentLine

A content line object consisting of an adjacent sequence of content elements, such as words and selection marks.

Name Type Description
content

string

Concatenated content of the contained elements in reading order.

polygon

number[]

Bounding polygon of the line, with coordinates specified relative to the top-left of the page. The numbers represent the x, y values of the polygon vertices, clockwise from the left (-180 degrees inclusive) relative to the element orientation.

spans

DocumentSpan[]

Location of the line in the reading order concatenated content.

DocumentPage

Content and layout elements extracted from a page from the input.

Name Type Description
angle

number

The general orientation of the content in clockwise direction, measured in degrees between (-180, 180].

barcodes

DocumentBarcode[]

Extracted barcodes from the page.

formulas

DocumentFormula[]

Extracted formulas from the page.

height

number

The height of the image/PDF in pixels/inches, respectively.

lines

DocumentLine[]

Extracted lines from the page, potentially containing both textual and visual elements.

pageNumber

integer

1-based page number in the input document.

selectionMarks

DocumentSelectionMark[]

Extracted selection marks from the page.

spans

DocumentSpan[]

Location of the page in the reading order concatenated content.

unit

LengthUnit

The unit used by the width, height, and polygon properties. For images, the unit is "pixel". For PDF, the unit is "inch".

width

number

The width of the image/PDF in pixels/inches, respectively.

words

DocumentWord[]

Extracted words from the page.

DocumentParagraph

A paragraph object consisting with contiguous lines generally with common alignment and spacing.

Name Type Description
boundingRegions

BoundingRegion[]

Bounding regions covering the paragraph.

content

string

Concatenated content of the paragraph in reading order.

role

ParagraphRole

Semantic role of the paragraph.

spans

DocumentSpan[]

Location of the paragraph in the reading order concatenated content.

DocumentSection

An object representing a section in the document.

Name Type Description
elements

string[]

Child elements of the section.

spans

DocumentSpan[]

Location of the section in the reading order concatenated content.

DocumentSelectionMark

A selection mark object representing check boxes, radio buttons, and other elements indicating a selection.

Name Type Description
confidence

number

Confidence of correctly extracting the selection mark.

polygon

number[]

Bounding polygon of the selection mark, with coordinates specified relative to the top-left of the page. The numbers represent the x, y values of the polygon vertices, clockwise from the left (-180 degrees inclusive) relative to the element orientation.

span

DocumentSpan

Location of the selection mark in the reading order concatenated content.

state

DocumentSelectionMarkState

State of the selection mark.

DocumentSelectionMarkState

State of the selection mark.

Name Type Description
selected

string

The selection mark is selected, often indicated by a check ✓ or cross X inside the selection mark.

unselected

string

The selection mark is not selected.

DocumentSignatureType

Presence of signature.

Name Type Description
signed

string

A signature is detected.

unsigned

string

No signatures are detected.

DocumentSpan

Contiguous region of the concatenated content property, specified as an offset and length.

Name Type Description
length

integer

Number of characters in the content represented by the span.

offset

integer

Zero-based index of the content represented by the span.

DocumentStyle

An object representing observed text styles.

Name Type Description
backgroundColor

string

Background color in #rrggbb hexadecimal format..

color

string

Foreground color in #rrggbb hexadecimal format.

confidence

number

Confidence of correctly identifying the style.

fontStyle

FontStyle

Font style.

fontWeight

FontWeight

Font weight.

isHandwritten

boolean

Is content handwritten?

similarFontFamily

string

Visually most similar font from among the set of supported font families, with fallback fonts following CSS convention (ex. 'Arial, sans-serif').

spans

DocumentSpan[]

Location of the text elements in the concatenated content the style applies to.

DocumentTable

A table object consisting table cells arranged in a rectangular layout.

Name Type Description
boundingRegions

BoundingRegion[]

Bounding regions covering the table.

caption

DocumentCaption

Caption associated with the table.

cells

DocumentTableCell[]

Cells contained within the table.

columnCount

integer

Number of columns in the table.

footnotes

DocumentFootnote[]

List of footnotes associated with the table.

rowCount

integer

Number of rows in the table.

spans

DocumentSpan[]

Location of the table in the reading order concatenated content.

DocumentTableCell

An object representing the location and content of a table cell.

Name Type Default value Description
boundingRegions

BoundingRegion[]

Bounding regions covering the table cell.

columnIndex

integer

Column index of the cell.

columnSpan

integer

1

Number of columns spanned by this cell.

content

string

Concatenated content of the table cell in reading order.

elements

string[]

Child elements of the table cell.

kind

DocumentTableCellKind

content

Table cell kind.

rowIndex

integer

Row index of the cell.

rowSpan

integer

1

Number of rows spanned by this cell.

spans

DocumentSpan[]

Location of the table cell in the reading order concatenated content.

DocumentTableCellKind

Table cell kind.

Name Type Description
columnHeader

string

Describes the content of the column.

content

string

Contains the main content/data.

description

string

Describes the content in (parts of) the table.

rowHeader

string

Describes the content of the row.

stubHead

string

Describes the row headers, usually located at the top left corner of a table.

DocumentWord

A word object consisting of a contiguous sequence of characters. For non-space delimited languages, such as Chinese, Japanese, and Korean, each character is represented as its own word.

Name Type Description
confidence

number

Confidence of correctly extracting the word.

content

string

Text content of the word.

polygon

number[]

Bounding polygon of the word, with coordinates specified relative to the top-left of the page. The numbers represent the x, y values of the polygon vertices, clockwise from the left (-180 degrees inclusive) relative to the element orientation.

span

DocumentSpan

Location of the word in the reading order concatenated content.

Error

The error object.

Name Type Description
code

string

One of a server-defined set of error codes.

details

Error[]

An array of details about specific errors that led to this reported error.

innererror

InnerError

An object containing more specific information than the current object about the error.

message

string

A human-readable representation of the error.

target

string

The target of the error.

ErrorResponse

Error response object.

Name Type Description
error

Error

Error info.

FontStyle

Font style.

Name Type Description
italic

string

Characters are visually slanted to the right.

normal

string

Characters are represented normally.

FontWeight

Font weight.

Name Type Description
bold

string

Characters are represented with thicker strokes.

normal

string

Characters are represented normally.

InnerError

An object containing more specific information about the error.

Name Type Description
code

string

One of a server-defined set of error codes.

innererror

InnerError

Inner error.

message

string

A human-readable representation of the error.

LengthUnit

The unit used by the width, height, and polygon properties. For images, the unit is "pixel". For PDF, the unit is "inch".

Name Type Description
inch

string

Length unit for PDF files.

pixel

string

Length unit for image files.

OperationStatus

Operation status.

Name Type Description
canceled

string

The operation has been canceled.

completed

string

The operation has completed.

failed

string

The operation has failed.

notStarted

string

The operation has not started yet.

running

string

The operation is in progress.

succeeded

string

The operation has succeeded.

ParagraphRole

Semantic role of the paragraph.

Name Type Description
footnote

string

A note usually placed after the main content on a page.

formulaBlock

string

A block of formulas, often with shared alignment.

pageFooter

string

Text near the bottom edge of the page.

pageHeader

string

Text near the top edge of the page.

pageNumber

string

Page number.

sectionHeading

string

Sub heading describing a section of the document.

title

string

Top-level title describing the entire document.

StringIndexType

Method used to compute string offset and length.

Name Type Description
textElements

string

User-perceived display character, or grapheme cluster, as defined by Unicode 8.0.0.

unicodeCodePoint

string

Character unit represented by a single unicode code point. Used by Python 3.

utf16CodeUnit

string

Character unit represented by a 16-bit Unicode code unit. Used by JavaScript, Java, and .NET.

Warning

The error object.

Name Type Description
code

string

One of a server-defined set of warning codes.

message

string

A human-readable representation of the warning.

target

string

The target of the error.