{"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": 1351}], "fields": {"CustomerAddress": {"value_type": "address", "value": {"house_number": "14", "po_box": null, "road": "SPRING STREET", "city": "WALTHAM", "state": "MA", "postal_code": "02154", "country_region": null, "street_address": "14 SPRING STREET"}, "content": "14 SPRING STREET\nWALTHAM, MA 02154", "bounding_regions": [{"page_number": 1, "polygon": [{"x": 93.0, "y": 125.0}, {"x": 202.0, "y": 123.0}, {"x": 202.0, "y": 143.0}, {"x": 93.0, "y": 145.0}]}], "spans": [{"offset": 120, "length": 34}], "confidence": null}, "CustomerAddressRecipient": {"value_type": "string", "value": "GINER INC", "content": "GINER INC", "bounding_regions": [{"page_number": 1, "polygon": [{"x": 95.0, "y": 115.0}, {"x": 148.0, "y": 115.0}, {"x": 148.0, "y": 124.0}, {"x": 95.0, "y": 124.0}]}], "spans": [{"offset": 110, "length": 9}], "confidence": null}, "CustomerId": {"value_type": "string", "value": "354640-5", "content": "354640-5", "bounding_regions": [{"page_number": 1, "polygon": [{"x": 387.0, "y": 72.0}, {"x": 433.0, "y": 72.0}, {"x": 433.0, "y": 81.0}, {"x": 387.0, "y": 82.0}]}], "spans": [{"offset": 101, "length": 8}], "confidence": null}, "CustomerName": {"value_type": "string", "value": "GINER INC", "content": "GINER INC", "bounding_regions": [{"page_number": 1, "polygon": [{"x": 95.0, "y": 115.0}, {"x": 148.0, "y": 115.0}, {"x": 148.0, "y": 124.0}, {"x": 95.0, "y": 124.0}]}], "spans": [{"offset": 110, "length": 9}], "confidence": null}, "InvoiceDate": {"value_type": "date", "value": "1987-04-17", "content": "04/17/87", "bounding_regions": [{"page_number": 1, "polygon": [{"x": 444.0, "y": 52.0}, {"x": 492.0, "y": 51.0}, {"x": 492.0, "y": 61.0}, {"x": 445.0, "y": 62.0}]}], "spans": [{"offset": 62, "length": 8}], "confidence": null}, "InvoiceId": {"value_type": "string", "value": "107-62587 PG", "content": "107-62587 PG", "bounding_regions": [{"page_number": 1, "polygon": [{"x": 440.0, "y": 42.0}, {"x": 502.0, "y": 41.0}, {"x": 502.0, "y": 52.0}, {"x": 440.0, "y": 53.0}]}], "spans": [{"offset": 44, "length": 12}], "confidence": null}, "InvoiceTotal": {"value_type": "currency", "value": {"amount": 99.24, "symbol": null}, "content": "99.24", "bounding_regions": [{"page_number": 1, "polygon": [{"x": 530.0, "y": 490.0}, {"x": 559.0, "y": 489.0}, {"x": 559.0, "y": 499.0}, {"x": 530.0, "y": 499.0}]}], "spans": [{"offset": 893, "length": 5}], "confidence": null}, "Items": {"value_type": "list", "value": [{"value_type": "dictionary", "value": {"Amount": {"value_type": "currency", "value": {"amount": 79.0, "symbol": null}, "content": "79.00", "bounding_regions": [{"page_number": 1, "polygon": [{"x": 524.0, "y": 213.0}, {"x": 554.0, "y": 213.0}, {"x": 554.0, "y": 223.0}, {"x": 524.0, "y": 222.0}]}], "spans": [{"offset": 651, "length": 5}], "confidence": null}, "Description": {"value_type": "string", "value": "450 PURIFIER ASSEMBLY", "content": "450 PURIFIER ASSEMBLY", "bounding_regions": [{"page_number": 1, "polygon": [{"x": 138.0, "y": 218.0}, {"x": 263.0, "y": 216.0}, {"x": 263.0, "y": 227.0}, {"x": 138.0, "y": 230.0}]}], "spans": [{"offset": 623, "length": 21}], "confidence": null}, "Quantity": {"value_type": "float", "value": 1.0, "content": "1", "bounding_regions": [{"page_number": 1, "polygon": [{"x": 121.0, "y": 219.0}, {"x": 126.0, "y": 219.0}, {"x": 126.0, "y": 228.0}, {"x": 121.0, "y": 228.0}]}], "spans": [{"offset": 621, "length": 1}], "confidence": null}, "UnitPrice": {"value_type": "currency", "value": {"amount": 79.0, "symbol": null}, "content": "79.00", "bounding_regions": [{"page_number": 1, "polygon": [{"x": 459.0, "y": 214.0}, {"x": 488.0, "y": 214.0}, {"x": 488.0, "y": 223.0}, {"x": 460.0, "y": 224.0}]}], "spans": [{"offset": 645, "length": 5}], "confidence": null}}, "content": "21\n1\n450 PURIFIER ASSEMBLY\n79.00\n79.00", "bounding_regions": [{"page_number": 1, "polygon": [{"x": 78.0, "y": 218.0}, {"x": 554.0, "y": 213.0}, {"x": 554.0, "y": 224.0}, {"x": 78.0, "y": 229.0}]}], "spans": [{"offset": 618, "length": 38}], "confidence": null}, {"value_type": "dictionary", "value": {"Amount": {"value_type": "currency", "value": {"amount": 19.0, "symbol": null}, "content": "19.00", "bounding_regions": [{"page_number": 1, "polygon": [{"x": 525.0, "y": 232.0}, {"x": 554.0, "y": 231.0}, {"x": 555.0, "y": 241.0}, {"x": 526.0, "y": 242.0}]}], "spans": [{"offset": 680, "length": 5}], "confidence": null}, "Description": {"value_type": "string", "value": "452 CARTRIDGE", "content": "452 CARTRIDGE", "bounding_regions": [{"page_number": 1, "polygon": [{"x": 139.0, "y": 237.0}, {"x": 216.0, "y": 236.0}, {"x": 216.0, "y": 247.0}, {"x": 139.0, "y": 248.0}]}], "spans": [{"offset": 666, "length": 13}], "confidence": null}, "Quantity": {"value_type": "float", "value": 2.0, "content": "02", "bounding_regions": [{"page_number": 1, "polygon": [{"x": 79.0, "y": 238.0}, {"x": 91.0, "y": 238.0}, {"x": 91.0, "y": 247.0}, {"x": 79.0, "y": 247.0}]}], "spans": [{"offset": 657, "length": 2}], "confidence": null}, "UnitPrice": {"value_type": "currency", "value": {"amount": 19.0, "symbol": null}, "content": "19.00", "bounding_regions": [{"page_number": 1, "polygon": [{"x": 461.0, "y": 233.0}, {"x": 489.0, "y": 233.0}, {"x": 489.0, "y": 242.0}, {"x": 461.0, "y": 242.0}]}], "spans": [{"offset": 660, "length": 5}], "confidence": null}}, "content": "02\n19.00 452 CARTRIDGE\n19.00", "bounding_regions": [{"page_number": 1, "polygon": [{"x": 79.0, "y": 236.0}, {"x": 555.0, "y": 231.0}, {"x": 555.0, "y": 244.0}, {"x": 79.0, "y": 249.0}]}], "spans": [{"offset": 657, "length": 28}], "confidence": null}, {"value_type": "dictionary", "value": {"Amount": {"value_type": "currency", "value": {"amount": 1.24, "symbol": null}, "content": "1.24", "bounding_regions": [{"page_number": 1, "polygon": [{"x": 532.0, "y": 250.0}, {"x": 554.0, "y": 250.0}, {"x": 555.0, "y": 259.0}, {"x": 532.0, "y": 260.0}]}], "spans": [{"offset": 707, "length": 4}], "confidence": null}, "Description": {"value_type": "string", "value": "FREIGHT CHARGES", "content": "FREIGHT CHARGES", "bounding_regions": [{"page_number": 1, "polygon": [{"x": 138.0, "y": 255.0}, {"x": 228.0, "y": 255.0}, {"x": 228.0, "y": 266.0}, {"x": 138.0, "y": 266.0}]}], "spans": [{"offset": 686, "length": 15}], "confidence": null}, "UnitPrice": {"value_type": "currency", "value": {"amount": 1.24, "symbol": null}, "content": "1.24", "bounding_regions": [{"page_number": 1, "polygon": [{"x": 467.0, "y": 252.0}, {"x": 490.0, "y": 251.0}, {"x": 490.0, "y": 260.0}, {"x": 467.0, "y": 261.0}]}], "spans": [{"offset": 702, "length": 4}], "confidence": null}}, "content": "FREIGHT CHARGES 1.24\n1.24", "bounding_regions": [{"page_number": 1, "polygon": [{"x": 138.0, "y": 255.0}, {"x": 555.0, "y": 250.0}, {"x": 555.0, "y": 262.0}, {"x": 138.0, "y": 267.0}]}], "spans": [{"offset": 686, "length": 25}], "confidence": null}], "content": null, "bounding_regions": [], "spans": [], "confidence": null}, "PaymentTerm": {"value_type": "string", "value": "PREPAY AND ADD", "content": "PREPAY AND ADD", "bounding_regions": [{"page_number": 1, "polygon": [{"x": 399.0, "y": 167.0}, {"x": 481.0, "y": 166.0}, {"x": 481.0, "y": 176.0}, {"x": 399.0, "y": 177.0}]}], "spans": [{"offset": 390, "length": 14}], "confidence": null}, "PurchaseOrder": {"value_type": "string", "value": "7823", "content": "7823", "bounding_regions": [{"page_number": 1, "polygon": [{"x": 84.0, "y": 173.0}, {"x": 107.0, "y": 172.0}, {"x": 107.0, "y": 180.0}, {"x": 84.0, "y": 181.0}]}], "spans": [{"offset": 266, "length": 4}], "confidence": null}, "RemittanceAddress": {"value_type": "address", "value": {"house_number": null, "po_box": "P.O. BOX 23029", "road": null, "city": "NEWARK", "state": "NJ", "postal_code": "07189", "country_region": null, "street_address": "P.O. BOX 23029"}, "content": "P.O. BOX 23029\nNEWARK, NJ 07189.", "bounding_regions": [{"page_number": 1, "polygon": [{"x": 351.0, "y": 550.0}, {"x": 459.0, "y": 550.0}, {"x": 459.0, "y": 571.0}, {"x": 351.0, "y": 571.0}]}], "spans": [{"offset": 1216, "length": 32}], "confidence": null}, "RemittanceAddressRecipient": {"value_type": "string", "value": "MATHESON GAS PRODUCTS, INC.", "content": "MATHESON GAS PRODUCTS, INC.", "bounding_regions": [{"page_number": 1, "polygon": [{"x": 352.0, "y": 540.0}, {"x": 513.0, "y": 539.0}, {"x": 513.0, "y": 550.0}, {"x": 352.0, "y": 551.0}]}], "spans": [{"offset": 1188, "length": 27}], "confidence": null}, "ShippingAddress": {"value_type": "address", "value": {"house_number": "14", "po_box": null, "road": "SPRING STREET", "city": "WALTHAM", "state": "MA", "postal_code": "02254-9147", "country_region": null, "street_address": "14 SPRING STREET"}, "content": "14 SPRING STREET\nWALTHAM, MA\n02254-9147", "bounding_regions": [{"page_number": 1, "polygon": [{"x": 314.0, "y": 120.0}, {"x": 458.0, "y": 118.0}, {"x": 458.0, "y": 139.0}, {"x": 314.0, "y": 141.0}]}], "spans": [{"offset": 167, "length": 39}], "confidence": null}, "ShippingAddressRecipient": {"value_type": "string", "value": "GINER, INC.", "content": "GINER, INC.", "bounding_regions": [{"page_number": 1, "polygon": [{"x": 314.0, "y": 110.0}, {"x": 380.0, "y": 110.0}, {"x": 380.0, "y": 120.0}, {"x": 314.0, "y": 120.0}]}], "spans": [{"offset": 155, "length": 11}], "confidence": null}, "VendorAddress": {"value_type": "address", "value": {"house_number": null, "po_box": "P.O. BOX 1147", "road": null, "city": "GLOUCESTER.", "state": "MA", "postal_code": "01930", "country_region": null, "street_address": "P.O. BOX 1147"}, "content": "P.O. BOX 1147 GLOUCESTER. MA 01930", "bounding_regions": [{"page_number": 1, "polygon": [{"x": 101.0, "y": 553.0}, {"x": 228.0, "y": 553.0}, {"x": 228.0, "y": 574.0}, {"x": 101.0, "y": 574.0}]}], "spans": [{"offset": 1128, "length": 34}], "confidence": null}, "VendorAddressRecipient": {"value_type": "string", "value": "MATHESON GAS PRODUCTS, INC.", "content": "MATHESON GAS PRODUCTS, INC.", "bounding_regions": [{"page_number": 1, "polygon": [{"x": 100.0, "y": 542.0}, {"x": 264.0, "y": 542.0}, {"x": 264.0, "y": 554.0}, {"x": 100.0, "y": 554.0}]}], "spans": [{"offset": 1100, "length": 27}], "confidence": null}, "VendorName": {"value_type": "string", "value": "latheson\u00ae\nGas Products, Inc.", "content": "latheson\u00ae Gas Products, Inc.", "bounding_regions": [{"page_number": 1, "polygon": [{"x": 101.0, "y": 24.0}, {"x": 224.0, "y": 24.0}, {"x": 224.0, "y": 59.0}, {"x": 101.0, "y": 59.0}]}], "spans": [{"offset": 0, "length": 28}], "confidence": null}}, "confidence": 1.0}