•   over 8 years ago

Receipt Parsing

Where is the documentation for Receipt Parsing API? If there are any samples that would be helpful?

  • 4 comments

  •   •   over 8 years ago

    Also can I parse credit card receipts?

  • Manager   •   over 8 years ago

    Hello! You can find some documentation about our beta receipt parsing feature here: http://contextio.devpost.com/updates/3621-using-the-context-io-receipt-parsing-feature

    It can parse receipts from big online venders and will be able to parse purchases made with a credit card. However, I think you might be asking if it can parse credit card statements. I don't believe that it currently works on credit card statements, since we're focusing on new purchases now.

    However, since there's not a ton of different credit cards, you should be able to write your own regex expressions and pull out the valuable data in those emails yourself.

    Happy hacking!

    Cheers,
    Tony

  •   •   over 8 years ago

    Thanks, that is helpful. If I want to parse a receipt from a brick and mortar store like Walmart or Safeway or Albertson, since I do not receive receipt via email for them. I guess, I will have to scan receipt via a smartphone and then send via email to myself and then have context.io parse the attachment? Will that work?

  • Manager   •   over 8 years ago

    Unfortunately, our receipt parsing feature only works on receipts where the content is in the email, not attachments.

    What you can do though, is use Context.IO to fetch the attached .pdf and then parse the attached .pdf yourself.

    Here's a good post on Stack Overflow that has a few libraries: http://stackoverflow.com/questions/158479/programatically-recognize-text-from-scans-in-a-pdf-file

    I also found this API that does OCR: http://www.ocrwebservice.com/ - I haven't used them, so I can't vouch for how well it works, but might be interesting to check out.

    Cheers!
    Tony

Comments are closed.