How to Redact a Receipt PDF for an Expense Report(Hide the Card Number, Keep the Total)
Black out the card number and any loyalty or member ID, and keep the merchant, date, items and total readable. Then search the saved file to confirm the digits are gone. Do not change any amount: hiding a figure is redaction, while editing one is falsifying a claim.
Hide the Payment Details, Keep the Expense
Hide the card number and anything that identifies the account behind it, such as a loyalty or member ID. Keep what the person approving the claim needs to check the spend: the merchant, the date, the items, and the subtotal, tax and total. The payment line is what gets hidden. Nothing else on the receipt should move.
How much of the card to hide depends on your expense policy, not on what looks safe. A common rule in company and university expense policies is to hide the card number except its last four digits, which are enough to show which card paid. Some policies also ask for the expiry date to be hidden. Yours may ask for more or less, so ask the person who reviews claims if the policy is silent.
Do not swap the receipt for a card slip. Many expense policies do not accept a card slip or a card statement as an itemized receipt, because neither lists what was bought, so redact the receipt itself rather than sending a statement in its place. If the receipt already shows only the last four digits, there may be nothing to hide.
Which Parts of a Receipt to Hide
A typical itemized receipt from a shop, café or booking site. Check the policy for the last row before you start.
| Show the reviewer | Hide | |
|---|---|---|
| Merchant name and address | Yes | No |
| Date and time | Yes | No |
| Items and prices | Yes | No |
| Subtotal, tax, tip and total | Yes | Never |
| Full card number | No | Yes |
| Card brand and last four digits | Only if policy accepts them | Only if policy asks |
| Loyalty, member or account ID | Not needed | Yes |
If a receipt prints the card's expiry date, treat it like the number and hide it too. Other documents that mix identifiers with bills are covered in how to redact an SSN in a PDF.
Redact One Receipt With Find
This takes a few minutes per receipt. The search does most of the finding; you still check every match.
- Open the receipt in the LanaPDF editor. Drop it on the editor or choose it from the upload screen. It stays in your browser and is not uploaded.
- Make a photo searchable first. A PDF exported from a shop, a booking site or a card app already has text. A photo or scan does not: choose Tools > Document > OCR, then continue.
- Find the card number. Press Ctrl+F (Cmd+F on a Mac), or use the search button in the header. Leave the preset on Text and type the number as it is printed, with its spaces. A query with spaces matches the number whether or not the file has the spaces, so the printed form is enough. Turn on Whole word for short numbers, so a four-digit fragment does not also catch a time or an amount.
- Check each match, then click Redact all. Enter and the arrow keys step through the matches across pages. Make sure every match is the card number, because a short search can hit an unrelated line. Redact all adds one black redaction per match in a single step, and one Undo removes all of them.
- Hide the loyalty ID, then save. Search the ID the same way, or press D for the Redaction tool and drag over it; the tool is locked to black. Then save, and name the file so it does not give the card away.
Find and Redact all are free and need no account. A free save carries a small Edited with LanaPDF footer at the bottom of each page; a paid pass removes it. The footer is an image, so it does not affect what you hid.
One match, one bar
The search reads the page text, so the number only shows up if the editor can see it. Count the matches before you click. A match on the card line is what you want; a match on a line you do not recognize is a reason to stop and look.
Prove the Digits Are Gone
A redacted page is saved differently from the rest of the file. It is exported as a flattened image with a hidden text layer, and that layer leaves out every word under a bar. So the merchant, date and items on the page can still be searched and copied, and the covered words cannot.
Open the saved PDF in any viewer and search for the card digits with the viewer's own find. Zero results means the number is not in the file. Then search for the merchant name. It should be found, which shows the rest of the receipt came through intact.
Search, then send
If the viewer finds any of the digits, go back to the editor, redact the missing match, and save again. Do not send the file until the search comes back empty.
When the Receipt Is a Photo
Find only searches text the editor has, and a photo has none until OCR runs. After OCR, Find searches the words it recognized, and the saved image carries those words as invisible text, with any word under a bar left out. That is useful, but OCR can misread digits in a blurry or folded photo, so a 4 read as a 9 will not match your search.
For a photo, search and then look. Zoom in on the card line and the loyalty line, and drag the Redaction tool over any digits the search did not find. Then do the saved-file check above on the image copy, and treat a search that finds nothing as a hint to look harder, not as proof.
What Usually Goes Wrong
- A black box drawn as a shape. In many PDF tools a box is only a shape on top of the text, and the number can still be copied. Use Redact all or the Redaction tool, then run the saved-file check.
- The total or the tax got hidden. A search for a short number can catch an amount. Step through every match before you click Redact all, and leave the figures alone.
- The file name gives the card away. A name such as
visa-4444.pdfundoes the redaction. Rename the saved copy, for exampleHarbor-Street-Coffee-2026-11-16.pdf. - The number is in a second place. Some receipts repeat the card on a second page or in a footer, and a card statement attached with the claim shows it too. Find searches every page, so check the page count and the statement.
- The search finds nothing on a scan. The text layer is missing, so run OCR first. If it still finds nothing, the digits were not recognized, and the Redaction tool is the way to hide them.
FAQ
Should I redact the card number on a receipt for an expense report?
Usually yes: hide the full card number, and keep only the last four digits if your expense policy accepts them as proof of payment. Many expense policies say so. Check yours before you hide more, because hiding the merchant, date or total makes the claim harder to check.
How do I find every copy of a card number in a receipt PDF?
Open the file in the LanaPDF editor, press Ctrl or Cmd+F, and type the number as it is printed, with its spaces. Step through the matches, then click Redact all to black out every one. One Undo removes all of them if you need to start again.
Can I just draw a black box over the card number?
You can, but in many PDF tools a black box is only a shape on top of the text, so the number can still be selected and copied from the file. Use Redact all or the Redaction tool instead, then search the saved file for the digits to confirm they are gone.
Is it free to redact a receipt in LanaPDF?
Yes. Find, Redact all and saving need no account, and the file is processed in your browser. Free saves carry a small Edited with LanaPDF footer at the bottom of each page; a paid pass removes it.
Redact your receipt now
Black out the card number and the loyalty ID, keep the total, then search the saved file. PDFs and photos, no upload.
A photo of a receipt? Open the editor and choose it there. Edit and save for free; free saves carry a small LanaPDF footer.