image-data-extractor / data /templates /invoice-with-line-items.json
electblake
refactor(samples): load named JSON presets from files
e62015b
Raw
History Blame Contribute Delete
605 Bytes
{
"document_type": "verbatim-string",
"vendor": {
"name": "verbatim-string",
"address": "verbatim-string",
"email": "email-address",
"phone": "phone-number"
},
"invoice_number": "verbatim-string",
"invoice_date": "verbatim-string",
"line_items": [
{
"description": "verbatim-string",
"category": ["product", "service", "shipping", "tax", "other"],
"quantity": "integer",
"unit_price": "number",
"unit": "unit-code",
"amount": "number"
}
],
"subtotal": "number",
"tax": "number",
"total": "number",
"currency": "currency"
}