Credit card invoice handling

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