{"doc_type": "invoice", "bounding_regions": [{"page_number": 1, "polygon": [{"x": 0.0, "y": 0.0}, {"x": 640.0, "y": 0.0}, {"x": 640.0, "y": 640.0}, {"x": 0.0, "y": 640.0}]}], "spans": [{"offset": 0, "length": 556}], "fields": {"AmountDue": {"value_type": "currency", "value": {"amount": 247.0, "symbol": "$"}, "content": "$247.00", "bounding_regions": [{"page_number": 1, "polygon": [{"x": 549.0, "y": 273.0}, {"x": 592.0, "y": 274.0}, {"x": 592.0, "y": 286.0}, {"x": 549.0, "y": 285.0}]}], "spans": [{"offset": 316, "length": 7}], "confidence": 0.953}, "BillingAddress": {"value_type": "address", "value": {"house_number": "422", "po_box": null, "road": "Thomas Light", "city": "Maryberg", "state": "MD", "postal_code": "80362", "country_region": null, "street_address": "422 Thomas Light"}, "content": "422 Thomas Light\nMaryberg, MD 80362", "bounding_regions": [{"page_number": 1, "polygon": [{"x": 49.0, "y": 233.0}, {"x": 150.0, "y": 233.0}, {"x": 150.0, "y": 259.0}, {"x": 49.0, "y": 259.0}]}], "spans": [{"offset": 213, "length": 16}, {"offset": 259, "length": 18}], "confidence": 0.915}, "BillingAddressRecipient": {"value_type": "string", "value": "Aguilar, Grant and Walker Inc", "content": "Aguilar, Grant and Walker Inc", "bounding_regions": [{"page_number": 1, "polygon": [{"x": 50.0, "y": 220.0}, {"x": 188.0, "y": 220.0}, {"x": 188.0, "y": 234.0}, {"x": 50.0, "y": 234.0}]}], "spans": [{"offset": 183, "length": 29}], "confidence": 0.923}, "CustomerName": {"value_type": "string", "value": "Aguilar, Grant and Walker Inc", "content": "Aguilar, Grant and Walker Inc", "bounding_regions": [{"page_number": 1, "polygon": [{"x": 50.0, "y": 220.0}, {"x": 188.0, "y": 220.0}, {"x": 188.0, "y": 234.0}, {"x": 50.0, "y": 234.0}]}], "spans": [{"offset": 183, "length": 29}], "confidence": 0.923}, "DueDate": {"value_type": "date", "value": "2021-04-21", "content": "April 21, 2021", "bounding_regions": [{"page_number": 1, "polygon": [{"x": 527.0, "y": 247.0}, {"x": 591.0, "y": 247.0}, {"x": 591.0, "y": 260.0}, {"x": 527.0, "y": 260.0}]}], "spans": [{"offset": 288, "length": 14}], "confidence": 0.933}, "InvoiceDate": {"value_type": "date", "value": "2021-04-14", "content": "April 14. 2021", "bounding_regions": [{"page_number": 1, "polygon": [{"x": 527.0, "y": 225.0}, {"x": 592.0, "y": 225.0}, {"x": 592.0, "y": 237.0}, {"x": 527.0, "y": 237.0}]}], "spans": [{"offset": 244, "length": 14}], "confidence": 0.9}, "InvoiceId": {"value_type": "string", "value": "INV-1071", "content": "INV-1071", "bounding_regions": [{"page_number": 1, "polygon": [{"x": 547.0, "y": 179.0}, {"x": 593.0, "y": 177.0}, {"x": 593.0, "y": 190.0}, {"x": 548.0, "y": 189.0}]}], "spans": [{"offset": 141, "length": 8}], "confidence": 0.975}, "InvoiceTotal": {"value_type": "currency", "value": {"amount": 247.0, "symbol": "$"}, "content": "$247.00", "bounding_regions": [{"page_number": 1, "polygon": [{"x": 554.0, "y": 497.0}, {"x": 593.0, "y": 497.0}, {"x": 593.0, "y": 509.0}, {"x": 555.0, "y": 508.0}]}], "spans": [{"offset": 441, "length": 7}], "confidence": 0.972}, "Items": {"value_type": "list", "value": [{"value_type": "dictionary", "value": {"Amount": {"value_type": "currency", "value": {"amount": 99.0, "symbol": "$"}, "content": "$99.00", "bounding_regions": [{"page_number": 1, "polygon": [{"x": 560.0, "y": 363.0}, {"x": 593.0, "y": 363.0}, {"x": 593.0, "y": 375.0}, {"x": 561.0, "y": 374.0}]}], "spans": [{"offset": 371, "length": 6}], "confidence": 0.94}, "Description": {"value_type": "string", "value": "Starter plan", "content": "Starter plan", "bounding_regions": [{"page_number": 1, "polygon": [{"x": 46.0, "y": 363.0}, {"x": 103.0, "y": 364.0}, {"x": 103.0, "y": 376.0}, {"x": 46.0, "y": 375.0}]}], "spans": [{"offset": 349, "length": 12}], "confidence": 0.934}, "Quantity": {"value_type": "float", "value": 1.0, "content": "1", "bounding_regions": [{"page_number": 1, "polygon": [{"x": 384.0, "y": 363.0}, {"x": 390.0, "y": 363.0}, {"x": 389.0, "y": 374.0}, {"x": 384.0, "y": 373.0}]}], "spans": [{"offset": 362, "length": 1}], "confidence": 0.936}, "UnitPrice": {"value_type": "currency", "value": {"amount": 99.0, "symbol": "$"}, "content": "$99.00", "bounding_regions": [{"page_number": 1, "polygon": [{"x": 479.0, "y": 362.0}, {"x": 512.0, "y": 362.0}, {"x": 512.0, "y": 374.0}, {"x": 479.0, "y": 374.0}]}], "spans": [{"offset": 364, "length": 6}], "confidence": 0.937}}, "content": "Starter plan\n1\n$99.00\n$99.00", "bounding_regions": [{"page_number": 1, "polygon": [{"x": 46.0, "y": 355.0}, {"x": 593.0, "y": 363.0}, {"x": 593.0, "y": 383.0}, {"x": 46.0, "y": 375.0}]}], "spans": [{"offset": 349, "length": 28}], "confidence": 0.748}, {"value_type": "dictionary", "value": {"Amount": {"value_type": "currency", "value": {"amount": 98.0, "symbol": "$"}, "content": "$98.00", "bounding_regions": [{"page_number": 1, "polygon": [{"x": 560.0, "y": 381.0}, {"x": 593.0, "y": 381.0}, {"x": 593.0, "y": 393.0}, {"x": 560.0, "y": 393.0}]}], "spans": [{"offset": 392, "length": 6}], "confidence": 0.941}, "Description": {"value_type": "string", "value": "Fees", "content": "Fees", "bounding_regions": [{"page_number": 1, "polygon": [{"x": 47.0, "y": 381.0}, {"x": 71.0, "y": 381.0}, {"x": 71.0, "y": 391.0}, {"x": 47.0, "y": 391.0}]}], "spans": [{"offset": 378, "length": 4}], "confidence": 0.943}, "Quantity": {"value_type": "float", "value": 2.0, "content": "2", "bounding_regions": [{"page_number": 1, "polygon": [{"x": 384.0, "y": 381.0}, {"x": 390.0, "y": 381.0}, {"x": 391.0, "y": 391.0}, {"x": 385.0, "y": 391.0}]}], "spans": [{"offset": 383, "length": 1}], "confidence": 0.936}, "UnitPrice": {"value_type": "currency", "value": {"amount": 49.0, "symbol": "$"}, "content": "$49.00", "bounding_regions": [{"page_number": 1, "polygon": [{"x": 479.0, "y": 382.0}, {"x": 511.0, "y": 382.0}, {"x": 511.0, "y": 393.0}, {"x": 479.0, "y": 393.0}]}], "spans": [{"offset": 385, "length": 6}], "confidence": 0.937}}, "content": "Fees\n2\n$49.00\n$98.00", "bounding_regions": [{"page_number": 1, "polygon": [{"x": 47.0, "y": 381.0}, {"x": 593.0, "y": 381.0}, {"x": 593.0, "y": 393.0}, {"x": 47.0, "y": 393.0}]}], "spans": [{"offset": 378, "length": 20}], "confidence": 0.777}], "content": null, "bounding_regions": [], "spans": [], "confidence": null}, "SubTotal": {"value_type": "currency", "value": {"amount": 197.0, "symbol": "$"}, "content": "$197.00", "bounding_regions": [{"page_number": 1, "polygon": [{"x": 554.0, "y": 450.0}, {"x": 592.0, "y": 450.0}, {"x": 592.0, "y": 462.0}, {"x": 555.0, "y": 461.0}]}], "spans": [{"offset": 409, "length": 7}], "confidence": 0.974}, "VendorAddress": {"value_type": "address", "value": {"house_number": "123", "po_box": null, "road": "Somewhere Street", "city": "Your City", "state": "AZ", "postal_code": "12345", "country_region": null, "street_address": "123 Somewhere Street"}, "content": "123 Somewhere Street\nYour City AZ 12345", "bounding_regions": [{"page_number": 1, "polygon": [{"x": 50.0, "y": 136.0}, {"x": 158.0, "y": 136.0}, {"x": 158.0, "y": 162.0}, {"x": 50.0, "y": 162.0}]}], "spans": [{"offset": 48, "length": 39}], "confidence": 0.881}, "VendorAddressRecipient": {"value_type": "string", "value": "Demo Company\nSuite 5A-1204", "content": "Demo Company Suite 5A-1204", "bounding_regions": [{"page_number": 1, "polygon": [{"x": 50.0, "y": 111.0}, {"x": 131.0, "y": 111.0}, {"x": 131.0, "y": 135.0}, {"x": 50.0, "y": 135.0}]}], "spans": [{"offset": 9, "length": 26}], "confidence": 0.892}, "VendorName": {"value_type": "string", "value": "Invoiced", "content": "Invoiced", "bounding_regions": [{"page_number": 1, "polygon": [{"x": 91.0, "y": 62.0}, {"x": 198.0, "y": 62.0}, {"x": 198.0, "y": 88.0}, {"x": 91.0, "y": 87.0}]}], "spans": [{"offset": 0, "length": 8}], "confidence": 0.716}}, "confidence": 1.0} |