Credit card invoice handling

WIP currently
Indent `when` as deep as `case`.