buchhaltung-0.0.7: Automates most of your plain text accounting data entry in ledger format.

Safe HaskellNone
LanguageHaskell2010

Buchhaltung.Import

Synopsis

Documentation

fillTxn Source #

Arguments

:: (MonadError Msg m, MonadReader (Options User Config env) m) 
=> Text

current time string

-> ImportedEntry 
-> m FilledEntry 

convert a batch of importedEntries to Ledger Transactions

importCat Source #

Arguments

:: Maybe FilePath

File to check for already processed transactions

-> (Text -> CommonM env [ImportedEntry]) 
-> Text 
-> CommonM env Journal 

read entries from handle linewise, process and add to ledger

testRaw :: Show a => p -> FilePath -> (String -> a, Maybe (Handle -> IO ())) -> IO String Source #