{"doc_type": "invoice", "bounding_regions": [{"page_number": 1, "polygon": [{"x": 0.0, "y": 0.0}, {"x": 1448.0, "y": 0.0}, {"x": 1448.0, "y": 2048.0}, {"x": 0.0, "y": 2048.0}]}], "spans": [{"offset": 0, "length": 1614}], "fields": {"BillingAddress": {"value_type": "address", "value": {"house_number": null, "po_box": null, "road": null, "city": "Trivandrum", "state": "KERALA", "postal_code": "695583", "country_region": "IN", "street_address": ""}, "content": "A302, Oceanus Serenity, Trivandrum Trivandrum, KERALA, 695583 IN", "bounding_regions": [{"page_number": 1, "polygon": [{"x": 891.0, "y": 310.0}, {"x": 1343.0, "y": 310.0}, {"x": 1343.0, "y": 403.0}, {"x": 891.0, "y": 403.0}]}], "spans": [{"offset": 381, "length": 64}], "confidence": 0.718}, "BillingAddressRecipient": {"value_type": "string", "value": "Robin Tommy", "content": "Robin Tommy", "bounding_regions": [{"page_number": 1, "polygon": [{"x": 1170.0, "y": 277.0}, {"x": 1345.0, "y": 281.0}, {"x": 1344.0, "y": 313.0}, {"x": 1169.0, "y": 309.0}]}], "spans": [{"offset": 369, "length": 11}], "confidence": 0.733}, "CustomerAddress": {"value_type": "address", "value": {"house_number": null, "po_box": null, "road": null, "city": "Thane\nBHIWANDI", "state": "MAHARASHTRA", "postal_code": "421302", "country_region": "IN", "street_address": ""}, "content": "Building No. 5, BGR Warehousing Complex,\nNear Shiv Sagar Hotel, Village Vahuli, Bhiwandi,\nThane\nBHIWANDI, MAHARASHTRA, 421302\nIN", "bounding_regions": [{"page_number": 1, "polygon": [{"x": 101.0, "y": 316.0}, {"x": 693.0, "y": 316.0}, {"x": 693.0, "y": 470.0}, {"x": 101.0, "y": 470.0}]}], "spans": [{"offset": 109, "length": 128}], "confidence": 0.799}, "CustomerAddressRecipient": {"value_type": "string", "value": "Appario Retail Private Ltd", "content": "Appario Retail Private Ltd", "bounding_regions": [{"page_number": 1, "polygon": [{"x": 103.0, "y": 279.0}, {"x": 414.0, "y": 279.0}, {"x": 414.0, "y": 311.0}, {"x": 103.0, "y": 311.0}]}], "spans": [{"offset": 82, "length": 26}], "confidence": 0.908}, "CustomerName": {"value_type": "string", "value": "Appario Retail Private Ltd", "content": "Appario Retail Private Ltd", "bounding_regions": [{"page_number": 1, "polygon": [{"x": 103.0, "y": 279.0}, {"x": 414.0, "y": 279.0}, {"x": 414.0, "y": 311.0}, {"x": 103.0, "y": 311.0}]}], "spans": [{"offset": 82, "length": 26}], "confidence": 0.908}, "CustomerTaxId": {"value_type": "string", "value": "27AALCA0171E1ZZ", "content": "27AALCA0171E1ZZ", "bounding_regions": [{"page_number": 1, "polygon": [{"x": 389.0, "y": 571.0}, {"x": 638.0, "y": 571.0}, {"x": 639.0, "y": 602.0}, {"x": 389.0, "y": 604.0}]}], "spans": [{"offset": 278, "length": 15}], "confidence": 0.283}, "InvoiceDate": {"value_type": "date", "value": "2019-11-16", "content": "16.11.2019", "bounding_regions": [{"page_number": 1, "polygon": [{"x": 1208.0, "y": 872.0}, {"x": 1342.0, "y": 873.0}, {"x": 1343.0, "y": 901.0}, {"x": 1208.0, "y": 901.0}]}], "spans": [{"offset": 721, "length": 10}], "confidence": 0.95}, "InvoiceId": {"value_type": "string", "value": "BOM7-1312958", "content": "BOM7-1312958", "bounding_regions": [{"page_number": 1, "polygon": [{"x": 1148.0, "y": 800.0}, {"x": 1344.0, "y": 800.0}, {"x": 1344.0, "y": 829.0}, {"x": 1149.0, "y": 829.0}]}], "spans": [{"offset": 657, "length": 12}], "confidence": 0.844}, "Items": {"value_type": "list", "value": [{"value_type": "dictionary", "value": {"Amount": {"value_type": "currency", "value": {"amount": 3999.0, "symbol": "\u20b9"}, "content": "\u20b93,999.00", "bounding_regions": [{"page_number": 1, "polygon": [{"x": 1231.0, "y": 1040.0}, {"x": 1336.0, "y": 1041.0}, {"x": 1336.0, "y": 1066.0}, {"x": 1231.0, "y": 1065.0}]}], "spans": [{"offset": 1006, "length": 9}], "confidence": 0.904}, "Description": {"value_type": "string", "value": "HP DeskJet 2622 All-in-One Wireless Colour Inkjet Printer\n(White) with Voice-Activated Printing (Works with Alexa and\nGoogle Assistant) | B0752J9JQQ ( B0752J9JQQ )\nHSN:8443", "content": "HP DeskJet 2622 All-in-One Wireless Colour Inkjet Printer (White) with Voice-Activated Printing (Works with Alexa and Google Assistant) | B0752J9JQQ ( B0752J9JQQ ) HSN:8443", "bounding_regions": [{"page_number": 1, "polygon": [{"x": 138.0, "y": 999.0}, {"x": 718.0, "y": 999.0}, {"x": 718.0, "y": 1100.0}, {"x": 138.0, "y": 1100.0}]}], "spans": [{"offset": 821, "length": 172}], "confidence": 0.872}, "Quantity": {"value_type": "float", "value": 1.0, "content": "1", "bounding_regions": [{"page_number": 1, "polygon": [{"x": 891.0, "y": 1042.0}, {"x": 901.0, "y": 1042.0}, {"x": 900.0, "y": 1063.0}, {"x": 890.0, "y": 1063.0}]}], "spans": [{"offset": 1004, "length": 1}], "confidence": 0.905}, "Tax": {"value_type": "currency", "value": {"amount": 610.02, "symbol": "\u20b9"}, "content": "\u20b9610.02", "bounding_regions": [{"page_number": 1, "polygon": [{"x": 1135.0, "y": 1039.0}, {"x": 1222.0, "y": 1040.0}, {"x": 1222.0, "y": 1065.0}, {"x": 1135.0, "y": 1063.0}]}], "spans": [{"offset": 1036, "length": 7}], "confidence": 0.892}, "TaxRate": {"value_type": "string", "value": "18% |IGST", "content": "18% |IGST", "bounding_regions": [{"page_number": 1, "polygon": [{"x": 1028.0, "y": 1039.0}, {"x": 1129.0, "y": 1039.0}, {"x": 1129.0, "y": 1064.0}, {"x": 1028.0, "y": 1064.0}]}], "spans": [{"offset": 1026, "length": 9}], "confidence": 0.513}, "UnitPrice": {"value_type": "currency", "value": {"amount": 3388.98, "symbol": "\u20b9"}, "content": "\u20b93,388.98", "bounding_regions": [{"page_number": 1, "polygon": [{"x": 770.0, "y": 1040.0}, {"x": 871.0, "y": 1039.0}, {"x": 871.0, "y": 1066.0}, {"x": 771.0, "y": 1065.0}]}], "spans": [{"offset": 994, "length": 9}], "confidence": 0.905}}, "content": "1\nHP DeskJet 2622 All-in-One Wireless Colour Inkjet Printer (White) with Voice-Activated Printing (Works with Alexa and Google Assistant) | B0752J9JQQ ( B0752J9JQQ ) HSN:8443\n\u20b93,388.98\n1\n\u20b93,999.00\n\u20b93,388.98 18% |IGST \u20b9610.02", "bounding_regions": [{"page_number": 1, "polygon": [{"x": 116.0, "y": 999.0}, {"x": 1336.0, "y": 999.0}, {"x": 1336.0, "y": 1100.0}, {"x": 116.0, "y": 1100.0}]}], "spans": [{"offset": 819, "length": 224}], "confidence": 0.847}], "content": null, "bounding_regions": [], "spans": [], "confidence": null}, "ShippingAddress": {"value_type": "address", "value": {"house_number": null, "po_box": null, "road": null, "city": "Trivandrum", "state": "KERALA", "postal_code": "695583", "country_region": "IN", "street_address": ""}, "content": "A302, Oceanus Serenity, Trivandrum Trivandrum, KERALA, 695583 IN", "bounding_regions": [{"page_number": 1, "polygon": [{"x": 892.0, "y": 597.0}, {"x": 1343.0, "y": 597.0}, {"x": 1343.0, "y": 690.0}, {"x": 892.0, "y": 690.0}]}], "spans": [{"offset": 507, "length": 64}], "confidence": 0.777}, "ShippingAddressRecipient": {"value_type": "string", "value": "Robin Tommy\nRobin Tommy", "content": "Robin Tommy Robin Tommy", "bounding_regions": [{"page_number": 1, "polygon": [{"x": 1163.0, "y": 534.0}, {"x": 1345.0, "y": 536.0}, {"x": 1345.0, "y": 599.0}, {"x": 1162.0, "y": 597.0}]}], "spans": [{"offset": 483, "length": 23}], "confidence": 0.75}, "TotalTax": {"value_type": "currency", "value": {"amount": 3999.0, "symbol": "\u20b9"}, "content": "\u20b9610.02\u20b93,999.00", "bounding_regions": [{"page_number": 1, "polygon": [{"x": 1134.0, "y": 1115.0}, {"x": 1339.0, "y": 1117.0}, {"x": 1339.0, "y": 1142.0}, {"x": 1134.0, "y": 1140.0}]}], "spans": [{"offset": 1051, "length": 16}], "confidence": 0.809}, "VendorName": {"value_type": "string", "value": "amazon.in", "content": "amazon.in", "bounding_regions": [{"page_number": 1, "polygon": [{"x": 135.0, "y": 23.0}, {"x": 508.0, "y": 12.0}, {"x": 511.0, "y": 84.0}, {"x": 134.0, "y": 86.0}]}], "spans": [{"offset": 0, "length": 9}], "confidence": 0.952}}, "confidence": 1.0}