# Invoice Parsing using Spacy

**URL:** <https://support.prodi.gy/t/invoice-parsing-using-spacy/728>\
**Category:** Uncategorized\
**Tags:** usage, spacy, ner\
**Created:** [August 5, 2018, 8:23am UTC](https://support.prodi.gy/t/invoice-parsing-using-spacy/728 "2018-08-05T08:23:53Z")\
**Posts on this page:** 1\
**Showing post:** 11

<div class="post-metadata">

**Author:** ![ryanwesslen](https://sea2.discourse-cdn.com/flex020/user_avatar/support.prodi.gy/ryanwesslen/32/2969_2.png) [@ryanwesslen](https://support.prodi.gy/u/ryanwesslen)\
**Post date:** [June 21, 2023, 3:22pm UTC](https://support.prodi.gy/t/invoice-parsing-using-spacy/728/11 "2023-06-21T15:22:04Z")

</div>

hi @ankitladva11!

If your invoices are pdfs, my colleague @ljvmiranda921 wrote an [excellent and detailed blog](https://ljvmiranda921.github.io/notebook/2022/06/19/document-processing-framework/) on creating a document processing workflow with Prodigy and fine-tuning HuggingFace's [LayoutLMv3](https://arxiv.org/abs/2204.08387):

> [@Extracting data from PDFs using prodigy](https://support.prodi.gy/t/extracting-data-from-pdfs-using-prodigy/5619/3):
>
> FYI there's an incredibly helpful new blog post by @ljvmiranda921 on extracting PDFs using prodigy as well. And also helpful accompanying [GitHub repo](https://github.com/ljvmiranda921/prodigy-pdf-custom-recipe). [prodigy\_correct (1)]

![prodigy_correct (1)](https://us1.discourse-cdn.com/flex020/uploads/prodigy/original/2X/3/3c887c0cb4b12dbc92439bafd8c0014c7b5d3cc8.gif)

 ![image](https://us1.discourse-cdn.com/flex020/uploads/prodigy/original/2X/6/6a183866a96544adfd078da3c7152716c0cd87c5.png)

Also, a lot of Matt's suggestions require a good knowledge of spaCy. If your questions are spaCy-specific, you'll be better off posting questions on the spaCy GitHub discussions forum. That's where the spaCy core team answers questions and they have answered several related posts on invoice parsing:

> **[Spacy for invoice data extraction · explosion/spaCy · Discussion #8187](https://github.com/explosion/spaCy/discussions/8187)**
>
> Hi, I recently came across Spacy when searching for a ML model to extract data from invoices. We have many different formats (300+) of invoices, so I was looking to see if there is a way to train a...

> **[Date and time is not parsing after creating custom NER Model · explosion/spaCy...](https://github.com/explosion/spaCy/discussions/8001)**
>
> Hi Team, I'm trying to create a custom NER model to parse informations like Invoice number ,date, time and amount from invoices. I have used around 50K+ records to train the model, but after traini...

> **[How to combine NER with entity\_ruler in an exclusive way? · explosion/spaCy ·...](https://github.com/explosion/spaCy/discussions/11266)**
>
> Hi, I have a complex situation with text from invoices, where the statistical model (NER) not always finds all entities (mostly when the given text changes massive its internal structure). I found ...

> **[Entity Recognition performs very bad on invoice data · explosion/spaCy ·...](https://github.com/explosion/spaCy/discussions/10767)**
>
> Hi, we are trying to provide a solution to detect invoice data from scanned (OCR) invoices using spaCy entity recognition. The entities we are interested in are Company Invoice-No. Invoice-Date Amo...

Hope this helps!

---

_[View the full topic](https://support.prodi.gy/t/invoice-parsing-using-spacy/728)._
