JevMade hello@JevMade.com
← Back to guides

JevMade field notes / Worked recipe

Select invoice details from values already on the page

This recipe extracts possible dates, amounts, and references with ordinary software, then asks Jev to choose the invoice fields from those candidates.

Original by Jeroen Erne / NexibeoExtraction

Listen to this guide

JevMade’s plain-English explanation

0:00 /

AI narration

Credits and license

“09 · Invoice extraction by picking” by Jeroen Erne / Nexibeo. Read the original source.

This expanded guide is an AI-narrated adaptation of the source’s essential explanation, examples and caveats, not a word-for-word reading. The synthetic voice does not imitate the author or imply their endorsement.

License: MIT

MIT License

Copyright (c) 2026 Jeroen Erne (https://nexibeo.com, https://completeaitraining.com)

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

Our summary

Invoices often contain several dates and amounts with different meanings. This recipe separates finding possible values from deciding which one is the total, invoice number, issue date, or payment deadline. Jev chooses among supplied options rather than writing a new value.

Pattern-matching software finds and tidies candidate values while preserving nearby words. Each field gets its own choice question, including an option for no suitable value. A separate yes-or-no question checks whether the document is an invoice or receipt rather than a quote.

An answer can only use candidates the earlier software found, so missed or incorrectly converted values remain a problem. Scans need text extraction before this process. The author's small multilingual sample shows the method, but it does not establish reliable extraction across every invoice layout.

Key takeaways

  1. Test the candidate finder separately from the AI's choices.
  2. State whether a date means issue, service period, or payment deadline.
  3. Provide an option for cases where none of the candidates fits.

Invoice text and possible values with nearby words are sent to Jev. Review whether financial and supplier details may be shared before using real documents. JevMade did not reproduce the author's extraction results.

GitHub cookbook · Source reviewed

Read the original guide Opens the author’s site in a new tab.