Tekstiviesti: Algebraic models for accounting systems