receipt-examples: Difference between revisions

From Microformats Wiki
Jump to navigation Jump to search
(Added link to wikipedia's Receipt page - some useful distinctions here)
(moving to separate page)
Line 3: Line 3:
Overview of Receipt exploratory discussion goes here...
Overview of Receipt exploratory discussion goes here...


== The Problem ==
The ability to securely purchase items through a web browser has created a large number of sites that contain the entire purchasing process online. It is common that a customer selects the items that they want to buy, a bill is displayed, a purchase occurs and finally a receipt is displayed to the customer. Currently, it is difficult for a computer to understand when a bill is displayed, when a receipt is displayed and what items are a part of that bill or receipt.
Typically, receipts are e-mailed to customers. It would be helpful if there was a better way to extract the receipt data from a website and process it using another piece of software. It would also be beneficial for other Microformats to be able to display a bill or receipt as part of their content. hListing, and hProduct, hAudio are a three examples of Microformats that could use a bill/receipt Microformat.


== Authors ==
== Authors ==

Revision as of 10:51, 19 July 2007

Receipt

Overview of Receipt exploratory discussion goes here...


Authors

Contributors

Rob Manson

Real-World Examples

Bills

Bills are pre-purchase items.

Receipts

Receipts are post-purchase items.

Amazon

  • Example (an example will be uploaded by Leif soon)
  • contains:
    • email address (could not find in examples)
    • date of order
    • order id
    • shipments
      • shipping estimate
      • delivery estimate
      • shipping address
      • shipping speed
      • shipping preference (item grouping)
      • items
        • quantity
        • seller
        • price
        • item information
    • payment
      • card type
      • last 5 digits
      • expiration date
      • billing address
      • subtotal
      • shipping and handling price
      • total before tax
      • tax
      • grand total
    • discount price (could not find in examples)
  • Little semantic HTML of interest, except an anchor with id "payment-info"

Skype

Skype Phone

example source code

  • Name
  • Shipping Address
  • Order blurb "Confirmation of incoming order"
    • date in dd/mm/yyyy format
  • Order number in nnnn-nnnnnnn-nnn format
  • Reference (was blank in example, presumed to appear on bank statement for this transaction)
  • Order resume
  • Notification of chosen payment method blurb: "Your payment method is: Credit card"
  • Legal blurb

Internet banking transaction receipts

Example 1
receipt number
date
time
receipt type (e.g. TRANSFER BETWEEN MY ACCOUNTS)
  transfer from
  transfer to
amount
description
information/comment

Digital product purchase receipts

Example 1 : Software
receipt title/type
order/receipt number
seller's details
  sold by (hCard candidate)
    org
    adr
  tax number (VAT in this example)
  tax id (Federal Tax ID)
buyer's details
  buyer (hCard candidate)
    name
    org
    street-address
    locality
    region
    postal-code
    country-name
    tel
    email
  credit card number (PAN truncated - with type)
item list
  product code
  name
  comments
  price
  delivery method
  quantity
  total in selected currency
  total in sellers currency
total (sum of item list totals)
processing fee
grand total (final amount charged)
information (caveats and tax info)
permalink
Example 2 : SSL certificate
receipt title/type
seller (hCard candidate)
  org
  street-address
  locality
  region
  postal-code
purchase information
  order id
  product name
  domain name
  validity period
  number of licenses
  card number (PAN truncated)
  amount (with selected currency)

Physical product purchase receipts

Example 1 : Computer hardware
receipt title/type
seller's name (hCard candidate)
seller's URL (hCard candidate)
invoice id
org govt reference (ABN - Australian Business Number)
date
seller details (hCard candidate)
  street-address
  locality
  region
  postal-code
buyer (hCard candidate)
  fn
  billing address
    street-address
    locality
    region
    postal-code
  delivery address
    street-address
    locality
    region
    postal-code
  phone
item list
  item
  description
  amount
  quantity
  product url
  total
delivery cost
total excluding tax
tax (GST - Goods and Service Tax)
total including tax

Service purchase receipts

Example 1 : Online subscription
seller's details (hCard candidate)
  org
  street-address
  locality
  region
  postal-code
  country-name
buyer's details (hCard candidate)
  fn
  street-address
  locality
  region
  postal-code
  phone
date
receipt id
item list
  product description
  quantity
  rate (per unit)
  price
sub total
amount paid
balance due
information
transaction id
Example 2 : Co-location
receipt title/type
sellers details (hCard candidate)
  org
  url
  phone
message
receipt number
date
amount
information

Analysis

Analysis of Bills

Analysis of Receipts

Existing Practices

Listed below is an overview of existing patterns and practices found in the wild for bill and receipt data.

Summary of common patterns discovered

Other attempts to solve The Problem

Proposal

See Also