{"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": 1253}], "fields": {"BillingAddress": {"value_type": "address", "value": {"house_number": "20", "po_box": null, "road": "Swamimalai main road, moopakovil,\nmelacauvery (Po", "city": "KUMBAKONAM", "state": "TAMIL NADU", "postal_code": "612002", "country_region": "IN", "street_address": "20 Swamimalai main road, moopakovil,\nmelacauvery (Po"}, "content": "20, Swamimalai main road, moopakovil, melacauvery (Po) KUMBAKONAM, TAMIL NADU, 612002 IN", "bounding_regions": [{"page_number": 1, "polygon": [{"x": 370.0, "y": 107.0}, {"x": 567.0, "y": 107.0}, {"x": 567.0, "y": 153.0}, {"x": 370.0, "y": 153.0}]}], "spans": [{"offset": 321, "length": 88}], "confidence": 0.651}, "BillingAddressRecipient": {"value_type": "string", "value": "Balavivekananthan", "content": "Balavivekananthan", "bounding_regions": [{"page_number": 1, "polygon": [{"x": 473.0, "y": 97.0}, {"x": 565.0, "y": 97.0}, {"x": 564.0, "y": 108.0}, {"x": 472.0, "y": 107.0}]}], "spans": [{"offset": 303, "length": 17}], "confidence": 0.943}, "CustomerAddress": {"value_type": "address", "value": {"house_number": null, "po_box": null, "road": null, "city": "SURAT", "state": "GUJARAT", "postal_code": "395010", "country_region": "IN", "street_address": ""}, "content": "\" CAPITAL c-310, CAPITAL PLAZZ, NEAR\nSARDAR FARM\nSURAT, GUJARAT, 395010\nIN", "bounding_regions": [{"page_number": 1, "polygon": [{"x": 70.0, "y": 108.0}, {"x": 277.0, "y": 108.0}, {"x": 277.0, "y": 156.0}, {"x": 70.0, "y": 156.0}]}], "spans": [{"offset": 35, "length": 74}], "confidence": 0.542}, "CustomerAddressRecipient": {"value_type": "string", "value": "One Will Sales", "content": "One Will Sales", "bounding_regions": [{"page_number": 1, "polygon": [{"x": 72.0, "y": 97.0}, {"x": 144.0, "y": 97.0}, {"x": 144.0, "y": 109.0}, {"x": 72.0, "y": 109.0}]}], "spans": [{"offset": 20, "length": 14}], "confidence": 0.767}, "CustomerName": {"value_type": "string", "value": "One Will Sales", "content": "One Will Sales", "bounding_regions": [{"page_number": 1, "polygon": [{"x": 72.0, "y": 97.0}, {"x": 144.0, "y": 97.0}, {"x": 144.0, "y": 109.0}, {"x": 72.0, "y": 109.0}]}], "spans": [{"offset": 20, "length": 14}], "confidence": 0.767}, "InvoiceDate": {"value_type": "date", "value": "2021-03-28", "content": "28.03.2021", "bounding_regions": [{"page_number": 1, "polygon": [{"x": 510.0, "y": 336.0}, {"x": 565.0, "y": 335.0}, {"x": 565.0, "y": 347.0}, {"x": 510.0, "y": 346.0}]}], "spans": [{"offset": 725, "length": 10}], "confidence": 0.95}, "InvoiceId": {"value_type": "string", "value": "IN-9403", "content": "IN-9403", "bounding_regions": [{"page_number": 1, "polygon": [{"x": 524.0, "y": 309.0}, {"x": 565.0, "y": 308.0}, {"x": 565.0, "y": 321.0}, {"x": 524.0, "y": 321.0}]}], "spans": [{"offset": 665, "length": 7}], "confidence": 0.842}, "InvoiceTotal": {"value_type": "currency", "value": {"amount": 1593.0, "symbol": null}, "content": "1593.00", "bounding_regions": [{"page_number": 1, "polygon": [{"x": 529.0, "y": 438.0}, {"x": 563.0, "y": 438.0}, {"x": 563.0, "y": 448.0}, {"x": 529.0, "y": 448.0}]}], "spans": [{"offset": 1108, "length": 7}], "confidence": 0.942}, "Items": {"value_type": "list", "value": [{"value_type": "dictionary", "value": {"Description": {"value_type": "string", "value": "Bigsavings. Light-Solar Powered Cordless Outdoor Led Motion Sensor\nPath and Security Light - Pack of 4, Multicolor\n(Bigsavings-B07PMBNPJB) | B07PMBNPJB ( Light-Solar )\nHSN:2334678", "content": "Bigsavings. Light-Solar Powered Cordless Outdoor Led Motion Sensor Path and Security Light - Pack of 4, Multicolor (Bigsavings-B07PMBNPJB) | B07PMBNPJB ( Light-Solar ) HSN:2334678", "bounding_regions": [{"page_number": 1, "polygon": [{"x": 85.0, "y": 382.0}, {"x": 359.0, "y": 382.0}, {"x": 359.0, "y": 420.0}, {"x": 85.0, "y": 420.0}]}], "spans": [{"offset": 824, "length": 179}], "confidence": 0.909}}, "content": "- Bigsavings. Light-Solar Powered Cordless Outdoor Led Motion Sensor Path and Security Light - Pack of 4, Multicolor (Bigsavings-B07PMBNPJB) | B07PMBNPJB ( Light-Solar ) HSN:2334678", "bounding_regions": [{"page_number": 1, "polygon": [{"x": 76.0, "y": 382.0}, {"x": 359.0, "y": 382.0}, {"x": 359.0, "y": 420.0}, {"x": 76.0, "y": 420.0}]}], "spans": [{"offset": 822, "length": 181}], "confidence": 0.804}, {"value_type": "dictionary", "value": {"Amount": {"value_type": "currency", "value": {"amount": 511.0, "symbol": "$"}, "content": "$511.00", "bounding_regions": [{"page_number": 1, "polygon": [{"x": 531.0, "y": 398.0}, {"x": 560.0, "y": 397.0}, {"x": 560.0, "y": 406.0}, {"x": 532.0, "y": 405.0}]}], "spans": [{"offset": 1054, "length": 7}], "confidence": 0.963}, "Description": {"value_type": "string", "value": "Shipping Charges", "content": "Shipping Charges", "bounding_regions": [{"page_number": 1, "polygon": [{"x": 86.0, "y": 420.0}, {"x": 157.0, "y": 422.0}, {"x": 157.0, "y": 434.0}, {"x": 86.0, "y": 433.0}]}], "spans": [{"offset": 1004, "length": 16}], "confidence": 0.944}, "Quantity": {"value_type": "float", "value": null, "content": "-", "bounding_regions": [{"page_number": 1, "polygon": [{"x": 408.0, "y": 399.0}, {"x": 408.0, "y": 402.0}, {"x": 402.0, "y": 402.0}, {"x": 402.0, "y": 399.0}]}], "spans": [{"offset": 1029, "length": 1}], "confidence": 0.962}, "Tax": {"value_type": "currency", "value": {"amount": 3.9, "symbol": "\u20b9"}, "content": "\u20b93,90", "bounding_regions": [{"page_number": 1, "polygon": [{"x": 498.0, "y": 422.0}, {"x": 521.0, "y": 422.0}, {"x": 521.0, "y": 432.0}, {"x": 498.0, "y": 432.0}]}], "spans": [{"offset": 1081, "length": 5}], "confidence": 0.962}, "TaxRate": {"value_type": "string", "value": "5%", "content": "5%", "bounding_regions": [{"page_number": 1, "polygon": [{"x": 453.0, "y": 398.0}, {"x": 465.0, "y": 398.0}, {"x": 465.0, "y": 406.0}, {"x": 453.0, "y": 406.0}]}], "spans": [{"offset": 1039, "length": 2}], "confidence": 0.948}, "UnitPrice": {"value_type": "currency", "value": {"amount": 1486.67, "symbol": null}, "content": "1486.67", "bounding_regions": [{"page_number": 1, "polygon": [{"x": 364.0, "y": 397.0}, {"x": 397.0, "y": 397.0}, {"x": 397.0, "y": 406.0}, {"x": 364.0, "y": 406.0}]}], "spans": [{"offset": 1021, "length": 7}], "confidence": 0.962}}, "content": "Shipping Charges\n1486.67\n-\n3486.67 5%\nIGST \u20b924.33\n$511.00\n178.10\n\u20b978.10\nIGST\n\u20b93,90\n\u20b982.00", "bounding_regions": [{"page_number": 1, "polygon": [{"x": 86.0, "y": 397.0}, {"x": 560.0, "y": 397.0}, {"x": 560.0, "y": 433.0}, {"x": 86.0, "y": 433.0}]}], "spans": [{"offset": 1004, "length": 89}], "confidence": 0.803}], "content": null, "bounding_regions": [], "spans": [], "confidence": null}, "PurchaseOrder": {"value_type": "string", "value": "406-4246016-2347500", "content": "406-4246016-2347500", "bounding_regions": [{"page_number": 1, "polygon": [{"x": 151.0, "y": 308.0}, {"x": 263.0, "y": 308.0}, {"x": 263.0, "y": 321.0}, {"x": 151.0, "y": 322.0}]}], "spans": [{"offset": 180, "length": 19}], "confidence": 0.387}, "ShippingAddress": {"value_type": "address", "value": {"house_number": "20", "po_box": null, "road": "Swamimalai main road, moopakovil,\nmelacauvery (Po", "city": "KUMBAKONAM", "state": "TAMIL NADU", "postal_code": "612002", "country_region": "IN", "street_address": "20 Swamimalai main road, moopakovil,\nmelacauvery (Po"}, "content": "20, Swamimalai main road, moopakovil, melacauvery (Po) KUMBAKONAM, TAMIL NADU, 612002 IN", "bounding_regions": [{"page_number": 1, "polygon": [{"x": 370.0, "y": 223.0}, {"x": 567.0, "y": 223.0}, {"x": 567.0, "y": 269.0}, {"x": 370.0, "y": 269.0}]}], "spans": [{"offset": 483, "length": 88}], "confidence": 0.709}, "ShippingAddressRecipient": {"value_type": "string", "value": "Balavivekananthan\nBalavivekananthan", "content": "Balavivekananthan Balavivekananthan", "bounding_regions": [{"page_number": 1, "polygon": [{"x": 469.0, "y": 201.0}, {"x": 564.0, "y": 201.0}, {"x": 564.0, "y": 224.0}, {"x": 469.0, "y": 223.0}]}], "spans": [{"offset": 447, "length": 35}], "confidence": 0.845}, "TotalTax": {"value_type": "currency", "value": {"amount": 128.23, "symbol": null}, "content": "128.23", "bounding_regions": [{"page_number": 1, "polygon": [{"x": 498.0, "y": 438.0}, {"x": 527.0, "y": 438.0}, {"x": 527.0, "y": 448.0}, {"x": 498.0, "y": 447.0}]}], "spans": [{"offset": 1101, "length": 6}], "confidence": 0.936}, "VendorName": {"value_type": "string", "value": "amazon.in", "content": "amazon.in", "bounding_regions": [{"page_number": 1, "polygon": [{"x": 83.0, "y": 2.0}, {"x": 235.0, "y": 0.0}, {"x": 236.0, "y": 30.0}, {"x": 83.0, "y": 31.0}]}], "spans": [{"offset": 0, "length": 9}], "confidence": 0.948}, "VendorTaxId": {"value_type": "string", "value": "24CMJPG7271G1Z0", "content": "24CMJPG7271G1Z0", "bounding_regions": [{"page_number": 1, "polygon": [{"x": 185.0, "y": 190.0}, {"x": 287.0, "y": 190.0}, {"x": 287.0, "y": 204.0}, {"x": 185.0, "y": 204.0}]}], "spans": [{"offset": 150, "length": 15}], "confidence": 0.425}}, "confidence": 1.0}