Credit card invoice handling

WIP currently
Line is too long. [102/80]