{ "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": 1073 } ], "fields": { "BillingAddress": { "value_type": "address", "value": { "house_number": "31825", "po_box": null, "road": "GREAT WESTERN DR", "city": "WINDSOR", "state": "CO", "postal_code": "80550", "country_region": null, "street_address": "31825 GREAT WESTERN DR" }, "content": "31825 GREAT WESTERN DR\nWINDSOR, CO 80550", "bounding_regions": [ { "page_number": 1, "polygon": [ { "x": 537.0, "y": 249.0 }, { "x": 712.0, "y": 249.0 }, { "x": 712.0, "y": 278.0 }, { "x": 537.0, "y": 278.0 } ] } ], "spans": [ { "offset": 370, "length": 40 } ], "confidence": 0.889 }, "BillingAddressRecipient": { "value_type": "string", "value": "PLAREPLUS INC", "content": "PLAREPLUS INC", "bounding_regions": [ { "page_number": 1, "polygon": [ { "x": 538.0, "y": 236.0 }, { "x": 640.0, "y": 236.0 }, { "x": 640.0, "y": 249.0 }, { "x": 538.0, "y": 249.0 } ] } ], "spans": [ { "offset": 356, "length": 13 } ], "confidence": 0.934 }, "CustomerId": { "value_type": "string", "value": "37876", "content": "37876", "bounding_regions": [ { "page_number": 1, "polygon": [ { "x": 540.0, "y": 139.0 }, { "x": 579.0, "y": 139.0 }, { "x": 579.0, "y": 152.0 }, { "x": 540.0, "y": 153.0 } ] } ], "spans": [ { "offset": 117, "length": 5 } ], "confidence": 0.943 }, "CustomerName": { "value_type": "string", "value": "PLAREPLUS INC", "content": "PLAREPLUS INC", "bounding_regions": [ { "page_number": 1, "polygon": [ { "x": 538.0, "y": 236.0 }, { "x": 640.0, "y": 236.0 }, { "x": 640.0, "y": 249.0 }, { "x": 538.0, "y": 249.0 } ] } ], "spans": [ { "offset": 356, "length": 13 } ], "confidence": 0.934 }, "InvoiceDate": { "value_type": "date", "value": "2018-10-24", "content": "10/24/2018", "bounding_regions": [ { "page_number": 1, "polygon": [ { "x": 721.0, "y": 125.0 }, { "x": 798.0, "y": 126.0 }, { "x": 798.0, "y": 137.0 }, { "x": 722.0, "y": 138.0 } ] } ], "spans": [ { "offset": 172, "length": 10 } ], "confidence": 0.953 }, "InvoiceId": { "value_type": "string", "value": "0051616813", "content": "0051616813", "bounding_regions": [ { "page_number": 1, "polygon": [ { "x": 538.0, "y": 125.0 }, { "x": 619.0, "y": 125.0 }, { "x": 619.0, "y": 138.0 }, { "x": 539.0, "y": 139.0 } ] } ], "spans": [ { "offset": 95, "length": 10 } ], "confidence": 0.942 }, "InvoiceTotal": { "value_type": "currency", "value": { "amount": 711.0, "symbol": null }, "content": "711.00", "bounding_regions": [ { "page_number": 1, "polygon": [ { "x": 729.0, "y": 583.0 }, { "x": 775.0, "y": 583.0 }, { "x": 775.0, "y": 596.0 }, { "x": 729.0, "y": 596.0 } ] } ], "spans": [ { "offset": 760, "length": 6 } ], "confidence": 0.941 }, "Items": { "value_type": "list", "value": [ { "value_type": "dictionary", "value": { "Amount": { "value_type": "currency", "value": { "amount": 250.0, "symbol": null }, "content": "250.00", "bounding_regions": [ { "page_number": 1, "polygon": [ { "x": 721.0, "y": 446.0 }, { "x": 767.0, "y": 446.0 }, { "x": 767.0, "y": 458.0 }, { "x": 722.0, "y": 457.0 } ] } ], "spans": [ { "offset": 568, "length": 6 } ], "confidence": 0.928 }, "Description": { "value_type": "string", "value": "INSPECTION, ANNUAL ALARM SYSTEM", "content": "INSPECTION, ANNUAL ALARM SYSTEM", "bounding_regions": [ { "page_number": 1, "polygon": [ { "x": 248.0, "y": 445.0 }, { "x": 490.0, "y": 445.0 }, { "x": 490.0, "y": 459.0 }, { "x": 248.0, "y": 459.0 } ] } ], "spans": [ { "offset": 529, "length": 31 } ], "confidence": 0.928 }, "ProductCode": { "value_type": "string", "value": "INFA", "content": "INFA", "bounding_regions": [ { "page_number": 1, "polygon": [ { "x": 129.0, "y": 446.0 }, { "x": 158.0, "y": 446.0 }, { "x": 158.0, "y": 458.0 }, { "x": 129.0, "y": 458.0 } ] } ], "spans": [ { "offset": 522, "length": 4 } ], "confidence": 0.908 }, "Quantity": { "value_type": "float", "value": 1.0, "content": "1", "bounding_regions": [ { "page_number": 1, "polygon": [ { "x": 225.0, "y": 445.0 }, { "x": 231.0, "y": 445.0 }, { "x": 231.0, "y": 457.0 }, { "x": 225.0, "y": 457.0 } ] } ], "spans": [ { "offset": 527, "length": 1 } ], "confidence": 0.927 }, "Tax": { "value_type": "currency", "value": null, "content": "N", "bounding_regions": [ { "page_number": 1, "polygon": [ { "x": 791.0, "y": 446.0 }, { "x": 797.0, "y": 446.0 }, { "x": 797.0, "y": 457.0 }, { "x": 791.0, "y": 457.0 } ] } ], "spans": [ { "offset": 575, "length": 1 } ], "confidence": 0.515 }, "UnitPrice": { "value_type": "currency", "value": { "amount": 250.0, "symbol": null }, "content": "250.00", "bounding_regions": [ { "page_number": 1, "polygon": [ { "x": 571.0, "y": 445.0 }, { "x": 617.0, "y": 445.0 }, { "x": 617.0, "y": 459.0 }, { "x": 571.0, "y": 458.0 } ] } ], "spans": [ { "offset": 561, "length": 6 } ], "confidence": 0.929 } }, "content": "INFA\n1\nINSPECTION, ANNUAL ALARM SYSTEM\n250.00\n250.00\nN", "bounding_regions": [ { "page_number": 1, "polygon": [ { "x": 129.0, "y": 445.0 }, { "x": 797.0, "y": 445.0 }, { "x": 797.0, "y": 459.0 }, { "x": 129.0, "y": 459.0 } ] } ], "spans": [ { "offset": 522, "length": 54 } ], "confidence": 0.89 }, { "value_type": "dictionary", "value": { "Amount": { "value_type": "currency", "value": { "amount": 130.0, "symbol": null }, "content": "130.00", "bounding_regions": [ { "page_number": 1, "polygon": [ { "x": 721.0, "y": 472.0 }, { "x": 767.0, "y": 473.0 }, { "x": 767.0, "y": 485.0 }, { "x": 721.0, "y": 484.0 } ] } ], "spans": [ { "offset": 631, "length": 6 } ], "confidence": 0.928 }, "Description": { "value_type": "string", "value": "INSPECTION, SPRINKLER SYSTEM BACK FLOW", "content": "INSPECTION, SPRINKLER SYSTEM BACK FLOW", "bounding_regions": [ { "page_number": 1, "polygon": [ { "x": 247.0, "y": 471.0 }, { "x": 545.0, "y": 471.0 }, { "x": 545.0, "y": 486.0 }, { "x": 247.0, "y": 486.0 } ] } ], "spans": [ { "offset": 586, "length": 38 } ], "confidence": 0.927 }, "ProductCode": { "value_type": "string", "value": "INSPBF", "content": "INSPBF", "bounding_regions": [ { "page_number": 1, "polygon": [ { "x": 129.0, "y": 472.0 }, { "x": 174.0, "y": 472.0 }, { "x": 174.0, "y": 485.0 }, { "x": 129.0, "y": 485.0 } ] } ], "spans": [ { "offset": 577, "length": 6 } ], "confidence": 0.915 }, "Quantity": { "value_type": "float", "value": 2.0, "content": "2", "bounding_regions": [ { "page_number": 1, "polygon": [ { "x": 225.0, "y": 471.0 }, { "x": 231.0, "y": 471.0 }, { "x": 231.0, "y": 484.0 }, { "x": 224.0, "y": 483.0 } ] } ], "spans": [ { "offset": 584, "length": 1 } ], "confidence": 0.927 }, "Tax": { "value_type": "currency", "value": null, "content": "N", "bounding_regions": [ { "page_number": 1, "polygon": [ { "x": 791.0, "y": 473.0 }, { "x": 796.0, "y": 473.0 }, { "x": 796.0, "y": 483.0 }, { "x": 791.0, "y": 483.0 } ] } ], "spans": [ { "offset": 638, "length": 1 } ], "confidence": 0.573 }, "UnitPrice": { "value_type": "currency", "value": { "amount": 65.0, "symbol": null }, "content": "65.00", "bounding_regions": [ { "page_number": 1, "polygon": [ { "x": 579.0, "y": 472.0 }, { "x": 617.0, "y": 472.0 }, { "x": 616.0, "y": 486.0 }, { "x": 579.0, "y": 485.0 } ] } ], "spans": [ { "offset": 625, "length": 5 } ], "confidence": 0.929 } }, "content": "INSPBF\n2\nINSPECTION, SPRINKLER SYSTEM BACK FLOW\n65.00\n130.00\nN", "bounding_regions": [ { "page_number": 1, "polygon": [ { "x": 129.0, "y": 471.0 }, { "x": 796.0, "y": 471.0 }, { "x": 796.0, "y": 486.0 }, { "x": 129.0, "y": 486.0 } ] } ], "spans": [ { "offset": 577, "length": 62 } ], "confidence": 0.89 }, { "value_type": "dictionary", "value": { "Amount": { "value_type": "currency", "value": { "amount": 257.0, "symbol": null }, "content": "257.00", "bounding_regions": [ { "page_number": 1, "polygon": [ { "x": 721.0, "y": 501.0 }, { "x": 767.0, "y": 501.0 }, { "x": 767.0, "y": 513.0 }, { "x": 721.0, "y": 513.0 } ] } ], "spans": [ { "offset": 682, "length": 6 } ], "confidence": 0.928 }, "Description": { "value_type": "string", "value": "INSP. SPRINKLER RISER EACH", "content": "INSP. SPRINKLER RISER EACH", "bounding_regions": [ { "page_number": 1, "polygon": [ { "x": 248.0, "y": 499.0 }, { "x": 451.0, "y": 499.0 }, { "x": 451.0, "y": 513.0 }, { "x": 248.0, "y": 513.0 } ] } ], "spans": [ { "offset": 648, "length": 26 } ], "confidence": 0.928 }, "ProductCode": { "value_type": "string", "value": "INSPW", "content": "INSPW", "bounding_regions": [ { "page_number": 1, "polygon": [ { "x": 130.0, "y": 502.0 }, { "x": 164.0, "y": 501.0 }, { "x": 165.0, "y": 513.0 }, { "x": 130.0, "y": 512.0 } ] } ], "spans": [ { "offset": 640, "length": 5 } ], "confidence": 0.908 }, "Quantity": { "value_type": "float", "value": 1.0, "content": "1", "bounding_regions": [ { "page_number": 1, "polygon": [ { "x": 224.0, "y": 500.0 }, { "x": 230.0, "y": 500.0 }, { "x": 231.0, "y": 512.0 }, { "x": 224.0, "y": 512.0 } ] } ], "spans": [ { "offset": 646, "length": 1 } ], "confidence": 0.927 }, "Tax": { "value_type": "currency", "value": null, "content": "N", "bounding_regions": [ { "page_number": 1, "polygon": [ { "x": 792.0, "y": 501.0 }, { "x": 797.0, "y": 501.0 }, { "x": 797.0, "y": 511.0 }, { "x": 792.0, "y": 511.0 } ] } ], "spans": [ { "offset": 689, "length": 1 } ], "confidence": 0.535 }, "UnitPrice": { "value_type": "currency", "value": { "amount": 257.0, "symbol": null }, "content": "257.00", "bounding_regions": [ { "page_number": 1, "polygon": [ { "x": 571.0, "y": 500.0 }, { "x": 617.0, "y": 500.0 }, { "x": 617.0, "y": 513.0 }, { "x": 571.0, "y": 513.0 } ] } ], "spans": [ { "offset": 675, "length": 6 } ], "confidence": 0.929 } }, "content": "INSPW\n1\nINSP. SPRINKLER RISER EACH\n257.00\n257.00\nN", "bounding_regions": [ { "page_number": 1, "polygon": [ { "x": 130.0, "y": 499.0 }, { "x": 797.0, "y": 499.0 }, { "x": 797.0, "y": 513.0 }, { "x": 130.0, "y": 513.0 } ] } ], "spans": [ { "offset": 640, "length": 50 } ], "confidence": 0.89 }, { "value_type": "dictionary", "value": { "Amount": { "value_type": "currency", "value": { "amount": 74.0, "symbol": null }, "content": "74.00", "bounding_regions": [ { "page_number": 1, "polygon": [ { "x": 729.0, "y": 528.0 }, { "x": 768.0, "y": 528.0 }, { "x": 768.0, "y": 541.0 }, { "x": 729.0, "y": 541.0 } ] } ], "spans": [ { "offset": 717, "length": 5 } ], "confidence": 0.928 }, "Description": { "value_type": "string", "value": "SERVICE CHARGE", "content": "SERVICE CHARGE", "bounding_regions": [ { "page_number": 1, "polygon": [ { "x": 247.0, "y": 527.0 }, { "x": 356.0, "y": 527.0 }, { "x": 356.0, "y": 542.0 }, { "x": 247.0, "y": 542.0 } ] } ], "spans": [ { "offset": 696, "length": 14 } ], "confidence": 0.928 }, "ProductCode": { "value_type": "string", "value": "SC", "content": "SC", "bounding_regions": [ { "page_number": 1, "polygon": [ { "x": 129.0, "y": 528.0 }, { "x": 142.0, "y": 528.0 }, { "x": 143.0, "y": 540.0 }, { "x": 129.0, "y": 540.0 } ] } ], "spans": [ { "offset": 691, "length": 2 } ], "confidence": 0.769 }, "Quantity": { "value_type": "float", "value": 1.0, "content": "1", "bounding_regions": [ { "page_number": 1, "polygon": [ { "x": 224.0, "y": 527.0 }, { "x": 231.0, "y": 527.0 }, { "x": 231.0, "y": 540.0 }, { "x": 224.0, "y": 540.0 } ] } ], "spans": [ { "offset": 694, "length": 1 } ], "confidence": 0.925 }, "Tax": { "value_type": "currency", "value": null, "content": "N", "bounding_regions": [ { "page_number": 1, "polygon": [ { "x": 792.0, "y": 529.0 }, { "x": 797.0, "y": 529.0 }, { "x": 797.0, "y": 539.0 }, { "x": 792.0, "y": 539.0 } ] } ], "spans": [ { "offset": 723, "length": 1 } ], "confidence": 0.518 }, "UnitPrice": { "value_type": "currency", "value": { "amount": 74.0, "symbol": null }, "content": "74.00", "bounding_regions": [ { "page_number": 1, "polygon": [ { "x": 579.0, "y": 527.0 }, { "x": 618.0, "y": 527.0 }, { "x": 618.0, "y": 541.0 }, { "x": 579.0, "y": 541.0 } ] } ], "spans": [ { "offset": 711, "length": 5 } ], "confidence": 0.929 } }, "content": "SC\n1\nSERVICE CHARGE\n74.00\n74.00\nN", "bounding_regions": [ { "page_number": 1, "polygon": [ { "x": 129.0, "y": 527.0 }, { "x": 797.0, "y": 527.0 }, { "x": 797.0, "y": 542.0 }, { "x": 129.0, "y": 542.0 } ] } ], "spans": [ { "offset": 691, "length": 33 } ], "confidence": 0.89 } ], "content": null, "bounding_regions": [], "spans": [], "confidence": null }, "RemittanceAddress": { "value_type": "address", "value": { "house_number": null, "po_box": "P.O. BOX 636525", "road": null, "city": "CINCINNATI", "state": "OH", "postal_code": "452636525", "country_region": null, "street_address": "P.O. BOX 636525" }, "content": "P.O. BOX 636525 CINCINNATI, OH 452636525", "bounding_regions": [ { "page_number": 1, "polygon": [ { "x": 175.0, "y": 249.0 }, { "x": 373.0, "y": 249.0 }, { "x": 373.0, "y": 278.0 }, { "x": 175.0, "y": 278.0 } ] } ], "spans": [ { "offset": 291, "length": 40 } ], "confidence": 0.891 }, "RemittanceAddressRecipient": { "value_type": "string", "value": "CINTAS FIRE 636525", "content": "CINTAS FIRE 636525", "bounding_regions": [ { "page_number": 1, "polygon": [ { "x": 175.0, "y": 235.0 }, { "x": 318.0, "y": 235.0 }, { "x": 318.0, "y": 250.0 }, { "x": 175.0, "y": 250.0 } ] } ], "spans": [ { "offset": 272, "length": 18 } ], "confidence": 0.926 }, "ServiceAddress": { "value_type": "address", "value": { "house_number": "31825", "po_box": null, "road": "GREAT WESTERN DR", "city": "WINDSOR", "state": "CO", "postal_code": "80550", "country_region": null, "street_address": "31825 GREAT WESTERN DR" }, "content": "31825 GREAT WESTERN DR WINDSOR, CO 80550", "bounding_regions": [ { "page_number": 1, "polygon": [ { "x": 174.0, "y": 332.0 }, { "x": 348.0, "y": 332.0 }, { "x": 348.0, "y": 361.0 }, { "x": 174.0, "y": 361.0 } ] } ], "spans": [ { "offset": 435, "length": 40 } ], "confidence": 0.889 }, "ServiceAddressRecipient": { "value_type": "string", "value": "PLATEPLUS INC", "content": "PLATEPLUS INC", "bounding_regions": [ { "page_number": 1, "polygon": [ { "x": 175.0, "y": 319.0 }, { "x": 277.0, "y": 319.0 }, { "x": 277.0, "y": 333.0 }, { "x": 175.0, "y": 333.0 } ] } ], "spans": [ { "offset": 421, "length": 13 } ], "confidence": 0.932 }, "SubTotal": { "value_type": "currency", "value": { "amount": 711.0, "symbol": null }, "content": "711.00", "bounding_regions": [ { "page_number": 1, "polygon": [ { "x": 729.0, "y": 557.0 }, { "x": 774.0, "y": 556.0 }, { "x": 774.0, "y": 569.0 }, { "x": 729.0, "y": 568.0 } ] } ], "spans": [ { "offset": 737, "length": 6 } ], "confidence": 0.95 }, "TotalTax": { "value_type": "currency", "value": { "amount": 0.0, "symbol": null }, "content": ".00", "bounding_regions": [ { "page_number": 1, "polygon": [ { "x": 752.0, "y": 570.0 }, { "x": 775.0, "y": 570.0 }, { "x": 775.0, "y": 582.0 }, { "x": 752.0, "y": 582.0 } ] } ], "spans": [ { "offset": 748, "length": 3 } ], "confidence": 0.829 }, "VendorName": { "value_type": "string", "value": "CINTAS\nFIRE PROTECTION", "content": "CINTAS FIRE PROTECTION", "bounding_regions": [ { "page_number": 1, "polygon": [ { "x": 131.0, "y": 35.0 }, { "x": 262.0, "y": 35.0 }, { "x": 262.0, "y": 91.0 }, { "x": 131.0, "y": 91.0 } ] } ], "spans": [ { "offset": 0, "length": 22 } ], "confidence": 0.416 } }, "confidence": 1.0 }