Document types
Every document in Moonjar is classified as one of 15 types. The type decides which structured fields Moonjar tries to extract — vendor and total for a receipt, departure city and booking reference for a travel document. If nothing fits, the document is filed as Miscellaneous and gets a generic field extraction.
How it works
Section titled “How it works”When you capture something, Moonjar reads the content and picks the type that best fits. You don’t have to tell it what kind of document it is. You can edit the type on the document detail page if it gets it wrong.
The 15 types
Section titled “The 15 types”Retail Receipt
Section titled “Retail Receipt”Cafe receipts, grocery receipts, anything you bought.
Fields: vendor, total, date, payment_method, items.
Service Receipt
Section titled “Service Receipt”Plumber, accountant, dentist — anything you paid someone to do.
Fields: provider, service, total, date.
Insurance Document
Section titled “Insurance Document”Policies, certificates, renewals.
Fields: provider, policy_number, coverage_type, premium,
expiry_date, insured_items.
Vehicle Document
Section titled “Vehicle Document”Registration, service records, finance.
Fields: vehicle, registration, vin, date, type.
Travel Document
Section titled “Travel Document”Flight bookings, hotel confirmations, cruise tickets, e-tickets.
Fields: carrier, booking_reference, departure, arrival,
date, passenger_names.
Medical Document
Section titled “Medical Document”Reports, prescriptions, claims.
Fields: provider, patient, date, type, amount.
Personal Document
Section titled “Personal Document”Certificates, licences, IDs, passports, memberships.
Fields: document_type, issued_by, date, reference_number.
Utility Document
Section titled “Utility Document”Electricity, gas, water, internet, phone.
Fields: provider, account_number, period, amount, type.
Education Document
Section titled “Education Document”Fees, reports, certificates, enrolments.
Fields: institution, student, date, type, amount.
Warranty Manual
Section titled “Warranty Manual”Product warranties and manuals.
Fields: product, brand, model_number, purchase_date,
warranty_period.
Return Refund
Section titled “Return Refund”Refunds and returns.
Fields: store, original_amount, refund_amount, date,
items.
Legal Document
Section titled “Legal Document”Contracts, agreements, court orders, leases, trusts, wills.
Fields: type, parties, date, reference_number,
jurisdiction.
Financial Document
Section titled “Financial Document”Bank statements, tax returns, transfers, approvals.
Fields: institution, account_number, type, amount, date.
Property Document
Section titled “Property Document”Leases, inspections, permits, titles, notices.
Fields: address, type, parties, date, reference_number.
Miscellaneous
Section titled “Miscellaneous”The catch-all. Anything that doesn’t fit one of the above. Generic field extraction — names, dates, amounts, reference numbers, companies involved.
Why this matters
Section titled “Why this matters”Classified types power structured search —
“receipts from last March over $50” works because vendor, total,
and date are real fields the database can filter on, not just words
inside the source text. The same fields are visible to the
chat assistant when it answers questions about
your library.
Limits
Section titled “Limits”- The classifier picks one type per document. A document that’s both a receipt and a warranty card gets one type and one set of fields.
- Field extraction depends on what’s actually in the source. A faded
receipt with no readable total leaves
totalblank. - If an extracted field is wrong or missing, you can fix it by hand on the document detail screen.