File size: 12,412 Bytes
ed4561c |
1 |
{"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": 1372}], "fields": {"AmountDue": {"value_type": "currency", "value": {"amount": 32450.0, "symbol": null}, "content": "32,450.00", "bounding_regions": [{"page_number": 1, "polygon": [{"x": 503.0, "y": 511.0}, {"x": 536.0, "y": 509.0}, {"x": 536.0, "y": 519.0}, {"x": 503.0, "y": 519.0}]}], "spans": [{"offset": 1281, "length": 9}], "confidence": 0.945}, "CustomerAddress": {"value_type": "address", "value": {"house_number": "No 78", "po_box": null, "road": "Dasarathpuram mainroad", "city": "Chennai,\nTamilnau", "state": null, "postal_code": "600124", "country_region": "India", "street_address": "No 78 Dasarathpuram mainroad"}, "content": "No 78 Dasarathpuram mainroad saligramam, Chennai,\nTamilnau, India - 600124.", "bounding_regions": [{"page_number": 1, "polygon": [{"x": 110.0, "y": 190.0}, {"x": 290.0, "y": 190.0}, {"x": 290.0, "y": 210.0}, {"x": 110.0, "y": 210.0}]}], "spans": [{"offset": 502, "length": 75}], "confidence": 0.889}, "CustomerAddressRecipient": {"value_type": "string", "value": "Make It Cut,", "content": "Make It Cut,", "bounding_regions": [{"page_number": 1, "polygon": [{"x": 110.0, "y": 178.0}, {"x": 151.0, "y": 178.0}, {"x": 151.0, "y": 188.0}, {"x": 110.0, "y": 188.0}]}], "spans": [{"offset": 489, "length": 12}], "confidence": 0.936}, "CustomerId": {"value_type": "string", "value": "72", "content": "72", "bounding_regions": [{"page_number": 1, "polygon": [{"x": 526.0, "y": 129.0}, {"x": 532.0, "y": 129.0}, {"x": 532.0, "y": 137.0}, {"x": 526.0, "y": 137.0}]}], "spans": [{"offset": 451, "length": 2}], "confidence": 0.943}, "CustomerName": {"value_type": "string", "value": "Make It Cut,", "content": "Make It Cut,", "bounding_regions": [{"page_number": 1, "polygon": [{"x": 110.0, "y": 178.0}, {"x": 151.0, "y": 178.0}, {"x": 151.0, "y": 188.0}, {"x": 110.0, "y": 188.0}]}], "spans": [{"offset": 489, "length": 12}], "confidence": 0.936}, "InvoiceDate": {"value_type": "date", "value": "2019-11-26", "content": "26-11-2019", "bounding_regions": [{"page_number": 1, "polygon": [{"x": 499.0, "y": 45.0}, {"x": 533.0, "y": 44.0}, {"x": 533.0, "y": 53.0}, {"x": 500.0, "y": 53.0}]}], "spans": [{"offset": 300, "length": 10}], "confidence": 0.957}, "InvoiceId": {"value_type": "string", "value": "INV/19-20/112", "content": "INV/19-20/112", "bounding_regions": [{"page_number": 1, "polygon": [{"x": 487.0, "y": 33.0}, {"x": 534.0, "y": 32.0}, {"x": 534.0, "y": 42.0}, {"x": 487.0, "y": 41.0}]}], "spans": [{"offset": 273, "length": 13}], "confidence": 0.96}, "InvoiceTotal": {"value_type": "currency", "value": {"amount": 32450.0, "symbol": null}, "content": "32,450.00", "bounding_regions": [{"page_number": 1, "polygon": [{"x": 503.0, "y": 488.0}, {"x": 535.0, "y": 487.0}, {"x": 536.0, "y": 496.0}, {"x": 503.0, "y": 496.0}]}], "spans": [{"offset": 1239, "length": 9}], "confidence": 0.957}, "Items": {"value_type": "list", "value": [{"value_type": "dictionary", "value": {"Amount": {"value_type": "currency", "value": {"amount": 24000.0, "symbol": null}, "content": "24,000.00", "bounding_regions": [{"page_number": 1, "polygon": [{"x": 504.0, "y": 286.0}, {"x": 536.0, "y": 286.0}, {"x": 536.0, "y": 294.0}, {"x": 504.0, "y": 294.0}]}], "spans": [{"offset": 766, "length": 9}], "confidence": null}, "Description": {"value_type": "string", "value": "CELLOTAPE2\"PRINTED(630 MTRS CLEAR)\n48MM530MTRS\nLOGO PRINTED SELF ADHESIVE TAPE", "content": "CELLOTAPE2\"PRINTED(630 MTRS CLEAR)\n48MM530MTRS LOGO PRINTED SELF ADHESIVE TAPE", "bounding_regions": [{"page_number": 1, "polygon": [{"x": 125.0, "y": 285.0}, {"x": 261.0, "y": 285.0}, {"x": 261.0, "y": 327.0}, {"x": 125.0, "y": 327.0}]}], "spans": [{"offset": 705, "length": 34}, {"offset": 776, "length": 43}], "confidence": null}, "ProductCode": {"value_type": "string", "value": "39191000", "content": "39191000", "bounding_regions": [{"page_number": 1, "polygon": [{"x": 329.0, "y": 287.0}, {"x": 357.0, "y": 286.0}, {"x": 358.0, "y": 295.0}, {"x": 329.0, "y": 294.0}]}], "spans": [{"offset": 740, "length": 8}], "confidence": null}, "Quantity": {"value_type": "float", "value": 100.0, "content": "100.0", "bounding_regions": [{"page_number": 1, "polygon": [{"x": 389.0, "y": 287.0}, {"x": 405.0, "y": 287.0}, {"x": 405.0, "y": 294.0}, {"x": 390.0, "y": 294.0}]}], "spans": [{"offset": 749, "length": 5}], "confidence": null}, "TaxRate": {"value_type": "string", "value": "18.00%", "content": "18.00%", "bounding_regions": [{"page_number": 1, "polygon": [{"x": 452.0, "y": 287.0}, {"x": 475.0, "y": 287.0}, {"x": 476.0, "y": 294.0}, {"x": 452.0, "y": 293.0}]}], "spans": [{"offset": 759, "length": 6}], "confidence": null}, "Unit": {"value_type": "string", "value": "Nos", "content": "Nos", "bounding_regions": [{"page_number": 1, "polygon": [{"x": 413.0, "y": 286.0}, {"x": 427.0, "y": 287.0}, {"x": 426.0, "y": 294.0}, {"x": 412.0, "y": 293.0}]}], "spans": [{"offset": 755, "length": 3}], "confidence": null}}, "content": "1\nCELLOTAPE2\"PRINTED(630 MTRS CLEAR)\n39191000\n100.0\nNos\n18.00%\n24,000.00\n48MM530MTRS LOGO PRINTED SELF ADHESIVE TAPE", "bounding_regions": [{"page_number": 1, "polygon": [{"x": 116.0, "y": 285.0}, {"x": 536.0, "y": 285.0}, {"x": 536.0, "y": 327.0}, {"x": 116.0, "y": 327.0}]}], "spans": [{"offset": 703, "length": 116}], "confidence": 0.566}, {"value_type": "dictionary", "value": {"Amount": {"value_type": "currency", "value": {"amount": 3500.0, "symbol": null}, "content": "3,500.00", "bounding_regions": [{"page_number": 1, "polygon": [{"x": 509.0, "y": 337.0}, {"x": 536.0, "y": 337.0}, {"x": 536.0, "y": 345.0}, {"x": 509.0, "y": 344.0}]}], "spans": [{"offset": 910, "length": 8}], "confidence": null}, "Description": {"value_type": "string", "value": "CSM MAT RESIN\n100% csm mat resin used for domestic purpose only.", "content": "CSM MAT RESIN 100% csm mat resin used for domestic purpose only.", "bounding_regions": [{"page_number": 1, "polygon": [{"x": 125.0, "y": 336.0}, {"x": 300.0, "y": 336.0}, {"x": 300.0, "y": 356.0}, {"x": 125.0, "y": 356.0}]}], "spans": [{"offset": 822, "length": 64}], "confidence": null}, "ProductCode": {"value_type": "string", "value": "123456", "content": "123456", "bounding_regions": [{"page_number": 1, "polygon": [{"x": 329.0, "y": 337.0}, {"x": 350.0, "y": 337.0}, {"x": 351.0, "y": 345.0}, {"x": 329.0, "y": 344.0}]}], "spans": [{"offset": 887, "length": 6}], "confidence": null}, "Quantity": {"value_type": "float", "value": 10.0, "content": "10.0", "bounding_regions": [{"page_number": 1, "polygon": [{"x": 393.0, "y": 336.0}, {"x": 406.0, "y": 336.0}, {"x": 406.0, "y": 344.0}, {"x": 393.0, "y": 343.0}]}], "spans": [{"offset": 894, "length": 4}], "confidence": null}, "TaxRate": {"value_type": "string", "value": "18.00%", "content": "18.00%", "bounding_regions": [{"page_number": 1, "polygon": [{"x": 452.0, "y": 337.0}, {"x": 476.0, "y": 337.0}, {"x": 476.0, "y": 344.0}, {"x": 452.0, "y": 344.0}]}], "spans": [{"offset": 903, "length": 6}], "confidence": null}, "Unit": {"value_type": "string", "value": "Kgs", "content": "Kgs", "bounding_regions": [{"page_number": 1, "polygon": [{"x": 413.0, "y": 337.0}, {"x": 425.0, "y": 337.0}, {"x": 425.0, "y": 345.0}, {"x": 413.0, "y": 345.0}]}], "spans": [{"offset": 899, "length": 3}], "confidence": null}}, "content": "2\nCSM MAT RESIN 100% csm mat resin used for domestic purpose only.\n123456\n10.0\nKgs\n18.00%\n3,500.00", "bounding_regions": [{"page_number": 1, "polygon": [{"x": 115.0, "y": 336.0}, {"x": 536.0, "y": 336.0}, {"x": 536.0, "y": 356.0}, {"x": 115.0, "y": 356.0}]}], "spans": [{"offset": 820, "length": 98}], "confidence": 0.568}], "content": null, "bounding_regions": [], "spans": [], "confidence": null}, "PaymentTerm": {"value_type": "string", "value": "45 days Credit", "content": "45 days Credit", "bounding_regions": [{"page_number": 1, "polygon": [{"x": 432.0, "y": 141.0}, {"x": 480.0, "y": 141.0}, {"x": 480.0, "y": 151.0}, {"x": 432.0, "y": 151.0}]}], "spans": [{"offset": 471, "length": 14}], "confidence": 0.936}, "PurchaseOrder": {"value_type": "string", "value": "PO1245", "content": "PO1245", "bounding_regions": [{"page_number": 1, "polygon": [{"x": 507.0, "y": 81.0}, {"x": 533.0, "y": 81.0}, {"x": 533.0, "y": 90.0}, {"x": 508.0, "y": 89.0}]}], "spans": [{"offset": 380, "length": 6}], "confidence": 0.952}, "SubTotal": {"value_type": "currency", "value": {"amount": 27500.0, "symbol": null}, "content": "27,500.00", "bounding_regions": [{"page_number": 1, "polygon": [{"x": 503.0, "y": 442.0}, {"x": 536.0, "y": 441.0}, {"x": 536.0, "y": 451.0}, {"x": 503.0, "y": 451.0}]}], "spans": [{"offset": 1145, "length": 9}], "confidence": 0.964}, "TaxDetails": {"value_type": "list", "value": [{"value_type": "dictionary", "value": {"Amount": {"value_type": "currency", "value": {"amount": 2475.0, "symbol": null}, "content": "2,475.00", "bounding_regions": [{"page_number": 1, "polygon": [{"x": 507.0, "y": 454.0}, {"x": 536.0, "y": 453.0}, {"x": 536.0, "y": 462.0}, {"x": 508.0, "y": 462.0}]}], "spans": [{"offset": 1173, "length": 8}], "confidence": null}, "Rate": {"value_type": "string", "value": "(9.0%)", "content": "(9.0%)", "bounding_regions": [{"page_number": 1, "polygon": [{"x": 407.0, "y": 451.0}, {"x": 430.0, "y": 451.0}, {"x": 430.0, "y": 461.0}, {"x": 407.0, "y": 460.0}]}], "spans": [{"offset": 1166, "length": 6}], "confidence": null}}, "content": "SGST 9 Tax (9.0%)\n2,475.00", "bounding_regions": [{"page_number": 1, "polygon": [{"x": 370.0, "y": 451.0}, {"x": 536.0, "y": 451.0}, {"x": 536.0, "y": 462.0}, {"x": 370.0, "y": 462.0}]}], "spans": [{"offset": 1155, "length": 26}], "confidence": 0.004}, {"value_type": "dictionary", "value": {"Amount": {"value_type": "currency", "value": {"amount": 2475.0, "symbol": null}, "content": "2,475.00", "bounding_regions": [{"page_number": 1, "polygon": [{"x": 508.0, "y": 465.0}, {"x": 535.0, "y": 464.0}, {"x": 536.0, "y": 473.0}, {"x": 508.0, "y": 473.0}]}], "spans": [{"offset": 1202, "length": 8}], "confidence": null}, "Rate": {"value_type": "string", "value": "(9.0%)", "content": "(9.0%)", "bounding_regions": [{"page_number": 1, "polygon": [{"x": 408.0, "y": 462.0}, {"x": 431.0, "y": 462.0}, {"x": 431.0, "y": 472.0}, {"x": 408.0, "y": 472.0}]}], "spans": [{"offset": 1193, "length": 6}], "confidence": null}}, "content": "CGST 9 Tax (9.0%)\n4\n2,475.00", "bounding_regions": [{"page_number": 1, "polygon": [{"x": 370.0, "y": 462.0}, {"x": 536.0, "y": 462.0}, {"x": 536.0, "y": 473.0}, {"x": 370.0, "y": 473.0}]}], "spans": [{"offset": 1182, "length": 28}], "confidence": 0.006}], "content": null, "bounding_regions": [], "spans": [], "confidence": null}, "VendorAddress": {"value_type": "address", "value": {"house_number": "2/8", "po_box": null, "road": "2nd floor saradambal street, T.Nagar", "city": "Chennai", "state": "Tamil\nNadu", "postal_code": "600017", "country_region": "India", "street_address": "2/8 2nd floor saradambal street, T.Nagar No"}, "content": "No 2/8, 2nd floor saradambal street, T.Nagar, Chennai, Tamil Nadu, India - 600017.", "bounding_regions": [{"page_number": 1, "polygon": [{"x": 106.0, "y": 103.0}, {"x": 307.0, "y": 103.0}, {"x": 307.0, "y": 123.0}, {"x": 106.0, "y": 123.0}]}], "spans": [{"offset": 53, "length": 82}], "confidence": 0.916}, "VendorAddressRecipient": {"value_type": "string", "value": "CatalystK Company", "content": "CatalystK Company", "bounding_regions": [{"page_number": 1, "polygon": [{"x": 106.0, "y": 85.0}, {"x": 216.0, "y": 87.0}, {"x": 216.0, "y": 102.0}, {"x": 106.0, "y": 100.0}]}], "spans": [{"offset": 35, "length": 17}], "confidence": 0.942}, "VendorName": {"value_type": "string", "value": "CatalystK Company.", "content": "CatalystK Company.", "bounding_regions": [{"page_number": 1, "polygon": [{"x": 440.0, "y": 568.0}, {"x": 511.0, "y": 569.0}, {"x": 511.0, "y": 581.0}, {"x": 440.0, "y": 579.0}]}], "spans": [{"offset": 1295, "length": 18}], "confidence": 0.754}, "VendorTaxId": {"value_type": "string", "value": "34AABCB5576GIZX", "content": "34AABCB5576GIZX", "bounding_regions": [{"page_number": 1, "polygon": [{"x": 132.0, "y": 148.0}, {"x": 198.0, "y": 148.0}, {"x": 198.0, "y": 158.0}, {"x": 132.0, "y": 158.0}]}], "spans": [{"offset": 227, "length": 15}], "confidence": 0.728}}, "confidence": 1.0} |