From Microformats Wiki
Revision as of 21:42, 18 July 2007 by Lastorset (talk | contribs) (: added information from my examples)
Jump to navigation Jump to search


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.



Real-World Examples


Bills are pre-purchase items.


Receipts are post-purchase items.


  • Example
  • 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"


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


See Also