{
  "_note": "Answer key written by scripts/make-sample-files.py, the script that drew the file: every value below is one it printed. Do not edit by hand.",
  "sample": "sample-receipt",
  "page": "/sample-files/sample-receipt",
  "files": [
    "sample-receipt.pdf",
    "sample-receipt-photo.jpg"
  ],
  "license": "https://creativecommons.org/publicdomain/zero/1.0/",
  "fictional": true,
  "document": "receipt",
  "language": "English",
  "currency": "INR",
  "fields": {
    "shop": "CORNER CAFE",
    "address": "3 Example Street, Sampleton",
    "tax_number": "SPECIMEN-TAX-0003",
    "receipt_number": "2026-0918-0457",
    "date": "2026-09-18",
    "time": "08:42",
    "till": 2,
    "paid_by": "card",
    "gst_percent_included": 5
  },
  "items": [
    {
      "quantity": 2,
      "item": "Masala chai",
      "unit_price": 40.0,
      "amount": 80.0
    },
    {
      "quantity": 1,
      "item": "Filter coffee",
      "unit_price": 55.0,
      "amount": 55.0
    },
    {
      "quantity": 2,
      "item": "Veg sandwich",
      "unit_price": 90.0,
      "amount": 180.0
    },
    {
      "quantity": 1,
      "item": "Banana bread slice",
      "unit_price": 65.0,
      "amount": 65.0
    }
  ],
  "totals": {
    "total": 380.0,
    "gst_included": 18.1
  },
  "notes": [
    "sample-receipt-photo.jpg is a photo of the same slip on a desk, turned 4° clockwise, with a shadow.",
    "Unit prices are not printed; each line prints the quantity, the item and the amount.",
    "A cell left blank on the page is null here and empty in the CSV. Amounts are numbers in rupees; dates are ISO 8601."
  ],
  "csv": {
    "file": "sample-receipt.expected.csv",
    "columns": [
      "quantity",
      "item",
      "unit_price",
      "amount"
    ],
    "rows": 4
  },
  "transcript": {
    "rule": "Every line of text on each page, in the order the script drew it: a block at a time, top to bottom, a right-hand column after the left. Strings drawn one after another on the same baseline (the cells of a table row, a label and its value) are one line, joined by a space. Wrapped paragraphs keep the page's line breaks.",
    "pages": [
      {
        "page": 1,
        "lines": [
          "CORNER CAFE",
          "(a fictional cafe)",
          "3 Example Street, Sampleton",
          "Tax no.: SPECIMEN-TAX-0003",
          "Receipt 2026-0918-0457",
          "18/09/2026  08:42   Till 2",
          "----------------------------------",
          "2 x Masala chai 80.00",
          "1 x Filter coffee 55.00",
          "2 x Veg sandwich 180.00",
          "1 x Banana bread slice 65.00",
          "----------------------------------",
          "TOTAL 380.00",
          "incl. GST 5% 18.10",
          "Paid by card 380.00",
          "Thank you, see you again!",
          "SPECIMEN - fictional receipt",
          "made by filedone.ai for testing",
          "Free to use (CC0 1.0)"
        ]
      }
    ]
  }
}
