Matching Ingredients
Once the AI has extracted data from an invoice, the next step is ingredient matching - linking each line item on the invoice to an ingredient in your Brikly system. This is how invoice prices flow through to your recipes and dish costings.
Automatic ingredient matching
Brikly compares every extracted line item against your existing ingredient list. It looks at:
- Product name similarity - how closely the invoice description matches an ingredient name.
- Supplier history - whether this supplier has previously provided this ingredient.
- Previous matches - whether you have manually matched this description before.
- Unit of measure - to ensure the match makes practical sense (e.g. a kilogram item is not matched to a "per each" ingredient).
When the system finds a strong match, it links the line item to the ingredient automatically.
Confidence levels
Each suggested match is shown with a confidence indicator:
| Level | Indicator | Meaning |
|---|---|---|
| High | Green | Strong match - very likely correct. |
| Medium | Amber | Probable match - review recommended. |
| Low | Red | Weak match - manual confirmation needed. |
| No match | Grey | No suitable ingredient found. |
High-confidence matches from established suppliers are confirmed automatically, so you only need to review the items that the system is less sure about.
Reviewing auto-matched items
On the matching screen, you will see each line item alongside its suggested ingredient match. For each item you can:
- Accept the match - confirm that the suggestion is correct.
- Change the match - search for a different ingredient from your list.
- Unmatch - remove the suggestion entirely if the line item should not be linked to any ingredient.
Items that were auto-matched with high confidence appear pre-confirmed, but you can override them at any time.
Matched line items also carry an Adds to stock toggle, on by default. Switch it off for a purchase that should not enter your stock levels - a case of the soft drinks you sell, bought for the staff fridge - while keeping its price history and accounting treatment. Skipped lines never touch stock either way. See How estimates work in the StockBrik docs.
Manually matching unmatched items
When no automatic match is found, the line item appears in an "unmatched" state. To match it manually:
- Click the line item to open the ingredient search.
- Type part of the ingredient name to filter your list.
- Select the correct ingredient.
- Confirm the match.
Use the supplier's description as a clue. For example, if the invoice says "Beef Fillet 28 Day Aged 2.5kg", search for "beef fillet" in your ingredients.
Creating new ingredients from line items
If an invoice contains a product you have not added to Brikly yet, you can create a new ingredient directly from the matching screen:
- Click Create New Ingredient on the unmatched line item.
- Brikly pre-fills the name, unit, and price from the extracted data.
- Review and adjust the details as needed (e.g. assign a category, set a preferred unit).
- Save the new ingredient - it is automatically matched to the line item.
This keeps your ingredient list growing naturally as you process invoices, without needing to maintain it separately.
How manual matches improve future accuracy
Every match you make - whether confirming an auto-suggestion or matching manually - teaches Brikly's learning engine. The next time the same supplier sends an invoice with the same product description, the system will remember your choice and match it automatically.
Over the first few invoices from a supplier, you may need to match items by hand. After that, the system takes over. This progression is covered in detail in The Learning System.
Matches are supplier-specific. If two different suppliers both sell "Semi-Skimmed Milk" but you track them as separate ingredients (e.g. different pack sizes), Brikly remembers the correct match for each supplier independently.
Matching consumables
Not every line item on an invoice is a food ingredient. Items you use up but do not cook with, like packaging, cleaning products, and disposables, can be matched to consumables instead. Reusable kit is handled differently again, see Equipment lines below.
How consumable matching works
When a line item is identified as a consumable, you will see two options:
- Match Consumable - search your existing consumable library for a match.
- Create Consumable - create a new consumable directly from the line item data.
Both buttons appear once the supplier has been confirmed for the invoice.
Matching to an existing consumable
- Click Match Consumable on the unmatched line item.
- A search modal opens showing your consumable library.
- Suggested matches appear at the top, ranked by confidence:
- Green - high confidence match.
- Blue - good match based on learned patterns.
- Amber - probable match, review recommended.
- A Learned badge appears next to suggestions the system has seen before from the same supplier.
- Select the correct consumable to confirm the match.
Creating a new consumable from a line item
If the consumable does not exist in your library:
- Click Create Consumable on the unmatched line item.
- Brikly pre-fills the name from the invoice line description.
- Select a category (you can create a new category inline by typing a name that does not exist yet).
- Set the base unit (defaults to "each").
- Enter units per pack and packs per case if applicable.
- Click Save - the consumable is created and automatically matched to the line item.
The supplier is set as the preferred supplier for the new consumable by default.
The same learning system applies to consumable matches. After you match "8OZ T/A CUP x1000" to your "8oz takeaway cup" once, Brikly remembers and matches it automatically on future invoices.
Equipment lines
Some non-food lines are not consumables either. A pair of scissors, a set of tongs, a mop bucket, a pan, a chopping board: you buy them once and keep them, so they are never used up and never belong in a recipe. Brikly classifies these as Equipment.
An equipment line is set aside for you while the invoice is processed, and shows an Equipment (not stock) label. There is nothing to match, so no match or create buttons appear on it. The line stays on the invoice and goes across to your accounting platform with everything else, so it still needs an account code, but it never records a price, never joins your ingredient or consumable library, and never touches stock.
This is what makes a mixed order painless. A catering-supplies delivery with a case of cloths, a box of gloves, and one mop bucket needs no special handling: the cloths and gloves match as consumables, the mop bucket is set aside on its own line, and the invoice submits as normal.
Correcting the classification
Every line that is not yet matched or set aside carries a three-way switch: Ingredient, Consumable, Equipment. Use it whenever the AI has read a line wrongly.
- Switch a line to Equipment and Brikly sets it aside for you. If the line is holding a match that is still waiting on a supplier check, use Skip on the row to finish setting it aside.
- To bring a set-aside line back, click Enable on it, then set the switch to Ingredient or Consumable and match or create it as usual.
A line that is already matched cannot be switched to Equipment. Unmatch it first, then switch it.
Refills are consumables, not equipment. Mop heads, cloths, gloves, bin liners, and disposable cutlery are all used up and reordered, so they belong in your consumable library where their cost can flow into a recipe.
Best practices
- Process invoices promptly - the sooner you match items, the sooner the system learns.
- Be consistent - always match to the same ingredient for the same product. Inconsistent matching slows down the learning process.
- Review before confirming - a quick glance at auto-matches catches the occasional mismatch before it affects your costings.