VIDEO | How to extract data from receipts using Python ?
Tags: python, ai, api, dataextraction
Published: 2023-01-10 14:49:36

_In this 3-step tutorial brought to you by our backend developer Adnane, you’ll learn everything there is to know to get started with Receipt Parser using Python and put it into practice. Eden AI provides an easy and developer-friendly API that allows you to perform Receipt Parser._

{% embed https://www.youtube.com/watch?v=NrSjwk1jBy4 %}

## **Why should you extract data from receipts with OCR?**

With the growing digital transformation that industries are facing, many businesses are increasingly looking for a way to automatically process the hundreds of receipts that they receive each day in order to speed up their productivity and work. Without-doubt, this can been achieved by manually extracting the relevant information from the receipt to a database.

However, this process can be laborious and expensive. Receipt extraction technology speeds this process up by using OCR technology and directly allowing the software to scan a picture of the receipt and extract that data in a few seconds. Fields commonly captured by OCR Receipt include description, quantity, due date, line items, merchant and store information, unit price, bill to, receipt number, total amount, tax amount, etc.

We recommand learning how to extract data from receipts if you're working on the automation process of the supply chain management of your company to ensure the control of the cost of production, and on-time delivery.

If you're keen to learn more about Process Automation, don't miss out on our OCR Invoices tutorial *[How to use Invoice Parsing API with Python in 5 minutes?](https://www.edenai.co/post/how-to-use-invoice-parsing-api-with-python-in-5-minutes?referral=how-to-invoice-parser-python)*

‍

## **Receipt OCR API data extraction tutorial**

In the above video, our backend developer Adnane will show you how to easily extract data from receipts with Python using different AI engines.

1. After having familiarized yourself with the platform and the required data files, Adnane will teach you how to make a call with two providers (Dataleon and Microsoft), only to see that the results are standardized.

2. Then, you'll learn how to use the API with 5 receipts for the two providers and populate two lists (one for each provider). The two Python lists will each contain the information returned by a provider (one list containing the information returned by Dataleon for the 5 receipts files, and the other list containing the information returned by Microsoft for the 5 receipts files).

3. Finally, for each list containing the results of a provider for the 5 receipts, you'll see how to write it in a CSV file.

If you're interested in Document Parsing, don't forget to check our [Best Document Parsing APIs](https://www.edenai.co/post/best-document-parsing-apis?referral=how-to-invoice-parser-python) and [Top 10 Receipt Parser APIs](https://www.edenai.co/post/top-10-ocr-receipt-parser-api?referral=how-to-invoice-parser-python) articles. For more information, Adnane will be glad to answer any of your questions on his [LinkedIn profile](https://www.linkedin.com/in/adnane-guettaf-1a5012b9/?referral=how-to-invoice-parser-python). Also, feel free to join the [Eden AI community on Discord](https://discord.com/invite/VYwTbMQc8u?referral=how-to-invoice-parser-python) to talk with our team of experts!

**[Try Eden AI for FREE](https://app.edenai.run/user/register?referral=how-to-receipt-parser-python)**

## Benefits of using Receipt Parser API with Eden AI

Using Receipt Parser with Eden AI API is quick and easy.

![The best Document Parsing providers in one API](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/69aqsa4x164aqw2xzwnb.gif)

**Save time and cost**

We offer a unified API for all providers: simple and standard to use, with a quick switch between providers and an access to the specificic features of each provider.

**Easy to integrate**

The JSON output format is the same for all suppliers thanks to Eden AI's standardisation work. The response elements are also standardised thanks to Eden AI's powerful matching algorithms.

**Customization**

With Eden AI you have the possibility to integrate a third party platform: we can quickly develop connectors. To go further and customize your Receipt Parser request with specific parameters, check out our [documentation](https://docs.edenai.co/reference/ocr_receipt_parser_create?referral=how-to-invoice-parser-python).

[**Create your Account on Eden AI**](https://app.edenai.run/user/register?referral=how-to-receipt-parser-python)