How to create a new field to be recognized in Invoice Parser

41 views
Skip to first unread message

Pyoung Ku Kim

unread,
Jun 22, 2022, 5:24:23 PM6/22/22
to cloud-vision-discuss
Hi,
I am trying to use Invoice parser to extract informations from the documents.
One information that I need to extract is Tax receipt number whuch is unique for every invoice. As this number has to be presented to government institution for every invoice, it is very important to include this new field.

However, this field, as it is very unique for our country, is not included as one of the filed that Google Invoice Parser extracts.

Is there any ways to include a new field for Invoice Parser, so I can get these field extracted?

Thanks in advance and the best regards.

Jose Gutierrez Paliza

unread,
Jun 27, 2022, 5:05:28 PM6/27/22
to cloud-vision-discuss

As you can see in this document[1] Document AI Invoice Parser has some fields Detected that you can use, unfortunately there is no field to take the Receipt Number. What you can do is use Vertex Ai to get the Receipt Parser and get the Receipt Number as shown in this tutorial[2].


[1]https://cloud.google.com/document-ai/docs/processors-list#processor_invoice-processor 

[2]https://betterprogramming.pub/google-vision-and-google-sheets-api-line-by-line-receipt-parsing-2e2661261cda

Pyoung Ku Kim

unread,
Jun 27, 2022, 5:57:34 PM6/27/22
to cloud-vision-discuss
Thanks Jose for the reply.

It is, basically, write your own invoice parser.
I suppose that we can create an own entity extraction model to deal with this scenario. Which one do you think is better? Write your own invoice parser code or create your own entity extraction model?

Thanks again fro your support.

Jose Gutierrez Paliza

unread,
Jun 29, 2022, 5:45:25 PM6/29/22
to cloud-vision-discuss
In my opinion it is better to create your own invoice parser because creating your own invoice parser can let you specify the fields that you want. Meanwhile using an extraction model, it can be easier these models have some fields that won’t give you some fields that you probably want.

Pyoung Ku Kim

unread,
Jun 29, 2022, 6:28:00 PM6/29/22
to Jose Gutierrez Paliza, cloud-vision-discuss
Thanks Jose.
Regards

--
© 2018 Google Inc. 1600 Amphitheatre Parkway, Mountain View, CA 94043
 
Email preferences: You received this email because you signed up for the Google Cloud Vision Discussion Google Group (cloud-visi...@googlegroups.com) to participate in discussions with other members of the Google Cloud Vision community and the Google Cloud Vision Team.
---
You received this message because you are subscribed to a topic in the Google Groups "cloud-vision-discuss" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/cloud-vision-discuss/o3B3riVzsRU/unsubscribe.
To unsubscribe from this group and all its topics, send an email to cloud-vision-dis...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/cloud-vision-discuss/4b058064-1f24-44e7-ac7d-5c5e69cb9a75n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages