document-understanding
2024.10
true
- Démarrage
- Exemples d’utilisation de l’API Document Understanding™
- Exécution d’appels API
- Créer un nouveau projet et une application externe
- Utiliser les API de découverte
- utiliser les API de numérisation
- Licences
- Résolution des problèmes
utiliser les API de numérisation
Guide de l’API Document Understanding
Dernière mise à jour 11 nov. 2024
utiliser les API de numérisation
Publiez une demande de numérisation en ajoutant
projectId
et en téléchargeant un fichier d’entrée (cet exemple utilise une facture). Dans la réponse, vous recevrez un documentID
qui sera ensuite utilisé pour l'extraction/classification.
Remarque : les données des documents sont conservées pendant sept jours seulement après l’envoi d’une demande de numérisation. Par la suite, les données associées à l’ID
documentID
sont supprimées et ne peuvent pas être utilisées dans le cadre d’autres opérations. Une nouvelle demande de numérisation est nécessaire pour utiliser à nouveau les données.
Pour les documents numérisés, les appels d'API Document Understanding utilisent la classe Document.
Astuce : l’ID de projet est obtenu à partir de la réponse reçue lors de l’appel Obtenir les informations du projet (Get project information).
curl -X 'POST' \
'https://{fqdn}/<Organization_Name>/<Tenant_Name>/du_/api/framework/projects/<Project_ID>/digitization/start?api-version=1' \
-H 'accept: text/plain' \
-H 'Authorization: Bearer eyJhbGci**ey**hdWQiOi**QPQ' \
-H 'Content-Type: multipart/form-data' \
-F 'file=@Company X_1.pdf;type=application/pdf'
curl -X 'POST' \
'https://{fqdn}/<Organization_Name>/<Tenant_Name>/du_/api/framework/projects/<Project_ID>/digitization/start?api-version=1' \
-H 'accept: text/plain' \
-H 'Authorization: Bearer eyJhbGci**ey**hdWQiOi**QPQ' \
-H 'Content-Type: multipart/form-data' \
-F 'file=@Company X_1.pdf;type=application/pdf'
{
"documentId": "25a03e48-cfe8-ed11-9f75-000d3a4964af"
}
{
"documentId": "25a03e48-cfe8-ed11-9f75-000d3a4964af"
}
curl -X 'GET' \
'https://{fqdn}/<Organization_Name>/<Tenant_Name>/du_/api/framework/projects/<Project_ID>/digitization/result/25a03e48-cfe8-ed11-9f75-000d3a4964af?api-version=1' \
-H 'accept: text/plain' \
-H 'Authorization: Bearer eyJhbGci**ey**hdWQiOi**QPQ'
curl -X 'GET' \
'https://{fqdn}/<Organization_Name>/<Tenant_Name>/du_/api/framework/projects/<Project_ID>/digitization/result/25a03e48-cfe8-ed11-9f75-000d3a4964af?api-version=1' \
-H 'accept: text/plain' \
-H 'Authorization: Bearer eyJhbGci**ey**hdWQiOi**QPQ'
{
"status": "Succeeded",
"result": {
"documentObjectModel": {
"documentId": "25a03e48-cfe8-ed11-9f75-000d3a4964af",
"contentType": "application/pdf",
"length": 494,
"pages": [
{
"pageIndex": 0,
"size": [
0,
0,
596,
842
],
"sections": [
{
"indexInText": 0,
"language": "ita",
"length": 7,
"rotation": "None",
"skewAngle": -0.2,
"type": "Paragraph",
"wordGroups": [
{
"indexInText": 0,
"length": 7,
"type": "Heading",
"words": [
{
"box": [
141.89,
159.23,
78.15,
20
],
"polygon": [
159.23,
141.89,
237.37,
141.89,
237.37,
161.89,
159.23,
161.89
],
"indexInText": 0,
"ocrConfidence": 1,
"text": "Invoice",
"visualLineNumber": 1,
"textType": "Text"
}
]
}
]
},
{
"indexInText": 9,
"language": "eng",
"length": 41,
"rotation": "None",
"skewAngle": -0.2,
"type": "Paragraph",
"wordGroups": [
{
"indexInText": 9,
"length": 41,
"type": "Other",
"words": [
{
"box": [
188.3,
94.15,
36.27,
7.73
],
"polygon": [
94.15,
188.3,
130.42,
188.3,
130.42,
196.03,
94.15,
196.03
],
"indexInText": 9,
"ocrConfidence": 1,
"text": "INVOICE",
"visualLineNumber": 3,
"textType": "Text"
},
{
"box": [
188.3,
132.02,
42.41,
8
],
"polygon": [
132.02,
188.3,
174.43,
188.3,
174.43,
196.3,
132.02,
196.3
],
"indexInText": 17,
"ocrConfidence": 1,
"text": "NUMBER:",
"visualLineNumber": 3,
"textType": "Text"
},
{
"box": [
201.37,
93.61,
44.27,
8.27
],
"polygon": [
93.61,
201.37,
137.89,
201.37,
137.89,
209.63,
93.61,
209.63
],
"indexInText": 25,
"ocrConfidence": 1,
"text": "VEG00008",
"visualLineNumber": 4,
"textType": "Text"
},
{
"box": [
215.23,
94.15,
25.6,
8.27
],
"polygon": [
94.15,
215.23,
119.75,
215.23,
119.75,
223.5,
94.15,
223.5
],
"indexInText": 34,
"ocrConfidence": 1,
"text": "DATE:",
"visualLineNumber": 5,
"textType": "Text"
},
{
"box": [
227.77,
93.61,
50.67,
10.94
],
"polygon": [
93.61,
227.77,
144.29,
227.77,
144.29,
238.7,
93.61,
238.7
],
"indexInText": 40,
"ocrConfidence": 1,
"text": "01/06/2021",
"visualLineNumber": 6,
"textType": "Text"
}
]
}
]
},
{
"indexInText": 52,
"language": "nld",
"length": 48,
"rotation": "None",
"skewAngle": -0.2,
"type": "Paragraph",
"wordGroups": [
{
"indexInText": 52,
"length": 48,
"type": "Other",
"words": [
{
"box": [
134.15,
382.99,
22.14,
8.27
],
"polygon": [
382.99,
134.15,
405.13,
134.15,
405.13,
142.42,
382.99,
142.42
],
"indexInText": 52,
"ocrConfidence": 1,
"text": "4738",
"visualLineNumber": 0,
"textType": "Text"
},
{
"box": [
134.15,
407,
19.2,
8.27
],
"polygon": [
407,
134.15,
426.2,
134.15,
426.2,
142.42,
407,
142.42
],
"indexInText": 57,
"ocrConfidence": 1,
"text": "Rafe",
"visualLineNumber": 0,
"textType": "Text"
},
{
"box": [
134.42,
428.33,
20,
8
],
"polygon": [
428.33,
134.42,
448.34,
134.42,
448.34,
142.42,
428.33,
142.42
],
"indexInText": 62,
"ocrConfidence": 1,
"text": "Lane",
"visualLineNumber": 0,
"textType": "Text"
},
{
"box": [
147.76,
383.53,
52.54,
10.4
],
"polygon": [
383.53,
147.76,
436.07,
147.76,
436.07,
158.16,
383.53,
158.16
],
"indexInText": 67,
"ocrConfidence": 1,
"text": "Greenwood,",
"visualLineNumber": 1,
"textType": "Text"
},
{
"box": [
148.29,
438.2,
16.27,
9.87
],
"polygon": [
438.2,
148.29,
454.47,
148.29,
454.47,
158.16,
438.2,
158.16
],
"indexInText": 78,
"ocrConfidence": 1,
"text": "MS,",
"visualLineNumber": 1,
"textType": "Text"
},
{
"box": [
148.02,
456.61,
26.94,
8.8
],
"polygon": [
456.61,
148.02,
483.54,
148.02,
483.54,
156.82,
456.61,
156.82
],
"indexInText": 82,
"ocrConfidence": 1,
"text": "38930",
"visualLineNumber": 1,
"textType": "Text"
},
{
"box": [
161.89,
383.26,
59.48,
8.53
],
"polygon": [
383.26,
161.89,
442.74,
161.89,
442.74,
170.43,
383.26,
170.43
],
"indexInText": 88,
"ocrConfidence": 1,
"text": "662-689-7469",
"visualLineNumber": 2,
"textType": "Text"
}
]
}
]
},
{
"indexInText": 102,
"language": "eng",
"length": 106,
"rotation": "None",
"skewAngle": -0.2,
"type": "Paragraph",
"wordGroups": [
{
"indexInText": 102,
"length": 65,
"type": "Sentence",
"words": [
{
"box": [
188.56,
383.53,
18.14,
8
],
"polygon": [
383.53,
188.56,
401.66,
188.56,
401.66,
196.56,
383.53,
196.56
],
"indexInText": 102,
"ocrConfidence": 1,
"text": "BILL",
"visualLineNumber": 3,
"textType": "Text"
},
{
"box": [
188.56,
402.73,
15.47,
8
],
"polygon": [
402.73,
188.56,
418.2,
188.56,
418.2,
196.56,
402.73,
196.56
],
"indexInText": 107,
"ocrConfidence": 1,
"text": "TO:",
"visualLineNumber": 3,
"textType": "Text"
},
{
"box": [
201.63,
382.99,
29.6,
10.13
],
"polygon": [
382.99,
201.63,
412.6,
201.63,
412.6,
211.77,
382.99,
211.77
],
"indexInText": 111,
"ocrConfidence": 1,
"text": "Jakoby",
"visualLineNumber": 4,
"textType": "Text"
},
{
"box": [
201.63,
414.47,
40.81,
8.53
],
"polygon": [
414.47,
201.63,
455.27,
201.63,
455.27,
210.17,
414.47,
210.17
],
"indexInText": 118,
"ocrConfidence": 1,
"text": "Netzband",
"visualLineNumber": 4,
"textType": "Text"
},
{
"box": [
215.23,
383.26,
63.74,
10.4
],
"polygon": [
383.26,
215.23,
447,
215.23,
447,
225.64,
383.26,
225.64
],
"indexInText": 127,
"ocrConfidence": 1,
"text": "Lynch-Franecki",
"visualLineNumber": 5,
"textType": "Text"
},
{
"box": [
229.64,
383.53,
21.6,
8.27
],
"polygon": [
383.53,
229.64,
405.13,
229.64,
405.13,
237.9,
383.53,
237.9
],
"indexInText": 142,
"ocrConfidence": 1,
"text": "1394",
"visualLineNumber": 6,
"textType": "Text"
},
{
"box": [
228.84,
406.73,
37.07,
9.07
],
"polygon": [
406.73,
228.84,
443.8,
228.84,
443.8,
237.9,
406.73,
237.9
],
"indexInText": 147,
"ocrConfidence": 1,
"text": "Schuster",
"visualLineNumber": 6,
"textType": "Text"
},
{
"box": [
229.1,
445.4,
27.47,
10.4
],
"polygon": [
445.4,
229.1,
472.87,
229.1,
472.87,
239.5,
445.4,
239.5
],
"indexInText": 156,
"ocrConfidence": 1,
"text": "Bridge",
"visualLineNumber": 6,
"textType": "Text"
},
{
"box": [
229.37,
474.21,
18.14,
10.4
],
"polygon": [
474.21,
229.37,
492.34,
229.37,
492.34,
239.77,
474.21,
239.77
],
"indexInText": 163,
"ocrConfidence": 1,
"text": "Apt.",
"visualLineNumber": 6,
"textType": "Text"
}
]
},
{
"indexInText": 168,
"length": 40,
"type": "Other",
"words": [
{
"box": [
242.97,
383.26,
22.67,
8.53
],
"polygon": [
383.26,
242.97,
405.93,
242.97,
405.93,
251.51,
383.26,
251.51
],
"indexInText": 168,
"ocrConfidence": 1,
"text": "West",
"visualLineNumber": 7,
"textType": "Text"
},
{
"box": [
243.24,
407.8,
37.07,
9.87
],
"polygon": [
407.8,
243.24,
444.87,
243.24,
444.87,
253.11,
407.8,
253.11
],
"indexInText": 173,
"ocrConfidence": 1,
"text": "Margret,",
"visualLineNumber": 7,
"textType": "Text"
},
{
"box": [
242.71,
447.54,
30.4,
8.8
],
"polygon": [
447.54,
242.71,
477.94,
242.71,
477.94,
251.51,
447.54,
251.51
],
"indexInText": 182,
"ocrConfidence": 1,
"text": "District",
"visualLineNumber": 7,
"textType": "Text"
},
{
"box": [
242.71,
479.54,
9.6,
8.8
],
"polygon": [
479.54,
242.71,
489.14,
242.71,
489.14,
251.51,
479.54,
251.51
],
"indexInText": 191,
"ocrConfidence": 1,
"text": "of",
"visualLineNumber": 7,
"textType": "Text"
},
{
"box": [
256.57,
383.26,
22.67,
10.94
],
"polygon": [
383.26,
256.57,
405.93,
256.57,
405.93,
267.51,
383.26,
267.51
],
"indexInText": 194,
"ocrConfidence": 0.98999995,
"text": "(435)",
"visualLineNumber": 8,
"textType": "Text"
},
{
"box": [
256.84,
407.8,
41.07,
9.07
],
"polygon": [
407.8,
256.84,
448.87,
256.84,
448.87,
265.91,
407.8,
265.91
],
"indexInText": 200,
"ocrConfidence": 1,
"text": "577-5256",
"visualLineNumber": 8,
"textType": "Text"
}
]
}
]
},
{
"indexInText": 210,
"language": "nld",
"length": 7,
"rotation": "None",
"skewAngle": -0.2,
"type": "Paragraph",
"wordGroups": [
{
"indexInText": 210,
"length": 7,
"type": "Other",
"words": [
{
"box": [
303.78,
270.18,
112.28,
26.4
],
"polygon": [
270.18,
303.78,
382.46,
303.78,
382.46,
330.19,
270.18,
330.19
],
"indexInText": 210,
"ocrConfidence": 1,
"text": "vegspot",
"visualLineNumber": 9,
"textType": "Text"
}
]
}
]
},
{
"indexInText": 219,
"language": "und",
"length": 3,
"rotation": "None",
"skewAngle": -0.2,
"type": "Paragraph",
"wordGroups": [
{
"indexInText": 219,
"length": 3,
"type": "Other",
"words": [
{
"box": [
352.59,
96.02,
14.94,
8.27
],
"polygon": [
96.02,
352.59,
110.95,
352.59,
110.95,
360.86,
96.02,
360.86
],
"indexInText": 219,
"ocrConfidence": 1,
"text": "No.",
"visualLineNumber": 10,
"textType": "Text"
}
]
}
]
},
{
"indexInText": 224,
"language": "fra",
"length": 11,
"rotation": "None",
"skewAngle": -0.2,
"type": "Paragraph",
"wordGroups": [
{
"indexInText": 224,
"length": 11,
"type": "Other",
"words": [
{
"box": [
352.32,
202.43,
49.61,
10.4
],
"polygon": [
202.43,
352.32,
252.04,
352.32,
252.04,
362.72,
202.43,
362.72
],
"indexInText": 224,
"ocrConfidence": 1,
"text": "Description",
"visualLineNumber": 10,
"textType": "Text"
}
]
}
]
},
{
"indexInText": 237,
"language": "eng",
"length": 22,
"rotation": "None",
"skewAngle": -0.2,
"type": "Paragraph",
"wordGroups": [
{
"indexInText": 237,
"length": 22,
"type": "Other",
"words": [
{
"box": [
352.86,
351.52,
18.67,
9.87
],
"polygon": [
351.52,
352.86,
370.19,
352.86,
370.19,
362.72,
351.52,
362.72
],
"indexInText": 237,
"ocrConfidence": 1,
"text": "Qty.",
"visualLineNumber": 10,
"textType": "Text"
},
{
"box": [
352.59,
390.73,
19.2,
8.53
],
"polygon": [
390.73,
352.59,
409.93,
352.59,
409.93,
361.12,
390.73,
361.12
],
"indexInText": 242,
"ocrConfidence": 1,
"text": "Unit",
"visualLineNumber": 10,
"textType": "Text"
},
{
"box": [
352.59,
411.8,
21.87,
8.53
],
"polygon": [
411.8,
352.59,
433.67,
352.59,
433.67,
361.12,
411.8,
361.12
],
"indexInText": 247,
"ocrConfidence": 1,
"text": "Price",
"visualLineNumber": 10,
"textType": "Text"
},
{
"box": [
352.86,
454.74,
35.74,
8.27
],
"polygon": [
454.74,
352.86,
490.48,
352.86,
490.48,
361.12,
454.74,
361.12
],
"indexInText": 253,
"ocrConfidence": 1,
"text": "Amount",
"visualLineNumber": 10,
"textType": "Text"
}
]
}
]
},
{
"indexInText": 261,
"language": "eng",
"length": 163,
"rotation": "None",
"skewAngle": -0.2,
"type": "Table",
"wordGroups": [
{
"indexInText": 261,
"length": 16,
"type": "TableCell",
"words": [
{
"box": [
366.19,
101.08,
5.07,
8.27
],
"polygon": [
101.08,
366.19,
106.15,
366.19,
106.15,
374.46,
101.08,
374.46
],
"indexInText": 261,
"ocrConfidence": 1,
"text": "1",
"visualLineNumber": 11,
"textType": "Text"
},
{
"box": [
365.92,
115.49,
36.01,
8.53
],
"polygon": [
115.48,
365.92,
151.49,
365.92,
151.49,
374.46,
115.48,
374.46
],
"indexInText": 263,
"ocrConfidence": 1,
"text": "Kabocha",
"visualLineNumber": 11,
"textType": "Text"
},
{
"box": [
366.19,
153.09,
30.67,
9.87
],
"polygon": [
153.09,
366.19,
183.76,
366.19,
183.76,
376.06,
153.09,
376.06
],
"indexInText": 271,
"ocrConfidence": 1,
"text": "Squash",
"visualLineNumber": 11,
"textType": "Text"
}
]
},
{
"indexInText": 287,
"length": 1,
"type": "TableCell",
"words": [
{
"box": [
366.19,
358.46,
5.33,
8.27
],
"polygon": [
358.46,
366.19,
363.79,
366.19,
363.79,
374.46,
358.46,
374.46
],
"indexInText": 287,
"ocrConfidence": 1,
"text": "1",
"visualLineNumber": 11,
"textType": "Text"
}
]
},
{
"indexInText": 292,
"length": 1,
"type": "TableCell",
"words": [
{
"box": [
366.19,
409.4,
5.33,
8
],
"polygon": [
409.4,
366.19,
414.73,
366.19,
414.73,
374.19,
409.4,
374.19
],
"indexInText": 292,
"ocrConfidence": 1,
"text": "1",
"visualLineNumber": 11,
"textType": "Text"
}
]
},
{
"indexInText": 296,
"length": 4,
"type": "TableRowEnd",
"words": [
{
"box": [
366.19,
482.74,
18.4,
8.27
],
"polygon": [
482.74,
366.19,
501.15,
366.19,
501.15,
374.46,
482.74,
374.46
],
"indexInText": 296,
"ocrConfidence": 1,
"text": "1.29",
"visualLineNumber": 11,
"textType": "Text"
}
]
},
{
"indexInText": 302,
"length": 17,
"type": "TableCell",
"words": [
{
"box": [
379.79,
100.82,
5.33,
8.27
],
"polygon": [
100.82,
379.79,
106.15,
379.79,
106.15,
388.06,
100.82,
388.06
],
"indexInText": 302,
"ocrConfidence": 1,
"text": "2",
"visualLineNumber": 12,
"textType": "Text"
},
{
"box": [
379.53,
115.49,
34.94,
8.8
],
"polygon": [
115.48,
379.53,
150.42,
379.53,
150.42,
388.33,
115.48,
388.33
],
"indexInText": 304,
"ocrConfidence": 1,
"text": "Brocooli",
"visualLineNumber": 12,
"textType": "Text"
},
{
"box": [
379.79,
152.29,
32.27,
8.53
],
"polygon": [
152.29,
379.79,
184.56,
379.79,
184.56,
388.33,
152.29,
388.33
],
"indexInText": 313,
"ocrConfidence": 1,
"text": "Crowns",
"visualLineNumber": 12,
"textType": "Text"
}
]
},
{
"indexInText": 328,
"length": 1,
"type": "TableCell",
"words": [
{
"box": [
380.06,
358.46,
5.33,
8
],
"polygon": [
358.46,
380.06,
363.79,
380.06,
363.79,
388.06,
358.46,
388.06
],
"indexInText": 328,
"ocrConfidence": 1,
"text": "2",
"visualLineNumber": 12,
"textType": "Text"
}
]
},
{
"indexInText": 333,
"length": 1,
"type": "TableCell",
"words": [
{
"box": [
379.79,
409.4,
5.6,
8.27
],
"polygon": [
409.4,
379.79,
415,
379.79,
415,
388.06,
409.4,
388.06
],
"indexInText": 333,
"ocrConfidence": 1,
"text": "2",
"visualLineNumber": 12,
"textType": "Text"
}
]
},
{
"indexInText": 337,
"length": 4,
"type": "TableRowEnd",
"words": [
{
"box": [
379.79,
482.48,
18.67,
8.27
],
"polygon": [
482.48,
379.79,
501.15,
379.79,
501.15,
388.06,
482.48,
388.06
],
"indexInText": 337,
"ocrConfidence": 1,
"text": "3.98",
"visualLineNumber": 12,
"textType": "Text"
}
]
},
{
"indexInText": 343,
"length": 23,
"type": "TableCell",
"words": [
{
"box": [
393.4,
100.55,
5.87,
8.53
],
"polygon": [
100.55,
393.4,
106.42,
393.4,
106.42,
401.93,
100.55,
401.93
],
"indexInText": 343,
"ocrConfidence": 1,
"text": "3",
"visualLineNumber": 13,
"textType": "Text"
},
{
"box": [
393.4,
114.95,
33.61,
10.4
],
"polygon": [
114.95,
393.4,
148.56,
393.4,
148.56,
403.8,
114.95,
403.8
],
"indexInText": 345,
"ocrConfidence": 1,
"text": "Organic",
"visualLineNumber": 13,
"textType": "Text"
},
{
"box": [
393.13,
149.89,
30.14,
9.07
],
"polygon": [
149.89,
393.13,
180.03,
393.13,
180.03,
402.2,
149.89,
402.2
],
"indexInText": 353,
"ocrConfidence": 1,
"text": "Collard",
"visualLineNumber": 13,
"textType": "Text"
},
{
"box": [
393.4,
181.9,
26.67,
9.07
],
"polygon": [
181.9,
393.4,
208.57,
393.4,
208.57,
402.46,
181.9,
402.46
],
"indexInText": 361,
"ocrConfidence": 1,
"text": "Green",
"visualLineNumber": 13,
"textType": "Text"
}
]
},
{
"indexInText": 369,
"length": 2,
"type": "TableCell",
"words": [
{
"box": [
393.66,
355.79,
11.2,
8.8
],
"polygon": [
355.79,
393.66,
366.99,
393.66,
366.99,
402.46,
355.79,
402.46
],
"indexInText": 369,
"ocrConfidence": 1,
"text": "10",
"visualLineNumber": 13,
"textType": "Text"
}
]
},
{
"indexInText": 374,
"length": 1,
"type": "TableCell",
"words": [
{
"box": [
393.66,
409.4,
5.6,
8.27
],
"polygon": [
409.4,
393.66,
415,
393.66,
415,
401.93,
409.4,
401.93
],
"indexInText": 374,
"ocrConfidence": 1,
"text": "3",
"visualLineNumber": 13,
"textType": "Text"
}
]
},
{
"indexInText": 378,
"length": 5,
"type": "TableRowEnd",
"words": [
{
"box": [
393.66,
477.41,
24,
8.27
],
"polygon": [
477.41,
393.66,
501.41,
393.66,
501.41,
401.93,
477.41,
401.93
],
"indexInText": 378,
"ocrConfidence": 1,
"text": "29.90",
"visualLineNumber": 13,
"textType": "Text"
}
]
},
{
"indexInText": 384,
"length": 15,
"type": "TableCell",
"words": [
{
"box": [
407.53,
100.55,
5.87,
7.73
],
"polygon": [
100.55,
407.53,
106.42,
407.53,
106.42,
415.27,
100.55,
415.27
],
"indexInText": 384,
"ocrConfidence": 1,
"text": "4",
"visualLineNumber": 14,
"textType": "Text"
},
{
"box": [
407,
115.49,
33.61,
8.53
],
"polygon": [
115.48,
407,
149.09,
407,
149.09,
415.53,
115.48,
415.53
],
"indexInText": 386,
"ocrConfidence": 1,
"text": "Broccoli",
"visualLineNumber": 14,
"textType": "Text"
},
{
"box": [
407.26,
151.49,
17.6,
8.27
],
"polygon": [
151.49,
407.26,
169.09,
407.26,
169.09,
415.53,
151.49,
415.53
],
"indexInText": 395,
"ocrConfidence": 1,
"text": "Rice",
"visualLineNumber": 14,
"textType": "Text"
}
]
},
{
"indexInText": 410,
"length": 2,
"type": "TableCell",
"words": [
{
"box": [
407.8,
356.06,
10.67,
8
],
"polygon": [
356.06,
407.8,
366.72,
407.8,
366.72,
415.8,
356.06,
415.8
],
"indexInText": 410,
"ocrConfidence": 1,
"text": "15",
"visualLineNumber": 14,
"textType": "Text"
}
]
},
{
"indexInText": 415,
"length": 1,
"type": "TableCell",
"words": [
{
"box": [
407.8,
409.4,
5.6,
7.73
],
"polygon": [
409.4,
407.8,
415,
407.8,
415,
415.53,
409.4,
415.53
],
"indexInText": 415,
"ocrConfidence": 1,
"text": "5",
"visualLineNumber": 14,
"textType": "Text"
}
]
},
{
"indexInText": 419,
"length": 5,
"type": "TableRowEnd",
"words": [
{
"box": [
407.53,
477.41,
23.74,
8
],
"polygon": [
477.41,
407.53,
501.15,
407.53,
501.15,
415.53,
477.41,
415.53
],
"indexInText": 419,
"ocrConfidence": 1,
"text": "74.85",
"visualLineNumber": 14,
"textType": "Text"
}
]
}
]
},
{
"indexInText": 426,
"language": "eng",
"length": 53,
"rotation": "None",
"skewAngle": -0.2,
"type": "Table",
"wordGroups": [
{
"indexInText": 426,
"length": 8,
"type": "TableCell",
"words": [
{
"box": [
586.23,
384.33,
46.41,
8.53
],
"polygon": [
384.33,
586.23,
430.73,
586.23,
430.73,
594.76,
384.33,
594.76
],
"indexInText": 426,
"ocrConfidence": 1,
"text": "SUBTOTAL",
"visualLineNumber": 15,
"textType": "Text"
}
]
},
{
"indexInText": 437,
"length": 6,
"type": "TableRowEnd",
"words": [
{
"box": [
585.96,
473.14,
28.8,
8.53
],
"polygon": [
473.14,
585.96,
501.95,
585.96,
501.95,
594.49,
473.14,
594.49
],
"indexInText": 437,
"ocrConfidence": 1,
"text": "110.02",
"visualLineNumber": 15,
"textType": "Text"
}
]
},
{
"indexInText": 444,
"length": 8,
"type": "TableCell",
"words": [
{
"box": [
600.36,
384.06,
18.4,
7.73
],
"polygon": [
384.06,
600.36,
402.46,
600.36,
402.46,
608.1,
384.06,
608.1
],
"indexInText": 444,
"ocrConfidence": 1,
"text": "TAX",
"visualLineNumber": 16,
"textType": "Text"
},
{
"box": [
600.36,
404.33,
22.67,
7.73
],
"polygon": [
404.33,
600.36,
427,
600.36,
427,
608.1,
404.33,
608.1
],
"indexInText": 448,
"ocrConfidence": 1,
"text": "RATE",
"visualLineNumber": 16,
"textType": "Text"
}
]
},
{
"indexInText": 455,
"length": 6,
"type": "TableRowEnd",
"words": [
{
"box": [
600.1,
470.74,
31.47,
8.27
],
"polygon": [
470.74,
600.1,
502.21,
600.1,
502.21,
608.36,
470.74,
608.36
],
"indexInText": 455,
"ocrConfidence": 1,
"text": "20.00%",
"visualLineNumber": 16,
"textType": "Text"
}
]
},
{
"indexInText": 462,
"length": 3,
"type": "TableCell",
"words": [
{
"box": [
613.16,
384.06,
18.4,
8.27
],
"polygon": [
384.06,
613.16,
402.46,
613.16,
402.46,
621.43,
384.06,
621.43
],
"indexInText": 462,
"ocrConfidence": 1,
"text": "TAX",
"visualLineNumber": 17,
"textType": "Text"
}
]
},
{
"indexInText": 473,
"length": 5,
"type": "TableRowEnd",
"words": [
{
"box": [
613.16,
478.21,
24.27,
8
],
"polygon": [
478.21,
613.16,
502.48,
613.16,
502.48,
621.17,
478.21,
621.17
],
"indexInText": 473,
"ocrConfidence": 1,
"text": "22.00",
"visualLineNumber": 17,
"textType": "Text"
}
]
}
]
},
{
"indexInText": 481,
"language": "nld",
"length": 13,
"rotation": "None",
"skewAngle": -0.2,
"type": "Paragraph",
"wordGroups": [
{
"indexInText": 481,
"length": 13,
"type": "Other",
"words": [
{
"box": [
642.77,
384.86,
41.87,
11.47
],
"polygon": [
384.86,
642.77,
426.73,
642.77,
426.73,
654.24,
384.86,
654.24
],
"indexInText": 481,
"ocrConfidence": 1,
"text": "TOTAL",
"visualLineNumber": 18,
"textType": "Text"
},
{
"box": [
644.64,
467.54,
34.67,
10.67
],
"polygon": [
467.54,
644.64,
502.21,
644.64,
502.21,
655.3,
467.54,
655.3
],
"indexInText": 487,
"ocrConfidence": 1,
"text": "$132.02",
"visualLineNumber": 18,
"textType": "Text"
}
]
}
]
}
],
"processingSource": "Ocr",
"indexInText": 0,
"textLength": 494,
"skewAngle": -0.2,
"pageMetadata": [
{
"key": "OcrConfidence",
"value": "1"
}
]
}
],
"documentMetadata": [
{
"key": "OcrConfidence",
"value": "1"
}
]
},
"documentText": "Invoice\n\nINVOICE NUMBER: VEG00008 DATE: 01/06/2021\n\n4738 Rafe Lane Greenwood, MS, 38930 662-689-7469\n\nBILL TO: Jakoby Netzband Lynch-Franecki 1394 Schuster Bridge Apt.\nWest Margret, District of (435) 577-5256\n\nvegspot\n\nNo.\n\nDescription\n\nQty. Unit Price Amount\n\n1 Kabocha Squash 1 1 1.29 \n2 Brocooli Crowns 2 2 3.98 \n3 Organic Collard Green 10 3 29.90\n4 Broccoli Rice 15 5 74.85\n\nSUBTOTAL 110.02\nTAX RATE 20.00%\nTAX 22.00 \n\nTOTAL $132.02"
},
"createdAt": "2023-06-28T07:35:46.5373828Z",
"lastUpdatedAt": "2023-06-28T07:35:49.9574323Z"
}
{
"status": "Succeeded",
"result": {
"documentObjectModel": {
"documentId": "25a03e48-cfe8-ed11-9f75-000d3a4964af",
"contentType": "application/pdf",
"length": 494,
"pages": [
{
"pageIndex": 0,
"size": [
0,
0,
596,
842
],
"sections": [
{
"indexInText": 0,
"language": "ita",
"length": 7,
"rotation": "None",
"skewAngle": -0.2,
"type": "Paragraph",
"wordGroups": [
{
"indexInText": 0,
"length": 7,
"type": "Heading",
"words": [
{
"box": [
141.89,
159.23,
78.15,
20
],
"polygon": [
159.23,
141.89,
237.37,
141.89,
237.37,
161.89,
159.23,
161.89
],
"indexInText": 0,
"ocrConfidence": 1,
"text": "Invoice",
"visualLineNumber": 1,
"textType": "Text"
}
]
}
]
},
{
"indexInText": 9,
"language": "eng",
"length": 41,
"rotation": "None",
"skewAngle": -0.2,
"type": "Paragraph",
"wordGroups": [
{
"indexInText": 9,
"length": 41,
"type": "Other",
"words": [
{
"box": [
188.3,
94.15,
36.27,
7.73
],
"polygon": [
94.15,
188.3,
130.42,
188.3,
130.42,
196.03,
94.15,
196.03
],
"indexInText": 9,
"ocrConfidence": 1,
"text": "INVOICE",
"visualLineNumber": 3,
"textType": "Text"
},
{
"box": [
188.3,
132.02,
42.41,
8
],
"polygon": [
132.02,
188.3,
174.43,
188.3,
174.43,
196.3,
132.02,
196.3
],
"indexInText": 17,
"ocrConfidence": 1,
"text": "NUMBER:",
"visualLineNumber": 3,
"textType": "Text"
},
{
"box": [
201.37,
93.61,
44.27,
8.27
],
"polygon": [
93.61,
201.37,
137.89,
201.37,
137.89,
209.63,
93.61,
209.63
],
"indexInText": 25,
"ocrConfidence": 1,
"text": "VEG00008",
"visualLineNumber": 4,
"textType": "Text"
},
{
"box": [
215.23,
94.15,
25.6,
8.27
],
"polygon": [
94.15,
215.23,
119.75,
215.23,
119.75,
223.5,
94.15,
223.5
],
"indexInText": 34,
"ocrConfidence": 1,
"text": "DATE:",
"visualLineNumber": 5,
"textType": "Text"
},
{
"box": [
227.77,
93.61,
50.67,
10.94
],
"polygon": [
93.61,
227.77,
144.29,
227.77,
144.29,
238.7,
93.61,
238.7
],
"indexInText": 40,
"ocrConfidence": 1,
"text": "01/06/2021",
"visualLineNumber": 6,
"textType": "Text"
}
]
}
]
},
{
"indexInText": 52,
"language": "nld",
"length": 48,
"rotation": "None",
"skewAngle": -0.2,
"type": "Paragraph",
"wordGroups": [
{
"indexInText": 52,
"length": 48,
"type": "Other",
"words": [
{
"box": [
134.15,
382.99,
22.14,
8.27
],
"polygon": [
382.99,
134.15,
405.13,
134.15,
405.13,
142.42,
382.99,
142.42
],
"indexInText": 52,
"ocrConfidence": 1,
"text": "4738",
"visualLineNumber": 0,
"textType": "Text"
},
{
"box": [
134.15,
407,
19.2,
8.27
],
"polygon": [
407,
134.15,
426.2,
134.15,
426.2,
142.42,
407,
142.42
],
"indexInText": 57,
"ocrConfidence": 1,
"text": "Rafe",
"visualLineNumber": 0,
"textType": "Text"
},
{
"box": [
134.42,
428.33,
20,
8
],
"polygon": [
428.33,
134.42,
448.34,
134.42,
448.34,
142.42,
428.33,
142.42
],
"indexInText": 62,
"ocrConfidence": 1,
"text": "Lane",
"visualLineNumber": 0,
"textType": "Text"
},
{
"box": [
147.76,
383.53,
52.54,
10.4
],
"polygon": [
383.53,
147.76,
436.07,
147.76,
436.07,
158.16,
383.53,
158.16
],
"indexInText": 67,
"ocrConfidence": 1,
"text": "Greenwood,",
"visualLineNumber": 1,
"textType": "Text"
},
{
"box": [
148.29,
438.2,
16.27,
9.87
],
"polygon": [
438.2,
148.29,
454.47,
148.29,
454.47,
158.16,
438.2,
158.16
],
"indexInText": 78,
"ocrConfidence": 1,
"text": "MS,",
"visualLineNumber": 1,
"textType": "Text"
},
{
"box": [
148.02,
456.61,
26.94,
8.8
],
"polygon": [
456.61,
148.02,
483.54,
148.02,
483.54,
156.82,
456.61,
156.82
],
"indexInText": 82,
"ocrConfidence": 1,
"text": "38930",
"visualLineNumber": 1,
"textType": "Text"
},
{
"box": [
161.89,
383.26,
59.48,
8.53
],
"polygon": [
383.26,
161.89,
442.74,
161.89,
442.74,
170.43,
383.26,
170.43
],
"indexInText": 88,
"ocrConfidence": 1,
"text": "662-689-7469",
"visualLineNumber": 2,
"textType": "Text"
}
]
}
]
},
{
"indexInText": 102,
"language": "eng",
"length": 106,
"rotation": "None",
"skewAngle": -0.2,
"type": "Paragraph",
"wordGroups": [
{
"indexInText": 102,
"length": 65,
"type": "Sentence",
"words": [
{
"box": [
188.56,
383.53,
18.14,
8
],
"polygon": [
383.53,
188.56,
401.66,
188.56,
401.66,
196.56,
383.53,
196.56
],
"indexInText": 102,
"ocrConfidence": 1,
"text": "BILL",
"visualLineNumber": 3,
"textType": "Text"
},
{
"box": [
188.56,
402.73,
15.47,
8
],
"polygon": [
402.73,
188.56,
418.2,
188.56,
418.2,
196.56,
402.73,
196.56
],
"indexInText": 107,
"ocrConfidence": 1,
"text": "TO:",
"visualLineNumber": 3,
"textType": "Text"
},
{
"box": [
201.63,
382.99,
29.6,
10.13
],
"polygon": [
382.99,
201.63,
412.6,
201.63,
412.6,
211.77,
382.99,
211.77
],
"indexInText": 111,
"ocrConfidence": 1,
"text": "Jakoby",
"visualLineNumber": 4,
"textType": "Text"
},
{
"box": [
201.63,
414.47,
40.81,
8.53
],
"polygon": [
414.47,
201.63,
455.27,
201.63,
455.27,
210.17,
414.47,
210.17
],
"indexInText": 118,
"ocrConfidence": 1,
"text": "Netzband",
"visualLineNumber": 4,
"textType": "Text"
},
{
"box": [
215.23,
383.26,
63.74,
10.4
],
"polygon": [
383.26,
215.23,
447,
215.23,
447,
225.64,
383.26,
225.64
],
"indexInText": 127,
"ocrConfidence": 1,
"text": "Lynch-Franecki",
"visualLineNumber": 5,
"textType": "Text"
},
{
"box": [
229.64,
383.53,
21.6,
8.27
],
"polygon": [
383.53,
229.64,
405.13,
229.64,
405.13,
237.9,
383.53,
237.9
],
"indexInText": 142,
"ocrConfidence": 1,
"text": "1394",
"visualLineNumber": 6,
"textType": "Text"
},
{
"box": [
228.84,
406.73,
37.07,
9.07
],
"polygon": [
406.73,
228.84,
443.8,
228.84,
443.8,
237.9,
406.73,
237.9
],
"indexInText": 147,
"ocrConfidence": 1,
"text": "Schuster",
"visualLineNumber": 6,
"textType": "Text"
},
{
"box": [
229.1,
445.4,
27.47,
10.4
],
"polygon": [
445.4,
229.1,
472.87,
229.1,
472.87,
239.5,
445.4,
239.5
],
"indexInText": 156,
"ocrConfidence": 1,
"text": "Bridge",
"visualLineNumber": 6,
"textType": "Text"
},
{
"box": [
229.37,
474.21,
18.14,
10.4
],
"polygon": [
474.21,
229.37,
492.34,
229.37,
492.34,
239.77,
474.21,
239.77
],
"indexInText": 163,
"ocrConfidence": 1,
"text": "Apt.",
"visualLineNumber": 6,
"textType": "Text"
}
]
},
{
"indexInText": 168,
"length": 40,
"type": "Other",
"words": [
{
"box": [
242.97,
383.26,
22.67,
8.53
],
"polygon": [
383.26,
242.97,
405.93,
242.97,
405.93,
251.51,
383.26,
251.51
],
"indexInText": 168,
"ocrConfidence": 1,
"text": "West",
"visualLineNumber": 7,
"textType": "Text"
},
{
"box": [
243.24,
407.8,
37.07,
9.87
],
"polygon": [
407.8,
243.24,
444.87,
243.24,
444.87,
253.11,
407.8,
253.11
],
"indexInText": 173,
"ocrConfidence": 1,
"text": "Margret,",
"visualLineNumber": 7,
"textType": "Text"
},
{
"box": [
242.71,
447.54,
30.4,
8.8
],
"polygon": [
447.54,
242.71,
477.94,
242.71,
477.94,
251.51,
447.54,
251.51
],
"indexInText": 182,
"ocrConfidence": 1,
"text": "District",
"visualLineNumber": 7,
"textType": "Text"
},
{
"box": [
242.71,
479.54,
9.6,
8.8
],
"polygon": [
479.54,
242.71,
489.14,
242.71,
489.14,
251.51,
479.54,
251.51
],
"indexInText": 191,
"ocrConfidence": 1,
"text": "of",
"visualLineNumber": 7,
"textType": "Text"
},
{
"box": [
256.57,
383.26,
22.67,
10.94
],
"polygon": [
383.26,
256.57,
405.93,
256.57,
405.93,
267.51,
383.26,
267.51
],
"indexInText": 194,
"ocrConfidence": 0.98999995,
"text": "(435)",
"visualLineNumber": 8,
"textType": "Text"
},
{
"box": [
256.84,
407.8,
41.07,
9.07
],
"polygon": [
407.8,
256.84,
448.87,
256.84,
448.87,
265.91,
407.8,
265.91
],
"indexInText": 200,
"ocrConfidence": 1,
"text": "577-5256",
"visualLineNumber": 8,
"textType": "Text"
}
]
}
]
},
{
"indexInText": 210,
"language": "nld",
"length": 7,
"rotation": "None",
"skewAngle": -0.2,
"type": "Paragraph",
"wordGroups": [
{
"indexInText": 210,
"length": 7,
"type": "Other",
"words": [
{
"box": [
303.78,
270.18,
112.28,
26.4
],
"polygon": [
270.18,
303.78,
382.46,
303.78,
382.46,
330.19,
270.18,
330.19
],
"indexInText": 210,
"ocrConfidence": 1,
"text": "vegspot",
"visualLineNumber": 9,
"textType": "Text"
}
]
}
]
},
{
"indexInText": 219,
"language": "und",
"length": 3,
"rotation": "None",
"skewAngle": -0.2,
"type": "Paragraph",
"wordGroups": [
{
"indexInText": 219,
"length": 3,
"type": "Other",
"words": [
{
"box": [
352.59,
96.02,
14.94,
8.27
],
"polygon": [
96.02,
352.59,
110.95,
352.59,
110.95,
360.86,
96.02,
360.86
],
"indexInText": 219,
"ocrConfidence": 1,
"text": "No.",
"visualLineNumber": 10,
"textType": "Text"
}
]
}
]
},
{
"indexInText": 224,
"language": "fra",
"length": 11,
"rotation": "None",
"skewAngle": -0.2,
"type": "Paragraph",
"wordGroups": [
{
"indexInText": 224,
"length": 11,
"type": "Other",
"words": [
{
"box": [
352.32,
202.43,
49.61,
10.4
],
"polygon": [
202.43,
352.32,
252.04,
352.32,
252.04,
362.72,
202.43,
362.72
],
"indexInText": 224,
"ocrConfidence": 1,
"text": "Description",
"visualLineNumber": 10,
"textType": "Text"
}
]
}
]
},
{
"indexInText": 237,
"language": "eng",
"length": 22,
"rotation": "None",
"skewAngle": -0.2,
"type": "Paragraph",
"wordGroups": [
{
"indexInText": 237,
"length": 22,
"type": "Other",
"words": [
{
"box": [
352.86,
351.52,
18.67,
9.87
],
"polygon": [
351.52,
352.86,
370.19,
352.86,
370.19,
362.72,
351.52,
362.72
],
"indexInText": 237,
"ocrConfidence": 1,
"text": "Qty.",
"visualLineNumber": 10,
"textType": "Text"
},
{
"box": [
352.59,
390.73,
19.2,
8.53
],
"polygon": [
390.73,
352.59,
409.93,
352.59,
409.93,
361.12,
390.73,
361.12
],
"indexInText": 242,
"ocrConfidence": 1,
"text": "Unit",
"visualLineNumber": 10,
"textType": "Text"
},
{
"box": [
352.59,
411.8,
21.87,
8.53
],
"polygon": [
411.8,
352.59,
433.67,
352.59,
433.67,
361.12,
411.8,
361.12
],
"indexInText": 247,
"ocrConfidence": 1,
"text": "Price",
"visualLineNumber": 10,
"textType": "Text"
},
{
"box": [
352.86,
454.74,
35.74,
8.27
],
"polygon": [
454.74,
352.86,
490.48,
352.86,
490.48,
361.12,
454.74,
361.12
],
"indexInText": 253,
"ocrConfidence": 1,
"text": "Amount",
"visualLineNumber": 10,
"textType": "Text"
}
]
}
]
},
{
"indexInText": 261,
"language": "eng",
"length": 163,
"rotation": "None",
"skewAngle": -0.2,
"type": "Table",
"wordGroups": [
{
"indexInText": 261,
"length": 16,
"type": "TableCell",
"words": [
{
"box": [
366.19,
101.08,
5.07,
8.27
],
"polygon": [
101.08,
366.19,
106.15,
366.19,
106.15,
374.46,
101.08,
374.46
],
"indexInText": 261,
"ocrConfidence": 1,
"text": "1",
"visualLineNumber": 11,
"textType": "Text"
},
{
"box": [
365.92,
115.49,
36.01,
8.53
],
"polygon": [
115.48,
365.92,
151.49,
365.92,
151.49,
374.46,
115.48,
374.46
],
"indexInText": 263,
"ocrConfidence": 1,
"text": "Kabocha",
"visualLineNumber": 11,
"textType": "Text"
},
{
"box": [
366.19,
153.09,
30.67,
9.87
],
"polygon": [
153.09,
366.19,
183.76,
366.19,
183.76,
376.06,
153.09,
376.06
],
"indexInText": 271,
"ocrConfidence": 1,
"text": "Squash",
"visualLineNumber": 11,
"textType": "Text"
}
]
},
{
"indexInText": 287,
"length": 1,
"type": "TableCell",
"words": [
{
"box": [
366.19,
358.46,
5.33,
8.27
],
"polygon": [
358.46,
366.19,
363.79,
366.19,
363.79,
374.46,
358.46,
374.46
],
"indexInText": 287,
"ocrConfidence": 1,
"text": "1",
"visualLineNumber": 11,
"textType": "Text"
}
]
},
{
"indexInText": 292,
"length": 1,
"type": "TableCell",
"words": [
{
"box": [
366.19,
409.4,
5.33,
8
],
"polygon": [
409.4,
366.19,
414.73,
366.19,
414.73,
374.19,
409.4,
374.19
],
"indexInText": 292,
"ocrConfidence": 1,
"text": "1",
"visualLineNumber": 11,
"textType": "Text"
}
]
},
{
"indexInText": 296,
"length": 4,
"type": "TableRowEnd",
"words": [
{
"box": [
366.19,
482.74,
18.4,
8.27
],
"polygon": [
482.74,
366.19,
501.15,
366.19,
501.15,
374.46,
482.74,
374.46
],
"indexInText": 296,
"ocrConfidence": 1,
"text": "1.29",
"visualLineNumber": 11,
"textType": "Text"
}
]
},
{
"indexInText": 302,
"length": 17,
"type": "TableCell",
"words": [
{
"box": [
379.79,
100.82,
5.33,
8.27
],
"polygon": [
100.82,
379.79,
106.15,
379.79,
106.15,
388.06,
100.82,
388.06
],
"indexInText": 302,
"ocrConfidence": 1,
"text": "2",
"visualLineNumber": 12,
"textType": "Text"
},
{
"box": [
379.53,
115.49,
34.94,
8.8
],
"polygon": [
115.48,
379.53,
150.42,
379.53,
150.42,
388.33,
115.48,
388.33
],
"indexInText": 304,
"ocrConfidence": 1,
"text": "Brocooli",
"visualLineNumber": 12,
"textType": "Text"
},
{
"box": [
379.79,
152.29,
32.27,
8.53
],
"polygon": [
152.29,
379.79,
184.56,
379.79,
184.56,
388.33,
152.29,
388.33
],
"indexInText": 313,
"ocrConfidence": 1,
"text": "Crowns",
"visualLineNumber": 12,
"textType": "Text"
}
]
},
{
"indexInText": 328,
"length": 1,
"type": "TableCell",
"words": [
{
"box": [
380.06,
358.46,
5.33,
8
],
"polygon": [
358.46,
380.06,
363.79,
380.06,
363.79,
388.06,
358.46,
388.06
],
"indexInText": 328,
"ocrConfidence": 1,
"text": "2",
"visualLineNumber": 12,
"textType": "Text"
}
]
},
{
"indexInText": 333,
"length": 1,
"type": "TableCell",
"words": [
{
"box": [
379.79,
409.4,
5.6,
8.27
],
"polygon": [
409.4,
379.79,
415,
379.79,
415,
388.06,
409.4,
388.06
],
"indexInText": 333,
"ocrConfidence": 1,
"text": "2",
"visualLineNumber": 12,
"textType": "Text"
}
]
},
{
"indexInText": 337,
"length": 4,
"type": "TableRowEnd",
"words": [
{
"box": [
379.79,
482.48,
18.67,
8.27
],
"polygon": [
482.48,
379.79,
501.15,
379.79,
501.15,
388.06,
482.48,
388.06
],
"indexInText": 337,
"ocrConfidence": 1,
"text": "3.98",
"visualLineNumber": 12,
"textType": "Text"
}
]
},
{
"indexInText": 343,
"length": 23,
"type": "TableCell",
"words": [
{
"box": [
393.4,
100.55,
5.87,
8.53
],
"polygon": [
100.55,
393.4,
106.42,
393.4,
106.42,
401.93,
100.55,
401.93
],
"indexInText": 343,
"ocrConfidence": 1,
"text": "3",
"visualLineNumber": 13,
"textType": "Text"
},
{
"box": [
393.4,
114.95,
33.61,
10.4
],
"polygon": [
114.95,
393.4,
148.56,
393.4,
148.56,
403.8,
114.95,
403.8
],
"indexInText": 345,
"ocrConfidence": 1,
"text": "Organic",
"visualLineNumber": 13,
"textType": "Text"
},
{
"box": [
393.13,
149.89,
30.14,
9.07
],
"polygon": [
149.89,
393.13,
180.03,
393.13,
180.03,
402.2,
149.89,
402.2
],
"indexInText": 353,
"ocrConfidence": 1,
"text": "Collard",
"visualLineNumber": 13,
"textType": "Text"
},
{
"box": [
393.4,
181.9,
26.67,
9.07
],
"polygon": [
181.9,
393.4,
208.57,
393.4,
208.57,
402.46,
181.9,
402.46
],
"indexInText": 361,
"ocrConfidence": 1,
"text": "Green",
"visualLineNumber": 13,
"textType": "Text"
}
]
},
{
"indexInText": 369,
"length": 2,
"type": "TableCell",
"words": [
{
"box": [
393.66,
355.79,
11.2,
8.8
],
"polygon": [
355.79,
393.66,
366.99,
393.66,
366.99,
402.46,
355.79,
402.46
],
"indexInText": 369,
"ocrConfidence": 1,
"text": "10",
"visualLineNumber": 13,
"textType": "Text"
}
]
},
{
"indexInText": 374,
"length": 1,
"type": "TableCell",
"words": [
{
"box": [
393.66,
409.4,
5.6,
8.27
],
"polygon": [
409.4,
393.66,
415,
393.66,
415,
401.93,
409.4,
401.93
],
"indexInText": 374,
"ocrConfidence": 1,
"text": "3",
"visualLineNumber": 13,
"textType": "Text"
}
]
},
{
"indexInText": 378,
"length": 5,
"type": "TableRowEnd",
"words": [
{
"box": [
393.66,
477.41,
24,
8.27
],
"polygon": [
477.41,
393.66,
501.41,
393.66,
501.41,
401.93,
477.41,
401.93
],
"indexInText": 378,
"ocrConfidence": 1,
"text": "29.90",
"visualLineNumber": 13,
"textType": "Text"
}
]
},
{
"indexInText": 384,
"length": 15,
"type": "TableCell",
"words": [
{
"box": [
407.53,
100.55,
5.87,
7.73
],
"polygon": [
100.55,
407.53,
106.42,
407.53,
106.42,
415.27,
100.55,
415.27
],
"indexInText": 384,
"ocrConfidence": 1,
"text": "4",
"visualLineNumber": 14,
"textType": "Text"
},
{
"box": [
407,
115.49,
33.61,
8.53
],
"polygon": [
115.48,
407,
149.09,
407,
149.09,
415.53,
115.48,
415.53
],
"indexInText": 386,
"ocrConfidence": 1,
"text": "Broccoli",
"visualLineNumber": 14,
"textType": "Text"
},
{
"box": [
407.26,
151.49,
17.6,
8.27
],
"polygon": [
151.49,
407.26,
169.09,
407.26,
169.09,
415.53,
151.49,
415.53
],
"indexInText": 395,
"ocrConfidence": 1,
"text": "Rice",
"visualLineNumber": 14,
"textType": "Text"
}
]
},
{
"indexInText": 410,
"length": 2,
"type": "TableCell",
"words": [
{
"box": [
407.8,
356.06,
10.67,
8
],
"polygon": [
356.06,
407.8,
366.72,
407.8,
366.72,
415.8,
356.06,
415.8
],
"indexInText": 410,
"ocrConfidence": 1,
"text": "15",
"visualLineNumber": 14,
"textType": "Text"
}
]
},
{
"indexInText": 415,
"length": 1,
"type": "TableCell",
"words": [
{
"box": [
407.8,
409.4,
5.6,
7.73
],
"polygon": [
409.4,
407.8,
415,
407.8,
415,
415.53,
409.4,
415.53
],
"indexInText": 415,
"ocrConfidence": 1,
"text": "5",
"visualLineNumber": 14,
"textType": "Text"
}
]
},
{
"indexInText": 419,
"length": 5,
"type": "TableRowEnd",
"words": [
{
"box": [
407.53,
477.41,
23.74,
8
],
"polygon": [
477.41,
407.53,
501.15,
407.53,
501.15,
415.53,
477.41,
415.53
],
"indexInText": 419,
"ocrConfidence": 1,
"text": "74.85",
"visualLineNumber": 14,
"textType": "Text"
}
]
}
]
},
{
"indexInText": 426,
"language": "eng",
"length": 53,
"rotation": "None",
"skewAngle": -0.2,
"type": "Table",
"wordGroups": [
{
"indexInText": 426,
"length": 8,
"type": "TableCell",
"words": [
{
"box": [
586.23,
384.33,
46.41,
8.53
],
"polygon": [
384.33,
586.23,
430.73,
586.23,
430.73,
594.76,
384.33,
594.76
],
"indexInText": 426,
"ocrConfidence": 1,
"text": "SUBTOTAL",
"visualLineNumber": 15,
"textType": "Text"
}
]
},
{
"indexInText": 437,
"length": 6,
"type": "TableRowEnd",
"words": [
{
"box": [
585.96,
473.14,
28.8,
8.53
],
"polygon": [
473.14,
585.96,
501.95,
585.96,
501.95,
594.49,
473.14,
594.49
],
"indexInText": 437,
"ocrConfidence": 1,
"text": "110.02",
"visualLineNumber": 15,
"textType": "Text"
}
]
},
{
"indexInText": 444,
"length": 8,
"type": "TableCell",
"words": [
{
"box": [
600.36,
384.06,
18.4,
7.73
],
"polygon": [
384.06,
600.36,
402.46,
600.36,
402.46,
608.1,
384.06,
608.1
],
"indexInText": 444,
"ocrConfidence": 1,
"text": "TAX",
"visualLineNumber": 16,
"textType": "Text"
},
{
"box": [
600.36,
404.33,
22.67,
7.73
],
"polygon": [
404.33,
600.36,
427,
600.36,
427,
608.1,
404.33,
608.1
],
"indexInText": 448,
"ocrConfidence": 1,
"text": "RATE",
"visualLineNumber": 16,
"textType": "Text"
}
]
},
{
"indexInText": 455,
"length": 6,
"type": "TableRowEnd",
"words": [
{
"box": [
600.1,
470.74,
31.47,
8.27
],
"polygon": [
470.74,
600.1,
502.21,
600.1,
502.21,
608.36,
470.74,
608.36
],
"indexInText": 455,
"ocrConfidence": 1,
"text": "20.00%",
"visualLineNumber": 16,
"textType": "Text"
}
]
},
{
"indexInText": 462,
"length": 3,
"type": "TableCell",
"words": [
{
"box": [
613.16,
384.06,
18.4,
8.27
],
"polygon": [
384.06,
613.16,
402.46,
613.16,
402.46,
621.43,
384.06,
621.43
],
"indexInText": 462,
"ocrConfidence": 1,
"text": "TAX",
"visualLineNumber": 17,
"textType": "Text"
}
]
},
{
"indexInText": 473,
"length": 5,
"type": "TableRowEnd",
"words": [
{
"box": [
613.16,
478.21,
24.27,
8
],
"polygon": [
478.21,
613.16,
502.48,
613.16,
502.48,
621.17,
478.21,
621.17
],
"indexInText": 473,
"ocrConfidence": 1,
"text": "22.00",
"visualLineNumber": 17,
"textType": "Text"
}
]
}
]
},
{
"indexInText": 481,
"language": "nld",
"length": 13,
"rotation": "None",
"skewAngle": -0.2,
"type": "Paragraph",
"wordGroups": [
{
"indexInText": 481,
"length": 13,
"type": "Other",
"words": [
{
"box": [
642.77,
384.86,
41.87,
11.47
],
"polygon": [
384.86,
642.77,
426.73,
642.77,
426.73,
654.24,
384.86,
654.24
],
"indexInText": 481,
"ocrConfidence": 1,
"text": "TOTAL",
"visualLineNumber": 18,
"textType": "Text"
},
{
"box": [
644.64,
467.54,
34.67,
10.67
],
"polygon": [
467.54,
644.64,
502.21,
644.64,
502.21,
655.3,
467.54,
655.3
],
"indexInText": 487,
"ocrConfidence": 1,
"text": "$132.02",
"visualLineNumber": 18,
"textType": "Text"
}
]
}
]
}
],
"processingSource": "Ocr",
"indexInText": 0,
"textLength": 494,
"skewAngle": -0.2,
"pageMetadata": [
{
"key": "OcrConfidence",
"value": "1"
}
]
}
],
"documentMetadata": [
{
"key": "OcrConfidence",
"value": "1"
}
]
},
"documentText": "Invoice\n\nINVOICE NUMBER: VEG00008 DATE: 01/06/2021\n\n4738 Rafe Lane Greenwood, MS, 38930 662-689-7469\n\nBILL TO: Jakoby Netzband Lynch-Franecki 1394 Schuster Bridge Apt.\nWest Margret, District of (435) 577-5256\n\nvegspot\n\nNo.\n\nDescription\n\nQty. Unit Price Amount\n\n1 Kabocha Squash 1 1 1.29 \n2 Brocooli Crowns 2 2 3.98 \n3 Organic Collard Green 10 3 29.90\n4 Broccoli Rice 15 5 74.85\n\nSUBTOTAL 110.02\nTAX RATE 20.00%\nTAX 22.00 \n\nTOTAL $132.02"
},
"createdAt": "2023-06-28T07:35:46.5373828Z",
"lastUpdatedAt": "2023-06-28T07:35:49.9574323Z"
}