March Docs

LedgerValidation

Functions

fndraftdraft(v : Validated) : LedgerEntry.Draft#

Return an immutable draft copy; edits require validation again.

fnvalidatevalidate(accounts : List(LedgerAccount.Account), d : LedgerEntry.Draft) : Result(Validated, LedgerError.Error)#

Validate a draft against an account chart without posting or reserving IDs.