File size: 8,548 Bytes
ed4561c
1
{"doc_type": "invoice", "bounding_regions": [{"page_number": 1, "polygon": [{"x": 0.0, "y": 0.0}, {"x": 900.0, "y": 0.0}, {"x": 900.0, "y": 1100.0}, {"x": 0.0, "y": 1100.0}]}], "spans": [{"offset": 0, "length": 1455}], "fields": {"BillingAddress": {"value_type": "address", "value": {"house_number": "6250", "po_box": null, "road": "N River Road", "city": "Rosemont", "state": "IL", "postal_code": "60018-4247", "country_region": null, "street_address": "6250 N River Road"}, "content": "6250 N River Road\nRosemont, IL 60018-4247", "bounding_regions": [{"page_number": 1, "polygon": [{"x": 131.0, "y": 262.0}, {"x": 322.0, "y": 261.0}, {"x": 322.0, "y": 292.0}, {"x": 131.0, "y": 294.0}]}], "spans": [{"offset": 207, "length": 41}], "confidence": 0.284}, "BillingAddressRecipient": {"value_type": "string", "value": "INC", "content": "INC", "bounding_regions": [{"page_number": 1, "polygon": [{"x": 211.0, "y": 246.0}, {"x": 234.0, "y": 246.0}, {"x": 234.0, "y": 261.0}, {"x": 212.0, "y": 261.0}]}], "spans": [{"offset": 203, "length": 3}], "confidence": null}, "CustomerAddress": {"value_type": "address", "value": {"house_number": "1033", "po_box": null, "road": "Freeman Sw", "city": "Grand Rapids", "state": "MI", "postal_code": "49503", "country_region": null, "street_address": "1033 Freeman Sw"}, "content": "1033 Freeman Sw\nGrand Rapids, MI 49503", "bounding_regions": [{"page_number": 1, "polygon": [{"x": 512.0, "y": 165.0}, {"x": 695.0, "y": 165.0}, {"x": 695.0, "y": 196.0}, {"x": 512.0, "y": 196.0}]}], "spans": [{"offset": 312, "length": 38}], "confidence": 0.923}, "CustomerAddressRecipient": {"value_type": "string", "value": "ALRO STEEL", "content": "ALRO STEEL", "bounding_regions": [{"page_number": 1, "polygon": [{"x": 512.0, "y": 151.0}, {"x": 591.0, "y": 150.0}, {"x": 591.0, "y": 165.0}, {"x": 512.0, "y": 166.0}]}], "spans": [{"offset": 301, "length": 10}], "confidence": null}, "CustomerName": {"value_type": "string", "value": "ALRO STEEL", "content": "ALRO STEEL", "bounding_regions": [{"page_number": 1, "polygon": [{"x": 512.0, "y": 151.0}, {"x": 591.0, "y": 150.0}, {"x": 591.0, "y": 165.0}, {"x": 512.0, "y": 166.0}]}], "spans": [{"offset": 301, "length": 10}], "confidence": null}, "InvoiceDate": {"value_type": "date", "value": "2021-06-17", "content": "6/17:2121", "bounding_regions": [{"page_number": 1, "polygon": [{"x": 284.0, "y": 366.0}, {"x": 325.0, "y": 366.0}, {"x": 325.0, "y": 378.0}, {"x": 284.0, "y": 378.0}]}], "spans": [{"offset": 561, "length": 9}], "confidence": null}, "InvoiceId": {"value_type": "string", "value": "H3942068A", "content": "H3942068A", "bounding_regions": [{"page_number": 1, "polygon": [{"x": 664.0, "y": 105.0}, {"x": 735.0, "y": 106.0}, {"x": 735.0, "y": 119.0}, {"x": 664.0, "y": 119.0}]}], "spans": [{"offset": 280, "length": 9}], "confidence": null}, "InvoiceTotal": {"value_type": "currency", "value": {"amount": 746.73, "symbol": "$"}, "content": "$746.73", "bounding_regions": [{"page_number": 1, "polygon": [{"x": 750.0, "y": 888.0}, {"x": 805.0, "y": 888.0}, {"x": 805.0, "y": 902.0}, {"x": 750.0, "y": 902.0}]}], "spans": [{"offset": 894, "length": 7}], "confidence": null}, "Items": {"value_type": "list", "value": [{"value_type": "dictionary", "value": {"Amount": {"value_type": "currency", "value": {"amount": 700.0, "symbol": "$"}, "content": "$700.00", "bounding_regions": [{"page_number": 1, "polygon": [{"x": 758.0, "y": 514.0}, {"x": 808.0, "y": 514.0}, {"x": 807.0, "y": 527.0}, {"x": 758.0, "y": 527.0}]}], "spans": [{"offset": 766, "length": 7}], "confidence": null}, "Description": {"value_type": "string", "value": "Freight {{Ist:", "content": "Freight {{Ist:", "bounding_regions": [{"page_number": 1, "polygon": [{"x": 88.0, "y": 511.0}, {"x": 187.0, "y": 511.0}, {"x": 187.0, "y": 526.0}, {"x": 88.0, "y": 526.0}]}], "spans": [{"offset": 731, "length": 14}], "confidence": null}, "Quantity": {"value_type": "float", "value": 1.0, "content": "1. Flat", "bounding_regions": [{"page_number": 1, "polygon": [{"x": 538.0, "y": 514.0}, {"x": 588.0, "y": 514.0}, {"x": 588.0, "y": 528.0}, {"x": 538.0, "y": 528.0}]}], "spans": [{"offset": 746, "length": 7}], "confidence": null}, "UnitPrice": {"value_type": "currency", "value": {"amount": 700.0, "symbol": null}, "content": "700.00 Flat", "bounding_regions": [{"page_number": 1, "polygon": [{"x": 637.0, "y": 513.0}, {"x": 715.0, "y": 514.0}, {"x": 715.0, "y": 528.0}, {"x": 637.0, "y": 527.0}]}], "spans": [{"offset": 754, "length": 11}], "confidence": null}}, "content": "Freight {{Ist:\n1. Flat\n700.00 Flat\n$700.00", "bounding_regions": [{"page_number": 1, "polygon": [{"x": 88.0, "y": 511.0}, {"x": 808.0, "y": 511.0}, {"x": 808.0, "y": 528.0}, {"x": 88.0, "y": 528.0}]}], "spans": [{"offset": 731, "length": 42}], "confidence": null}, {"value_type": "dictionary", "value": {"Amount": {"value_type": "currency", "value": {"amount": 35.69, "symbol": "$"}, "content": "$35.69", "bounding_regions": [{"page_number": 1, "polygon": [{"x": 766.0, "y": 541.0}, {"x": 808.0, "y": 541.0}, {"x": 807.0, "y": 552.0}, {"x": 766.0, "y": 552.0}]}], "spans": [{"offset": 810, "length": 6}], "confidence": null}, "Description": {"value_type": "string", "value": "Fuel Surcharge B", "content": "Fuel Surcharge B", "bounding_regions": [{"page_number": 1, "polygon": [{"x": 87.0, "y": 537.0}, {"x": 202.0, "y": 537.0}, {"x": 202.0, "y": 553.0}, {"x": 87.0, "y": 553.0}]}], "spans": [{"offset": 774, "length": 16}], "confidence": null}, "Quantity": {"value_type": "float", "value": 1.0, "content": "1. Flat", "bounding_regions": [{"page_number": 1, "polygon": [{"x": 538.0, "y": 540.0}, {"x": 586.0, "y": 540.0}, {"x": 586.0, "y": 553.0}, {"x": 538.0, "y": 553.0}]}], "spans": [{"offset": 791, "length": 7}], "confidence": null}, "UnitPrice": {"value_type": "currency", "value": {"amount": 35.69, "symbol": null}, "content": "35.69 Flat", "bounding_regions": [{"page_number": 1, "polygon": [{"x": 644.0, "y": 539.0}, {"x": 714.0, "y": 540.0}, {"x": 714.0, "y": 553.0}, {"x": 644.0, "y": 552.0}]}], "spans": [{"offset": 799, "length": 10}], "confidence": null}}, "content": "Fuel Surcharge B\n1. Flat\n35.69 Flat\n$35.69", "bounding_regions": [{"page_number": 1, "polygon": [{"x": 87.0, "y": 537.0}, {"x": 808.0, "y": 537.0}, {"x": 808.0, "y": 553.0}, {"x": 87.0, "y": 553.0}]}], "spans": [{"offset": 774, "length": 42}], "confidence": null}], "content": null, "bounding_regions": [], "spans": [], "confidence": null}, "RemittanceAddress": {"value_type": "address", "value": {"house_number": null, "po_box": "P O Box 644631", "road": null, "city": "Pittsburgh", "state": "PA", "postal_code": "15264-4031", "country_region": null, "street_address": "P O Box 644631 Dept AFL"}, "content": "P O Box 644631\nDept AFL\nPittsburgh, PA 15264-4031", "bounding_regions": [{"page_number": 1, "polygon": [{"x": 511.0, "y": 263.0}, {"x": 711.0, "y": 263.0}, {"x": 711.0, "y": 310.0}, {"x": 511.0, "y": 310.0}]}], "spans": [{"offset": 393, "length": 49}], "confidence": 0.988}, "RemittanceAddressRecipient": {"value_type": "string", "value": "Aetna Freight Lines, Inc", "content": "Aetna Freight Lines, Inc", "bounding_regions": [{"page_number": 1, "polygon": [{"x": 512.0, "y": 246.0}, {"x": 701.0, "y": 246.0}, {"x": 701.0, "y": 262.0}, {"x": 512.0, "y": 262.0}]}], "spans": [{"offset": 368, "length": 24}], "confidence": null}, "VendorAddress": {"value_type": "address", "value": {"house_number": "100", "po_box": null, "road": "Industry Drive", "city": "Pittsburgh", "state": "PA", "postal_code": "15275", "country_region": null, "street_address": "100 Industry Drive"}, "content": "100 Industry Drive Pittsburgh,PA 15275", "bounding_regions": [{"page_number": 1, "polygon": [{"x": 86.0, "y": 106.0}, {"x": 174.0, "y": 106.0}, {"x": 174.0, "y": 128.0}, {"x": 86.0, "y": 128.0}]}], "spans": [{"offset": 67, "length": 38}], "confidence": 0.007}, "VendorAddressRecipient": {"value_type": "string", "value": "Tli of", "content": "Tli\nof", "bounding_regions": [{"page_number": 1, "polygon": [{"x": 86.0, "y": 92.0}, {"x": 140.0, "y": 95.0}, {"x": 139.0, "y": 109.0}, {"x": 85.0, "y": 106.0}]}], "spans": [{"offset": 42, "length": 3}, {"offset": 53, "length": 2}], "confidence": null}, "VendorName": {"value_type": "string", "value": "Aetna Freight Lines, Inc", "content": "Aetna Freight Lines, Inc", "bounding_regions": [{"page_number": 1, "polygon": [{"x": 186.0, "y": 44.0}, {"x": 599.0, "y": 47.0}, {"x": 599.0, "y": 88.0}, {"x": 186.0, "y": 85.0}]}], "spans": [{"offset": 0, "length": 24}], "confidence": null}}, "confidence": 1.0}