Credit card invoice handling

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