Introduction

API documentation is a type of technical writing that describes the functions, parameters, and protocols of a software application's API (Application Programming Interface). The purpose of API documentation is to provide developers with the information they need to integrate the API into their applications.

Base URL

https://idp.intelgic.com/api/v1

Upload Invoice

The upload invoice API is an endpoint that enables users to send their invoices to a server for processing or storage. This API generally allows file uploads in multiple formats, such as PDF, JPEG, PNG, or PDF. It can accept single or multiple file uploads.

Authorization


x-api-key *
string

An API key is required in the request header for authorization.

Parameters


source_file *
string ($binary)

This parameter only accepts JPG, PNG, JPEG, or PDF files. You can upload multiple files at once using this parameter.

custom_data Optional
string

This parameter is optional. You can pass any custom data in this parameter. This data will be returned in the response.
example: ["{'id': 1}", "{'id': 2}"]
*note: The number of files and the number of elements custom data must be the same.

POST /upload-invoice

curl -H 'x-api-key: YOUR_API_KEY'
  -F 'source_file=@YOUR_FILE_PATH'
  -f https://idp.intelgic.com/api/v1/upload-invoice

RESPONSE

{
  "message": "Your files are processing in the background",
  "status": true
}
                                        

Invoice Details

The Invoice Details API is intended to fetch comprehensive information about a specific invoice by providing the invoice ID as a parameter. The API allows users to provide additional information or parameters required for the request by accepting multipart form data in the request body.

Authorization


x-api-key *
string

An API key is required in the request header for authorization.

Parameters


invoice_id *
string

The invoice ID is required in the request body.

POST /invoice-details

curl --location --request POST 'https://idp.intelgic.com/api/v1/invoice-details'
  --header 'x-api-key: YOUR_API_KEY'
  --form 'invoice_id="YOUR_INVOICE_ID"'

RESPONSE

{
    "details": {
        "coordinates": [
            [
                {
                    "angle": 0.36262670159339905,
                    "height": 2200,
                    "kind": "document",
                    "lines": [
                        {
                            "content": "Ih",
                            "polygon": [
                                100,
                                112,
                                202,
                                113,
                                200,
                                181,
                                102,
                                180
                            ],
                            "spans": [
                                {
                                    "length": 2,
                                    "offset": 0
                                }
                            ]
                        },
                        {
                            "content": "R.S. HUGHES",
                            "polygon": [
                                214,
                                128,
                                448,
                                129,
                                448,
                                169,
                                214,
                                168
                            ],
                            "spans": [
                                {
                                    "length": 11,
                                    "offset": 3
                                }
                            ]
                        },
                        {
                            "content": "3455 West 1820 South",
                            "polygon": [
                                209,
                                184,
                                435,
                                185,
                                435,
                                210,
                                209,
                                209
                            ],
                            "spans": [
                                {
                                    "length": 20,
                                    "offset": 15
                                }
                            ]
                        },
                        {
                            "content": "(801)973-4211 FAX 801-972-0825",
                            "polygon": [
                                208,
                                213,
                                545,
                                214,
                                545,
                                240,
                                208,
                                239
                            ],
                            "spans": [
                                {
                                    "length": 30,
                                    "offset": 36
                                }
                            ]
                        },
                        {
                            "content": "Salt Lake City UT, 84104",
                            "polygon": [
                                207,
                                241,
                                454,
                                242,
                                454,
                                269,
                                207,
                                268
                            ],
                            "spans": [
                                {
                                    "length": 24,
                                    "offset": 67
                                }
                            ]
                        },
                        {
                            "content": "INVOICE",
                            "polygon": [
                                1269,
                                143,
                                1451,
                                144,
                                1451,
                                183,
                                1269,
                                182
                            ],
                            "spans": [
                                {
                                    "length": 7,
                                    "offset": 92
                                }
                            ]
                        },
                        {
                            "content": "PAYMENT TERMS",
                            "polygon": [
                                1335,
                                233,
                                1472,
                                234,
                                1472,
                                254,
                                1335,
                                253
                            ],
                            "spans": [
                                {
                                    "length": 13,
                                    "offset": 100
                                }
                            ]
                        },
                        {
                            "content": "NET 30",
                            "polygon": [
                                1298,
                                269,
                                1391,
                                270,
                                1390,
                                295,
                                1298,
                                294
                            ],
                            "spans": [
                                {
                                    "length": 6,
                                    "offset": 114
                                }
                            ]
                        },
                        {
                            "content": "INVOICE NUMBER",
                            "polygon": [
                                1332,
                                335,
                                1471,
                                336,
                                1471,
                                358,
                                1332,
                                356
                            ],
                            "spans": [
                                {
                                    "length": 14,
                                    "offset": 121
                                }
                            ]
                        },
                        {
                            "content": "80053031-01",
                            "polygon": [
                                1245,
                                370,
                                1389,
                                371,
                                1389,
                                398,
                                1245,
                                397
                            ],
                            "spans": [
                                {
                                    "length": 11,
                                    "offset": 136
                                }
                            ]
                        },
                        {
                            "content": "Cust. No. : 101828",
                            "polygon": [
                                78,
                                383,
                                316,
                                381,
                                316,
                                414,
                                78,
                                416
                            ],
                            "spans": [
                                {
                                    "length": 18,
                                    "offset": 148
                                }
                            ]
                        },
                        {
                            "content": "BILL TO:",
                            "polygon": [
                                82,
                                445,
                                153,
                                446,
                                153,
                                468,
                                82,
                                467
                            ],
                            "spans": [
                                {
                                    "length": 8,
                                    "offset": 167
                                }
                            ]
                        },
                        {
                            "content": "Test",
                            "polygon": [
                                207,
                                438,
                                365,
                                439,
                                365,
                                465,
                                207,
                                464
                            ],
                            "spans": [
                                {
                                    "length": 12,
                                    "offset": 176
                                }
                            ]
                        },
                        {
                            "content": "452 WEST 1260 NORTH",
                            "polygon": [
                                208,
                                464,
                                454,
                                465,
                                454,
                                491,
                                208,
                                490
                            ],
                            "spans": [
                                {
                                    "length": 19,
                                    "offset": 189
                                }
                            ]
                        },
                        {
                            "content": "OREM, UT 84057",
                            "polygon": [
                                206,
                                513,
                                390,
                                513,
                                390,
                                546,
                                206,
                                546
                            ],
                            "spans": [
                                {
                                    "length": 14,
                                    "offset": 209
                                }
                            ]
                        },
                        {
                            "content": "SHIP TO:",
                            "polygon": [
                                823,
                                450,
                                895,
                                451,
                                895,
                                471,
                                823,
                                471
                            ],
                            "spans": [
                                {
                                    "length": 8,
                                    "offset": 224
                                }
                            ]
                        },
                        {
                            "content": "Test",
                            "polygon": [
                                956,
                                442,
                                1111,
                                444,
                                1111,
                                469,
                                956,
                                468
                            ],
                            "spans": [
                                {
                                    "length": 12,
                                    "offset": 233
                                }
                            ]
                        },
                        {
                            "content": "452 WEST 1260 NORTH",
                            "polygon": [
                                959,
                                468,
                                1205,
                                470,
                                1205,
                                497,
                                959,
                                495
                            ],
                            "spans": [
                                {
                                    "length": 19,
                                    "offset": 246
                                }
                            ]
                        },
                        {
                            "content": "OREM, UT 84057",
                            "polygon": [
                                956,
                                520,
                                1139,
                                521,
                                1139,
                                548,
                                956,
                                548
                            ],
                            "spans": [
                                {
                                    "length": 14,
                                    "offset": 266
                                }
                            ]
                        },
                        {
                            "content": "Contact: Bradley Schellenberg",
                            "polygon": [
                                80,
                                589,
                                456,
                                592,
                                456,
                                621,
                                80,
                                619
                            ],
                            "spans": [
                                {
                                    "length": 29,
                                    "offset": 281
                                }
                            ]
                        },
                        {
                            "content": "Phone: (801)717-4332",
                            "polygon": [
                                510,
                                590,
                                774,
                                590,
                                774,
                                622,
                                510,
                                622
                            ],
                            "spans": [
                                {
                                    "length": 20,
                                    "offset": 311
                                }
                            ]
                        },
                        {
                            "content": "Email: [email protected]",
                            "polygon": [
                                831,
                                593,
                                1319,
                                597,
                                1319,
                                627,
                                831,
                                623
                            ],
                            "spans": [
                                {
                                    "length": 38,
                                    "offset": 332
                                }
                            ]
                        },
                        {
                            "content": "INVOICE NUMBER",
                            "polygon": [
                                227,
                                658,
                                367,
                                658,
                                367,
                                678,
                                227,
                                677
                            ],
                            "spans": [
                                {
                                    "length": 14,
                                    "offset": 371
                                }
                            ]
                        },
                        {
                            "content": "SLSMN",
                            "polygon": [
                                550,
                                660,
                                607,
                                660,
                                607,
                                679,
                                550,
                                679
                            ],
                            "spans": [
                                {
                                    "length": 5,
                                    "offset": 386
                                }
                            ]
                        },
                        {
                            "content": "ORDER DATE",
                            "polygon": [
                                681,
                                661,
                                786,
                                661,
                                786,
                                681,
                                681,
                                681
                            ],
                            "spans": [
                                {
                                    "length": 10,
                                    "offset": 392
                                }
                            ]
                        },
                        {
                            "content": "TAKER",
                            "polygon": [
                                862,
                                661,
                                920,
                                662,
                                919,
                                681,
                                863,
                                680
                            ],
                            "spans": [
                                {
                                    "length": 5,
                                    "offset": 403
                                }
                            ]
                        },
                        {
                            "content": "CUSTOMER P.O. NUMBER",
                            "polygon": [
                                1076,
                                663,
                                1276,
                                664,
                                1276,
                                685,
                                1076,
                                683
                            ],
                            "spans": [
                                {
                                    "length": 20,
                                    "offset": 409
                                }
                            ]
                        },
                        {
                            "content": "INVOICE DATE",
                            "polygon": [
                                1429,
                                666,
                                1542,
                                667,
                                1542,
                                686,
                                1429,
                                685
                            ],
                            "spans": [
                                {
                                    "length": 12,
                                    "offset": 430
                                }
                            ]
                        },
                        {
                            "content": "80053031-01",
                            "polygon": [
                                100,
                                685,
                                246,
                                686,
                                245,
                                711,
                                100,
                                711
                            ],
                            "spans": [
                                {
                                    "length": 11,
                                    "offset": 443
                                }
                            ]
                        },
                        {
                            "content": "2401",
                            "polygon": [
                                525,
                                689,
                                579,
                                689,
                                579,
                                713,
                                525,
                                712
                            ],
                            "spans": [
                                {
                                    "length": 4,
                                    "offset": 455
                                }
                            ]
                        },
                        {
                            "content": "11/16/22",
                            "polygon": [
                                681,
                                689,
                                785,
                                689,
                                785,
                                714,
                                681,
                                713
                            ],
                            "spans": [
                                {
                                    "length": 8,
                                    "offset": 460
                                }
                            ]
                        },
                        {
                            "content": "2499",
                            "polygon": [
                                838,
                                690,
                                893,
                                691,
                                893,
                                715,
                                837,
                                715
                            ],
                            "spans": [
                                {
                                    "length": 4,
                                    "offset": 469
                                }
                            ]
                        },
                        {
                            "content": "94185",
                            "polygon": [
                                969,
                                690,
                                1036,
                                692,
                                1035,
                                717,
                                968,
                                715
                            ],
                            "spans": [
                                {
                                    "length": 5,
                                    "offset": 474
                                }
                            ]
                        },
                        {
                            "content": "11/16/22",
                            "polygon": [
                                1429,
                                694,
                                1535,
                                694,
                                1535,
                                719,
                                1429,
                                719
                            ],
                            "spans": [
                                {
                                    "length": 8,
                                    "offset": 480
                                }
                            ]
                        },
                        {
                            "content": "INSTRUCTIONS",
                            "polygon": [
                                704,
                                724,
                                822,
                                725,
                                822,
                                745,
                                704,
                                744
                            ],
                            "spans": [
                                {
                                    "length": 12,
                                    "offset": 489
                                }
                            ]
                        },
                        {
                            "content": "PAGE NO.",
                            "polygon": [
                                1465,
                                730,
                                1544,
                                730,
                                1544,
                                749,
                                1465,
                                748
                            ],
                            "spans": [
                                {
                                    "length": 8,
                                    "offset": 502
                                }
                            ]
                        },
                        {
                            "content": "PP&A",
                            "polygon": [
                                100,
                                749,
                                158,
                                749,
                                158,
                                775,
                                99,
                                774
                            ],
                            "spans": [
                                {
                                    "length": 4,
                                    "offset": 511
                                }
                            ]
                        },
                        {
                            "content": "Tracking Number : 1Z8630890368456236",
                            "polygon": [
                                1002,
                                751,
                                1441,
                                752,
                                1441,
                                785,
                                1002,
                                784
                            ],
                            "spans": [
                                {
                                    "length": 36,
                                    "offset": 516
                                }
                            ]
                        },
                        {
                            "content": "1",
                            "polygon": [
                                1499,
                                759,
                                1515,
                                758,
                                1514,
                                783,
                                1498,
                                784
                            ],
                            "spans": [
                                {
                                    "length": 1,
                                    "offset": 553
                                }
                            ]
                        },
                        {
                            "content": "LINE",
                            "polygon": [
                                105,
                                828,
                                143,
                                828,
                                142,
                                845,
                                104,
                                844
                            ],
                            "spans": [
                                {
                                    "length": 4,
                                    "offset": 555
                                }
                            ]
                        },
                        {
                            "content": "NO.",
                            "polygon": [
                                112,
                                853,
                                143,
                                854,
                                142,
                                868,
                                112,
                                867
                            ],
                            "spans": [
                                {
                                    "length": 3,
                                    "offset": 560
                                }
                            ]
                        },
                        {
                            "content": "QUANTITY",
                            "polygon": [
                                303,
                                828,
                                384,
                                828,
                                384,
                                846,
                                303,
                                846
                            ],
                            "spans": [
                                {
                                    "length": 8,
                                    "offset": 564
                                }
                            ]
                        },
                        {
                            "content": "ITEM CODE AND DESCRIPTION",
                            "polygon": [
                                691,
                                840,
                                926,
                                841,
                                926,
                                861,
                                691,
                                860
                            ],
                            "spans": [
                                {
                                    "length": 25,
                                    "offset": 573
                                }
                            ]
                        },
                        {
                            "content": "U/M",
                            "polygon": [
                                1147,
                                845,
                                1180,
                                845,
                                1180,
                                862,
                                1147,
                                861
                            ],
                            "spans": [
                                {
                                    "length": 3,
                                    "offset": 599
                                }
                            ]
                        },
                        {
                            "content": "UNIT PRICE",
                            "polygon": [
                                1254,
                                844,
                                1348,
                                844,
                                1348,
                                863,
                                1254,
                                864
                            ],
                            "spans": [
                                {
                                    "length": 10,
                                    "offset": 603
                                }
                            ]
                        },
                        {
                            "content": "AMOUNT",
                            "polygon": [
                                1445,
                                846,
                                1518,
                                846,
                                1518,
                                865,
                                1445,
                                866
                            ],
                            "spans": [
                                {
                                    "length": 6,
                                    "offset": 614
                                }
                            ]
                        },
                        {
                            "content": "ORDERED",
                            "polygon": [
                                174,
                                852,
                                253,
                                852,
                                253,
                                869,
                                174,
                                868
                            ],
                            "spans": [
                                {
                                    "length": 7,
                                    "offset": 621
                                }
                            ]
                        },
                        {
                            "content": "B.O./RET.",
                            "polygon": [
                                291,
                                852,
                                367,
                                853,
                                367,
                                870,
                                291,
                                869
                            ],
                            "spans": [
                                {
                                    "length": 9,
                                    "offset": 629
                                }
                            ]
                        },
                        {
                            "content": "SHIPPED",
                            "polygon": [
                                411,
                                854,
                                479,
                                854,
                                479,
                                869,
                                411,
                                869
                            ],
                            "spans": [
                                {
                                    "length": 7,
                                    "offset": 639
                                }
                            ]
                        },
                        {
                            "content": "3",
                            "polygon": [
                                126,
                                874,
                                143,
                                873,
                                143,
                                897,
                                126,
                                899
                            ],
                            "spans": [
                                {
                                    "length": 1,
                                    "offset": 647
                                }
                            ]
                        },
                        {
                            "content": "15",
                            "polygon": [
                                196,
                                874,
                                219,
                                874,
                                218,
                                898,
                                195,
                                898
                            ],
                            "spans": [
                                {
                                    "length": 2,
                                    "offset": 649
                                }
                            ]
                        },
                        {
                            "content": "0",
                            "polygon": [
                                322,
                                877,
                                336,
                                876,
                                336,
                                897,
                                322,
                                899
                            ],
                            "spans": [
                                {
                                    "length": 1,
                                    "offset": 652
                                }
                            ]
                        },
                        {
                            "content": "15",
                            "polygon": [
                                440,
                                876,
                                467,
                                876,
                                466,
                                899,
                                439,
                                898
                            ],
                            "spans": [
                                {
                                    "length": 2,
                                    "offset": 654
                                }
                            ]
                        },
                        {
                            "content": "TX750E",
                            "polygon": [
                                521,
                                876,
                                600,
                                876,
                                600,
                                901,
                                521,
                                900
                            ],
                            "spans": [
                                {
                                    "length": 6,
                                    "offset": 657
                                }
                            ]
                        },
                        {
                            "content": "COMPRESSED CLEANFOAM ESD SWAB",
                            "polygon": [
                                519,
                                901,
                                890,
                                904,
                                889,
                                929,
                                519,
                                926
                            ],
                            "spans": [
                                {
                                    "length": 29,
                                    "offset": 664
                                }
                            ]
                        },
                        {
                            "content": "Customer Prod: SUP00167",
                            "polygon": [
                                519,
                                930,
                                813,
                                932,
                                813,
                                957,
                                519,
                                956
                            ],
                            "spans": [
                                {
                                    "length": 23,
                                    "offset": 694
                                }
                            ]
                        },
                        {
                            "content": "** DIRECT ORDER **",
                            "polygon": [
                                520,
                                955,
                                751,
                                957,
                                751,
                                983,
                                520,
                                981
                            ],
                            "spans": [
                                {
                                    "length": 18,
                                    "offset": 718
                                }
                            ]
                        },
                        {
                            "content": "BG",
                            "polygon": [
                                1133,
                                880,
                                1162,
                                882,
                                1161,
                                905,
                                1133,
                                903
                            ],
                            "spans": [
                                {
                                    "length": 2,
                                    "offset": 737
                                }
                            ]
                        },
                        {
                            "content": "62.43",
                            "polygon": [
                                1282,
                                877,
                                1352,
                                876,
                                1350,
                                911,
                                1281,
                                909
                            ],
                            "spans": [
                                {
                                    "length": 5,
                                    "offset": 740
                                }
                            ]
                        },
                        {
                            "content": "936.45",
                            "polygon": [
                                1458,
                                882,
                                1535,
                                883,
                                1535,
                                908,
                                1458,
                                907
                            ],
                            "spans": [
                                {
                                    "length": 6,
                                    "offset": 746
                                }
                            ]
                        },
                        {
                            "content": "SUB TOTAL",
                            "polygon": [
                                1125,
                                1907,
                                1214,
                                1908,
                                1214,
                                1926,
                                1124,
                                1926
                            ],
                            "spans": [
                                {
                                    "length": 9,
                                    "offset": 753
                                }
                            ]
                        },
                        {
                            "content": "936.45",
                            "polygon": [
                                1451,
                                1907,
                                1533,
                                1907,
                                1533,
                                1931,
                                1451,
                                1931
                            ],
                            "spans": [
                                {
                                    "length": 6,
                                    "offset": 763
                                }
                            ]
                        },
                        {
                            "content": "FREIGHT TOTAL",
                            "polygon": [
                                1125,
                                1938,
                                1250,
                                1939,
                                1250,
                                1958,
                                1125,
                                1957
                            ],
                            "spans": [
                                {
                                    "length": 13,
                                    "offset": 770
                                }
                            ]
                        },
                        {
                            "content": "0.00",
                            "polygon": [
                                1489,
                                1938,
                                1543,
                                1938,
                                1543,
                                1963,
                                1488,
                                1963
                            ],
                            "spans": [
                                {
                                    "length": 4,
                                    "offset": 784
                                }
                            ]
                        },
                        {
                            "content": "STATE TAX",
                            "polygon": [
                                1124,
                                1970,
                                1215,
                                1972,
                                1214,
                                1991,
                                1123,
                                1989
                            ],
                            "spans": [
                                {
                                    "length": 9,
                                    "offset": 789
                                }
                            ]
                        },
                        {
                            "content": "72.57",
                            "polygon": [
                                1464,
                                1969,
                                1530,
                                1970,
                                1530,
                                1994,
                                1464,
                                1994
                            ],
                            "spans": [
                                {
                                    "length": 5,
                                    "offset": 799
                                }
                            ]
                        },
                        {
                            "content": "TOTAL AMOUNT DUE",
                            "polygon": [
                                1305,
                                2004,
                                1468,
                                2005,
                                1467,
                                2024,
                                1305,
                                2022
                            ],
                            "spans": [
                                {
                                    "length": 16,
                                    "offset": 805
                                }
                            ]
                        },
                        {
                            "content": "1009.02",
                            "polygon": [
                                1438,
                                2029,
                                1531,
                                2030,
                                1529,
                                2062,
                                1438,
                                2062
                            ],
                            "spans": [
                                {
                                    "length": 7,
                                    "offset": 822
                                }
                            ]
                        },
                        {
                            "content": "Last Page",
                            "polygon": [
                                81,
                                1893,
                                202,
                                1895,
                                201,
                                1924,
                                81,
                                1922
                            ],
                            "spans": [
                                {
                                    "length": 9,
                                    "offset": 830
                                }
                            ]
                        }
                    ],
                    "pageNumber": 1,
                    "spans": [
                        {
                            "length": 839,
                            "offset": 0
                        }
                    ],
                    "unit": "pixel",
                    "width": 1700,
                    "words": [
                        {
                            "confidence": 0.924,
                            "content": "Ih",
                            "polygon": [
                                100,
                                112,
                                170,
                                113,
                                170,
                                181,
                                100,
                                180
                            ],
                            "span": {
                                "length": 2,
                                "offset": 0
                            }
                        },
                        {
                            "confidence": 0.994,
                            "content": "R.S.",
                            "polygon": [
                                215,
                                129,
                                282,
                                129,
                                281,
                                168,
                                214,
                                169
                            ],
                            "span": {
                                "length": 4,
                                "offset": 3
                            }
                        },
                        {
                            "confidence": 0.997,
                            "content": "HUGHES",
                            "polygon": [
                                289,
                                129,
                                444,
                                131,
                                443,
                                169,
                                289,
                                168
                            ],
                            "span": {
                                "length": 6,
                                "offset": 8
                            }
                        },
                        {
                            "confidence": 0.987,
                            "content": "3455",
                            "polygon": [
                                210,
                                184,
                                258,
                                185,
                                258,
                                210,
                                210,
                                210
                            ],
                            "span": {
                                "length": 4,
                                "offset": 15
                            }
                        },
                        {
                            "confidence": 0.99,
                            "content": "West",
                            "polygon": [
                                263,
                                185,
                                317,
                                186,
                                316,
                                210,
                                263,
                                210
                            ],
                            "span": {
                                "length": 4,
                                "offset": 20
                            }
                        },
                        {
                            "confidence": 0.99,
                            "content": "1820",
                            "polygon": [
                                322,
                                186,
                                369,
                                186,
                                369,
                                210,
                                321,
                                210
                            ],
                            "span": {
                                "length": 4,
                                "offset": 25
                            }
                        },
                        {
                            "confidence": 0.993,
                            "content": "South",
                            "polygon": [
                                374,
                                186,
                                435,
                                186,
                                434,
                                210,
                                373,
                                210
                            ],
                            "span": {
                                "length": 5,
                                "offset": 30
                            }
                        },
                        {
                            "confidence": 0.992,
                            "content": "(801)973-4211",
                            "polygon": [
                                210,
                                214,
                                352,
                                214,
                                353,
                                238,
                                211,
                                240
                            ],
                            "span": {
                                "length": 13,
                                "offset": 36
                            }
                        },
                        {
                            "confidence": 0.998,
                            "content": "FAX",
                            "polygon": [
                                357,
                                214,
                                400,
                                215,
                                401,
                                238,
                                357,
                                238
                            ],
                            "span": {
                                "length": 3,
                                "offset": 50
                            }
                        },
                        {
                            "confidence": 0.992,
                            "content": "801-972-0825",
                            "polygon": [
                                407,
                                215,
                                544,
                                215,
                                544,
                                240,
                                407,
                                238
                            ],
                            "span": {
                                "length": 12,
                                "offset": 54
                            }
                        },
                        {
                            "confidence": 0.98,
                            "content": "Salt",
                            "polygon": [
                                208,
                                242,
                                246,
                                243,
                                247,
                                269,
                                210,
                                269
                            ],
                            "span": {
                                "length": 4,
                                "offset": 67
                            }
                        },
                        {
                            "confidence": 0.988,
                            "content": "Lake",
                            "polygon": [
                                251,
                                243,
                                299,
                                244,
                                300,
                                268,
                                252,
                                268
                            ],
                            "span": {
                                "length": 4,
                                "offset": 72
                            }
                        },
                        {
                            "confidence": 0.988,
                            "content": "City",
                            "polygon": [
                                304,
                                244,
                                344,
                                244,
                                344,
                                268,
                                305,
                                268
                            ],
                            "span": {
                                "length": 4,
                                "offset": 77
                            }
                        },
                        {
                            "confidence": 0.997,
                            "content": "UT,",
                            "polygon": [
                                349,
                                244,
                                385,
                                244,
                                386,
                                268,
                                349,
                                268
                            ],
                            "span": {
                                "length": 3,
                                "offset": 82
                            }
                        },
                        {
                            "confidence": 0.996,
                            "content": "84104",
                            "polygon": [
                                390,
                                244,
                                453,
                                243,
                                453,
                                269,
                                391,
                                268
                            ],
                            "span": {
                                "length": 5,
                                "offset": 86
                            }
                        },
                        {
                            "confidence": 0.994,
                            "content": "INVOICE",
                            "polygon": [
                                1270,
                                143,
                                1440,
                                145,
                                1440,
                                183,
                                1270,
                                183
                            ],
                            "span": {
                                "length": 7,
                                "offset": 92
                            }
                        },
                        {
                            "confidence": 0.995,
                            "content": "PAYMENT",
                            "polygon": [
                                1336,
                                234,
                                1412,
                                234,
                                1412,
                                254,
                                1335,
                                254
                            ],
                            "span": {
                                "length": 7,
                                "offset": 100
                            }
                        },
                        {
                            "confidence": 0.997,
                            "content": "TERMS",
                            "polygon": [
                                1416,
                                234,
                                1471,
                                235,
                                1471,
                                255,
                                1415,
                                254
                            ],
                            "span": {
                                "length": 5,
                                "offset": 108
                            }
                        },
                        {
                            "confidence": 0.997,
                            "content": "NET",
                            "polygon": [
                                1299,
                                269,
                                1339,
                                270,
                                1339,
                                294,
                                1299,
                                295
                            ],
                            "span": {
                                "length": 3,
                                "offset": 114
                            }
                        },
                        {
                            "confidence": 0.997,
                            "content": "30",
                            "polygon": [
                                1362,
                                270,
                                1389,
                                271,
                                1389,
                                296,
                                1362,
                                295
                            ],
                            "span": {
                                "length": 2,
                                "offset": 118
                            }
                        },
                        {
                            "confidence": 0.993,
                            "content": "INVOICE",
                            "polygon": [
                                1333,
                                336,
                                1395,
                                337,
                                1395,
                                357,
                                1333,
                                357
                            ],
                            "span": {
                                "length": 7,
                                "offset": 121
                            }
                        },
                        {
                            "confidence": 0.996,
                            "content": "NUMBER",
                            "polygon": [
                                1399,
                                337,
                                1467,
                                337,
                                1467,
                                358,
                                1399,
                                357
                            ],
                            "span": {
                                "length": 6,
                                "offset": 129
                            }
                        },
                        {
                            "confidence": 0.991,
                            "content": "80053031-01",
                            "polygon": [
                                1246,
                                371,
                                1388,
                                372,
                                1388,
                                399,
                                1246,
                                398
                            ],
                            "span": {
                                "length": 11,
                                "offset": 136
                            }
                        },
                        {
                            "confidence": 0.997,
                            "content": "Cust.",
                            "polygon": [
                                81,
                                384,
                                149,
                                383,
                                148,
                                416,
                                80,
                                417
                            ],
                            "span": {
                                "length": 5,
                                "offset": 148
                            }
                        },
                        {
                            "confidence": 0.998,
                            "content": "No.",
                            "polygon": [
                                155,
                                383,
                                203,
                                382,
                                202,
                                416,
                                154,
                                416
                            ],
                            "span": {
                                "length": 3,
                                "offset": 154
                            }
                        },
                        {
                            "confidence": 0.993,
                            "content": ":",
                            "polygon": [
                                210,
                                382,
                                228,
                                382,
                                226,
                                415,
                                209,
                                416
                            ],
                            "span": {
                                "length": 1,
                                "offset": 158
                            }
                        },
                        {
                            "confidence": 0.994,
                            "content": "101828",
                            "polygon": [
                                234,
                                382,
                                316,
                                382,
                                315,
                                415,
                                233,
                                415
                            ],
                            "span": {
                                "length": 6,
                                "offset": 160
                            }
                        },
                        {
                            "confidence": 0.994,
                            "content": "BILL",
                            "polygon": [
                                83,
                                446,
                                118,
                                446,
                                118,
                                468,
                                82,
                                468
                            ],
                            "span": {
                                "length": 4,
                                "offset": 167
                            }
                        },
                        {
                            "confidence": 0.997,
                            "content": "TO:",
                            "polygon": [
                                122,
                                446,
                                153,
                                446,
                                153,
                                468,
                                122,
                                468
                            ],
                            "span": {
                                "length": 3,
                                "offset": 172
                            }
                        },
                        {
                            "confidence": 0.993,
                            "content": "Test,",
                            "polygon": [
                                207,
                                439,
                                300,
                                439,
                                301,
                                464,
                                208,
                                465
                            ],
                            "span": {
                                "length": 7,
                                "offset": 176
                            }
                        },
                        {
                            "confidence": 0.991,
                            "content": "INC.",
                            "polygon": [
                                309,
                                439,
                                365,
                                440,
                                365,
                                465,
                                310,
                                464
                            ],
                            "span": {
                                "length": 4,
                                "offset": 184
                            }
                        },
                        {
                            "confidence": 0.997,
                            "content": "452",
                            "polygon": [
                                209,
                                465,
                                248,
                                465,
                                249,
                                491,
                                210,
                                491
                            ],
                            "span": {
                                "length": 3,
                                "offset": 189
                            }
                        },
                        {
                            "confidence": 0.979,
                            "content": "WEST",
                            "polygon": [
                                256,
                                465,
                                313,
                                465,
                                313,
                                490,
                                256,
                                491
                            ],
                            "span": {
                                "length": 4,
                                "offset": 193
                            }
                        },
                        {
                            "confidence": 0.989,
                            "content": "1260",
                            "polygon": [
                                323,
                                465,
                                377,
                                465,
                                377,
                                491,
                                323,
                                490
                            ],
                            "span": {
                                "length": 4,
                                "offset": 198
                            }
                        },
                        {
                            "confidence": 0.997,
                            "content": "NORTH",
                            "polygon": [
                                385,
                                466,
                                452,
                                466,
                                452,
                                492,
                                385,
                                491
                            ],
                            "span": {
                                "length": 5,
                                "offset": 203
                            }
                        },
                        {
                            "confidence": 0.996,
                            "content": "OREM,",
                            "polygon": [
                                206,
                                513,
                                275,
                                514,
                                275,
                                547,
                                206,
                                546
                            ],
                            "span": {
                                "length": 5,
                                "offset": 209
                            }
                        },
                        {
                            "confidence": 0.997,
                            "content": "UT",
                            "polygon": [
                                282,
                                514,
                                314,
                                514,
                                313,
                                547,
                                281,
                                547
                            ],
                            "span": {
                                "length": 2,
                                "offset": 215
                            }
                        },
                        {
                            "confidence": 0.994,
                            "content": "84057",
                            "polygon": [
                                321,
                                514,
                                391,
                                514,
                                389,
                                547,
                                320,
                                547
                            ],
                            "span": {
                                "length": 5,
                                "offset": 218
                            }
                        },
                        {
                            "confidence": 0.987,
                            "content": "SHIP",
                            "polygon": [
                                826,
                                451,
                                862,
                                452,
                                861,
                                472,
                                824,
                                471
                            ],
                            "span": {
                                "length": 4,
                                "offset": 224
                            }
                        },
                        {
                            "confidence": 0.997,
                            "content": "TO:",
                            "polygon": [
                                866,
                                452,
                                895,
                                452,
                                894,
                                472,
                                865,
                                472
                            ],
                            "span": {
                                "length": 3,
                                "offset": 229
                            }
                        },
                        {
                            "confidence": 0.993,
                            "content": "Test,",
                            "polygon": [
                                957,
                                443,
                                1050,
                                444,
                                1050,
                                469,
                                957,
                                469
                            ],
                            "span": {
                                "length": 7,
                                "offset": 233
                            }
                        },
                        {
                            "confidence": 0.991,
                            "content": "INC.",
                            "polygon": [
                                1060,
                                444,
                                1111,
                                445,
                                1111,
                                469,
                                1060,
                                469
                            ],
                            "span": {
                                "length": 4,
                                "offset": 241
                            }
                        },
                        {
                            "confidence": 0.997,
                            "content": "452",
                            "polygon": [
                                959,
                                469,
                                997,
                                469,
                                997,
                                495,
                                959,
                                495
                            ],
                            "span": {
                                "length": 3,
                                "offset": 246
                            }
                        },
                        {
                            "confidence": 0.98,
                            "content": "WEST",
                            "polygon": [
                                1005,
                                470,
                                1062,
                                470,
                                1061,
                                495,
                                1004,
                                495
                            ],
                            "span": {
                                "length": 4,
                                "offset": 250
                            }
                        },
                        {
                            "confidence": 0.989,
                            "content": "1260",
                            "polygon": [
                                1072,
                                470,
                                1126,
                                470,
                                1125,
                                496,
                                1071,
                                495
                            ],
                            "span": {
                                "length": 4,
                                "offset": 255
                            }
                        },
                        {
                            "confidence": 0.997,
                            "content": "NORTH",
                            "polygon": [
                                1133,
                                470,
                                1200,
                                471,
                                1199,
                                498,
                                1132,
                                496
                            ],
                            "span": {
                                "length": 5,
                                "offset": 260
                            }
                        },
                        {
                            "confidence": 0.996,
                            "content": "OREM,",
                            "polygon": [
                                957,
                                521,
                                1026,
                                521,
                                1025,
                                548,
                                956,
                                548
                            ],
                            "span": {
                                "length": 5,
                                "offset": 266
                            }
                        },
                        {
                            "confidence": 0.997,
                            "content": "UT",
                            "polygon": [
                                1031,
                                521,
                                1063,
                                521,
                                1062,
                                548,
                                1031,
                                548
                            ],
                            "span": {
                                "length": 2,
                                "offset": 272
                            }
                        },
                        {
                            "confidence": 0.993,
                            "content": "84057",
                            "polygon": [
                                1070,
                                522,
                                1138,
                                522,
                                1138,
                                549,
                                1070,
                                548
                            ],
                            "span": {
                                "length": 5,
                                "offset": 275
                            }
                        },
                        {
                            "confidence": 0.995,
                            "content": "Contact:",
                            "polygon": [
                                81,
                                590,
                                188,
                                590,
                                188,
                                620,
                                81,
                                620
                            ],
                            "span": {
                                "length": 8,
                                "offset": 281
                            }
                        },
                        {
                            "confidence": 0.993,
                            "content": "Bradley",
                            "polygon": [
                                194,
                                590,
                                290,
                                591,
                                289,
                                621,
                                194,
                                620
                            ],
                            "span": {
                                "length": 7,
                                "offset": 290
                            }
                        },
                        {
                            "confidence": 0.955,
                            "content": "Schellenberg",
                            "polygon": [
                                296,
                                591,
                                456,
                                593,
                                454,
                                621,
                                295,
                                621
                            ],
                            "span": {
                                "length": 12,
                                "offset": 298
                            }
                        },
                        {
                            "confidence": 0.995,
                            "content": "Phone:",
                            "polygon": [
                                511,
                                590,
                                597,
                                590,
                                597,
                                623,
                                511,
                                623
                            ],
                            "span": {
                                "length": 6,
                                "offset": 311
                            }
                        },
                        {
                            "confidence": 0.991,
                            "content": "(801)717-4332",
                            "polygon": [
                                603,
                                590,
                                773,
                                590,
                                773,
                                623,
                                603,
                                623
                            ],
                            "span": {
                                "length": 13,
                                "offset": 318
                            }
                        },
                        {
                            "confidence": 0.991,
                            "content": "Email:",
                            "polygon": [
                                832,
                                594,
                                909,
                                594,
                                909,
                                624,
                                832,
                                624
                            ],
                            "span": {
                                "length": 6,
                                "offset": 332
                            }
                        },
                        {
                            "confidence": 0.049,
                            "content": "test.test.com",
                            "polygon": [
                                915,
                                594,
                                1317,
                                598,
                                1318,
                                627,
                                915,
                                624
                            ],
                            "span": {
                                "length": 31,
                                "offset": 339
                            }
                        },
                        {
                            "confidence": 0.993,
                            "content": "INVOICE",
                            "polygon": [
                                228,
                                658,
                                290,
                                658,
                                290,
                                678,
                                228,
                                678
                            ],
                            "span": {
                                "length": 7,
                                "offset": 371
                            }
                        },
                        {
                            "confidence": 0.996,
                            "content": "NUMBER",
                            "polygon": [
                                294,
                                658,
                                365,
                                659,
                                364,
                                679,
                                294,
                                678
                            ],
                            "span": {
                                "length": 6,
                                "offset": 379
                            }
                        },
                        {
                            "confidence": 0.997,
                            "content": "SLSMN",
                            "polygon": [
                                550,
                                661,
                                606,
                                661,
                                605,
                                680,
                                550,
                                680
                            ],
                            "span": {
                                "length": 5,
                                "offset": 386
                            }
                        },
                        {
                            "confidence": 0.997,
                            "content": "ORDER",
                            "polygon": [
                                682,
                                662,
                                735,
                                661,
                                735,
                                681,
                                682,
                                681
                            ],
                            "span": {
                                "length": 5,
                                "offset": 392
                            }
                        },
                        {
                            "confidence": 0.991,
                            "content": "DATE",
                            "polygon": [
                                740,
                                661,
                                783,
                                661,
                                783,
                                682,
                                740,
                                681
                            ],
                            "span": {
                                "length": 4,
                                "offset": 398
                            }
                        },
                        {
                            "confidence": 0.997,
                            "content": "TAKER",
                            "polygon": [
                                864,
                                661,
                                916,
                                662,
                                915,
                                681,
                                864,
                                680
                            ],
                            "span": {
                                "length": 5,
                                "offset": 403
                            }
                        },
                        {
                            "confidence": 0.994,
                            "content": "CUSTOMER",
                            "polygon": [
                                1077,
                                663,
                                1163,
                                664,
                                1163,
                                685,
                                1077,
                                684
                            ],
                            "span": {
                                "length": 8,
                                "offset": 409
                            }
                        },
                        {
                            "confidence": 0.986,
                            "content": "P.O.",
                            "polygon": [
                                1168,
                                664,
                                1199,
                                664,
                                1199,
                                685,
                                1168,
                                685
                            ],
                            "span": {
                                "length": 4,
                                "offset": 418
                            }
                        },
                        {
                            "confidence": 0.996,
                            "content": "NUMBER",
                            "polygon": [
                                1203,
                                664,
                                1272,
                                665,
                                1272,
                                686,
                                1203,
                                685
                            ],
                            "span": {
                                "length": 6,
                                "offset": 423
                            }
                        },
                        {
                            "confidence": 0.991,
                            "content": "INVOICE",
                            "polygon": [
                                1430,
                                667,
                                1493,
                                667,
                                1492,
                                687,
                                1430,
                                686
                            ],
                            "span": {
                                "length": 7,
                                "offset": 430
                            }
                        },
                        {
                            "confidence": 0.989,
                            "content": "DATE",
                            "polygon": [
                                1496,
                                667,
                                1540,
                                667,
                                1539,
                                687,
                                1496,
                                687
                            ],
                            "span": {
                                "length": 4,
                                "offset": 438
                            }
                        },
                        {
                            "confidence": 0.993,
                            "content": "80053031-01",
                            "polygon": [
                                102,
                                686,
                                244,
                                686,
                                244,
                                712,
                                101,
                                711
                            ],
                            "span": {
                                "length": 11,
                                "offset": 443
                            }
                        },
                        {
                            "confidence": 0.996,
                            "content": "2401",
                            "polygon": [
                                526,
                                689,
                                578,
                                689,
                                578,
                                713,
                                526,
                                712
                            ],
                            "span": {
                                "length": 4,
                                "offset": 455
                            }
                        },
                        {
                            "confidence": 0.991,
                            "content": "11/16/22",
                            "polygon": [
                                681,
                                689,
                                784,
                                690,
                                784,
                                715,
                                681,
                                714
                            ],
                            "span": {
                                "length": 8,
                                "offset": 460
                            }
                        },
                        {
                            "confidence": 0.988,
                            "content": "2499",
                            "polygon": [
                                840,
                                690,
                                891,
                                690,
                                891,
                                715,
                                840,
                                715
                            ],
                            "span": {
                                "length": 4,
                                "offset": 469
                            }
                        },
                        {
                            "confidence": 0.997,
                            "content": "94185",
                            "polygon": [
                                969,
                                690,
                                1035,
                                692,
                                1034,
                                717,
                                968,
                                715
                            ],
                            "span": {
                                "length": 5,
                                "offset": 474
                            }
                        },
                        {
                            "confidence": 0.996,
                            "content": "11/16/22",
                            "polygon": [
                                1431,
                                695,
                                1533,
                                695,
                                1532,
                                720,
                                1431,
                                719
                            ],
                            "span": {
                                "length": 8,
                                "offset": 480
                            }
                        },
                        {
                            "confidence": 0.991,
                            "content": "INSTRUCTIONS",
                            "polygon": [
                                705,
                                724,
                                819,
                                726,
                                819,
                                745,
                                705,
                                745
                            ],
                            "span": {
                                "length": 12,
                                "offset": 489
                            }
                        },
                        {
                            "confidence": 0.986,
                            "content": "PAGE",
                            "polygon": [
                                1468,
                                730,
                                1512,
                                731,
                                1511,
                                749,
                                1467,
                                749
                            ],
                            "span": {
                                "length": 4,
                                "offset": 502
                            }
                        },
                        {
                            "confidence": 0.997,
                            "content": "NO.",
                            "polygon": [
                                1516,
                                731,
                                1544,
                                731,
                                1544,
                                749,
                                1515,
                                749
                            ],
                            "span": {
                                "length": 3,
                                "offset": 507
                            }
                        },
                        {
                            "confidence": 0.995,
                            "content": "PP&A",
                            "polygon": [
                                100,
                                749,
                                157,
                                749,
                                157,
                                775,
                                100,
                                774
                            ],
                            "span": {
                                "length": 4,
                                "offset": 511
                            }
                        },
                        {
                            "confidence": 0.993,
                            "content": "Tracking",
                            "polygon": [
                                1003,
                                752,
                                1106,
                                752,
                                1106,
                                786,
                                1003,
                                785
                            ],
                            "span": {
                                "length": 8,
                                "offset": 516
                            }
                        },
                        {
                            "confidence": 0.997,
                            "content": "Number",
                            "polygon": [
                                1113,
                                752,
                                1187,
                                752,
                                1187,
                                786,
                                1112,
                                786
                            ],
                            "span": {
                                "length": 6,
                                "offset": 525
                            }
                        },
                        {
                            "confidence": 0.981,
                            "content": ":",
                            "polygon": [
                                1194,
                                752,
                                1198,
                                752,
                                1198,
                                786,
                                1194,
                                786
                            ],
                            "span": {
                                "length": 1,
                                "offset": 532
                            }
                        },
                        {
                            "confidence": 0.849,
                            "content": "1Z8630890368456236",
                            "polygon": [
                                1205,
                                752,
                                1441,
                                753,
                                1441,
                                786,
                                1205,
                                786
                            ],
                            "span": {
                                "length": 18,
                                "offset": 534
                            }
                        },
                        {
                            "confidence": 0.995,
                            "content": "1",
                            "polygon": [
                                1498,
                                759,
                                1512,
                                758,
                                1513,
                                782,
                                1499,
                                783
                            ],
                            "span": {
                                "length": 1,
                                "offset": 553
                            }
                        },
                        {
                            "confidence": 0.997,
                            "content": "LINE",
                            "polygon": [
                                104,
                                828,
                                140,
                                828,
                                139,
                                845,
                                104,
                                844
                            ],
                            "span": {
                                "length": 4,
                                "offset": 555
                            }
                        },
                        {
                            "confidence": 0.997,
                            "content": "NO.",
                            "polygon": [
                                112,
                                853,
                                143,
                                854,
                                142,
                                868,
                                112,
                                867
                            ],
                            "span": {
                                "length": 3,
                                "offset": 560
                            }
                        },
                        {
                            "confidence": 0.993,
                            "content": "QUANTITY",
                            "polygon": [
                                303,
                                829,
                                383,
                                828,
                                383,
                                846,
                                303,
                                846
                            ],
                            "span": {
                                "length": 8,
                                "offset": 564
                            }
                        },
                        {
                            "confidence": 0.985,
                            "content": "ITEM",
                            "polygon": [
                                692,
                                840,
                                727,
                                841,
                                726,
                                860,
                                692,
                                861
                            ],
                            "span": {
                                "length": 4,
                                "offset": 573
                            }
                        },
                        {
                            "confidence": 0.987,
                            "content": "CODE",
                            "polygon": [
                                732,
                                841,
                                777,
                                842,
                                776,
                                860,
                                731,
                                860
                            ],
                            "span": {
                                "length": 4,
                                "offset": 578
                            }
                        },
                        {
                            "confidence": 0.997,
                            "content": "AND",
                            "polygon": [
                                781,
                                842,
                                814,
                                842,
                                813,
                                860,
                                780,
                                860
                            ],
                            "span": {
                                "length": 3,
                                "offset": 583
                            }
                        },
                        {
                            "confidence": 0.991,
                            "content": "DESCRIPTION",
                            "polygon": [
                                817,
                                842,
                                923,
                                842,
                                922,
                                861,
                                817,
                                860
                            ],
                            "span": {
                                "length": 11,
                                "offset": 587
                            }
                        },
                        {
                            "confidence": 0.991,
                            "content": "U/M",
                            "polygon": [
                                1148,
                                845,
                                1176,
                                845,
                                1176,
                                862,
                                1148,
                                861
                            ],
                            "span": {
                                "length": 3,
                                "offset": 599
                            }
                        },
                        {
                            "confidence": 0.982,
                            "content": "UNIT",
                            "polygon": [
                                1256,
                                845,
                                1292,
                                845,
                                1292,
                                864,
                                1256,
                                864
                            ],
                            "span": {
                                "length": 4,
                                "offset": 603
                            }
                        },
                        {
                            "confidence": 0.997,
                            "content": "PRICE",
                            "polygon": [
                                1295,
                                845,
                                1344,
                                845,
                                1344,
                                864,
                                1296,
                                864
                            ],
                            "span": {
                                "length": 5,
                                "offset": 608
                            }
                        },
                        {
                            "confidence": 0.994,
                            "content": "AMOUNT",
                            "polygon": [
                                1446,
                                847,
                                1517,
                                847,
                                1516,
                                866,
                                1447,
                                866
                            ],
                            "span": {
                                "length": 6,
                                "offset": 614
                            }
                        },
                        {
                            "confidence": 0.996,
                            "content": "ORDERED",
                            "polygon": [
                                175,
                                853,
                                249,
                                853,
                                248,
                                869,
                                175,
                                868
                            ],
                            "span": {
                                "length": 7,
                                "offset": 621
                            }
                        },
                        {
                            "confidence": 0.962,
                            "content": "B.O./RET.",
                            "polygon": [
                                292,
                                853,
                                368,
                                853,
                                368,
                                871,
                                292,
                                870
                            ],
                            "span": {
                                "length": 9,
                                "offset": 629
                            }
                        },
                        {
                            "confidence": 0.994,
                            "content": "SHIPPED",
                            "polygon": [
                                412,
                                854,
                                476,
                                854,
                                475,
                                870,
                                412,
                                869
                            ],
                            "span": {
                                "length": 7,
                                "offset": 639
                            }
                        },
                        {
                            "confidence": 0.995,
                            "content": "3",
                            "polygon": [
                                126,
                                874,
                                139,
                                873,
                                141,
                                897,
                                127,
                                898
                            ],
                            "span": {
                                "length": 1,
                                "offset": 647
                            }
                        },
                        {
                            "confidence": 0.993,
                            "content": "15",
                            "polygon": [
                                195,
                                874,
                                218,
                                874,
                                218,
                                898,
                                195,
                                898
                            ],
                            "span": {
                                "length": 2,
                                "offset": 649
                            }
                        },
                        {
                            "confidence": 0.991,
                            "content": "0",
                            "polygon": [
                                322,
                                877,
                                333,
                                876,
                                335,
                                897,
                                323,
                                898
                            ],
                            "span": {
                                "length": 1,
                                "offset": 652
                            }
                        },
                        {
                            "confidence": 0.993,
                            "content": "15",
                            "polygon": [
                                440,
                                876,
                                466,
                                876,
                                465,
                                899,
                                440,
                                898
                            ],
                            "span": {
                                "length": 2,
                                "offset": 654
                            }
                        },
                        {
                            "confidence": 0.994,
                            "content": "TX750E",
                            "polygon": [
                                522,
                                877,
                                595,
                                877,
                                595,
                                902,
                                523,
                                901
                            ],
                            "span": {
                                "length": 6,
                                "offset": 657
                            }
                        },
                        {
                            "confidence": 0.993,
                            "content": "COMPRESSED",
                            "polygon": [
                                520,
                                902,
                                647,
                                903,
                                647,
                                928,
                                520,
                                926
                            ],
                            "span": {
                                "length": 10,
                                "offset": 664
                            }
                        },
                        {
                            "confidence": 0.994,
                            "content": "CLEANFOAM",
                            "polygon": [
                                657,
                                903,
                                775,
                                903,
                                774,
                                929,
                                657,
                                928
                            ],
                            "span": {
                                "length": 9,
                                "offset": 675
                            }
                        },
                        {
                            "confidence": 0.997,
                            "content": "ESD",
                            "polygon": [
                                785,
                                903,
                                826,
                                904,
                                826,
                                929,
                                785,
                                929
                            ],
                            "span": {
                                "length": 3,
                                "offset": 685
                            }
                        },
                        {
                            "confidence": 0.989,
                            "content": "SWAB",
                            "polygon": [
                                836,
                                904,
                                889,
                                904,
                                889,
                                930,
                                836,
                                930
                            ],
                            "span": {
                                "length": 4,
                                "offset": 689
                            }
                        },
                        {
                            "confidence": 0.995,
                            "content": "Customer",
                            "polygon": [
                                520,
                                931,
                                621,
                                931,
                                621,
                                956,
                                520,
                                957
                            ],
                            "span": {
                                "length": 8,
                                "offset": 694
                            }
                        },
                        {
                            "confidence": 0.997,
                            "content": "Prod:",
                            "polygon": [
                                631,
                                931,
                                700,
                                932,
                                700,
                                957,
                                631,
                                956
                            ],
                            "span": {
                                "length": 5,
                                "offset": 703
                            }
                        },
                        {
                            "confidence": 0.993,
                            "content": "SUP00167",
                            "polygon": [
                                707,
                                932,
                                812,
                                933,
                                812,
                                958,
                                707,
                                957
                            ],
                            "span": {
                                "length": 8,
                                "offset": 709
                            }
                        },
                        {
                            "confidence": 0.98,
                            "content": "**",
                            "polygon": [
                                520,
                                955,
                                546,
                                956,
                                546,
                                980,
                                520,
                                979
                            ],
                            "span": {
                                "length": 2,
                                "offset": 718
                            }
                        },
                        {
                            "confidence": 0.996,
                            "content": "DIRECT",
                            "polygon": [
                                554,
                                956,
                                634,
                                958,
                                634,
                                983,
                                554,
                                981
                            ],
                            "span": {
                                "length": 6,
                                "offset": 721
                            }
                        },
                        {
                            "confidence": 0.997,
                            "content": "ORDER",
                            "polygon": [
                                644,
                                958,
                                710,
                                959,
                                710,
                                981,
                                644,
                                983
                            ],
                            "span": {
                                "length": 5,
                                "offset": 728
                            }
                        },
                        {
                            "confidence": 0.997,
                            "content": "**",
                            "polygon": [
                                723,
                                959,
                                749,
                                959,
                                748,
                                979,
                                723,
                                981
                            ],
                            "span": {
                                "length": 2,
                                "offset": 734
                            }
                        },
                        {
                            "confidence": 0.994,
                            "content": "BG",
                            "polygon": [
                                1133,
                                880,
                                1160,
                                882,
                                1158,
                                905,
                                1133,
                                903
                            ],
                            "span": {
                                "length": 2,
                                "offset": 737
                            }
                        },
                        {
                            "confidence": 0.993,
                            "content": "62.43",
                            "polygon": [
                                1283,
                                876,
                                1351,
                                876,
                                1351,
                                911,
                                1282,
                                910
                            ],
                            "span": {
                                "length": 5,
                                "offset": 740
                            }
                        },
                        {
                            "confidence": 0.994,
                            "content": "936.45",
                            "polygon": [
                                1458,
                                882,
                                1534,
                                883,
                                1535,
                                909,
                                1458,
                                908
                            ],
                            "span": {
                                "length": 6,
                                "offset": 746
                            }
                        },
                        {
                            "confidence": 0.997,
                            "content": "SUB",
                            "polygon": [
                                1125,
                                1908,
                                1156,
                                1908,
                                1155,
                                1926,
                                1125,
                                1926
                            ],
                            "span": {
                                "length": 3,
                                "offset": 753
                            }
                        },
                        {
                            "confidence": 0.994,
                            "content": "TOTAL",
                            "polygon": [
                                1162,
                                1908,
                                1213,
                                1909,
                                1213,
                                1927,
                                1162,
                                1926
                            ],
                            "span": {
                                "length": 5,
                                "offset": 757
                            }
                        },
                        {
                            "confidence": 0.994,
                            "content": "936.45",
                            "polygon": [
                                1452,
                                1908,
                                1528,
                                1908,
                                1528,
                                1932,
                                1452,
                                1932
                            ],
                            "span": {
                                "length": 6,
                                "offset": 763
                            }
                        },
                        {
                            "confidence": 0.995,
                            "content": "FREIGHT",
                            "polygon": [
                                1126,
                                1939,
                                1193,
                                1940,
                                1192,
                                1958,
                                1125,
                                1958
                            ],
                            "span": {
                                "length": 7,
                                "offset": 770
                            }
                        },
                        {
                            "confidence": 0.997,
                            "content": "TOTAL",
                            "polygon": [
                                1196,
                                1940,
                                1249,
                                1940,
                                1249,
                                1959,
                                1196,
                                1958
                            ],
                            "span": {
                                "length": 5,
                                "offset": 778
                            }
                        },
                        {
                            "confidence": 0.988,
                            "content": "0.00",
                            "polygon": [
                                1489,
                                1938,
                                1542,
                                1938,
                                1542,
                                1963,
                                1489,
                                1963
                            ],
                            "span": {
                                "length": 4,
                                "offset": 784
                            }
                        },
                        {
                            "confidence": 0.994,
                            "content": "STATE",
                            "polygon": [
                                1124,
                                1970,
                                1175,
                                1972,
                                1175,
                                1990,
                                1124,
                                1990
                            ],
                            "span": {
                                "length": 5,
                                "offset": 789
                            }
                        },
                        {
                            "confidence": 0.998,
                            "content": "TAX",
                            "polygon": [
                                1179,
                                1972,
                                1210,
                                1972,
                                1209,
                                1991,
                                1179,
                                1990
                            ],
                            "span": {
                                "length": 3,
                                "offset": 795
                            }
                        },
                        {
                            "confidence": 0.993,
                            "content": "72.57",
                            "polygon": [
                                1465,
                                1969,
                                1529,
                                1969,
                                1529,
                                1994,
                                1465,
                                1993
                            ],
                            "span": {
                                "length": 5,
                                "offset": 799
                            }
                        },
                        {
                            "confidence": 0.997,
                            "content": "TOTAL",
                            "polygon": [
                                1307,
                                2004,
                                1357,
                                2005,
                                1356,
                                2024,
                                1307,
                                2023
                            ],
                            "span": {
                                "length": 5,
                                "offset": 805
                            }
                        },
                        {
                            "confidence": 0.997,
                            "content": "AMOUNT",
                            "polygon": [
                                1360,
                                2005,
                                1428,
                                2006,
                                1427,
                                2024,
                                1360,
                                2024
                            ],
                            "span": {
                                "length": 6,
                                "offset": 811
                            }
                        },
                        {
                            "confidence": 0.997,
                            "content": "DUE",
                            "polygon": [
                                1432,
                                2006,
                                1464,
                                2006,
                                1463,
                                2024,
                                1431,
                                2024
                            ],
                            "span": {
                                "length": 3,
                                "offset": 818
                            }
                        },
                        {
                            "confidence": 0.995,
                            "content": "1009.02",
                            "polygon": [
                                1440,
                                2029,
                                1530,
                                2029,
                                1530,
                                2062,
                                1439,
                                2062
                            ],
                            "span": {
                                "length": 7,
                                "offset": 822
                            }
                        },
                        {
                            "confidence": 0.988,
                            "content": "Last",
                            "polygon": [
                                82,
                                1893,
                                135,
                                1895,
                                136,
                                1923,
                                83,
                                1923
                            ],
                            "span": {
                                "length": 4,
                                "offset": 830
                            }
                        },
                        {
                            "confidence": 0.991,
                            "content": "Page",
                            "polygon": [
                                143,
                                1895,
                                201,
                                1896,
                                201,
                                1924,
                                143,
                                1923
                            ],
                            "span": {
                                "length": 4,
                                "offset": 835
                            }
                        }
                    ]
                }
            ]
        ],
        "custom_data": "",
        "image_list": [
            "https://idp.intelgic.com/show-image/0iuasooxtvwv8zjuipsf1det4grsykli/01jag2cbh8ti69shjdj8zcsdskqsxwn3.jpg"
        ],
        "info": [
            {
                "documents": [
                    [
                        {
                            "has_data": false,
                            "key": "CustomerTaxId",
                            "type": "string"
                        },
                        {
                            "has_data": false,
                            "key": "ServiceAddress",
                            "type": "string"
                        },
                        {
                            "has_data": false,
                            "key": "TotalDiscount",
                            "type": "string"
                        },
                        {
                            "bounding_box": [
                                1270,
                                143,
                                1440,
                                143,
                                1440,
                                183,
                                1270,
                                183
                            ],
                            "has_data": true,
                            "key": "VendorName",
                            "type": "string",
                            "value": "INVOICE"
                        },
                        {
                            "has_data": false,
                            "key": "VendorTaxId",
                            "type": "string"
                        },
                        {
                            "has_data": false,
                            "key": "BillingAddress",
                            "type": "string"
                        },
                        {
                            "bounding_box": [
                                959,
                                469,
                                1200,
                                469,
                                1200,
                                498,
                                959,
                                498
                            ],
                            "has_data": true,
                            "key": "VinNo",
                            "type": "string",
                            "value": "452 WEST 1260 NORTH"
                        },
                        {
                            "has_data": false,
                            "key": "VendorAddress",
                            "type": "string"
                        },
                        {
                            "has_data": false,
                            "key": "ShippingAddress",
                            "type": "string"
                        },
                        {
                            "has_data": false,
                            "key": "PurchaseOrder",
                            "type": "string"
                        },
                        {
                            "bounding_box": [
                                1489,
                                1938,
                                1542,
                                1938,
                                1542,
                                1963,
                                1489,
                                1963
                            ],
                            "has_data": true,
                            "key": "PreviousUnpaidBalance",
                            "type": "string",
                            "value": "0.00"
                        },
                        {
                            "has_data": false,
                            "key": "Dispatch_Details",
                            "type": "string"
                        },
                        {
                            "bounding_box": [
                                207,
                                439,
                                365,
                                439,
                                365,
                                465,
                                207,
                                465
                            ],
                            "has_data": true,
                            "key": "ShippingAddressRecipient",
                            "type": "string",
                            "value": "test"
                        },
                        {
                            "bounding_box": [
                                681,
                                689,
                                784,
                                689,
                                784,
                                715,
                                681,
                                715
                            ],
                            "has_data": true,
                            "key": "ServiceEndDate",
                            "type": "date",
                            "value": "11/16/22"
                        },
                        {
                            "bounding_box": [
                                1335,
                                234,
                                1471,
                                234,
                                1471,
                                255,
                                1335,
                                255
                            ],
                            "has_data": true,
                            "key": "VendorAddressRecipient",
                            "type": "string",
                            "value": "PAYMENT TERMS"
                        },
                        {
                            "bounding_box": [
                                233,
                                382,
                                316,
                                382,
                                316,
                                415,
                                233,
                                415
                            ],
                            "has_data": true,
                            "key": "CustomerId",
                            "type": "string",
                            "value": "101828"
                        },
                        {
                            "has_data": false,
                            "key": "RemittanceAddress",
                            "type": "string"
                        },
                        {
                            "has_data": false,
                            "key": "InvoiceDate",
                            "type": "date"
                        },
                        {
                            "has_data": false,
                            "key": "BillingAddressRecipient",
                            "type": "string"
                        },
                        {
                            "bounding_box": [
                                101,
                                686,
                                244,
                                686,
                                244,
                                712,
                                101,
                                712
                            ],
                            "has_data": true,
                            "key": "ServiceStartDate",
                            "type": "date",
                            "value": "80053031-01"
                        },
                        {
                            "bounding_box": [
                                208,
                                184,
                                544,
                                184,
                                544,
                                269,
                                208,
                                269
                            ],
                            "has_data": true,
                            "key": "CustomerAddress",
                            "type": "string",
                            "value": "3455 West 1820 South (801)973-4211 FAX 801-972-0825 Salt Lake City UT, 84104"
                        },
                        {
                            "has_data": false,
                            "key": "AmountDue",
                            "type": "string"
                        },
                        {
                            "has_data": false,
                            "key": "ServiceOrderNo",
                            "type": "string"
                        },
                        {
                            "bounding_box": [
                                80,
                                382,
                                228,
                                382,
                                228,
                                417,
                                80,
                                417
                            ],
                            "has_data": true,
                            "key": "CustomerName",
                            "type": "string",
                            "value": "Cust. No. :"
                        },
                        {
                            "has_data": false,
                            "key": "BillToPhoneNo",
                            "type": "string"
                        },
                        {
                            "has_data": false,
                            "key": "CustomerContactNo",
                            "type": "string"
                        },
                        {
                            "bounding_box": [
                                1431,
                                695,
                                1533,
                                695,
                                1533,
                                720,
                                1431,
                                720
                            ],
                            "has_data": true,
                            "key": "DueDate",
                            "type": "date",
                            "value": "11/16/22"
                        },
                        {
                            "has_data": false,
                            "key": "Miles",
                            "type": "string"
                        },
                        {
                            "has_data": false,
                            "key": "Hours",
                            "type": "string"
                        },
                        {
                            "bounding_box": [
                                1246,
                                371,
                                1388,
                                371,
                                1388,
                                399,
                                1246,
                                399
                            ],
                            "has_data": true,
                            "key": "LicenseNo",
                            "type": "string",
                            "value": "80053031-01"
                        },
                        {
                            "has_data": false,
                            "key": "PaymentTerm",
                            "type": "string"
                        },
                        {
                            "has_data": false,
                            "key": "InvoiceId",
                            "type": "string"
                        },
                        {
                            "bounding_box": [
                                100,
                                112,
                                444,
                                112,
                                444,
                                181,
                                100,
                                181
                            ],
                            "has_data": true,
                            "key": "CustomerAddressRecipient",
                            "type": "string",
                            "value": "Ih R.S. HUGHES"
                        },
                        {
                            "has_data": false,
                            "key": "InvoiceTotal",
                            "type": "string"
                        },
                        {
                            "bounding_box": [
                                832,
                                594,
                                1318,
                                594,
                                1318,
                                627,
                                832,
                                627
                            ],
                            "has_data": true,
                            "key": "ServiceAddressRecipient",
                            "type": "string",
                            "value": "Email: [email protected]"
                        },
                        {
                            "has_data": false,
                            "key": "VendorContactno",
                            "type": "string"
                        },
                        {
                            "has_data": false,
                            "key": "RemittanceAddressRecipient",
                            "type": "string"
                        },
                        {
                            "has_data": false,
                            "key": "TotalTax",
                            "type": "string"
                        },
                        {
                            "has_data": false,
                            "key": "UnitNo",
                            "type": "string"
                        },
                        {
                            "bounding_box": [
                                1439,
                                2029,
                                1530,
                                2029,
                                1530,
                                2062,
                                1439,
                                2062
                            ],
                            "has_data": true,
                            "key": "SubTotal",
                            "type": "string",
                            "value": "1009.02"
                        }
                    ]
                ],
                "tables": [
                    {
                        "body": [
                            {
                                "bounding_box": [
                                    84,
                                    683,
                                    512,
                                    685,
                                    512,
                                    716,
                                    84,
                                    715
                                ],
                                "column_index": 0,
                                "row_index": 1,
                                "value": "80053031-01"
                            },
                            {
                                "bounding_box": [
                                    512,
                                    685,
                                    644,
                                    686,
                                    644,
                                    717,
                                    512,
                                    716
                                ],
                                "column_index": 1,
                                "row_index": 1,
                                "value": "2401"
                            },
                            {
                                "bounding_box": [
                                    644,
                                    686,
                                    826,
                                    687,
                                    826,
                                    719,
                                    644,
                                    717
                                ],
                                "column_index": 2,
                                "row_index": 1,
                                "value": "11/16/22"
                            },
                            {
                                "bounding_box": [
                                    826,
                                    687,
                                    957,
                                    688,
                                    957,
                                    720,
                                    826,
                                    719
                                ],
                                "column_index": 3,
                                "row_index": 1,
                                "value": "2499"
                            },
                            {
                                "bounding_box": [
                                    957,
                                    688,
                                    1393,
                                    691,
                                    1393,
                                    722,
                                    957,
                                    720
                                ],
                                "column_index": 4,
                                "row_index": 1,
                                "value": "94185"
                            },
                            {
                                "bounding_box": [
                                    1393,
                                    691,
                                    1574,
                                    693,
                                    1574,
                                    724,
                                    1393,
                                    722
                                ],
                                "column_index": 5,
                                "row_index": 1,
                                "value": "11/16/22"
                            }
                        ],
                        "col_count": 6,
                        "header": [
                            {
                                "bounding_box": [
                                    84,
                                    652,
                                    512,
                                    653,
                                    512,
                                    685,
                                    84,
                                    683
                                ],
                                "column_index": 0,
                                "row_index": 0,
                                "value": "INVOICE NUMBER"
                            },
                            {
                                "bounding_box": [
                                    512,
                                    653,
                                    644,
                                    654,
                                    644,
                                    686,
                                    512,
                                    685
                                ],
                                "column_index": 1,
                                "row_index": 0,
                                "value": "SLSMN"
                            },
                            {
                                "bounding_box": [
                                    644,
                                    654,
                                    826,
                                    655,
                                    826,
                                    687,
                                    644,
                                    686
                                ],
                                "column_index": 2,
                                "row_index": 0,
                                "value": "ORDER DATE"
                            },
                            {
                                "bounding_box": [
                                    826,
                                    655,
                                    957,
                                    655,
                                    957,
                                    688,
                                    826,
                                    687
                                ],
                                "column_index": 3,
                                "row_index": 0,
                                "value": "TAKER"
                            },
                            {
                                "bounding_box": [
                                    957,
                                    655,
                                    1393,
                                    659,
                                    1393,
                                    691,
                                    957,
                                    688
                                ],
                                "column_index": 4,
                                "row_index": 0,
                                "value": "CUSTOMER P.O. NUMBER"
                            },
                            {
                                "bounding_box": [
                                    1393,
                                    659,
                                    1574,
                                    660,
                                    1574,
                                    693,
                                    1393,
                                    691
                                ],
                                "column_index": 5,
                                "row_index": 0,
                                "value": "INVOICE DATE"
                            }
                        ],
                        "row_count": 2
                    },
                    {
                        "body": [
                            {
                                "bounding_box": [
                                    82,
                                    747,
                                    1446,
                                    755,
                                    1446,
                                    785,
                                    82,
                                    778
                                ],
                                "column_index": 0,
                                "row_index": 1,
                                "value": "PP&A Tracking Number : 1Z8630890368456236"
                            },
                            {
                                "bounding_box": [
                                    1446,
                                    755,
                                    1574,
                                    756,
                                    1574,
                                    787,
                                    1446,
                                    785
                                ],
                                "column_index": 4,
                                "row_index": 1,
                                "value": "1"
                            }
                        ],
                        "col_count": 5,
                        "header": [
                            {
                                "bounding_box": [
                                    82,
                                    715,
                                    1446,
                                    722,
                                    1446,
                                    755,
                                    82,
                                    747
                                ],
                                "column_index": 0,
                                "row_index": 0,
                                "value": "INSTRUCTIONS"
                            },
                            {
                                "bounding_box": [
                                    1446,
                                    722,
                                    1574,
                                    724,
                                    1574,
                                    756,
                                    1446,
                                    755
                                ],
                                "column_index": 4,
                                "row_index": 0,
                                "value": "PAGE NO."
                            }
                        ],
                        "row_count": 2
                    },
                    {
                        "body": [
                            {
                                "bounding_box": [
                                    81,
                                    868,
                                    171,
                                    868,
                                    169,
                                    991,
                                    79,
                                    991
                                ],
                                "column_index": 0,
                                "row_index": 2,
                                "value": "3"
                            },
                            {
                                "bounding_box": [
                                    171,
                                    868,
                                    270,
                                    869,
                                    268,
                                    991,
                                    169,
                                    991
                                ],
                                "column_index": 1,
                                "row_index": 2,
                                "value": "15"
                            },
                            {
                                "bounding_box": [
                                    270,
                                    869,
                                    402,
                                    871,
                                    399,
                                    992,
                                    268,
                                    991
                                ],
                                "column_index": 2,
                                "row_index": 2,
                                "value": "0"
                            },
                            {
                                "bounding_box": [
                                    402,
                                    871,
                                    506,
                                    871,
                                    504,
                                    992,
                                    399,
                                    992
                                ],
                                "column_index": 3,
                                "row_index": 2,
                                "value": "15"
                            },
                            {
                                "bounding_box": [
                                    506,
                                    871,
                                    1117,
                                    874,
                                    1117,
                                    993,
                                    504,
                                    992
                                ],
                                "column_index": 4,
                                "row_index": 2,
                                "value": "TX750E COMPRESSED CLEANFOAM ESD SWAB Customer Prod: SUP00167 ** DIRECT ORDER **"
                            },
                            {
                                "bounding_box": [
                                    1117,
                                    874,
                                    1210,
                                    874,
                                    1208,
                                    995,
                                    1117,
                                    993
                                ],
                                "column_index": 5,
                                "row_index": 2,
                                "value": "BG"
                            },
                            {
                                "bounding_box": [
                                    1210,
                                    874,
                                    1391,
                                    876,
                                    1394,
                                    996,
                                    1208,
                                    995
                                ],
                                "column_index": 6,
                                "row_index": 2,
                                "value": "62.43"
                            },
                            {
                                "bounding_box": [
                                    1391,
                                    876,
                                    1572,
                                    878,
                                    1571,
                                    996,
                                    1394,
                                    996
                                ],
                                "column_index": 7,
                                "row_index": 2,
                                "value": "936.45"
                            }
                        ],
                        "col_count": 8,
                        "header": [
                            {
                                "bounding_box": [
                                    82,
                                    821,
                                    171,
                                    821,
                                    171,
                                    868,
                                    81,
                                    868
                                ],
                                "column_index": 0,
                                "row_index": 0,
                                "value": "LINE NO."
                            },
                            {
                                "bounding_box": [
                                    171,
                                    821,
                                    507,
                                    822,
                                    506,
                                    850,
                                    171,
                                    848
                                ],
                                "column_index": 1,
                                "row_index": 0,
                                "value": "QUANTITY"
                            },
                            {
                                "bounding_box": [
                                    507,
                                    822,
                                    1115,
                                    827,
                                    1117,
                                    874,
                                    506,
                                    871
                                ],
                                "column_index": 4,
                                "row_index": 0,
                                "value": "ITEM CODE AND DESCRIPTION"
                            },
                            {
                                "bounding_box": [
                                    1115,
                                    827,
                                    1211,
                                    827,
                                    1210,
                                    874,
                                    1117,
                                    874
                                ],
                                "column_index": 5,
                                "row_index": 0,
                                "value": "U/M"
                            },
                            {
                                "bounding_box": [
                                    1211,
                                    827,
                                    1389,
                                    829,
                                    1391,
                                    876,
                                    1210,
                                    874
                                ],
                                "column_index": 6,
                                "row_index": 0,
                                "value": "UNIT PRICE"
                            },
                            {
                                "bounding_box": [
                                    1389,
                                    829,
                                    1574,
                                    829,
                                    1572,
                                    878,
                                    1391,
                                    876
                                ],
                                "column_index": 7,
                                "row_index": 0,
                                "value": "AMOUNT"
                            },
                            {
                                "bounding_box": [
                                    171,
                                    848,
                                    270,
                                    848,
                                    270,
                                    869,
                                    171,
                                    868
                                ],
                                "column_index": 1,
                                "row_index": 1,
                                "value": "ORDERED"
                            },
                            {
                                "bounding_box": [
                                    270,
                                    848,
                                    402,
                                    850,
                                    402,
                                    871,
                                    270,
                                    869
                                ],
                                "column_index": 2,
                                "row_index": 1,
                                "value": "B.O./RET."
                            },
                            {
                                "bounding_box": [
                                    402,
                                    850,
                                    506,
                                    850,
                                    506,
                                    871,
                                    402,
                                    871
                                ],
                                "column_index": 3,
                                "row_index": 1,
                                "value": "SHIPPED"
                            }
                        ],
                        "row_count": 3
                    },
                    {
                        "body": [
                            {
                                "bounding_box": [
                                    1111,
                                    1900,
                                    1350,
                                    1902,
                                    1350,
                                    1935,
                                    1110,
                                    1933
                                ],
                                "column_index": 0,
                                "row_index": 0,
                                "value": "SUB TOTAL"
                            },
                            {
                                "bounding_box": [
                                    1350,
                                    1902,
                                    1568,
                                    1903,
                                    1568,
                                    1935,
                                    1350,
                                    1935
                                ],
                                "column_index": 1,
                                "row_index": 0,
                                "value": "936.45"
                            },
                            {
                                "bounding_box": [
                                    1110,
                                    1933,
                                    1350,
                                    1935,
                                    1351,
                                    1968,
                                    1110,
                                    1968
                                ],
                                "column_index": 0,
                                "row_index": 1,
                                "value": "FREIGHT TOTAL"
                            },
                            {
                                "bounding_box": [
                                    1350,
                                    1935,
                                    1568,
                                    1935,
                                    1568,
                                    1969,
                                    1351,
                                    1968
                                ],
                                "column_index": 1,
                                "row_index": 1,
                                "value": "0.00"
                            },
                            {
                                "bounding_box": [
                                    1110,
                                    1968,
                                    1351,
                                    1968,
                                    1351,
                                    1998,
                                    1110,
                                    1994
                                ],
                                "column_index": 0,
                                "row_index": 2,
                                "value": "STATE TAX"
                            },
                            {
                                "bounding_box": [
                                    1351,
                                    1968,
                                    1568,
                                    1969,
                                    1568,
                                    1999,
                                    1351,
                                    1998
                                ],
                                "column_index": 1,
                                "row_index": 2,
                                "value": "72.57"
                            }
                        ],
                        "col_count": 2,
                        "header": [],
                        "row_count": 3
                    }
                ]
            }
        ],
        "invoice_id": "inv_0iuasooxtvwv8zjuipsf1det4grsykli",
        "original_file_name": "hughes.jpg",
        "source": "api",
        "upload_date": "May 29 2023, 08:02"
    },
    "status": true
}

Credit Details

The Credit Details API is an endpoint that enables users to retrieve information about a specific credit by providing the credit ID as a parameter. The API does not allow users to upload any files.

Authorization


x-api-key *
string

An API key is required in the request header for authorization.

POST /credit-details

curl --location --request POST 'https://idp.intelgic.com/api/v1/credit-details'
  --header 'x-api-key: YOUR_API_KEY'

RESPONSE

{
  "credit_details": {
    "active_plan": "free",
    "details": {
      "free_plan": {
        "expire_date": "May 19 2024, 00:00",
        "is_expired": false,
        "remaining_credits": 82,
        "total_credit": 100
      },
      "paid_plan": {
        "expire_date": null,
        "is_expired": false,
        "remaining_credits": 0,
        "total_credit": 0
      }
    },
    "expire_date": "May 19 2024, 00:00",
    "total": 82
  },
  "status": true
}
                                        

Get Invoices

The Get Invoices API is an endpoint that enables users to retrieve information about all invoices by providing some parameter.

Authorization


x-api-key *
string

An API key is required in the request header for authorization.

Parameters


invoice_type Optional
string

This parameter will be used to filter the invoices. Value will be, all, flagged, approved or paid. Default value is all.

limit Optional
string

This parameter will be used to limit the number of invoices. Value will be a number between 1 to 100. Default value is 10.

offset Optional
string

This parameter will be used to skip the number of invoices. Value will be a number. Default value is 0.

POST /invoices

curl --location --request POST 'https://idp.intelgic.com/api/v1/invoices'
  --header 'x-api-key: YOUR_API_KEY'

RESPONSE

{
  "details": [
    {
      "created": "May 02 2023, 06:41",
      "file_name": "test.pdf",
      "image_url": "https://idp.intelgic.com/show-image/wrmnv49tgwfpqdimznngjlwqxeesgguh/cijauea7h2hcbju.jpg",
      "invoice_id": "inv_wrmnv49tgwfpqdimznngjlwqxeesgguh",
      "invoice_status": "New",
      "source": "Api"
    }
  ],
  "status": true
}
                                        

Delete Invoices

The delete Invoices API is an endpoint that enables users to delete invoice by providing some parameter.

Authorization


x-api-key *
string

An API key is required in the request header for authorization.

Parameters


invoice_id *
string

The invoice ID is required in the request body.

POST /invoice-delete

curl --location --request POST 'https://idp.intelgic.com/api/v1/invoice-delete'
  --header 'x-api-key: YOUR_API_KEY'
  --form 'invoice_id="YOUR_INVOICE_ID"'

RESPONSE

{
  "message": "Invoice deleted successfully",
  "status": true
}
                                        

Invoice Webhook

Document processing Webhook makes it simple to receive data automatically from
AI models after the data extraction
  • status: This is a boolean value that indicates the webhook has successfully returned the data. It returns `true` for a successful call.
  • type: This is string data type that indicates what document the AI model has processed. In case you are processing other document, or you have a customized AI model, please ask Intelgic team about your document type.
  • alert_type: It returns a string (data type) and tells us about the document's status. It returns the following values:
    "processed": The document is processed by AI and documents are shown on All documents tab.
    "approved" : The document is manually verified, validated and approved by a human on the document AI platform.
    "flagged": It returns a flag, when a user change the status of the document to flag and the document moves to the Flag tab.
    "paid": this is for invoices only. It returns "paid" when a user moves an invoices to the paid tab.
  • file_name: This returns the original name of the document.
  • file_path: It returns a URL string where you can get the original file that has been given to the AI model.
  • pages: Internally the platform breaks sourced/uploaded document into pages. This key returns an array of url paths of those images. If you process a document with 10 pages, this will return an array of 10 urls and each url will have image of each page.
  • source: his key will return a string that indicates the source of the document. It will return the following values:
    "manually" : If a user uploads the document manually on the platform, it returns "manually"
    "API" : If you source your documents through API, it will return API
    Note: If you have another method of sourcing document and need a different value to be returned, please contact Intelgic support.
  • upload_date: This will return the date and time of sourcing the document.
  • custom_data: This is an array of objects that can be used to track documents. You can send multiple values through API while sourcing documents and get those values in return through webhook. For example, you can pass a unique id with each document and get that id in webhook when the document is processed. In this way you can track the document.
    note: if you need some customized data points in webhook, you can do this through this key. Please contact our team if you need any help.
documents:
You will receive the captured data in a key-value pair. This is an array of objects. Each object will have the following:
  • key: This is a string that indicates the key.
  • type: This is the data type
  • has_data: It returns `true` if there is a value in this key and returns `false` if there is no value for this key.
  • value: The actual value of the key.
tables:
You will get all the tabular data in one array of objects. If there are multiple tables within the document, the `table` key will have multiple objects of table. Under each table there will be the following data points:
  • row_count: Number of rows in a table.
  • col_count: Number of columns in the table.
  • header: This is an array of objects where each object is one header.
  • body: This is an array of objects and each object represent the table data.
  • row_index: This is the row index in a table.
  • column_index: This is column index in a table
  • value: The value in a table index

Webhook

{
  'status': true,
  'type': 'invoice',
  'alert_type': 'processed/approved/flagged/paid',
  'file_name': 'test.jpg',
  'file_path': 'https://idp.intelgic.com/show-image/APEfvWDTHA8gJnHKtFXGXIsu2hL5SRnP/gbjjszmcnmyae7gj3li8iyys3trcvjet.jpg',
  'pages': [
    'https://idp.intelgic.com/show-image/APEfvWDTHA8gJnHKtFXGXIsu2hL5SRnP/gbjjszmcnmyae7gj3li8iyys3trcvjet.jpg'
  ],
  'source': 'API',
  'upload_date': 'Jun 01 2021, 05:38',
  'id': 'inv_APEfvWDTHA8gJnHKtFXGXIsu2hL5SRnP',
  'custom_data': '',
  'data': {
    'parsed_data': [
      {
        'documents': [
          [
            {
              'key': 'VendorTaxId',
              'type': 'string',
              'has_data': False
            },
            {
              'key': 'ShippingAddress',
              'type': 'string',
              'has_data': true,
              'value': '7012166'
            },
            {
              'key': 'CustomerName',
              'type': 'string',
              'has_data': true,
              'value': 'USA'
            },
            {
              'key': 'Miles',
              'type': 'string',
              'has_data': False
            },
            {
              'key': 'VinNo',
              'type': 'string',
              'has_data': true,
              'value': '7018298'
            },
            {
              'key': 'CustomerTaxId',
              'type': 'string',
              'has_data': False
            },
            {
              'key': 'RemittanceAddressRecipient',
              'type': 'string',
              'has_data': true,
              'value': 'OREM UT\nUSA'
            },
            {
              'key': 'VendorAddressRecipient',
              'type': 'string',
              'has_data': true,
              'value': 'Test'
            },
            {
              'key': 'ServiceOrderNo',
              'type': 'string',
              'has_data': true,
              'value': 'SUP00075'
            },
            {
              'key': 'CustomerId',
              'type': 'string',
              'has_data': true,
              'value': '9140921791'
            },
            {
              'key': 'BillingAddress',
              'type': 'string',
              'has_data': true,
              'value': 'BARREL 0 3CC CL 50'
            },
            {
              'key': 'ShippingAddressRecipient',
              'type': 'string',
              'has_data': true,
              'value': 'Harmonized Code (HTS) :'
            },
            {
              'key': 'InvoiceDate',
              'type': 'date',
              'has_data': true,
              'value': '11/07/2022'
            },
            {
              'key': 'TotalDiscount',
              'type': 'string',
              'has_data': False
            },
            {
              'key': 'TotalTax',
              'type': 'string',
              'has_data': False
            },
            {
              'key': 'InvoiceTotal',
              'type': 'string',
              'has_data': False
            },
            {
              'key': 'ServiceEndDate',
              'type': 'date',
              'has_data': true,
              'value': 'PC'
            },
            {
              'key': 'ServiceStartDate',
              'type': 'date',
              'has_data': true,
              'value': 'Box'
            },
            {
              'key': 'PurchaseOrder',
              'type': 'string',
              'has_data': true,
              'value': '8479909596'
            },
            {
              'key': 'LicenseNo',
              'type': 'string',
              'has_data': true,
              'value': '8479909596'
            },
            {
              'key': 'DueDate',
              'type': 'date',
              'has_data': true,
              'value': '39.02'
            },
            {
              'key': 'AmountDue',
              'type': 'string',
              'has_data': False
            },
            {
              'key': 'ServiceAddressRecipient',
              'type': 'string',
              'has_data': true,
              'value': 'Customer Material No. : Harmonized Code (HTS) :'
            },
            {
              'key': 'VendorAddress',
              'type': 'string',
              'has_data': true,
              'value': '452 W 1260 N'
            },
            {
              'key': 'InvoiceId',
              'type': 'string',
              'has_data': true,
              'value': '1092435'
            },
            {
              'key': 'UnitNo',
              'type': 'string',
              'has_data': true,
              'value': '93847'
            },
            {
              'key': 'CustomerAddressRecipient',
              'type': 'string',
              'has_data': true,
              'value': 'Number:'
            },
            {
              'key': 'ServiceAddress',
              'type': 'string',
              'has_data': False
            },
            {
              'key': 'Hours',
              'type': 'string',
              'has_data': False
            },
            {
              'key': 'PaymentTerm',
              'type': 'string',
              'has_data': False
            },
            {
              'key': 'PreviousUnpaidBalance',
              'type': 'string',
              'has_data': true,
              'value': '043000096'
            },
            {
              'key': 'RemittanceAddress',
              'type': 'string',
              'has_data': true,
              'value': '1,262.25'
            },
            {
              'key': 'VendorName',
              'type': 'string',
              'has_data': true,
              'value': '[email protected]'
            },
            {
              'key': 'CustomerContactNo',
              'type': 'string',
              'has_data': False
            },
            {
              'key': 'SubTotal',
              'type': 'string',
              'has_data': true,
              'value': '1,262.25'
            },
            {
              'key': 'BillingAddressRecipient',
              'type': 'string',
              'has_data': False
            },
            {
              'key': 'BillToPhoneNo',
              'type': 'string',
              'has_data': False
            },
            {
              'key': 'CustomerAddress',
              'type': 'string',
              'has_data': true,
              'value': '452 W 1260 N\nOREM UT 84057-2941'
            },
            {
              'key': 'Dispatch_Details',
              'type': 'string',
              'has_data': False
            },
            {
              'key': 'VendorContactno',
              'type': 'string',
              'has_data': False
            }
          ]
        ],
        'tables': [
          {
            'row_count': 2,
            'col_count': 7,
            'header': [
              {
                'row_index': 0,
                'column_index': 0,
                'value': 'Purchase Order Number 93847'
              },
              {
                'row_index': 0,
                'column_index': 2,
                'value': 'Purchase Order Date'
              },
              {
                'row_index': 0,
                'column_index': 3,
                'value': 'Tax ID Number D 92934'
              },
              {
                'row_index': 0,
                'column_index': 4,
                'value': 'Vendor No.'
              },
              {
                'row_index': 0,
                'column_index': 6,
                'value': 'Sales Org. 8000'
              }
            ],
            'body': [
              {
                'row_index': 1,
                'column_index': 0,
                'value': 'Payer no. 1092435'
              },
              {
                'row_index': 1,
                'column_index': 1,
                'value': 'test Order No. 115585426'
              },
              {
                'row_index': 1,
                'column_index': 2,
                'value': 'Terms of delivery'
              },
              {
                'row_index': 1,
                'column_index': 5,
                'value': 'Delivery No. / Delivery Date\n814399327 / 11/07/2022'
              }
            ]
          },
          {
            'row_count': 6,
            'col_count': 6,
            'header': [
              {
                'row_index': 0,
                'column_index': 0,
                'value': 'Item'
              },
              {
                'row_index': 0,
                'column_index': 1,
                'value': 'Material Quantity'
              },
              {
                'row_index': 0,
                'column_index': 3,
                'value': 'Price / USD'
              },
              {
                'row_index': 0,
                'column_index': 4,
                'value': 'Price unit'
              },
              {
                'row_index': 0,
                'column_index': 5,
                'value': 'Value / USD'
              }
            ],
            'body': [
              {
                'row_index': 1,
                'column_index': 0,
                'value': '10'
              },
              {
                'row_index': 1,
                'column_index': 1,
                'value': '7012072 15.00 PC BARREL 0 3CC CL 50 Harmonized Code (HTS) : Country of origin: ECCN :'
              },
              {
                'row_index': 1,
                'column_index': 3,
                'value': '30.13 8479909596 US EAR99'
              },
              {
                'row_index': 1,
                'column_index': 4,
                'value': '1 PC'
              },
              {
                'row_index': 1,
                'column_index': 5,
                'value': '451.95'
              },
              {
                'row_index': 3,
                'column_index': 0,
                'value': '20'
              },
              {
                'row_index': 3,
                'column_index': 1,
                'value': '7012166 15.00 PC PISTON O 3CC WH WIPER 50 Customer Material No. : Harmonized Code (HTS) : Country of origin: ECCN :'
              },
              {
                'row_index': 3,
                'column_index': 3,
                'value': '15.00 SUP00075 8479909596 US EAR99'
              },
              {
                'row_index': 3,
                'column_index': 4,
                'value': '1 PC'
              },
              {
                'row_index': 3,
                'column_index': 5,
                'value': '225.00'
              },
              {
                'row_index': 4,
                'column_index': 0,
                'value': '30'
              },
              {
                'row_index': 4,
                'column_index': 1,
                'value': '7018298 15.00 PC TIP 22GA TT .016" BLUE 50 PC'
              },
              {
                'row_index': 4,
                'column_index': 3,
                'value': '39.02'
              },
              {
                'row_index': 4,
                'column_index': 4,
                'value': '1 PC'
              },
              {
                'row_index': 4,
                'column_index': 5,
                'value': '585.30'
              },
              {
                'row_index': 5,
                'column_index': 0,
                'value': ''
              },
              {
                'row_index': 5,
                'column_index': 1,
                'value': 'Customer Material No. : Harmonized Code (HTS) : Country of origin: ECCN :'
              },
              {
                'row_index': 5,
                'column_index': 3,
                'value': 'SUP00076 8479909596 US EAR99'
              },
              {
                'row_index': 5,
                'column_index': 4,
                'value': ''
              },
              {
                'row_index': 5,
                'column_index': 5,
                'value': ''
              }
            ]
          }
        ]
      }
    ]
  }
}

Upload Receipt

The upload receipt API is an endpoint that enables users to send their receipts to a server for processing or storage. This API generally allows file uploads in multiple formats, such as PDF, JPEG, PNG, or PDF. It can accept single or multiple file uploads.

Authorization


x-api-key *
string

An API key is required in the request header for authorization.

Parameters


source_file *
string ($binary)

This parameter only accepts JPG, PNG, JPEG, or PDF files. You can upload multiple files at once using this parameter.

custom_data Optional
string

This parameter is optional. You can pass any custom data in this parameter. This data will be returned in the response.
example: ["{'id': 1}", "{'id': 2}"]
*note: The number of files and the number of elements custom data must be the same.

POST /upload-receipt

curl -H 'x-api-key: YOUR_API_KEY'
  -F 'source_file=@YOUR_FILE_PATH'
  -f https://idp.intelgic.com/api/v1/upload-receipt

RESPONSE

{
  "message": "Your files are processing in the background",
  "status": true
}
                                        

Receipt Details

The Receipt Details API is intended to fetch comprehensive information about a specific receipt by providing the receipt ID as a parameter. The API allows users to provide additional information or parameters required for the request by accepting multipart form data in the request body.

Authorization


x-api-key *
string

An API key is required in the request header for authorization.

Parameters


receipt_id *
string

The receipt ID is required in the request body.

POST /receipt-details

curl --location --request POST 'https://idp.intelgic.com/api/v1/receipt-details'
  --header 'x-api-key: YOUR_API_KEY'
  --form 'receipt_id="YOUR_RECEIPT_ID"'

RESPONSE

{
    "details": {
        "coordinates": [
            [
                {
                    "angle": 0.36262670159339905,
                    "height": 2200,
                    "kind": "document",
                    "lines": [
                        {
                            "content": "Ih",
                            "polygon": [
                                100,
                                112,
                                202,
                                113,
                                200,
                                181,
                                102,
                                180
                            ],
                            "spans": [
                                {
                                    "length": 2,
                                    "offset": 0
                                }
                            ]
                        },
                        {
                            "content": "R.S. HUGHES",
                            "polygon": [
                                214,
                                128,
                                448,
                                129,
                                448,
                                169,
                                214,
                                168
                            ],
                            "spans": [
                                {
                                    "length": 11,
                                    "offset": 3
                                }
                            ]
                        },
                        {
                            "content": "3455 West 1820 South",
                            "polygon": [
                                209,
                                184,
                                435,
                                185,
                                435,
                                210,
                                209,
                                209
                            ],
                            "spans": [
                                {
                                    "length": 20,
                                    "offset": 15
                                }
                            ]
                        },
                        {
                            "content": "(801)973-4211 FAX 801-972-0825",
                            "polygon": [
                                208,
                                213,
                                545,
                                214,
                                545,
                                240,
                                208,
                                239
                            ],
                            "spans": [
                                {
                                    "length": 30,
                                    "offset": 36
                                }
                            ]
                        },
                        {
                            "content": "Salt Lake City UT, 84104",
                            "polygon": [
                                207,
                                241,
                                454,
                                242,
                                454,
                                269,
                                207,
                                268
                            ],
                            "spans": [
                                {
                                    "length": 24,
                                    "offset": 67
                                }
                            ]
                        },
                        {
                            "content": "RECEIPT",
                            "polygon": [
                                1269,
                                143,
                                1451,
                                144,
                                1451,
                                183,
                                1269,
                                182
                            ],
                            "spans": [
                                {
                                    "length": 7,
                                    "offset": 92
                                }
                            ]
                        },
                        {
                            "content": "PAYMENT TERMS",
                            "polygon": [
                                1335,
                                233,
                                1472,
                                234,
                                1472,
                                254,
                                1335,
                                253
                            ],
                            "spans": [
                                {
                                    "length": 13,
                                    "offset": 100
                                }
                            ]
                        },
                        {
                            "content": "NET 30",
                            "polygon": [
                                1298,
                                269,
                                1391,
                                270,
                                1390,
                                295,
                                1298,
                                294
                            ],
                            "spans": [
                                {
                                    "length": 6,
                                    "offset": 114
                                }
                            ]
                        },
                        {
                            "content": "INVOICE NUMBER",
                            "polygon": [
                                1332,
                                335,
                                1471,
                                336,
                                1471,
                                358,
                                1332,
                                356
                            ],
                            "spans": [
                                {
                                    "length": 14,
                                    "offset": 121
                                }
                            ]
                        },
                        {
                            "content": "80053031-01",
                            "polygon": [
                                1245,
                                370,
                                1389,
                                371,
                                1389,
                                398,
                                1245,
                                397
                            ],
                            "spans": [
                                {
                                    "length": 11,
                                    "offset": 136
                                }
                            ]
                        },
                        {
                            "content": "Cust. No. : 101828",
                            "polygon": [
                                78,
                                383,
                                316,
                                381,
                                316,
                                414,
                                78,
                                416
                            ],
                            "spans": [
                                {
                                    "length": 18,
                                    "offset": 148
                                }
                            ]
                        },
                        {
                            "content": "BILL TO:",
                            "polygon": [
                                82,
                                445,
                                153,
                                446,
                                153,
                                468,
                                82,
                                467
                            ],
                            "spans": [
                                {
                                    "length": 8,
                                    "offset": 167
                                }
                            ]
                        },
                        {
                            "content": "Test",
                            "polygon": [
                                207,
                                438,
                                365,
                                439,
                                365,
                                465,
                                207,
                                464
                            ],
                            "spans": [
                                {
                                    "length": 12,
                                    "offset": 176
                                }
                            ]
                        },
                        {
                            "content": "452 WEST 1260 NORTH",
                            "polygon": [
                                208,
                                464,
                                454,
                                465,
                                454,
                                491,
                                208,
                                490
                            ],
                            "spans": [
                                {
                                    "length": 19,
                                    "offset": 189
                                }
                            ]
                        },
                        {
                            "content": "OREM, UT 84057",
                            "polygon": [
                                206,
                                513,
                                390,
                                513,
                                390,
                                546,
                                206,
                                546
                            ],
                            "spans": [
                                {
                                    "length": 14,
                                    "offset": 209
                                }
                            ]
                        },
                        {
                            "content": "SHIP TO:",
                            "polygon": [
                                823,
                                450,
                                895,
                                451,
                                895,
                                471,
                                823,
                                471
                            ],
                            "spans": [
                                {
                                    "length": 8,
                                    "offset": 224
                                }
                            ]
                        },
                        {
                            "content": "Test",
                            "polygon": [
                                956,
                                442,
                                1111,
                                444,
                                1111,
                                469,
                                956,
                                468
                            ],
                            "spans": [
                                {
                                    "length": 12,
                                    "offset": 233
                                }
                            ]
                        },
                        {
                            "content": "452 WEST 1260 NORTH",
                            "polygon": [
                                959,
                                468,
                                1205,
                                470,
                                1205,
                                497,
                                959,
                                495
                            ],
                            "spans": [
                                {
                                    "length": 19,
                                    "offset": 246
                                }
                            ]
                        },
                        {
                            "content": "OREM, UT 84057",
                            "polygon": [
                                956,
                                520,
                                1139,
                                521,
                                1139,
                                548,
                                956,
                                548
                            ],
                            "spans": [
                                {
                                    "length": 14,
                                    "offset": 266
                                }
                            ]
                        },
                        {
                            "content": "Contact: Bradley Schellenberg",
                            "polygon": [
                                80,
                                589,
                                456,
                                592,
                                456,
                                621,
                                80,
                                619
                            ],
                            "spans": [
                                {
                                    "length": 29,
                                    "offset": 281
                                }
                            ]
                        },
                        {
                            "content": "Phone: (801)717-4332",
                            "polygon": [
                                510,
                                590,
                                774,
                                590,
                                774,
                                622,
                                510,
                                622
                            ],
                            "spans": [
                                {
                                    "length": 20,
                                    "offset": 311
                                }
                            ]
                        },
                        {
                            "content": "Email: [email protected]",
                            "polygon": [
                                831,
                                593,
                                1319,
                                597,
                                1319,
                                627,
                                831,
                                623
                            ],
                            "spans": [
                                {
                                    "length": 38,
                                    "offset": 332
                                }
                            ]
                        },
                        {
                            "content": "INVOICE NUMBER",
                            "polygon": [
                                227,
                                658,
                                367,
                                658,
                                367,
                                678,
                                227,
                                677
                            ],
                            "spans": [
                                {
                                    "length": 14,
                                    "offset": 371
                                }
                            ]
                        },
                        {
                            "content": "SLSMN",
                            "polygon": [
                                550,
                                660,
                                607,
                                660,
                                607,
                                679,
                                550,
                                679
                            ],
                            "spans": [
                                {
                                    "length": 5,
                                    "offset": 386
                                }
                            ]
                        },
                        {
                            "content": "ORDER DATE",
                            "polygon": [
                                681,
                                661,
                                786,
                                661,
                                786,
                                681,
                                681,
                                681
                            ],
                            "spans": [
                                {
                                    "length": 10,
                                    "offset": 392
                                }
                            ]
                        },
                        {
                            "content": "TAKER",
                            "polygon": [
                                862,
                                661,
                                920,
                                662,
                                919,
                                681,
                                863,
                                680
                            ],
                            "spans": [
                                {
                                    "length": 5,
                                    "offset": 403
                                }
                            ]
                        },
                        {
                            "content": "CUSTOMER P.O. NUMBER",
                            "polygon": [
                                1076,
                                663,
                                1276,
                                664,
                                1276,
                                685,
                                1076,
                                683
                            ],
                            "spans": [
                                {
                                    "length": 20,
                                    "offset": 409
                                }
                            ]
                        },
                        {
                            "content": "INVOICE DATE",
                            "polygon": [
                                1429,
                                666,
                                1542,
                                667,
                                1542,
                                686,
                                1429,
                                685
                            ],
                            "spans": [
                                {
                                    "length": 12,
                                    "offset": 430
                                }
                            ]
                        },
                        {
                            "content": "80053031-01",
                            "polygon": [
                                100,
                                685,
                                246,
                                686,
                                245,
                                711,
                                100,
                                711
                            ],
                            "spans": [
                                {
                                    "length": 11,
                                    "offset": 443
                                }
                            ]
                        },
                        {
                            "content": "2401",
                            "polygon": [
                                525,
                                689,
                                579,
                                689,
                                579,
                                713,
                                525,
                                712
                            ],
                            "spans": [
                                {
                                    "length": 4,
                                    "offset": 455
                                }
                            ]
                        },
                        {
                            "content": "11/16/22",
                            "polygon": [
                                681,
                                689,
                                785,
                                689,
                                785,
                                714,
                                681,
                                713
                            ],
                            "spans": [
                                {
                                    "length": 8,
                                    "offset": 460
                                }
                            ]
                        },
                        {
                            "content": "2499",
                            "polygon": [
                                838,
                                690,
                                893,
                                691,
                                893,
                                715,
                                837,
                                715
                            ],
                            "spans": [
                                {
                                    "length": 4,
                                    "offset": 469
                                }
                            ]
                        },
                        {
                            "content": "94185",
                            "polygon": [
                                969,
                                690,
                                1036,
                                692,
                                1035,
                                717,
                                968,
                                715
                            ],
                            "spans": [
                                {
                                    "length": 5,
                                    "offset": 474
                                }
                            ]
                        },
                        {
                            "content": "11/16/22",
                            "polygon": [
                                1429,
                                694,
                                1535,
                                694,
                                1535,
                                719,
                                1429,
                                719
                            ],
                            "spans": [
                                {
                                    "length": 8,
                                    "offset": 480
                                }
                            ]
                        },
                        {
                            "content": "INSTRUCTIONS",
                            "polygon": [
                                704,
                                724,
                                822,
                                725,
                                822,
                                745,
                                704,
                                744
                            ],
                            "spans": [
                                {
                                    "length": 12,
                                    "offset": 489
                                }
                            ]
                        },
                        {
                            "content": "PAGE NO.",
                            "polygon": [
                                1465,
                                730,
                                1544,
                                730,
                                1544,
                                749,
                                1465,
                                748
                            ],
                            "spans": [
                                {
                                    "length": 8,
                                    "offset": 502
                                }
                            ]
                        },
                        {
                            "content": "PP&A",
                            "polygon": [
                                100,
                                749,
                                158,
                                749,
                                158,
                                775,
                                99,
                                774
                            ],
                            "spans": [
                                {
                                    "length": 4,
                                    "offset": 511
                                }
                            ]
                        },
                        {
                            "content": "Tracking Number : 1Z8630890368456236",
                            "polygon": [
                                1002,
                                751,
                                1441,
                                752,
                                1441,
                                785,
                                1002,
                                784
                            ],
                            "spans": [
                                {
                                    "length": 36,
                                    "offset": 516
                                }
                            ]
                        },
                        {
                            "content": "1",
                            "polygon": [
                                1499,
                                759,
                                1515,
                                758,
                                1514,
                                783,
                                1498,
                                784
                            ],
                            "spans": [
                                {
                                    "length": 1,
                                    "offset": 553
                                }
                            ]
                        },
                        {
                            "content": "LINE",
                            "polygon": [
                                105,
                                828,
                                143,
                                828,
                                142,
                                845,
                                104,
                                844
                            ],
                            "spans": [
                                {
                                    "length": 4,
                                    "offset": 555
                                }
                            ]
                        },
                        {
                            "content": "NO.",
                            "polygon": [
                                112,
                                853,
                                143,
                                854,
                                142,
                                868,
                                112,
                                867
                            ],
                            "spans": [
                                {
                                    "length": 3,
                                    "offset": 560
                                }
                            ]
                        },
                        {
                            "content": "QUANTITY",
                            "polygon": [
                                303,
                                828,
                                384,
                                828,
                                384,
                                846,
                                303,
                                846
                            ],
                            "spans": [
                                {
                                    "length": 8,
                                    "offset": 564
                                }
                            ]
                        },
                        {
                            "content": "ITEM CODE AND DESCRIPTION",
                            "polygon": [
                                691,
                                840,
                                926,
                                841,
                                926,
                                861,
                                691,
                                860
                            ],
                            "spans": [
                                {
                                    "length": 25,
                                    "offset": 573
                                }
                            ]
                        },
                        {
                            "content": "U/M",
                            "polygon": [
                                1147,
                                845,
                                1180,
                                845,
                                1180,
                                862,
                                1147,
                                861
                            ],
                            "spans": [
                                {
                                    "length": 3,
                                    "offset": 599
                                }
                            ]
                        },
                        {
                            "content": "UNIT PRICE",
                            "polygon": [
                                1254,
                                844,
                                1348,
                                844,
                                1348,
                                863,
                                1254,
                                864
                            ],
                            "spans": [
                                {
                                    "length": 10,
                                    "offset": 603
                                }
                            ]
                        },
                        {
                            "content": "AMOUNT",
                            "polygon": [
                                1445,
                                846,
                                1518,
                                846,
                                1518,
                                865,
                                1445,
                                866
                            ],
                            "spans": [
                                {
                                    "length": 6,
                                    "offset": 614
                                }
                            ]
                        },
                        {
                            "content": "ORDERED",
                            "polygon": [
                                174,
                                852,
                                253,
                                852,
                                253,
                                869,
                                174,
                                868
                            ],
                            "spans": [
                                {
                                    "length": 7,
                                    "offset": 621
                                }
                            ]
                        },
                        {
                            "content": "B.O./RET.",
                            "polygon": [
                                291,
                                852,
                                367,
                                853,
                                367,
                                870,
                                291,
                                869
                            ],
                            "spans": [
                                {
                                    "length": 9,
                                    "offset": 629
                                }
                            ]
                        },
                        {
                            "content": "SHIPPED",
                            "polygon": [
                                411,
                                854,
                                479,
                                854,
                                479,
                                869,
                                411,
                                869
                            ],
                            "spans": [
                                {
                                    "length": 7,
                                    "offset": 639
                                }
                            ]
                        },
                        {
                            "content": "3",
                            "polygon": [
                                126,
                                874,
                                143,
                                873,
                                143,
                                897,
                                126,
                                899
                            ],
                            "spans": [
                                {
                                    "length": 1,
                                    "offset": 647
                                }
                            ]
                        },
                        {
                            "content": "15",
                            "polygon": [
                                196,
                                874,
                                219,
                                874,
                                218,
                                898,
                                195,
                                898
                            ],
                            "spans": [
                                {
                                    "length": 2,
                                    "offset": 649
                                }
                            ]
                        },
                        {
                            "content": "0",
                            "polygon": [
                                322,
                                877,
                                336,
                                876,
                                336,
                                897,
                                322,
                                899
                            ],
                            "spans": [
                                {
                                    "length": 1,
                                    "offset": 652
                                }
                            ]
                        },
                        {
                            "content": "15",
                            "polygon": [
                                440,
                                876,
                                467,
                                876,
                                466,
                                899,
                                439,
                                898
                            ],
                            "spans": [
                                {
                                    "length": 2,
                                    "offset": 654
                                }
                            ]
                        },
                        {
                            "content": "TX750E",
                            "polygon": [
                                521,
                                876,
                                600,
                                876,
                                600,
                                901,
                                521,
                                900
                            ],
                            "spans": [
                                {
                                    "length": 6,
                                    "offset": 657
                                }
                            ]
                        },
                        {
                            "content": "COMPRESSED CLEANFOAM ESD SWAB",
                            "polygon": [
                                519,
                                901,
                                890,
                                904,
                                889,
                                929,
                                519,
                                926
                            ],
                            "spans": [
                                {
                                    "length": 29,
                                    "offset": 664
                                }
                            ]
                        },
                        {
                            "content": "Customer Prod: SUP00167",
                            "polygon": [
                                519,
                                930,
                                813,
                                932,
                                813,
                                957,
                                519,
                                956
                            ],
                            "spans": [
                                {
                                    "length": 23,
                                    "offset": 694
                                }
                            ]
                        },
                        {
                            "content": "** DIRECT ORDER **",
                            "polygon": [
                                520,
                                955,
                                751,
                                957,
                                751,
                                983,
                                520,
                                981
                            ],
                            "spans": [
                                {
                                    "length": 18,
                                    "offset": 718
                                }
                            ]
                        },
                        {
                            "content": "BG",
                            "polygon": [
                                1133,
                                880,
                                1162,
                                882,
                                1161,
                                905,
                                1133,
                                903
                            ],
                            "spans": [
                                {
                                    "length": 2,
                                    "offset": 737
                                }
                            ]
                        },
                        {
                            "content": "62.43",
                            "polygon": [
                                1282,
                                877,
                                1352,
                                876,
                                1350,
                                911,
                                1281,
                                909
                            ],
                            "spans": [
                                {
                                    "length": 5,
                                    "offset": 740
                                }
                            ]
                        },
                        {
                            "content": "936.45",
                            "polygon": [
                                1458,
                                882,
                                1535,
                                883,
                                1535,
                                908,
                                1458,
                                907
                            ],
                            "spans": [
                                {
                                    "length": 6,
                                    "offset": 746
                                }
                            ]
                        },
                        {
                            "content": "SUB TOTAL",
                            "polygon": [
                                1125,
                                1907,
                                1214,
                                1908,
                                1214,
                                1926,
                                1124,
                                1926
                            ],
                            "spans": [
                                {
                                    "length": 9,
                                    "offset": 753
                                }
                            ]
                        },
                        {
                            "content": "936.45",
                            "polygon": [
                                1451,
                                1907,
                                1533,
                                1907,
                                1533,
                                1931,
                                1451,
                                1931
                            ],
                            "spans": [
                                {
                                    "length": 6,
                                    "offset": 763
                                }
                            ]
                        },
                        {
                            "content": "FREIGHT TOTAL",
                            "polygon": [
                                1125,
                                1938,
                                1250,
                                1939,
                                1250,
                                1958,
                                1125,
                                1957
                            ],
                            "spans": [
                                {
                                    "length": 13,
                                    "offset": 770
                                }
                            ]
                        },
                        {
                            "content": "0.00",
                            "polygon": [
                                1489,
                                1938,
                                1543,
                                1938,
                                1543,
                                1963,
                                1488,
                                1963
                            ],
                            "spans": [
                                {
                                    "length": 4,
                                    "offset": 784
                                }
                            ]
                        },
                        {
                            "content": "STATE TAX",
                            "polygon": [
                                1124,
                                1970,
                                1215,
                                1972,
                                1214,
                                1991,
                                1123,
                                1989
                            ],
                            "spans": [
                                {
                                    "length": 9,
                                    "offset": 789
                                }
                            ]
                        },
                        {
                            "content": "72.57",
                            "polygon": [
                                1464,
                                1969,
                                1530,
                                1970,
                                1530,
                                1994,
                                1464,
                                1994
                            ],
                            "spans": [
                                {
                                    "length": 5,
                                    "offset": 799
                                }
                            ]
                        },
                        {
                            "content": "TOTAL AMOUNT DUE",
                            "polygon": [
                                1305,
                                2004,
                                1468,
                                2005,
                                1467,
                                2024,
                                1305,
                                2022
                            ],
                            "spans": [
                                {
                                    "length": 16,
                                    "offset": 805
                                }
                            ]
                        },
                        {
                            "content": "1009.02",
                            "polygon": [
                                1438,
                                2029,
                                1531,
                                2030,
                                1529,
                                2062,
                                1438,
                                2062
                            ],
                            "spans": [
                                {
                                    "length": 7,
                                    "offset": 822
                                }
                            ]
                        },
                        {
                            "content": "Last Page",
                            "polygon": [
                                81,
                                1893,
                                202,
                                1895,
                                201,
                                1924,
                                81,
                                1922
                            ],
                            "spans": [
                                {
                                    "length": 9,
                                    "offset": 830
                                }
                            ]
                        }
                    ],
                    "pageNumber": 1,
                    "spans": [
                        {
                            "length": 839,
                            "offset": 0
                        }
                    ],
                    "unit": "pixel",
                    "width": 1700,
                    "words": [
                        {
                            "confidence": 0.924,
                            "content": "Ih",
                            "polygon": [
                                100,
                                112,
                                170,
                                113,
                                170,
                                181,
                                100,
                                180
                            ],
                            "span": {
                                "length": 2,
                                "offset": 0
                            }
                        },
                        {
                            "confidence": 0.994,
                            "content": "R.S.",
                            "polygon": [
                                215,
                                129,
                                282,
                                129,
                                281,
                                168,
                                214,
                                169
                            ],
                            "span": {
                                "length": 4,
                                "offset": 3
                            }
                        },
                        {
                            "confidence": 0.997,
                            "content": "HUGHES",
                            "polygon": [
                                289,
                                129,
                                444,
                                131,
                                443,
                                169,
                                289,
                                168
                            ],
                            "span": {
                                "length": 6,
                                "offset": 8
                            }
                        },
                        {
                            "confidence": 0.987,
                            "content": "3455",
                            "polygon": [
                                210,
                                184,
                                258,
                                185,
                                258,
                                210,
                                210,
                                210
                            ],
                            "span": {
                                "length": 4,
                                "offset": 15
                            }
                        },
                        {
                            "confidence": 0.99,
                            "content": "West",
                            "polygon": [
                                263,
                                185,
                                317,
                                186,
                                316,
                                210,
                                263,
                                210
                            ],
                            "span": {
                                "length": 4,
                                "offset": 20
                            }
                        },
                        {
                            "confidence": 0.99,
                            "content": "1820",
                            "polygon": [
                                322,
                                186,
                                369,
                                186,
                                369,
                                210,
                                321,
                                210
                            ],
                            "span": {
                                "length": 4,
                                "offset": 25
                            }
                        },
                        {
                            "confidence": 0.993,
                            "content": "South",
                            "polygon": [
                                374,
                                186,
                                435,
                                186,
                                434,
                                210,
                                373,
                                210
                            ],
                            "span": {
                                "length": 5,
                                "offset": 30
                            }
                        },
                        {
                            "confidence": 0.992,
                            "content": "(801)973-4211",
                            "polygon": [
                                210,
                                214,
                                352,
                                214,
                                353,
                                238,
                                211,
                                240
                            ],
                            "span": {
                                "length": 13,
                                "offset": 36
                            }
                        },
                        {
                            "confidence": 0.998,
                            "content": "FAX",
                            "polygon": [
                                357,
                                214,
                                400,
                                215,
                                401,
                                238,
                                357,
                                238
                            ],
                            "span": {
                                "length": 3,
                                "offset": 50
                            }
                        },
                        {
                            "confidence": 0.992,
                            "content": "801-972-0825",
                            "polygon": [
                                407,
                                215,
                                544,
                                215,
                                544,
                                240,
                                407,
                                238
                            ],
                            "span": {
                                "length": 12,
                                "offset": 54
                            }
                        },
                        {
                            "confidence": 0.98,
                            "content": "Salt",
                            "polygon": [
                                208,
                                242,
                                246,
                                243,
                                247,
                                269,
                                210,
                                269
                            ],
                            "span": {
                                "length": 4,
                                "offset": 67
                            }
                        },
                        {
                            "confidence": 0.988,
                            "content": "Lake",
                            "polygon": [
                                251,
                                243,
                                299,
                                244,
                                300,
                                268,
                                252,
                                268
                            ],
                            "span": {
                                "length": 4,
                                "offset": 72
                            }
                        },
                        {
                            "confidence": 0.988,
                            "content": "City",
                            "polygon": [
                                304,
                                244,
                                344,
                                244,
                                344,
                                268,
                                305,
                                268
                            ],
                            "span": {
                                "length": 4,
                                "offset": 77
                            }
                        },
                        {
                            "confidence": 0.997,
                            "content": "UT,",
                            "polygon": [
                                349,
                                244,
                                385,
                                244,
                                386,
                                268,
                                349,
                                268
                            ],
                            "span": {
                                "length": 3,
                                "offset": 82
                            }
                        },
                        {
                            "confidence": 0.996,
                            "content": "84104",
                            "polygon": [
                                390,
                                244,
                                453,
                                243,
                                453,
                                269,
                                391,
                                268
                            ],
                            "span": {
                                "length": 5,
                                "offset": 86
                            }
                        },
                        {
                            "confidence": 0.994,
                            "content": "INVOICE",
                            "polygon": [
                                1270,
                                143,
                                1440,
                                145,
                                1440,
                                183,
                                1270,
                                183
                            ],
                            "span": {
                                "length": 7,
                                "offset": 92
                            }
                        },
                        {
                            "confidence": 0.995,
                            "content": "PAYMENT",
                            "polygon": [
                                1336,
                                234,
                                1412,
                                234,
                                1412,
                                254,
                                1335,
                                254
                            ],
                            "span": {
                                "length": 7,
                                "offset": 100
                            }
                        },
                        {
                            "confidence": 0.997,
                            "content": "TERMS",
                            "polygon": [
                                1416,
                                234,
                                1471,
                                235,
                                1471,
                                255,
                                1415,
                                254
                            ],
                            "span": {
                                "length": 5,
                                "offset": 108
                            }
                        },
                        {
                            "confidence": 0.997,
                            "content": "NET",
                            "polygon": [
                                1299,
                                269,
                                1339,
                                270,
                                1339,
                                294,
                                1299,
                                295
                            ],
                            "span": {
                                "length": 3,
                                "offset": 114
                            }
                        },
                        {
                            "confidence": 0.997,
                            "content": "30",
                            "polygon": [
                                1362,
                                270,
                                1389,
                                271,
                                1389,
                                296,
                                1362,
                                295
                            ],
                            "span": {
                                "length": 2,
                                "offset": 118
                            }
                        },
                        {
                            "confidence": 0.993,
                            "content": "INVOICE",
                            "polygon": [
                                1333,
                                336,
                                1395,
                                337,
                                1395,
                                357,
                                1333,
                                357
                            ],
                            "span": {
                                "length": 7,
                                "offset": 121
                            }
                        },
                        {
                            "confidence": 0.996,
                            "content": "NUMBER",
                            "polygon": [
                                1399,
                                337,
                                1467,
                                337,
                                1467,
                                358,
                                1399,
                                357
                            ],
                            "span": {
                                "length": 6,
                                "offset": 129
                            }
                        },
                        {
                            "confidence": 0.991,
                            "content": "80053031-01",
                            "polygon": [
                                1246,
                                371,
                                1388,
                                372,
                                1388,
                                399,
                                1246,
                                398
                            ],
                            "span": {
                                "length": 11,
                                "offset": 136
                            }
                        },
                        {
                            "confidence": 0.997,
                            "content": "Cust.",
                            "polygon": [
                                81,
                                384,
                                149,
                                383,
                                148,
                                416,
                                80,
                                417
                            ],
                            "span": {
                                "length": 5,
                                "offset": 148
                            }
                        },
                        {
                            "confidence": 0.998,
                            "content": "No.",
                            "polygon": [
                                155,
                                383,
                                203,
                                382,
                                202,
                                416,
                                154,
                                416
                            ],
                            "span": {
                                "length": 3,
                                "offset": 154
                            }
                        },
                        {
                            "confidence": 0.993,
                            "content": ":",
                            "polygon": [
                                210,
                                382,
                                228,
                                382,
                                226,
                                415,
                                209,
                                416
                            ],
                            "span": {
                                "length": 1,
                                "offset": 158
                            }
                        },
                        {
                            "confidence": 0.994,
                            "content": "101828",
                            "polygon": [
                                234,
                                382,
                                316,
                                382,
                                315,
                                415,
                                233,
                                415
                            ],
                            "span": {
                                "length": 6,
                                "offset": 160
                            }
                        },
                        {
                            "confidence": 0.994,
                            "content": "BILL",
                            "polygon": [
                                83,
                                446,
                                118,
                                446,
                                118,
                                468,
                                82,
                                468
                            ],
                            "span": {
                                "length": 4,
                                "offset": 167
                            }
                        },
                        {
                            "confidence": 0.997,
                            "content": "TO:",
                            "polygon": [
                                122,
                                446,
                                153,
                                446,
                                153,
                                468,
                                122,
                                468
                            ],
                            "span": {
                                "length": 3,
                                "offset": 172
                            }
                        },
                        {
                            "confidence": 0.993,
                            "content": "Test,",
                            "polygon": [
                                207,
                                439,
                                300,
                                439,
                                301,
                                464,
                                208,
                                465
                            ],
                            "span": {
                                "length": 7,
                                "offset": 176
                            }
                        },
                        {
                            "confidence": 0.991,
                            "content": "INC.",
                            "polygon": [
                                309,
                                439,
                                365,
                                440,
                                365,
                                465,
                                310,
                                464
                            ],
                            "span": {
                                "length": 4,
                                "offset": 184
                            }
                        },
                        {
                            "confidence": 0.997,
                            "content": "452",
                            "polygon": [
                                209,
                                465,
                                248,
                                465,
                                249,
                                491,
                                210,
                                491
                            ],
                            "span": {
                                "length": 3,
                                "offset": 189
                            }
                        },
                        {
                            "confidence": 0.979,
                            "content": "WEST",
                            "polygon": [
                                256,
                                465,
                                313,
                                465,
                                313,
                                490,
                                256,
                                491
                            ],
                            "span": {
                                "length": 4,
                                "offset": 193
                            }
                        },
                        {
                            "confidence": 0.989,
                            "content": "1260",
                            "polygon": [
                                323,
                                465,
                                377,
                                465,
                                377,
                                491,
                                323,
                                490
                            ],
                            "span": {
                                "length": 4,
                                "offset": 198
                            }
                        },
                        {
                            "confidence": 0.997,
                            "content": "NORTH",
                            "polygon": [
                                385,
                                466,
                                452,
                                466,
                                452,
                                492,
                                385,
                                491
                            ],
                            "span": {
                                "length": 5,
                                "offset": 203
                            }
                        },
                        {
                            "confidence": 0.996,
                            "content": "OREM,",
                            "polygon": [
                                206,
                                513,
                                275,
                                514,
                                275,
                                547,
                                206,
                                546
                            ],
                            "span": {
                                "length": 5,
                                "offset": 209
                            }
                        },
                        {
                            "confidence": 0.997,
                            "content": "UT",
                            "polygon": [
                                282,
                                514,
                                314,
                                514,
                                313,
                                547,
                                281,
                                547
                            ],
                            "span": {
                                "length": 2,
                                "offset": 215
                            }
                        },
                        {
                            "confidence": 0.994,
                            "content": "84057",
                            "polygon": [
                                321,
                                514,
                                391,
                                514,
                                389,
                                547,
                                320,
                                547
                            ],
                            "span": {
                                "length": 5,
                                "offset": 218
                            }
                        },
                        {
                            "confidence": 0.987,
                            "content": "SHIP",
                            "polygon": [
                                826,
                                451,
                                862,
                                452,
                                861,
                                472,
                                824,
                                471
                            ],
                            "span": {
                                "length": 4,
                                "offset": 224
                            }
                        },
                        {
                            "confidence": 0.997,
                            "content": "TO:",
                            "polygon": [
                                866,
                                452,
                                895,
                                452,
                                894,
                                472,
                                865,
                                472
                            ],
                            "span": {
                                "length": 3,
                                "offset": 229
                            }
                        },
                        {
                            "confidence": 0.993,
                            "content": "Test,",
                            "polygon": [
                                957,
                                443,
                                1050,
                                444,
                                1050,
                                469,
                                957,
                                469
                            ],
                            "span": {
                                "length": 7,
                                "offset": 233
                            }
                        },
                        {
                            "confidence": 0.991,
                            "content": "INC.",
                            "polygon": [
                                1060,
                                444,
                                1111,
                                445,
                                1111,
                                469,
                                1060,
                                469
                            ],
                            "span": {
                                "length": 4,
                                "offset": 241
                            }
                        },
                        {
                            "confidence": 0.997,
                            "content": "452",
                            "polygon": [
                                959,
                                469,
                                997,
                                469,
                                997,
                                495,
                                959,
                                495
                            ],
                            "span": {
                                "length": 3,
                                "offset": 246
                            }
                        },
                        {
                            "confidence": 0.98,
                            "content": "WEST",
                            "polygon": [
                                1005,
                                470,
                                1062,
                                470,
                                1061,
                                495,
                                1004,
                                495
                            ],
                            "span": {
                                "length": 4,
                                "offset": 250
                            }
                        },
                        {
                            "confidence": 0.989,
                            "content": "1260",
                            "polygon": [
                                1072,
                                470,
                                1126,
                                470,
                                1125,
                                496,
                                1071,
                                495
                            ],
                            "span": {
                                "length": 4,
                                "offset": 255
                            }
                        },
                        {
                            "confidence": 0.997,
                            "content": "NORTH",
                            "polygon": [
                                1133,
                                470,
                                1200,
                                471,
                                1199,
                                498,
                                1132,
                                496
                            ],
                            "span": {
                                "length": 5,
                                "offset": 260
                            }
                        },
                        {
                            "confidence": 0.996,
                            "content": "OREM,",
                            "polygon": [
                                957,
                                521,
                                1026,
                                521,
                                1025,
                                548,
                                956,
                                548
                            ],
                            "span": {
                                "length": 5,
                                "offset": 266
                            }
                        },
                        {
                            "confidence": 0.997,
                            "content": "UT",
                            "polygon": [
                                1031,
                                521,
                                1063,
                                521,
                                1062,
                                548,
                                1031,
                                548
                            ],
                            "span": {
                                "length": 2,
                                "offset": 272
                            }
                        },
                        {
                            "confidence": 0.993,
                            "content": "84057",
                            "polygon": [
                                1070,
                                522,
                                1138,
                                522,
                                1138,
                                549,
                                1070,
                                548
                            ],
                            "span": {
                                "length": 5,
                                "offset": 275
                            }
                        },
                        {
                            "confidence": 0.995,
                            "content": "Contact:",
                            "polygon": [
                                81,
                                590,
                                188,
                                590,
                                188,
                                620,
                                81,
                                620
                            ],
                            "span": {
                                "length": 8,
                                "offset": 281
                            }
                        },
                        {
                            "confidence": 0.993,
                            "content": "Bradley",
                            "polygon": [
                                194,
                                590,
                                290,
                                591,
                                289,
                                621,
                                194,
                                620
                            ],
                            "span": {
                                "length": 7,
                                "offset": 290
                            }
                        },
                        {
                            "confidence": 0.955,
                            "content": "Schellenberg",
                            "polygon": [
                                296,
                                591,
                                456,
                                593,
                                454,
                                621,
                                295,
                                621
                            ],
                            "span": {
                                "length": 12,
                                "offset": 298
                            }
                        },
                        {
                            "confidence": 0.995,
                            "content": "Phone:",
                            "polygon": [
                                511,
                                590,
                                597,
                                590,
                                597,
                                623,
                                511,
                                623
                            ],
                            "span": {
                                "length": 6,
                                "offset": 311
                            }
                        },
                        {
                            "confidence": 0.991,
                            "content": "(801)717-4332",
                            "polygon": [
                                603,
                                590,
                                773,
                                590,
                                773,
                                623,
                                603,
                                623
                            ],
                            "span": {
                                "length": 13,
                                "offset": 318
                            }
                        },
                        {
                            "confidence": 0.991,
                            "content": "Email:",
                            "polygon": [
                                832,
                                594,
                                909,
                                594,
                                909,
                                624,
                                832,
                                624
                            ],
                            "span": {
                                "length": 6,
                                "offset": 332
                            }
                        },
                        {
                            "confidence": 0.049,
                            "content": "test.test.com",
                            "polygon": [
                                915,
                                594,
                                1317,
                                598,
                                1318,
                                627,
                                915,
                                624
                            ],
                            "span": {
                                "length": 31,
                                "offset": 339
                            }
                        },
                        {
                            "confidence": 0.993,
                            "content": "INVOICE",
                            "polygon": [
                                228,
                                658,
                                290,
                                658,
                                290,
                                678,
                                228,
                                678
                            ],
                            "span": {
                                "length": 7,
                                "offset": 371
                            }
                        },
                        {
                            "confidence": 0.996,
                            "content": "NUMBER",
                            "polygon": [
                                294,
                                658,
                                365,
                                659,
                                364,
                                679,
                                294,
                                678
                            ],
                            "span": {
                                "length": 6,
                                "offset": 379
                            }
                        },
                        {
                            "confidence": 0.997,
                            "content": "SLSMN",
                            "polygon": [
                                550,
                                661,
                                606,
                                661,
                                605,
                                680,
                                550,
                                680
                            ],
                            "span": {
                                "length": 5,
                                "offset": 386
                            }
                        },
                        {
                            "confidence": 0.997,
                            "content": "ORDER",
                            "polygon": [
                                682,
                                662,
                                735,
                                661,
                                735,
                                681,
                                682,
                                681
                            ],
                            "span": {
                                "length": 5,
                                "offset": 392
                            }
                        },
                        {
                            "confidence": 0.991,
                            "content": "DATE",
                            "polygon": [
                                740,
                                661,
                                783,
                                661,
                                783,
                                682,
                                740,
                                681
                            ],
                            "span": {
                                "length": 4,
                                "offset": 398
                            }
                        },
                        {
                            "confidence": 0.997,
                            "content": "TAKER",
                            "polygon": [
                                864,
                                661,
                                916,
                                662,
                                915,
                                681,
                                864,
                                680
                            ],
                            "span": {
                                "length": 5,
                                "offset": 403
                            }
                        },
                        {
                            "confidence": 0.994,
                            "content": "CUSTOMER",
                            "polygon": [
                                1077,
                                663,
                                1163,
                                664,
                                1163,
                                685,
                                1077,
                                684
                            ],
                            "span": {
                                "length": 8,
                                "offset": 409
                            }
                        },
                        {
                            "confidence": 0.986,
                            "content": "P.O.",
                            "polygon": [
                                1168,
                                664,
                                1199,
                                664,
                                1199,
                                685,
                                1168,
                                685
                            ],
                            "span": {
                                "length": 4,
                                "offset": 418
                            }
                        },
                        {
                            "confidence": 0.996,
                            "content": "NUMBER",
                            "polygon": [
                                1203,
                                664,
                                1272,
                                665,
                                1272,
                                686,
                                1203,
                                685
                            ],
                            "span": {
                                "length": 6,
                                "offset": 423
                            }
                        },
                        {
                            "confidence": 0.991,
                            "content": "INVOICE",
                            "polygon": [
                                1430,
                                667,
                                1493,
                                667,
                                1492,
                                687,
                                1430,
                                686
                            ],
                            "span": {
                                "length": 7,
                                "offset": 430
                            }
                        },
                        {
                            "confidence": 0.989,
                            "content": "DATE",
                            "polygon": [
                                1496,
                                667,
                                1540,
                                667,
                                1539,
                                687,
                                1496,
                                687
                            ],
                            "span": {
                                "length": 4,
                                "offset": 438
                            }
                        },
                        {
                            "confidence": 0.993,
                            "content": "80053031-01",
                            "polygon": [
                                102,
                                686,
                                244,
                                686,
                                244,
                                712,
                                101,
                                711
                            ],
                            "span": {
                                "length": 11,
                                "offset": 443
                            }
                        },
                        {
                            "confidence": 0.996,
                            "content": "2401",
                            "polygon": [
                                526,
                                689,
                                578,
                                689,
                                578,
                                713,
                                526,
                                712
                            ],
                            "span": {
                                "length": 4,
                                "offset": 455
                            }
                        },
                        {
                            "confidence": 0.991,
                            "content": "11/16/22",
                            "polygon": [
                                681,
                                689,
                                784,
                                690,
                                784,
                                715,
                                681,
                                714
                            ],
                            "span": {
                                "length": 8,
                                "offset": 460
                            }
                        },
                        {
                            "confidence": 0.988,
                            "content": "2499",
                            "polygon": [
                                840,
                                690,
                                891,
                                690,
                                891,
                                715,
                                840,
                                715
                            ],
                            "span": {
                                "length": 4,
                                "offset": 469
                            }
                        },
                        {
                            "confidence": 0.997,
                            "content": "94185",
                            "polygon": [
                                969,
                                690,
                                1035,
                                692,
                                1034,
                                717,
                                968,
                                715
                            ],
                            "span": {
                                "length": 5,
                                "offset": 474
                            }
                        },
                        {
                            "confidence": 0.996,
                            "content": "11/16/22",
                            "polygon": [
                                1431,
                                695,
                                1533,
                                695,
                                1532,
                                720,
                                1431,
                                719
                            ],
                            "span": {
                                "length": 8,
                                "offset": 480
                            }
                        },
                        {
                            "confidence": 0.991,
                            "content": "INSTRUCTIONS",
                            "polygon": [
                                705,
                                724,
                                819,
                                726,
                                819,
                                745,
                                705,
                                745
                            ],
                            "span": {
                                "length": 12,
                                "offset": 489
                            }
                        },
                        {
                            "confidence": 0.986,
                            "content": "PAGE",
                            "polygon": [
                                1468,
                                730,
                                1512,
                                731,
                                1511,
                                749,
                                1467,
                                749
                            ],
                            "span": {
                                "length": 4,
                                "offset": 502
                            }
                        },
                        {
                            "confidence": 0.997,
                            "content": "NO.",
                            "polygon": [
                                1516,
                                731,
                                1544,
                                731,
                                1544,
                                749,
                                1515,
                                749
                            ],
                            "span": {
                                "length": 3,
                                "offset": 507
                            }
                        },
                        {
                            "confidence": 0.995,
                            "content": "PP&A",
                            "polygon": [
                                100,
                                749,
                                157,
                                749,
                                157,
                                775,
                                100,
                                774
                            ],
                            "span": {
                                "length": 4,
                                "offset": 511
                            }
                        },
                        {
                            "confidence": 0.993,
                            "content": "Tracking",
                            "polygon": [
                                1003,
                                752,
                                1106,
                                752,
                                1106,
                                786,
                                1003,
                                785
                            ],
                            "span": {
                                "length": 8,
                                "offset": 516
                            }
                        },
                        {
                            "confidence": 0.997,
                            "content": "Number",
                            "polygon": [
                                1113,
                                752,
                                1187,
                                752,
                                1187,
                                786,
                                1112,
                                786
                            ],
                            "span": {
                                "length": 6,
                                "offset": 525
                            }
                        },
                        {
                            "confidence": 0.981,
                            "content": ":",
                            "polygon": [
                                1194,
                                752,
                                1198,
                                752,
                                1198,
                                786,
                                1194,
                                786
                            ],
                            "span": {
                                "length": 1,
                                "offset": 532
                            }
                        },
                        {
                            "confidence": 0.849,
                            "content": "1Z8630890368456236",
                            "polygon": [
                                1205,
                                752,
                                1441,
                                753,
                                1441,
                                786,
                                1205,
                                786
                            ],
                            "span": {
                                "length": 18,
                                "offset": 534
                            }
                        },
                        {
                            "confidence": 0.995,
                            "content": "1",
                            "polygon": [
                                1498,
                                759,
                                1512,
                                758,
                                1513,
                                782,
                                1499,
                                783
                            ],
                            "span": {
                                "length": 1,
                                "offset": 553
                            }
                        },
                        {
                            "confidence": 0.997,
                            "content": "LINE",
                            "polygon": [
                                104,
                                828,
                                140,
                                828,
                                139,
                                845,
                                104,
                                844
                            ],
                            "span": {
                                "length": 4,
                                "offset": 555
                            }
                        },
                        {
                            "confidence": 0.997,
                            "content": "NO.",
                            "polygon": [
                                112,
                                853,
                                143,
                                854,
                                142,
                                868,
                                112,
                                867
                            ],
                            "span": {
                                "length": 3,
                                "offset": 560
                            }
                        },
                        {
                            "confidence": 0.993,
                            "content": "QUANTITY",
                            "polygon": [
                                303,
                                829,
                                383,
                                828,
                                383,
                                846,
                                303,
                                846
                            ],
                            "span": {
                                "length": 8,
                                "offset": 564
                            }
                        },
                        {
                            "confidence": 0.985,
                            "content": "ITEM",
                            "polygon": [
                                692,
                                840,
                                727,
                                841,
                                726,
                                860,
                                692,
                                861
                            ],
                            "span": {
                                "length": 4,
                                "offset": 573
                            }
                        },
                        {
                            "confidence": 0.987,
                            "content": "CODE",
                            "polygon": [
                                732,
                                841,
                                777,
                                842,
                                776,
                                860,
                                731,
                                860
                            ],
                            "span": {
                                "length": 4,
                                "offset": 578
                            }
                        },
                        {
                            "confidence": 0.997,
                            "content": "AND",
                            "polygon": [
                                781,
                                842,
                                814,
                                842,
                                813,
                                860,
                                780,
                                860
                            ],
                            "span": {
                                "length": 3,
                                "offset": 583
                            }
                        },
                        {
                            "confidence": 0.991,
                            "content": "DESCRIPTION",
                            "polygon": [
                                817,
                                842,
                                923,
                                842,
                                922,
                                861,
                                817,
                                860
                            ],
                            "span": {
                                "length": 11,
                                "offset": 587
                            }
                        },
                        {
                            "confidence": 0.991,
                            "content": "U/M",
                            "polygon": [
                                1148,
                                845,
                                1176,
                                845,
                                1176,
                                862,
                                1148,
                                861
                            ],
                            "span": {
                                "length": 3,
                                "offset": 599
                            }
                        },
                        {
                            "confidence": 0.982,
                            "content": "UNIT",
                            "polygon": [
                                1256,
                                845,
                                1292,
                                845,
                                1292,
                                864,
                                1256,
                                864
                            ],
                            "span": {
                                "length": 4,
                                "offset": 603
                            }
                        },
                        {
                            "confidence": 0.997,
                            "content": "PRICE",
                            "polygon": [
                                1295,
                                845,
                                1344,
                                845,
                                1344,
                                864,
                                1296,
                                864
                            ],
                            "span": {
                                "length": 5,
                                "offset": 608
                            }
                        },
                        {
                            "confidence": 0.994,
                            "content": "AMOUNT",
                            "polygon": [
                                1446,
                                847,
                                1517,
                                847,
                                1516,
                                866,
                                1447,
                                866
                            ],
                            "span": {
                                "length": 6,
                                "offset": 614
                            }
                        },
                        {
                            "confidence": 0.996,
                            "content": "ORDERED",
                            "polygon": [
                                175,
                                853,
                                249,
                                853,
                                248,
                                869,
                                175,
                                868
                            ],
                            "span": {
                                "length": 7,
                                "offset": 621
                            }
                        },
                        {
                            "confidence": 0.962,
                            "content": "B.O./RET.",
                            "polygon": [
                                292,
                                853,
                                368,
                                853,
                                368,
                                871,
                                292,
                                870
                            ],
                            "span": {
                                "length": 9,
                                "offset": 629
                            }
                        },
                        {
                            "confidence": 0.994,
                            "content": "SHIPPED",
                            "polygon": [
                                412,
                                854,
                                476,
                                854,
                                475,
                                870,
                                412,
                                869
                            ],
                            "span": {
                                "length": 7,
                                "offset": 639
                            }
                        },
                        {
                            "confidence": 0.995,
                            "content": "3",
                            "polygon": [
                                126,
                                874,
                                139,
                                873,
                                141,
                                897,
                                127,
                                898
                            ],
                            "span": {
                                "length": 1,
                                "offset": 647
                            }
                        },
                        {
                            "confidence": 0.993,
                            "content": "15",
                            "polygon": [
                                195,
                                874,
                                218,
                                874,
                                218,
                                898,
                                195,
                                898
                            ],
                            "span": {
                                "length": 2,
                                "offset": 649
                            }
                        },
                        {
                            "confidence": 0.991,
                            "content": "0",
                            "polygon": [
                                322,
                                877,
                                333,
                                876,
                                335,
                                897,
                                323,
                                898
                            ],
                            "span": {
                                "length": 1,
                                "offset": 652
                            }
                        },
                        {
                            "confidence": 0.993,
                            "content": "15",
                            "polygon": [
                                440,
                                876,
                                466,
                                876,
                                465,
                                899,
                                440,
                                898
                            ],
                            "span": {
                                "length": 2,
                                "offset": 654
                            }
                        },
                        {
                            "confidence": 0.994,
                            "content": "TX750E",
                            "polygon": [
                                522,
                                877,
                                595,
                                877,
                                595,
                                902,
                                523,
                                901
                            ],
                            "span": {
                                "length": 6,
                                "offset": 657
                            }
                        },
                        {
                            "confidence": 0.993,
                            "content": "COMPRESSED",
                            "polygon": [
                                520,
                                902,
                                647,
                                903,
                                647,
                                928,
                                520,
                                926
                            ],
                            "span": {
                                "length": 10,
                                "offset": 664
                            }
                        },
                        {
                            "confidence": 0.994,
                            "content": "CLEANFOAM",
                            "polygon": [
                                657,
                                903,
                                775,
                                903,
                                774,
                                929,
                                657,
                                928
                            ],
                            "span": {
                                "length": 9,
                                "offset": 675
                            }
                        },
                        {
                            "confidence": 0.997,
                            "content": "ESD",
                            "polygon": [
                                785,
                                903,
                                826,
                                904,
                                826,
                                929,
                                785,
                                929
                            ],
                            "span": {
                                "length": 3,
                                "offset": 685
                            }
                        },
                        {
                            "confidence": 0.989,
                            "content": "SWAB",
                            "polygon": [
                                836,
                                904,
                                889,
                                904,
                                889,
                                930,
                                836,
                                930
                            ],
                            "span": {
                                "length": 4,
                                "offset": 689
                            }
                        },
                        {
                            "confidence": 0.995,
                            "content": "Customer",
                            "polygon": [
                                520,
                                931,
                                621,
                                931,
                                621,
                                956,
                                520,
                                957
                            ],
                            "span": {
                                "length": 8,
                                "offset": 694
                            }
                        },
                        {
                            "confidence": 0.997,
                            "content": "Prod:",
                            "polygon": [
                                631,
                                931,
                                700,
                                932,
                                700,
                                957,
                                631,
                                956
                            ],
                            "span": {
                                "length": 5,
                                "offset": 703
                            }
                        },
                        {
                            "confidence": 0.993,
                            "content": "SUP00167",
                            "polygon": [
                                707,
                                932,
                                812,
                                933,
                                812,
                                958,
                                707,
                                957
                            ],
                            "span": {
                                "length": 8,
                                "offset": 709
                            }
                        },
                        {
                            "confidence": 0.98,
                            "content": "**",
                            "polygon": [
                                520,
                                955,
                                546,
                                956,
                                546,
                                980,
                                520,
                                979
                            ],
                            "span": {
                                "length": 2,
                                "offset": 718
                            }
                        },
                        {
                            "confidence": 0.996,
                            "content": "DIRECT",
                            "polygon": [
                                554,
                                956,
                                634,
                                958,
                                634,
                                983,
                                554,
                                981
                            ],
                            "span": {
                                "length": 6,
                                "offset": 721
                            }
                        },
                        {
                            "confidence": 0.997,
                            "content": "ORDER",
                            "polygon": [
                                644,
                                958,
                                710,
                                959,
                                710,
                                981,
                                644,
                                983
                            ],
                            "span": {
                                "length": 5,
                                "offset": 728
                            }
                        },
                        {
                            "confidence": 0.997,
                            "content": "**",
                            "polygon": [
                                723,
                                959,
                                749,
                                959,
                                748,
                                979,
                                723,
                                981
                            ],
                            "span": {
                                "length": 2,
                                "offset": 734
                            }
                        },
                        {
                            "confidence": 0.994,
                            "content": "BG",
                            "polygon": [
                                1133,
                                880,
                                1160,
                                882,
                                1158,
                                905,
                                1133,
                                903
                            ],
                            "span": {
                                "length": 2,
                                "offset": 737
                            }
                        },
                        {
                            "confidence": 0.993,
                            "content": "62.43",
                            "polygon": [
                                1283,
                                876,
                                1351,
                                876,
                                1351,
                                911,
                                1282,
                                910
                            ],
                            "span": {
                                "length": 5,
                                "offset": 740
                            }
                        },
                        {
                            "confidence": 0.994,
                            "content": "936.45",
                            "polygon": [
                                1458,
                                882,
                                1534,
                                883,
                                1535,
                                909,
                                1458,
                                908
                            ],
                            "span": {
                                "length": 6,
                                "offset": 746
                            }
                        },
                        {
                            "confidence": 0.997,
                            "content": "SUB",
                            "polygon": [
                                1125,
                                1908,
                                1156,
                                1908,
                                1155,
                                1926,
                                1125,
                                1926
                            ],
                            "span": {
                                "length": 3,
                                "offset": 753
                            }
                        },
                        {
                            "confidence": 0.994,
                            "content": "TOTAL",
                            "polygon": [
                                1162,
                                1908,
                                1213,
                                1909,
                                1213,
                                1927,
                                1162,
                                1926
                            ],
                            "span": {
                                "length": 5,
                                "offset": 757
                            }
                        },
                        {
                            "confidence": 0.994,
                            "content": "936.45",
                            "polygon": [
                                1452,
                                1908,
                                1528,
                                1908,
                                1528,
                                1932,
                                1452,
                                1932
                            ],
                            "span": {
                                "length": 6,
                                "offset": 763
                            }
                        },
                        {
                            "confidence": 0.995,
                            "content": "FREIGHT",
                            "polygon": [
                                1126,
                                1939,
                                1193,
                                1940,
                                1192,
                                1958,
                                1125,
                                1958
                            ],
                            "span": {
                                "length": 7,
                                "offset": 770
                            }
                        },
                        {
                            "confidence": 0.997,
                            "content": "TOTAL",
                            "polygon": [
                                1196,
                                1940,
                                1249,
                                1940,
                                1249,
                                1959,
                                1196,
                                1958
                            ],
                            "span": {
                                "length": 5,
                                "offset": 778
                            }
                        },
                        {
                            "confidence": 0.988,
                            "content": "0.00",
                            "polygon": [
                                1489,
                                1938,
                                1542,
                                1938,
                                1542,
                                1963,
                                1489,
                                1963
                            ],
                            "span": {
                                "length": 4,
                                "offset": 784
                            }
                        },
                        {
                            "confidence": 0.994,
                            "content": "STATE",
                            "polygon": [
                                1124,
                                1970,
                                1175,
                                1972,
                                1175,
                                1990,
                                1124,
                                1990
                            ],
                            "span": {
                                "length": 5,
                                "offset": 789
                            }
                        },
                        {
                            "confidence": 0.998,
                            "content": "TAX",
                            "polygon": [
                                1179,
                                1972,
                                1210,
                                1972,
                                1209,
                                1991,
                                1179,
                                1990
                            ],
                            "span": {
                                "length": 3,
                                "offset": 795
                            }
                        },
                        {
                            "confidence": 0.993,
                            "content": "72.57",
                            "polygon": [
                                1465,
                                1969,
                                1529,
                                1969,
                                1529,
                                1994,
                                1465,
                                1993
                            ],
                            "span": {
                                "length": 5,
                                "offset": 799
                            }
                        },
                        {
                            "confidence": 0.997,
                            "content": "TOTAL",
                            "polygon": [
                                1307,
                                2004,
                                1357,
                                2005,
                                1356,
                                2024,
                                1307,
                                2023
                            ],
                            "span": {
                                "length": 5,
                                "offset": 805
                            }
                        },
                        {
                            "confidence": 0.997,
                            "content": "AMOUNT",
                            "polygon": [
                                1360,
                                2005,
                                1428,
                                2006,
                                1427,
                                2024,
                                1360,
                                2024
                            ],
                            "span": {
                                "length": 6,
                                "offset": 811
                            }
                        },
                        {
                            "confidence": 0.997,
                            "content": "DUE",
                            "polygon": [
                                1432,
                                2006,
                                1464,
                                2006,
                                1463,
                                2024,
                                1431,
                                2024
                            ],
                            "span": {
                                "length": 3,
                                "offset": 818
                            }
                        },
                        {
                            "confidence": 0.995,
                            "content": "1009.02",
                            "polygon": [
                                1440,
                                2029,
                                1530,
                                2029,
                                1530,
                                2062,
                                1439,
                                2062
                            ],
                            "span": {
                                "length": 7,
                                "offset": 822
                            }
                        },
                        {
                            "confidence": 0.988,
                            "content": "Last",
                            "polygon": [
                                82,
                                1893,
                                135,
                                1895,
                                136,
                                1923,
                                83,
                                1923
                            ],
                            "span": {
                                "length": 4,
                                "offset": 830
                            }
                        },
                        {
                            "confidence": 0.991,
                            "content": "Page",
                            "polygon": [
                                143,
                                1895,
                                201,
                                1896,
                                201,
                                1924,
                                143,
                                1923
                            ],
                            "span": {
                                "length": 4,
                                "offset": 835
                            }
                        }
                    ]
                }
            ]
        ],
        "custom_data": "",
        "image_list": [
            "https://idp.intelgic.com/show-image/0iuasooxtvwv8zjuipsf1det4grsykli/01jag2cbh8ti69shjdj8zcsdskqsxwn3.jpg"
        ],
        "info": [
            {
                "documents": [
                    [
                        {
                            "has_data": false,
                            "key": "CustomerTaxId",
                            "type": "string"
                        },
                        {
                            "has_data": false,
                            "key": "ServiceAddress",
                            "type": "string"
                        },
                        {
                            "has_data": false,
                            "key": "TotalDiscount",
                            "type": "string"
                        },
                        {
                            "bounding_box": [
                                1270,
                                143,
                                1440,
                                143,
                                1440,
                                183,
                                1270,
                                183
                            ],
                            "has_data": true,
                            "key": "VendorName",
                            "type": "string",
                            "value": "INVOICE"
                        },
                        {
                            "has_data": false,
                            "key": "VendorTaxId",
                            "type": "string"
                        },
                        {
                            "has_data": false,
                            "key": "BillingAddress",
                            "type": "string"
                        },
                        {
                            "bounding_box": [
                                959,
                                469,
                                1200,
                                469,
                                1200,
                                498,
                                959,
                                498
                            ],
                            "has_data": true,
                            "key": "VinNo",
                            "type": "string",
                            "value": "452 WEST 1260 NORTH"
                        },
                        {
                            "has_data": false,
                            "key": "VendorAddress",
                            "type": "string"
                        },
                        {
                            "has_data": false,
                            "key": "ShippingAddress",
                            "type": "string"
                        },
                        {
                            "has_data": false,
                            "key": "PurchaseOrder",
                            "type": "string"
                        },
                        {
                            "bounding_box": [
                                1489,
                                1938,
                                1542,
                                1938,
                                1542,
                                1963,
                                1489,
                                1963
                            ],
                            "has_data": true,
                            "key": "PreviousUnpaidBalance",
                            "type": "string",
                            "value": "0.00"
                        },
                        {
                            "has_data": false,
                            "key": "Dispatch_Details",
                            "type": "string"
                        },
                        {
                            "bounding_box": [
                                207,
                                439,
                                365,
                                439,
                                365,
                                465,
                                207,
                                465
                            ],
                            "has_data": true,
                            "key": "ShippingAddressRecipient",
                            "type": "string",
                            "value": "test"
                        },
                        {
                            "bounding_box": [
                                681,
                                689,
                                784,
                                689,
                                784,
                                715,
                                681,
                                715
                            ],
                            "has_data": true,
                            "key": "ServiceEndDate",
                            "type": "date",
                            "value": "11/16/22"
                        },
                        {
                            "bounding_box": [
                                1335,
                                234,
                                1471,
                                234,
                                1471,
                                255,
                                1335,
                                255
                            ],
                            "has_data": true,
                            "key": "VendorAddressRecipient",
                            "type": "string",
                            "value": "PAYMENT TERMS"
                        },
                        {
                            "bounding_box": [
                                233,
                                382,
                                316,
                                382,
                                316,
                                415,
                                233,
                                415
                            ],
                            "has_data": true,
                            "key": "CustomerId",
                            "type": "string",
                            "value": "101828"
                        },
                        {
                            "has_data": false,
                            "key": "RemittanceAddress",
                            "type": "string"
                        },
                        {
                            "has_data": false,
                            "key": "InvoiceDate",
                            "type": "date"
                        },
                        {
                            "has_data": false,
                            "key": "BillingAddressRecipient",
                            "type": "string"
                        },
                        {
                            "bounding_box": [
                                101,
                                686,
                                244,
                                686,
                                244,
                                712,
                                101,
                                712
                            ],
                            "has_data": true,
                            "key": "ServiceStartDate",
                            "type": "date",
                            "value": "80053031-01"
                        },
                        {
                            "bounding_box": [
                                208,
                                184,
                                544,
                                184,
                                544,
                                269,
                                208,
                                269
                            ],
                            "has_data": true,
                            "key": "CustomerAddress",
                            "type": "string",
                            "value": "3455 West 1820 South (801)973-4211 FAX 801-972-0825 Salt Lake City UT, 84104"
                        },
                        {
                            "has_data": false,
                            "key": "AmountDue",
                            "type": "string"
                        },
                        {
                            "has_data": false,
                            "key": "ServiceOrderNo",
                            "type": "string"
                        },
                        {
                            "bounding_box": [
                                80,
                                382,
                                228,
                                382,
                                228,
                                417,
                                80,
                                417
                            ],
                            "has_data": true,
                            "key": "CustomerName",
                            "type": "string",
                            "value": "Cust. No. :"
                        },
                        {
                            "has_data": false,
                            "key": "BillToPhoneNo",
                            "type": "string"
                        },
                        {
                            "has_data": false,
                            "key": "CustomerContactNo",
                            "type": "string"
                        },
                        {
                            "bounding_box": [
                                1431,
                                695,
                                1533,
                                695,
                                1533,
                                720,
                                1431,
                                720
                            ],
                            "has_data": true,
                            "key": "DueDate",
                            "type": "date",
                            "value": "11/16/22"
                        },
                        {
                            "has_data": false,
                            "key": "Miles",
                            "type": "string"
                        },
                        {
                            "has_data": false,
                            "key": "Hours",
                            "type": "string"
                        },
                        {
                            "bounding_box": [
                                1246,
                                371,
                                1388,
                                371,
                                1388,
                                399,
                                1246,
                                399
                            ],
                            "has_data": true,
                            "key": "LicenseNo",
                            "type": "string",
                            "value": "80053031-01"
                        },
                        {
                            "has_data": false,
                            "key": "PaymentTerm",
                            "type": "string"
                        },
                        {
                            "has_data": false,
                            "key": "InvoiceId",
                            "type": "string"
                        },
                        {
                            "bounding_box": [
                                100,
                                112,
                                444,
                                112,
                                444,
                                181,
                                100,
                                181
                            ],
                            "has_data": true,
                            "key": "CustomerAddressRecipient",
                            "type": "string",
                            "value": "Ih R.S. HUGHES"
                        },
                        {
                            "has_data": false,
                            "key": "InvoiceTotal",
                            "type": "string"
                        },
                        {
                            "bounding_box": [
                                832,
                                594,
                                1318,
                                594,
                                1318,
                                627,
                                832,
                                627
                            ],
                            "has_data": true,
                            "key": "ServiceAddressRecipient",
                            "type": "string",
                            "value": "Email: [email protected]"
                        },
                        {
                            "has_data": false,
                            "key": "VendorContactno",
                            "type": "string"
                        },
                        {
                            "has_data": false,
                            "key": "RemittanceAddressRecipient",
                            "type": "string"
                        },
                        {
                            "has_data": false,
                            "key": "TotalTax",
                            "type": "string"
                        },
                        {
                            "has_data": false,
                            "key": "UnitNo",
                            "type": "string"
                        },
                        {
                            "bounding_box": [
                                1439,
                                2029,
                                1530,
                                2029,
                                1530,
                                2062,
                                1439,
                                2062
                            ],
                            "has_data": true,
                            "key": "SubTotal",
                            "type": "string",
                            "value": "1009.02"
                        }
                    ]
                ],
                "tables": [
                    {
                        "body": [
                            {
                                "bounding_box": [
                                    84,
                                    683,
                                    512,
                                    685,
                                    512,
                                    716,
                                    84,
                                    715
                                ],
                                "column_index": 0,
                                "row_index": 1,
                                "value": "80053031-01"
                            },
                            {
                                "bounding_box": [
                                    512,
                                    685,
                                    644,
                                    686,
                                    644,
                                    717,
                                    512,
                                    716
                                ],
                                "column_index": 1,
                                "row_index": 1,
                                "value": "2401"
                            },
                            {
                                "bounding_box": [
                                    644,
                                    686,
                                    826,
                                    687,
                                    826,
                                    719,
                                    644,
                                    717
                                ],
                                "column_index": 2,
                                "row_index": 1,
                                "value": "11/16/22"
                            },
                            {
                                "bounding_box": [
                                    826,
                                    687,
                                    957,
                                    688,
                                    957,
                                    720,
                                    826,
                                    719
                                ],
                                "column_index": 3,
                                "row_index": 1,
                                "value": "2499"
                            },
                            {
                                "bounding_box": [
                                    957,
                                    688,
                                    1393,
                                    691,
                                    1393,
                                    722,
                                    957,
                                    720
                                ],
                                "column_index": 4,
                                "row_index": 1,
                                "value": "94185"
                            },
                            {
                                "bounding_box": [
                                    1393,
                                    691,
                                    1574,
                                    693,
                                    1574,
                                    724,
                                    1393,
                                    722
                                ],
                                "column_index": 5,
                                "row_index": 1,
                                "value": "11/16/22"
                            }
                        ],
                        "col_count": 6,
                        "header": [
                            {
                                "bounding_box": [
                                    84,
                                    652,
                                    512,
                                    653,
                                    512,
                                    685,
                                    84,
                                    683
                                ],
                                "column_index": 0,
                                "row_index": 0,
                                "value": "INVOICE NUMBER"
                            },
                            {
                                "bounding_box": [
                                    512,
                                    653,
                                    644,
                                    654,
                                    644,
                                    686,
                                    512,
                                    685
                                ],
                                "column_index": 1,
                                "row_index": 0,
                                "value": "SLSMN"
                            },
                            {
                                "bounding_box": [
                                    644,
                                    654,
                                    826,
                                    655,
                                    826,
                                    687,
                                    644,
                                    686
                                ],
                                "column_index": 2,
                                "row_index": 0,
                                "value": "ORDER DATE"
                            },
                            {
                                "bounding_box": [
                                    826,
                                    655,
                                    957,
                                    655,
                                    957,
                                    688,
                                    826,
                                    687
                                ],
                                "column_index": 3,
                                "row_index": 0,
                                "value": "TAKER"
                            },
                            {
                                "bounding_box": [
                                    957,
                                    655,
                                    1393,
                                    659,
                                    1393,
                                    691,
                                    957,
                                    688
                                ],
                                "column_index": 4,
                                "row_index": 0,
                                "value": "CUSTOMER P.O. NUMBER"
                            },
                            {
                                "bounding_box": [
                                    1393,
                                    659,
                                    1574,
                                    660,
                                    1574,
                                    693,
                                    1393,
                                    691
                                ],
                                "column_index": 5,
                                "row_index": 0,
                                "value": "INVOICE DATE"
                            }
                        ],
                        "row_count": 2
                    },
                    {
                        "body": [
                            {
                                "bounding_box": [
                                    82,
                                    747,
                                    1446,
                                    755,
                                    1446,
                                    785,
                                    82,
                                    778
                                ],
                                "column_index": 0,
                                "row_index": 1,
                                "value": "PP&A Tracking Number : 1Z8630890368456236"
                            },
                            {
                                "bounding_box": [
                                    1446,
                                    755,
                                    1574,
                                    756,
                                    1574,
                                    787,
                                    1446,
                                    785
                                ],
                                "column_index": 4,
                                "row_index": 1,
                                "value": "1"
                            }
                        ],
                        "col_count": 5,
                        "header": [
                            {
                                "bounding_box": [
                                    82,
                                    715,
                                    1446,
                                    722,
                                    1446,
                                    755,
                                    82,
                                    747
                                ],
                                "column_index": 0,
                                "row_index": 0,
                                "value": "INSTRUCTIONS"
                            },
                            {
                                "bounding_box": [
                                    1446,
                                    722,
                                    1574,
                                    724,
                                    1574,
                                    756,
                                    1446,
                                    755
                                ],
                                "column_index": 4,
                                "row_index": 0,
                                "value": "PAGE NO."
                            }
                        ],
                        "row_count": 2
                    },
                    {
                        "body": [
                            {
                                "bounding_box": [
                                    81,
                                    868,
                                    171,
                                    868,
                                    169,
                                    991,
                                    79,
                                    991
                                ],
                                "column_index": 0,
                                "row_index": 2,
                                "value": "3"
                            },
                            {
                                "bounding_box": [
                                    171,
                                    868,
                                    270,
                                    869,
                                    268,
                                    991,
                                    169,
                                    991
                                ],
                                "column_index": 1,
                                "row_index": 2,
                                "value": "15"
                            },
                            {
                                "bounding_box": [
                                    270,
                                    869,
                                    402,
                                    871,
                                    399,
                                    992,
                                    268,
                                    991
                                ],
                                "column_index": 2,
                                "row_index": 2,
                                "value": "0"
                            },
                            {
                                "bounding_box": [
                                    402,
                                    871,
                                    506,
                                    871,
                                    504,
                                    992,
                                    399,
                                    992
                                ],
                                "column_index": 3,
                                "row_index": 2,
                                "value": "15"
                            },
                            {
                                "bounding_box": [
                                    506,
                                    871,
                                    1117,
                                    874,
                                    1117,
                                    993,
                                    504,
                                    992
                                ],
                                "column_index": 4,
                                "row_index": 2,
                                "value": "TX750E COMPRESSED CLEANFOAM ESD SWAB Customer Prod: SUP00167 ** DIRECT ORDER **"
                            },
                            {
                                "bounding_box": [
                                    1117,
                                    874,
                                    1210,
                                    874,
                                    1208,
                                    995,
                                    1117,
                                    993
                                ],
                                "column_index": 5,
                                "row_index": 2,
                                "value": "BG"
                            },
                            {
                                "bounding_box": [
                                    1210,
                                    874,
                                    1391,
                                    876,
                                    1394,
                                    996,
                                    1208,
                                    995
                                ],
                                "column_index": 6,
                                "row_index": 2,
                                "value": "62.43"
                            },
                            {
                                "bounding_box": [
                                    1391,
                                    876,
                                    1572,
                                    878,
                                    1571,
                                    996,
                                    1394,
                                    996
                                ],
                                "column_index": 7,
                                "row_index": 2,
                                "value": "936.45"
                            }
                        ],
                        "col_count": 8,
                        "header": [
                            {
                                "bounding_box": [
                                    82,
                                    821,
                                    171,
                                    821,
                                    171,
                                    868,
                                    81,
                                    868
                                ],
                                "column_index": 0,
                                "row_index": 0,
                                "value": "LINE NO."
                            },
                            {
                                "bounding_box": [
                                    171,
                                    821,
                                    507,
                                    822,
                                    506,
                                    850,
                                    171,
                                    848
                                ],
                                "column_index": 1,
                                "row_index": 0,
                                "value": "QUANTITY"
                            },
                            {
                                "bounding_box": [
                                    507,
                                    822,
                                    1115,
                                    827,
                                    1117,
                                    874,
                                    506,
                                    871
                                ],
                                "column_index": 4,
                                "row_index": 0,
                                "value": "ITEM CODE AND DESCRIPTION"
                            },
                            {
                                "bounding_box": [
                                    1115,
                                    827,
                                    1211,
                                    827,
                                    1210,
                                    874,
                                    1117,
                                    874
                                ],
                                "column_index": 5,
                                "row_index": 0,
                                "value": "U/M"
                            },
                            {
                                "bounding_box": [
                                    1211,
                                    827,
                                    1389,
                                    829,
                                    1391,
                                    876,
                                    1210,
                                    874
                                ],
                                "column_index": 6,
                                "row_index": 0,
                                "value": "UNIT PRICE"
                            },
                            {
                                "bounding_box": [
                                    1389,
                                    829,
                                    1574,
                                    829,
                                    1572,
                                    878,
                                    1391,
                                    876
                                ],
                                "column_index": 7,
                                "row_index": 0,
                                "value": "AMOUNT"
                            },
                            {
                                "bounding_box": [
                                    171,
                                    848,
                                    270,
                                    848,
                                    270,
                                    869,
                                    171,
                                    868
                                ],
                                "column_index": 1,
                                "row_index": 1,
                                "value": "ORDERED"
                            },
                            {
                                "bounding_box": [
                                    270,
                                    848,
                                    402,
                                    850,
                                    402,
                                    871,
                                    270,
                                    869
                                ],
                                "column_index": 2,
                                "row_index": 1,
                                "value": "B.O./RET."
                            },
                            {
                                "bounding_box": [
                                    402,
                                    850,
                                    506,
                                    850,
                                    506,
                                    871,
                                    402,
                                    871
                                ],
                                "column_index": 3,
                                "row_index": 1,
                                "value": "SHIPPED"
                            }
                        ],
                        "row_count": 3
                    },
                    {
                        "body": [
                            {
                                "bounding_box": [
                                    1111,
                                    1900,
                                    1350,
                                    1902,
                                    1350,
                                    1935,
                                    1110,
                                    1933
                                ],
                                "column_index": 0,
                                "row_index": 0,
                                "value": "SUB TOTAL"
                            },
                            {
                                "bounding_box": [
                                    1350,
                                    1902,
                                    1568,
                                    1903,
                                    1568,
                                    1935,
                                    1350,
                                    1935
                                ],
                                "column_index": 1,
                                "row_index": 0,
                                "value": "936.45"
                            },
                            {
                                "bounding_box": [
                                    1110,
                                    1933,
                                    1350,
                                    1935,
                                    1351,
                                    1968,
                                    1110,
                                    1968
                                ],
                                "column_index": 0,
                                "row_index": 1,
                                "value": "FREIGHT TOTAL"
                            },
                            {
                                "bounding_box": [
                                    1350,
                                    1935,
                                    1568,
                                    1935,
                                    1568,
                                    1969,
                                    1351,
                                    1968
                                ],
                                "column_index": 1,
                                "row_index": 1,
                                "value": "0.00"
                            },
                            {
                                "bounding_box": [
                                    1110,
                                    1968,
                                    1351,
                                    1968,
                                    1351,
                                    1998,
                                    1110,
                                    1994
                                ],
                                "column_index": 0,
                                "row_index": 2,
                                "value": "STATE TAX"
                            },
                            {
                                "bounding_box": [
                                    1351,
                                    1968,
                                    1568,
                                    1969,
                                    1568,
                                    1999,
                                    1351,
                                    1998
                                ],
                                "column_index": 1,
                                "row_index": 2,
                                "value": "72.57"
                            }
                        ],
                        "col_count": 2,
                        "header": [],
                        "row_count": 3
                    }
                ]
            }
        ],
        "invoice_id": "inv_0iuasooxtvwv8zjuipsf1det4grsykli",
        "original_file_name": "hughes.jpg",
        "source": "api",
        "upload_date": "May 29 2023, 08:02"
    },
    "status": true
}

Get Receipts

The Get Receipts API is an endpoint that enables users to retrieve information about all receipts by providing some parameter.

Authorization


x-api-key *
string

An API key is required in the request header for authorization.

Parameters


receipt_type Optional
string

This parameter will be used to filter the receipts. Value will be, all, flagged, approved or paid. Default value is all.

limit Optional
string

This parameter will be used to limit the number of receipts. Value will be a number between 1 to 100. Default value is 10.

offset Optional
string

This parameter will be used to skip the number of receipts. Value will be a number. Default value is 0.

POST /receipts

curl --location --request POST 'https://idp.intelgic.com/api/v1/receipts'
  --header 'x-api-key: YOUR_API_KEY'

RESPONSE

{
  "details": [
    {
      "created": "May 02 2023, 06:41",
      "file_name": "test.pdf",
      "image_url": "https://idp.intelgic.com/show-image/wrmnv49tgwfpqdimznngjlwqxeesgguh/cijauea7h2hcbju.jpg",
      "receipt_id": "rec_wrmnv49tgwfpqdimznngjlwqxeesgguh",
      "receipt_status": "New",
      "source": "Api"
    }
  ],
  "status": true
}
                                        

Delete Receipt

The delete Receipts API is an endpoint that enables users to delete receipt by providing some parameter.

Authorization


x-api-key *
string

An API key is required in the request header for authorization.

Parameters


receipt_id *
string

The receipt ID is required in the request body.

POST /receipt-delete

curl --location --request POST 'https://idp.intelgic.com/api/v1/receipt-delete'
  --header 'x-api-key: YOUR_API_KEY'
  --form 'receipt_id="YOUR_RECEIPT_ID"'

RESPONSE

{
  "message": "Receipt deleted successfully",
  "status": true
}
                                        

Receipt Webhook

Document processing Webhook makes it simple to receive data automatically from
AI models after the data extraction
  • status: This is a boolean value that indicates the webhook has successfully returned the data. It returns `true` for a successful call.
  • type: This is string data type that indicates what document the AI model has processed. In case you are processing other document, or you have a customized AI model, please ask Intelgic team about your document type.
  • alert_type: It returns a string (data type) and tells us about the document's status. It returns the following values:
    "processed": The document is processed by AI and documents are shown on All documents tab.
    "approved" : The document is manually verified, validated and approved by a human on the document AI platform.
  • file_name: This returns the original name of the document.
  • file_path: It returns a URL string where you can get the original file that has been given to the AI model.
  • pages: Internally the platform breaks sourced/uploaded document into pages. This key returns an array of url paths of those images. If you process a document with 10 pages, every receipt will be separated and returned separate data.
  • source: his key will return a string that indicates the source of the document. It will return the following values:
    "manually" : If a user uploads the document manually on the platform, it returns "manually"
    "API" : If you source your documents through API, it will return API
    Note: If you have another method of sourcing document and need a different value to be returned, please contact Intelgic support.
  • upload_date: This will return the date and time of sourcing the document.
  • custom_data: This is an array of objects that can be used to track documents. You can send multiple values through API while sourcing documents and get those values in return through webhook. For example, you can pass a unique id with each document and get that id in webhook when the document is processed. In this way you can track the document.
    note: if you need some customized data points in webhook, you can do this through this key. Please contact our team if you need any help.
documents:
You will receive the captured data in a key-value pair. This is an array of objects. Each object will have the following:
  • key: This is a string that indicates the key.
  • type: This is the data type
  • has_data: It returns `true` if there is a value in this key and returns `false` if there is no value for this key.
  • value: The actual value of the key.
tables:
You will get all the tabular data in one array of objects. If there are multiple tables within the document, the `table` key will have multiple objects of table. Under each table there will be the following data points:
  • row_count: Number of rows in a table.
  • col_count: Number of columns in the table.
  • header: This is an array of objects where each object is one header.
  • body: This is an array of objects and each object represent the table data.
  • row_index: This is the row index in a table.
  • column_index: This is column index in a table
  • value: The value in a table index

Webhook

{
  'status': true,
  'type': 'receipt',
  'alert_type': 'processed/approved/flagged/paid',
  'file_name': 'test.jpg',
  'file_path': 'https://idp.intelgic.com/show-image/APEfvWDTHA8gJnHKtFXGXIsu2hL5SRnP/gbjjszmcnmyae7gj3li8iyys3trcvjet.jpg',
  'pages': [
    'https://idp.intelgic.com/show-image/APEfvWDTHA8gJnHKtFXGXIsu2hL5SRnP/gbjjszmcnmyae7gj3li8iyys3trcvjet.jpg'
  ],
  'source': 'API',
  'upload_date': 'Jun 01 2021, 05:38',
  'id': 'rec_APEfvWDTHA8gJnHKtFXGXIsu2hL5SRnP',
  'custom_data': '',
  'data': {
    'parsed_data': [
      {
        'documents': [
          [
            {
              'key': 'VendorTaxId',
              'type': 'string',
              'has_data': False
            },
            {
              'key': 'ShippingAddress',
              'type': 'string',
              'has_data': true,
              'value': '7012166'
            },
            {
              'key': 'CustomerName',
              'type': 'string',
              'has_data': true,
              'value': 'USA'
            },
            {
              'key': 'Miles',
              'type': 'string',
              'has_data': False
            },
            {
              'key': 'VinNo',
              'type': 'string',
              'has_data': true,
              'value': '7018298'
            },
            {
              'key': 'CustomerTaxId',
              'type': 'string',
              'has_data': False
            },
            {
              'key': 'RemittanceAddressRecipient',
              'type': 'string',
              'has_data': true,
              'value': 'OREM UT\nUSA'
            },
            {
              'key': 'VendorAddressRecipient',
              'type': 'string',
              'has_data': true,
              'value': 'Test'
            },
            {
              'key': 'ServiceOrderNo',
              'type': 'string',
              'has_data': true,
              'value': 'SUP00075'
            },
            {
              'key': 'CustomerId',
              'type': 'string',
              'has_data': true,
              'value': '9140921791'
            },
            {
              'key': 'BillingAddress',
              'type': 'string',
              'has_data': true,
              'value': 'BARREL 0 3CC CL 50'
            },
            {
              'key': 'ShippingAddressRecipient',
              'type': 'string',
              'has_data': true,
              'value': 'Harmonized Code (HTS) :'
            },
            {
              'key': 'InvoiceDate',
              'type': 'date',
              'has_data': true,
              'value': '11/07/2022'
            },
            {
              'key': 'TotalDiscount',
              'type': 'string',
              'has_data': False
            },
            {
              'key': 'TotalTax',
              'type': 'string',
              'has_data': False
            },
            {
              'key': 'InvoiceTotal',
              'type': 'string',
              'has_data': False
            },
            {
              'key': 'ServiceEndDate',
              'type': 'date',
              'has_data': true,
              'value': 'PC'
            },
            {
              'key': 'ServiceStartDate',
              'type': 'date',
              'has_data': true,
              'value': 'Box'
            },
            {
              'key': 'PurchaseOrder',
              'type': 'string',
              'has_data': true,
              'value': '8479909596'
            },
            {
              'key': 'LicenseNo',
              'type': 'string',
              'has_data': true,
              'value': '8479909596'
            },
            {
              'key': 'DueDate',
              'type': 'date',
              'has_data': true,
              'value': '39.02'
            },
            {
              'key': 'AmountDue',
              'type': 'string',
              'has_data': False
            },
            {
              'key': 'ServiceAddressRecipient',
              'type': 'string',
              'has_data': true,
              'value': 'Customer Material No. : Harmonized Code (HTS) :'
            },
            {
              'key': 'VendorAddress',
              'type': 'string',
              'has_data': true,
              'value': '452 W 1260 N'
            },
            {
              'key': 'InvoiceId',
              'type': 'string',
              'has_data': true,
              'value': '1092435'
            },
            {
              'key': 'UnitNo',
              'type': 'string',
              'has_data': true,
              'value': '93847'
            },
            {
              'key': 'CustomerAddressRecipient',
              'type': 'string',
              'has_data': true,
              'value': 'Number:'
            },
            {
              'key': 'ServiceAddress',
              'type': 'string',
              'has_data': False
            },
            {
              'key': 'Hours',
              'type': 'string',
              'has_data': False
            },
            {
              'key': 'PaymentTerm',
              'type': 'string',
              'has_data': False
            },
            {
              'key': 'PreviousUnpaidBalance',
              'type': 'string',
              'has_data': true,
              'value': '043000096'
            },
            {
              'key': 'RemittanceAddress',
              'type': 'string',
              'has_data': true,
              'value': '1,262.25'
            },
            {
              'key': 'VendorName',
              'type': 'string',
              'has_data': true,
              'value': '[email protected]'
            },
            {
              'key': 'CustomerContactNo',
              'type': 'string',
              'has_data': False
            },
            {
              'key': 'SubTotal',
              'type': 'string',
              'has_data': true,
              'value': '1,262.25'
            },
            {
              'key': 'BillingAddressRecipient',
              'type': 'string',
              'has_data': False
            },
            {
              'key': 'BillToPhoneNo',
              'type': 'string',
              'has_data': False
            },
            {
              'key': 'CustomerAddress',
              'type': 'string',
              'has_data': true,
              'value': '452 W 1260 N\nOREM UT 84057-2941'
            },
            {
              'key': 'Dispatch_Details',
              'type': 'string',
              'has_data': False
            },
            {
              'key': 'VendorContactno',
              'type': 'string',
              'has_data': False
            }
          ]
        ],
        'tables': [
          {
            'row_count': 2,
            'col_count': 7,
            'header': [
              {
                'row_index': 0,
                'column_index': 0,
                'value': 'Purchase Order Number 93847'
              },
              {
                'row_index': 0,
                'column_index': 2,
                'value': 'Purchase Order Date'
              },
              {
                'row_index': 0,
                'column_index': 3,
                'value': 'Tax ID Number D 92934'
              },
              {
                'row_index': 0,
                'column_index': 4,
                'value': 'Vendor No.'
              },
              {
                'row_index': 0,
                'column_index': 6,
                'value': 'Sales Org. 8000'
              }
            ],
            'body': [
              {
                'row_index': 1,
                'column_index': 0,
                'value': 'Payer no. 1092435'
              },
              {
                'row_index': 1,
                'column_index': 1,
                'value': 'test Order No. 115585426'
              },
              {
                'row_index': 1,
                'column_index': 2,
                'value': 'Terms of delivery'
              },
              {
                'row_index': 1,
                'column_index': 5,
                'value': 'Delivery No. / Delivery Date\n814399327 / 11/07/2022'
              }
            ]
          },
          {
            'row_count': 6,
            'col_count': 6,
            'header': [
              {
                'row_index': 0,
                'column_index': 0,
                'value': 'Item'
              },
              {
                'row_index': 0,
                'column_index': 1,
                'value': 'Material Quantity'
              },
              {
                'row_index': 0,
                'column_index': 3,
                'value': 'Price / USD'
              },
              {
                'row_index': 0,
                'column_index': 4,
                'value': 'Price unit'
              },
              {
                'row_index': 0,
                'column_index': 5,
                'value': 'Value / USD'
              }
            ],
            'body': [
              {
                'row_index': 1,
                'column_index': 0,
                'value': '10'
              },
              {
                'row_index': 1,
                'column_index': 1,
                'value': '7012072 15.00 PC BARREL 0 3CC CL 50 Harmonized Code (HTS) : Country of origin: ECCN :'
              },
              {
                'row_index': 1,
                'column_index': 3,
                'value': '30.13 8479909596 US EAR99'
              },
              {
                'row_index': 1,
                'column_index': 4,
                'value': '1 PC'
              },
              {
                'row_index': 1,
                'column_index': 5,
                'value': '451.95'
              },
              {
                'row_index': 3,
                'column_index': 0,
                'value': '20'
              },
              {
                'row_index': 3,
                'column_index': 1,
                'value': '7012166 15.00 PC PISTON O 3CC WH WIPER 50 Customer Material No. : Harmonized Code (HTS) : Country of origin: ECCN :'
              },
              {
                'row_index': 3,
                'column_index': 3,
                'value': '15.00 SUP00075 8479909596 US EAR99'
              },
              {
                'row_index': 3,
                'column_index': 4,
                'value': '1 PC'
              },
              {
                'row_index': 3,
                'column_index': 5,
                'value': '225.00'
              },
              {
                'row_index': 4,
                'column_index': 0,
                'value': '30'
              },
              {
                'row_index': 4,
                'column_index': 1,
                'value': '7018298 15.00 PC TIP 22GA TT .016" BLUE 50 PC'
              },
              {
                'row_index': 4,
                'column_index': 3,
                'value': '39.02'
              },
              {
                'row_index': 4,
                'column_index': 4,
                'value': '1 PC'
              },
              {
                'row_index': 4,
                'column_index': 5,
                'value': '585.30'
              },
              {
                'row_index': 5,
                'column_index': 0,
                'value': ''
              },
              {
                'row_index': 5,
                'column_index': 1,
                'value': 'Customer Material No. : Harmonized Code (HTS) : Country of origin: ECCN :'
              },
              {
                'row_index': 5,
                'column_index': 3,
                'value': 'SUP00076 8479909596 US EAR99'
              },
              {
                'row_index': 5,
                'column_index': 4,
                'value': ''
              },
              {
                'row_index': 5,
                'column_index': 5,
                'value': ''
              }
            ]
          }
        ]
      }
    ]
  }
}

©2023 Intelgic Inc. All Rights Reserved.