Menu

Navigate without losing focus on the current page.
Foundation phase only: this page does not call OCR, OpenAI, or any external API. It stores invoices/receipts in staging first, lets you review and reconcile them, then posts only approved data to the ledger foundation.
KYN categorization: food and production lines can use the detailed KYN item category tree. Non-food bills can also be classified directly from the full COA/GL account list, which creates a COA-driven category snapshot for ledger-only items.
Universal document review: this same page now handles food invoices, utility bills, fuel receipts, repairs, insurance, taxes, rent/lease bills, statements, and other scans. Use the Food / Inventory, Packaging / Production, and Ledger Only filters instead of splitting the workflow into separate pages.
Filename standardization: scan-chat JSON can now carry a suggested archive filename. Export the rename manifest CSV and use a local dry-run script later; the app does not rename local files directly.
Download Rename Manifest CSV
COA / GL Accounts Available
349
Detailed restaurant COA seed is being reused.
Selected Import Flags
12
Unresolved review items.
Posting Mode
Food / Inventory
Food/inventory vs ledger-only destination.
Reconciliation
Matches
Lines + tax/discount vs document/payment total.
Use wide mode when reviewing long invoice lines with many fields.
Tip: the selected document stays open while the left list is hidden.

Temporary Imports

Manual-scan JSON test fixtures

Use this when the Manual Invoices chat gives you a .json file.
Optional. The app stores the original source file in protected import storage and records its checksum for later archive/download workflow.
Ready for real invoices?
Delete sample/test imports before uploading real scan-chat JSON.

Costco Wholesale · Retail receipt · 2026-06-02 · #COSTCO-354-TRM205-TRN192-OP705-20260602

Internal #: KYN-TFF-COSTCO-20260602-1652-354-205-192
Needs ReviewFood / InventoryRetail Receipt

Reconciliation Summary

Positive line total
$41.06
Discounts/adjustments
$0.00
Calculated total
$41.06
Difference
$0.00
Document total: $41.06 · Payment total: $41.06 · Payment difference: $0.00 · Receipt item count: - · Stored difference: $0.00 · Status: Matches

Quick Add Missing KYN Category

Choose the parent where the new detailed subcategory belongs. Example: choose Cheese & Dairy, then add Mozzarella Cheese.
Optional. Leave blank to inherit from the parent category when possible.
Optional but useful while reviewing an invoice line.
The dropdown category is the source of truth. The readable KYN path on each invoice line is only a saved snapshot and will be rebuilt from the selected category on save.

Vendor Item Mapping Memory

When you confirm a line once, save it as a name/category mapping. Future invoices from the same vendor can auto-fill the cleaned KYN item, KYN category, COA/GL, and food/inventory behavior flags while leaving the current scanned quantities, prices, taxes, discounts, and amounts untouched.

Safe behavior: mappings pre-fill staged lines only. They do not finalize invoices or post to inventory/accounting without review.

Extracted / Manual Lines

#Raw vendor itemCleaned KYN / recipe itemQty / basisPrice / ratePrice per lbAmountKYN categoryCOAFlags
For food/production items, use the KYN category dropdown. For non-food bills, a COA account alone can create a ledger category snapshot.
For food/production items, use the KYN category dropdown. For non-food bills, a COA account alone can create a ledger category snapshot.
For food/production items, use the KYN category dropdown. For non-food bills, a COA account alone can create a ledger category snapshot.
For food/production items, use the KYN category dropdown. For non-food bills, a COA account alone can create a ledger category snapshot.

Add Manual Line

For non-food bills, choose the COA account even if no KYN item category exists yet.
For utility, fuel, repair, insurance, tax, rent, and other non-food bills, leave these unchecked and choose a COA/GL account.

Review Flags

SeverityTypeLineMessageStatus
Criticalunclear_item_identity-KS ITALIAN is too abbreviated to confidently map to a cleaned KYN item.Open
Warningmissing_company_confirmation-Confirm company_code before finalizing. Current filename does not explicitly include TFF, but prior workflow context indicates this is likely a TFF Costco receipt.Open
Warningmissing_coa_mapping-COA account mapping is required before final posting.Open
Warningmissing_pack_size-Grape tomato pack size or weight is not visible on the receipt.Open
Warningclassification_review-Caramel tres leches dessert needs cost-destination review before final posting.Open
Warningmissing_pack_size-Organic cucumber pack size or weight is not visible on the receipt.Open
Warningmissing_category#1[AUTO] Line 1 is missing a confirmed detailed KYN category or COA-driven ledger category.Open
Warningmissing_coa_mapping#1[AUTO] Line 1 has no COA/GL account mapping yet.Open
Warningneeds_human_review#1[AUTO] Line 1 is marked Needs Review.Open
Warningneeds_human_review#2[AUTO] Line 2 is marked Needs Review.Open
Warningneeds_human_review#3[AUTO] Line 3 is marked Needs Review.Open
Warningneeds_human_review#4[AUTO] Line 4 is marked Needs Review.Open

Finalize Safety Preview

Blocked
Ledger entries
4
Food lines
4
Ledger-only lines
0
Blocked lines
4
Finalize is blocked:
  • There are 1 unresolved critical review flag(s).
  • Line 1: missing COA/GL account, line still marked Needs Review.
  • Line 2: line still marked Needs Review.
  • Line 3: line still marked Needs Review.
  • Line 4: line still marked Needs Review.
#ItemDestinationCOA / GLAmountStatus
1 Kirkland Signature Italian item
KS ITALIAN
Food Cost
Food → Needs Review
Missing $10.99 Blocked
2 Grape tomatoes
GRAPE TOMATO
Food Cost + Inventory + Recipe Cost
Food → Produce → Tomatoes → Fresh Tomatoes
5140 Produce $5.59 Blocked
3 Caramel tres leches dessert
CARAMEL TRES
Food Cost
Food → Desserts → Prepared Desserts
5150 Bakery $17.99 Blocked
4 Organic cucumber
ORG CUCUMBER
Food Cost + Inventory + Recipe Cost
Food → Produce → Vegetables & Fruit → Cucumbers
5140 Produce $6.49 Blocked

Import Audit Trail

TimeActionLineNotes
2026-06-13 00:21:33Manual scan JSON imported
System
-JSON from scan chat was imported into staging. Source file attachment: ok
Finalize only after the safety preview is clear. Finalization locks the import and posts ledger foundation entries. It does not call OCR/API or automatically update recipes.