About

Dotch is a web app for scanning receipts.

You can use it to:

Prototype

Untitled

https://www.figma.com/proto/yzx6GIla3Gs9TU1XLv7NwM/Dotch-MVP?type=design&node-id=502-5747&t=9bzKDLpuXeP7aguE-0&scaling=min-zoom&page-id=0%3A1&starting-point-node-id=502%3A5747

Endpoints

POST /scan?url=https://cloudinary.image

{
	status: "success",
	message: "Fetched scan",
	id: 123,
  date: "September 12, 2023",
  items: [{
    type: "product",
    count: 1,
    name: "Hot Chocolate",
    currency: "N",
    amount: 1500.00
  },
  {
    type: "product",
    count: 1,
    name: "Water",
    currency: "N",
    amount: 1000.00
  },
  {
    type: "product",
    count: 1,
    name: "Lamb Chops",
    currency: "N",
    amount: 11500.00
  },
  {
    type: "product",
    count: 1,
    name: "Pork Chops",
    currency: "N",
    amount: 9500.00
  },
  {
    type: "product",
    count: 1,
    name: "Shepherd's Pie",
    currency: "N",
    amount: 3500.00
  },
  {
    type: "product",
    count: 1,
    name: "Mango Smoothie",
    currency: "N",
    amount: 2500.00
  },
  {
    type: "product",
    count: 1,
    name: "Cheesecake",
    currency: "N",
    amount: 3000.00
  },
  {
    type: "product",
    count: 1,
    name: "The Bistro Classic",
    currency: "N",
    amount: 3000.00
  },
  {
    type: "fee",
    count: 1,
    name: "Service Charge",
    currency: "N",
    amount: 5300.00
  },
  {
    type: "fee",
    count: 1,
    name: "VAT",
    currency: "N",
    amount: 2368.00
  },
  {
    type: "fee",
    count: 1,
    name: "State Tax",
    currency: "N",
    amount: 1577.00
  }],
  metadata: {
    subtotal: 40800.00,
    fees: 9245.00,
    total: 40800.00
  },
  title: "The Orchid Bistro",
  url: "<https://cloudinary.image>"
}
{
	status: "invalid",
	message: "We couldn't parse this image. Please try again or with another image."
}

GET /receipt/123

{
	id: 123,
	items: ...,
	url: "<https://cloudinary.image>",
}
{
	status: "failed",
	message: "We couldn't find that receipt. Please check the receipt and try again."
}