Files
FiscusPublic/crates/fiscus-ledger/src/lib.rs
T
mnovak 507eb62216 [fiscus-capture] Receipts: the fields every Czech receipt shows, read from an OCR's words; payment.receipt_attached
fiscus_capture::receipt::read takes the OCR's lines (words with boxes and confidence in thousandths) and finds
the total, date and time, IČO (check digit), DIČ and the shop's name by their labels, never a shop's layout;
unsure words mark their field, the shop is always to check; bounded, control characters dropped, a proptest.
The phone's post takes a receipt (source receipt, ico, dic). The ledger gains payment.receipt_attached (the
payment keeps its merchant and key), known_shop and receipt_match (exactly one candidate or none).
docs/07_receipts.md; fixtures/receipts/ waits for redacted samples. v0.9.0.
2026-11-17 19:40:08 +01:00

26 lines
767 B
Rust

//! Fiscus Domi's ledger: money in haléře, civil dates, the append-only event log and the state derived from
//! it, merchant keys and rules, capture ↔ statement matching, splits and QR Platba. Pure: no I/O, no clock, no
//! randomness.
pub mod categories;
pub mod date;
pub mod event;
pub mod goal;
pub mod import;
pub mod invoice;
pub mod matching;
pub mod merchant;
pub mod money;
pub mod pay;
pub mod project;
pub mod receipt;
pub mod share;
pub mod split;
pub mod state;
pub use date::{Date, Timestamp};
pub use event::{BudgetId, CaptureKind, Category, Decision, Event, EventBody, EventId, PaymentId, Settlement, SplitId};
pub use money::Haler;
pub use receipt::{KnownShop, ReceiptInfo};
pub use state::{EffectivePayment, Glyph, Origin, ShareView, State};