March Docs

CodecCsv

Types

ptypePostingRowPostingRow = PostingRowValue(Int, List(String), LedgerEntry.Draft, Option(String), Int, LedgerEntry.Posting)#

Functions

fnaccount_headeraccount_header() : List(String) do ["version", "account_id", "kind", "asset", "precision"] end#
fndecode_journaldecode_journal(accounts_csv : String, postings_csv : String) : Result(LedgerJournal.Ledger, CodecError.Error)#
fnencode_journalencode_journal(l : LedgerJournal.Ledger) : (String, String)#
fnposting_headerposting_header() : List(String) do ["version", "entry_index", "entry_id", "source", "effective", "recorded", "has_external_id", "external_id", "reversal_of", "posting_index", "account_id", "direction", "asset", "precision", "amount"] end#