Datasets:
Tasks:
Document Question Answering
Size:
n<1K
Tags:
benchmark
document-ai
information-extraction
structured-extraction
key-information-extraction
ocr
License:
File size: 3,458 Bytes
8143f06 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 | {
"type": "object",
"additionalProperties": false,
"properties": {
"merchantName": {
"type": "string",
"description": "restaurant brand name on the receipt"
},
"storeNumber": {
"type": "string",
"description": "store identifier such as CA-1661"
},
"storeStreetAddress": {
"type": "string",
"description": "store street address line"
},
"storeCity": {
"type": "string",
"description": "store city"
},
"storeState": {
"type": "string",
"description": "store state abbreviation"
},
"storeZip": {
"type": "string",
"description": "store postal code"
},
"storePhone": {
"type": "string",
"description": "store phone number as printed"
},
"transactionDate": {
"type": "string",
"format": "date",
"description": "transaction date in YYYY-MM-DD"
},
"transactionTime": {
"type": "string",
"description": "transaction time as printed, e.g. 1:00:17 PM"
},
"orderId": {
"type": "string",
"description": "order id printed on the receipt"
},
"registerOrTerminal": {
"type": "string",
"description": "register/terminal label, e.g. 47 - FIVE GUYS"
},
"employeeName": {
"type": "string",
"description": "employee name printed on the receipt"
},
"lineItems": {
"type": "array",
"description": "every printed order line, including free $0.00 toppings/modifiers",
"items": {
"type": "object",
"additionalProperties": false,
"properties": {
"quantity": {
"type": "number",
"description": "quantity printed at start of line; 1 if none printed"
},
"description": {
"type": "string",
"description": "item or modifier name as printed"
},
"unitPrice": {
"type": [
"number",
"null"
],
"description": "per-unit price if printed in parentheses, else null"
},
"lineTotal": {
"type": "number",
"description": "dollar amount printed at the right of the line"
},
"isModifier": {
"type": "boolean",
"description": "true if this is a topping/modifier attached to the item above it"
}
},
"required": [
"quantity",
"description",
"lineTotal",
"isModifier"
]
}
},
"subtotal": {
"type": "number",
"description": "sub total amount before tax"
},
"salesTax": {
"type": "number",
"description": "sales tax amount"
},
"orderTotal": {
"type": "number",
"description": "order total amount including tax"
},
"paymentMethod": {
"type": "string",
"description": "payment method/card brand, e.g. MasterCard"
},
"cardLastFour": {
"type": "string",
"description": "last four digits of the payment card"
},
"authorizationCode": {
"type": "string",
"description": "payment authorization code"
},
"amountPaid": {
"type": "number",
"description": "amount charged to the payment method"
}
},
"required": [
"merchantName",
"transactionDate",
"lineItems",
"subtotal",
"salesTax",
"orderTotal",
"amountPaid"
]
} |