Suppressing the credit card number on an invoice is an optional setting. It can be enabled under Store Settings.

Browse to Settings > Security > General This will force truncation of the credit card number on the invoice and display only four digits.
[null, {"document_url": "https://support.americommerce.com/hc/en-us/articles/201906090-Hiding-Credit-Card-Information-on-Invoice", "unformatted_src": "//kb.americommerce.com/kb/images/1-7-2014-11-59-15-AM.png", "src": "http://kb.americommerce.com/kb/images/1-7-2014-11-59-15-AM.png", "formatted_filename": "AM", "alt_text": "1-7-2014_11-59-15_AM.png"}, null, null, null, {"document_url": "https://support.americommerce.com/hc/en-us/articles/201906090-Hiding-Credit-Card-Information-on-Invoice", "unformatted_src": "https://www.americommerce.com/Shared/images/inbox-mail.png", "src": "https://www.americommerce.com/Shared/images/inbox-mail.png", "formatted_filename": "inbox mail"}, null]