Skip to content
    All posts

    Coming soon: add stock to Hypha from a supplier invoice

    Soon you'll be able to photograph a supplier invoice, or pick its PDF, and Hypha will propose every line for your inventory. You check each line before anything is saved. It's in testing with our team and isn't available yet. Here's how it will work, which plans include it, and where your invoice goes.

    Photo of Derick

    Derick7 min read

    Two Hypha screens from reading a North Spore order: the invoice's lines, marked Adds 8 each to Grain spawn bags, New item: Boomr Bag manure substrate, and three Skipped lines, and the grain spawn line opened, with 1 pack = 8 and the on-hand total going from 36 to 44

    A box of grain spawn bags shows up with an order summary. To get it into Hypha today, you open Prep → Inventory, find the item, tap Add stock, and type the quantity and the price. Then you do it again for the substrate, and again for the filter patch bags. A ten-line invoice means ten trips through the same form.

    We're building a shorter way. You take a photo of the invoice, or pick the PDF your supplier emailed, and Hypha proposes every line for you. You check the lines, fix anything it got wrong, and tap one button to add them all.

    It's built, and it's running on our test server, where only our team can use it. It isn't in the app you use yet, even for us, and we haven't set a launch date.

    To see how far along it is, we ran one of our own North Spore orders through it on that test server:

    A North Spore order summary with two products, a Package Protection fee, $0 shipping, a city tax and a state tax, totalling $287.87
    One of our own North Spore orders: two 8-packs of bags, a fee and two taxes

    A few seconds later, this is what Hypha read from it:

    Hypha's review of the North Spore order. Total $287.87, read by AI. The two 8-pack lines say Needs a unit. Package Protection, Tijeras City Tax and New Mexico State Tax say Skipped. At the bottom, 2 lines need you, and the Add 2 lines to inventory button is off
    Unedited, on a demo farm on our test server. It skipped the fee and both taxes by itself, and the two 8-packs wait for you to say what unit you count them in. The order doesn't print the supplier's name or an order number, so those rows are empty. The note that the lines come up short is a false alarm: it isn't counting the fee and taxes it skipped. That one is on our list.

    How will it work?

    You'll find Add from an invoice on the Add to inventory screen, under the Supply / Prepped stock toggle. From there:

    1. Pick the invoice. Take a photo, choose one from your library, or choose a PDF of up to 5 pages.
    2. Wait a few seconds while Hypha reads the supplier, date, invoice number and each line.
    3. Check each line. Every line shows its text as printed on the invoice, and what Hypha plans to do with it:
      • Adds 8 each to Grain spawn bags when it goes to an item you already stock
      • New item: Boomr Bag manure substrate · each when it doesn't
      • Skipped: Package Protection for fees, tax, shipping and discounts
    4. Add them. One tap adds every line at once. If any line can't be added, none are, and Hypha shows you which line needs fixing.
    Hypha's Add from an invoice sheet with Take photo, Choose from library, Choose a PDF and Cancel, and 28 of 30 invoices left this month at the bottom
    The sheet you pick the invoice from. It counts down your invoices for the month.

    Tap a line to change it: point it at a different item, make it a new item, or skip it. Nothing touches your inventory until you tap the button. Hypha marks each invoice "Read by AI · check each line", because it can misread one, and the check is yours.

    On the North Spore order, we sent the grain spawn bags to the farm's existing grain spawn bags, made the Boomr Bags a new item, and typed in "North Spore" as the supplier. Then the button turned on:

    The same North Spore review after checking it. Supplier North Spore. The grain spawn line says Adds 8 each to Grain spawn bags (0.5 micron), the Boomr Bag line says New item: Boomr Bag manure substrate · each, and the fee and both taxes are still skipped. The Add 2 lines to inventory button is on
    One tap on Add 2 lines to inventory, and Hypha said Added stock from North Spore.

    Will it know my items?

    It tries to match each line, and it remembers your picks. Supplier invoices rarely use your names for things. Your "Rye grain" might be "WBS 5LB RYE GRAIN BAG" on one invoice and "Rye Berries 50#" on another. So the first invoice from a new supplier is mostly you picking which item each line belongs to.

    Hypha remembers each pick for that supplier, so the next invoice from them should land on the same items, ready for you to check. Each line has a Remember for next time switch, on by default, if you'd rather it didn't.

    Hypha's review of a test invoice from ACME Supply Co: three lines add to existing items, Rye grain, Hardwood pellets bulk and Brown rice flour, and a Vermiculite line says Needs a unit. The Add 4 lines to inventory button is off, with 1 line needs you beside it
    From our test build, with a made-up supplier. It's the third time we read this invoice, so Hypha says we already added it, and the lines go to the items we picked before. One line still needs a unit, and the button waits for it.

    What about units and prices?

    Hypha converts what's on the invoice into the unit you track the item in. Two 5 lb bags become 10 lb, or about 4.54 kg if you track rye in kilograms. When the invoice sells a pack and you count the item one by one, Hypha asks once how many are in a pack, and remembers that too.

    The grain spawn line of the North Spore order, opened. Add to existing is picked, the item is Grain spawn bags (0.5 micron), 1 pack = 8 each, quantity received 8, total cost $126.00, cost per bag $15.75, and on hand goes from 36 to 44 bags
    We count grain spawn bags one by one, so the 8-pack is 8 bags at $15.75 each. The before and after numbers come from the demo farm's existing stock.

    If you track costs, the price you paid goes into the item's average cost, the same way it does when you add stock by hand. The line shows the on-hand total and the average cost before and after, so you can see the change before you add the lines. Hypha also checks the invoice's own math and tells you when the lines don't add up to the total, which makes a missed or misread line easier to catch.

    Which plans will include it?

    We plan to include invoice reading in the paid plans:

    • Pro: 30 invoices a month
    • Farm: 100 invoices a month

    The Free plan won't include it. On a team farm, everyone's invoices share the farm's monthly allowance. An invoice Hypha can't read doesn't count. Plan prices are on the pricing page.

    Where does my invoice go?

    To read an invoice, Hypha sends the file to Google Cloud Vision, which reads the text, and to Gemini on Google Cloud Vertex AI, which works out the lines. Under Google Cloud's terms, Google doesn't use it to train its models. Hypha asks for your OK the first time you use it, and you can take that back any time in Settings → Privacy & data.

    Hypha's Read invoices with AI sheet. It says Hypha sends the invoice you pick to Google Cloud Vision and Gemini on Google Cloud Vertex AI, Google doesn't use it to train models, the file is deleted once you add or discard it, and you can withdraw this in Settings, under Privacy & data
    What Hypha asks before it reads your first invoice

    We keep the file only while you're checking the invoice. It's deleted as soon as you add or discard it, or after 7 days if you leave it unfinished. What stays is the text Hypha read from it: the supplier, date, invoice number, totals, and each line as printed with its quantity and price. That stays even if you discard the invoice, along with the supplier lines Hypha remembers for next time.

    When can I use it?

    Not yet, and we haven't set a date. Before anyone outside our team can use it, it has to read a stack of real supplier invoices accurately, and we have to update our Privacy Policy to name the Google services it uses. We'll post here and in the release notes when it's live.

    If there's a supplier you'd like us to test it on, or an invoice layout you think it won't read, tell us through Feedback in the app. The odder the invoice, the more it helps.

    Photo of Derick

    Written by Derick

    Derick is a software engineer turned mushroom farmer with 15 years of tech expertise spanning computer vision, quantum computing research, and farm management software serving 200,000+ farmers. He splits his time between backend development and hands-on cultivation.

    Derick's bio and all posts →
    All posts

    Track your grow in Hypha

    Hypha is a mushroom grow tracking app by Demeter Mycolabs, for iOS, Android and the web. It follows each block from inoculation through harvest, keeping strains and lineage, tasks, inventory, costs and photos in one place.

    Get Hypha free

    Free forever · 60 days of Pro included · No credit card · iOS, Android & web

    Work it out with our free biological efficiency, spawn rate, cost per pound and Martha tent calculators.