File size: 8,242 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": 1465}], "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": 262.0}, {"x": 322.0, "y": 293.0}, {"x": 131.0, "y": 293.0}]}], "spans": [{"offset": 207, "length": 41}], "confidence": 0.025}, "BillingAddressRecipient": {"value_type": "string", "value": "INC", "content": "INC", "bounding_regions": [{"page_number": 1, "polygon": [{"x": 211.0, "y": 246.0}, {"x": 234.0, "y": 247.0}, {"x": 234.0, "y": 261.0}, {"x": 211.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.953}, "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": 151.0}, {"x": 591.0, "y": 166.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": 151.0}, {"x": 591.0, "y": 166.0}, {"x": 512.0, "y": 166.0}]}], "spans": [{"offset": 301, "length": 10}], "confidence": null}, "InvoiceDate": {"value_type": "date", "value": "2021-12-02", "content": "6/1222021", "bounding_regions": [{"page_number": 1, "polygon": [{"x": 351.0, "y": 367.0}, {"x": 394.0, "y": 366.0}, {"x": 394.0, "y": 378.0}, {"x": 352.0, "y": 378.0}]}], "spans": [{"offset": 581, "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": 887.0}, {"x": 806.0, "y": 887.0}, {"x": 806.0, "y": 902.0}, {"x": 750.0, "y": 902.0}]}], "spans": [{"offset": 904, "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": 807.0, "y": 514.0}, {"x": 807.0, "y": 527.0}, {"x": 758.0, "y": 527.0}]}], "spans": [{"offset": 776, "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": 741, "length": 14}], "confidence": null}, "Quantity": {"value_type": "float", "value": 1.0, "content": "1. Flat", "bounding_regions": [{"page_number": 1, "polygon": [{"x": 538.0, "y": 513.0}, {"x": 588.0, "y": 513.0}, {"x": 588.0, "y": 528.0}, {"x": 538.0, "y": 528.0}]}], "spans": [{"offset": 756, "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": 512.0}, {"x": 715.0, "y": 514.0}, {"x": 715.0, "y": 528.0}, {"x": 637.0, "y": 526.0}]}], "spans": [{"offset": 764, "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": 807.0, "y": 511.0}, {"x": 807.0, "y": 528.0}, {"x": 88.0, "y": 528.0}]}], "spans": [{"offset": 741, "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": 765.0, "y": 541.0}, {"x": 808.0, "y": 541.0}, {"x": 808.0, "y": 552.0}, {"x": 765.0, "y": 552.0}]}], "spans": [{"offset": 820, "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": 203.0, "y": 537.0}, {"x": 203.0, "y": 553.0}, {"x": 87.0, "y": 553.0}]}], "spans": [{"offset": 784, "length": 16}], "confidence": null}, "Quantity": {"value_type": "float", "value": 1.0, "content": "1. Flat", "bounding_regions": [{"page_number": 1, "polygon": [{"x": 538.0, "y": 539.0}, {"x": 587.0, "y": 539.0}, {"x": 587.0, "y": 554.0}, {"x": 538.0, "y": 554.0}]}], "spans": [{"offset": 801, "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": 713.0, "y": 540.0}, {"x": 713.0, "y": 553.0}, {"x": 644.0, "y": 552.0}]}], "spans": [{"offset": 809, "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": 554.0}, {"x": 87.0, "y": 554.0}]}], "spans": [{"offset": 784, "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-4831", "country_region": null, "street_address": "P O Box 644631 Dept AFL"}, "content": "P O Box 644631\nDept AFL\nPittsburgh, PA 15264-4831", "bounding_regions": [{"page_number": 1, "polygon": [{"x": 511.0, "y": 263.0}, {"x": 710.0, "y": 263.0}, {"x": 710.0, "y": 310.0}, {"x": 511.0, "y": 310.0}]}], "spans": [{"offset": 393, "length": 49}], "confidence": 0.99}, "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": 175.0, "y": 106.0}, {"x": 175.0, "y": 128.0}, {"x": 86.0, "y": 128.0}]}], "spans": [{"offset": 67, "length": 38}], "confidence": 0.008}, "VendorAddressRecipient": {"value_type": "string", "value": "Tli of", "content": "Tli\nof", "bounding_regions": [{"page_number": 1, "polygon": [{"x": 87.0, "y": 95.0}, {"x": 139.0, "y": 95.0}, {"x": 139.0, "y": 107.0}, {"x": 87.0, "y": 107.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": 185.0, "y": 44.0}, {"x": 599.0, "y": 47.0}, {"x": 599.0, "y": 88.0}, {"x": 185.0, "y": 85.0}]}], "spans": [{"offset": 0, "length": 24}], "confidence": null}}, "confidence": 1.0}