{"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": 401}], "fields": {"InvoiceDate": {"value_type": "date", "value": "2020-09-15", "content": "15/09/20", "bounding_regions": [{"page_number": 1, "polygon": [{"x": 405.0, "y": 120.0}, {"x": 434.0, "y": 119.0}, {"x": 435.0, "y": 127.0}, {"x": 405.0, "y": 128.0}]}], "spans": [{"offset": 21, "length": 8}], "confidence": null}, "InvoiceId": {"value_type": "string", "value": "6556/24202", "content": "6556/24202", "bounding_regions": [{"page_number": 1, "polygon": [{"x": 263.0, "y": 241.0}, {"x": 309.0, "y": 241.0}, {"x": 309.0, "y": 249.0}, {"x": 263.0, "y": 249.0}]}], "spans": [{"offset": 121, "length": 10}], "confidence": null}, "InvoiceTotal": {"value_type": "currency", "value": {"amount": 21.0, "symbol": null}, "content": "21 365,12", "bounding_regions": [{"page_number": 1, "polygon": [{"x": 439.0, "y": 363.0}, {"x": 481.0, "y": 365.0}, {"x": 480.0, "y": 379.0}, {"x": 438.0, "y": 376.0}]}], "spans": [{"offset": 201, "length": 9}], "confidence": null}, "Items": {"value_type": "list", "value": [{"value_type": "dictionary", "value": {"Amount": {"value_type": "currency", "value": {"amount": 21.0, "symbol": null}, "content": "21 365,12", "bounding_regions": [{"page_number": 1, "polygon": [{"x": 444.0, "y": 313.0}, {"x": 479.0, "y": 314.0}, {"x": 479.0, "y": 323.0}, {"x": 444.0, "y": 322.0}]}], "spans": [{"offset": 185, "length": 9}], "confidence": null}, "Quantity": {"value_type": "float", "value": 4.0, "content": "4 2", "bounding_regions": [{"page_number": 1, "polygon": [{"x": 369.0, "y": 315.0}, {"x": 406.0, "y": 315.0}, {"x": 406.0, "y": 322.0}, {"x": 369.0, "y": 322.0}]}], "spans": [{"offset": 181, "length": 3}], "confidence": null}, "UnitPrice": {"value_type": "currency", "value": {"amount": 5341.28, "symbol": null}, "content": "5341,28", "bounding_regions": [{"page_number": 1, "polygon": [{"x": 323.0, "y": 316.0}, {"x": 352.0, "y": 315.0}, {"x": 353.0, "y": 324.0}, {"x": 323.0, "y": 323.0}]}], "spans": [{"offset": 173, "length": 7}], "confidence": null}}, "content": "5341,28 4 2 21 365,12", "bounding_regions": [{"page_number": 1, "polygon": [{"x": 323.0, "y": 313.0}, {"x": 479.0, "y": 313.0}, {"x": 479.0, "y": 324.0}, {"x": 323.0, "y": 324.0}]}], "spans": [{"offset": 173, "length": 21}], "confidence": null}], "content": null, "bounding_regions": [], "spans": [], "confidence": null}, "ServiceEndDate": {"value_type": "date", "value": "2020-06-15", "content": "15/06/2020", "bounding_regions": [{"page_number": 1, "polygon": [{"x": 270.0, "y": 263.0}, {"x": 313.0, "y": 262.0}, {"x": 313.0, "y": 271.0}, {"x": 270.0, "y": 272.0}]}], "spans": [{"offset": 146, "length": 10}], "confidence": null}, "ServiceStartDate": {"value_type": "date", "value": "2020-11-08", "content": "11/08/2020", "bounding_regions": [{"page_number": 1, "polygon": [{"x": 211.0, "y": 263.0}, {"x": 254.0, "y": 263.0}, {"x": 254.0, "y": 272.0}, {"x": 212.0, "y": 272.0}]}], "spans": [{"offset": 132, "length": 10}], "confidence": null}, "TotalTax": {"value_type": "currency", "value": {"amount": 1942.25, "symbol": null}, "content": "1942,25", "bounding_regions": [{"page_number": 1, "polygon": [{"x": 330.0, "y": 389.0}, {"x": 352.0, "y": 388.0}, {"x": 353.0, "y": 395.0}, {"x": 330.0, "y": 395.0}]}], "spans": [{"offset": 226, "length": 7}], "confidence": null}, "VendorName": {"value_type": "string", "value": "RIU\nPALACE", "content": "RIU PALACE", "bounding_regions": [{"page_number": 1, "polygon": [{"x": 121.0, "y": 52.0}, {"x": 186.0, "y": 52.0}, {"x": 186.0, "y": 101.0}, {"x": 121.0, "y": 101.0}]}], "spans": [{"offset": 0, "length": 10}], "confidence": null}}, "confidence": 1.0}