Never edit the export
A file exported from the ERP or the bank is the starting point of every number in the working paper. Once it is changed, nobody can show what the system said on the day.
The export is the evidence
Every number in a working paper comes from somewhere. For a bank reconciliation it comes from the bank export. For a ledger check it comes from the ERP. The file is the first link in the chain, and the rest of the work hangs off it.
An auditor traces from the original to the result. They open the export, pick a line, and follow it through the working file to the final figure. That trace works only if the original is still the file the system produced.
A changed original breaks the trail. It does not matter whether the change was a correction, a formatting fix, or a typo someone tidied up on the way past. A reviewer cannot tell a small change from a large one. They only see that the file no longer matches what the system holds, and they have no way to know which lines moved.
This is why the rule is short. The export is evidence. Treat it like a receipt. You may copy it, read it, and take a fingerprint of it. You do not edit it. If a number in it is wrong, that is a separate problem, and it gets its own handling. Editing the file hides the problem instead of solving it.
The cost of following the rule is almost nothing. The cost of breaking it shows up months later, in a review, when nobody can reconstruct the day.
How a file gets changed without anyone meaning to
Most damage is not deliberate. It happens when someone opens a CSV in Excel to look at it and then presses Save. Excel reads the file, applies its own idea of what each value is, and writes that back. The file still opens. Nothing shows an error. The values have moved.
Here is one example row, made up for this article, before and after open-and-save:
| Field | Before opening | After open and Save |
|---|---|---|
| Account code | Before: 00123 | After: 123 |
| Reference | Before: 202611030017 | After: 2.02611E+11 |
The leading zeros in the account code are gone, so the code no longer matches the chart of accounts. The reference is worse. Excel shows it in scientific notation, and Save writes that text into the CSV, so the last digits are gone for good. A number longer than 15 digits fares worse still: Excel keeps only 15 significant digits, so every digit after the fifteenth becomes a zero as soon as the file is opened.
Dates have a quieter version of the same problem. A date of 03/11/2026 can be read as 11 March or as 3 November, depending on the regional setting of the computer that opened it. Both readings look normal on screen. Only one of them is right for your books.
None of this shows an error. The file just looks normal, which is exactly why it gets missed.
Three folders
Keep three folders and the question of what may be edited answers itself.
inbox/ holds the originals. It is read-only. Files arrive here from the ERP, the bank, or wherever the data comes from, and they stay exactly as they arrived.
working/ holds copies. Scripts read from inbox/, copy what they need, and change the copy. If a script gets something wrong, you throw the copy away and run it again. The original is untouched.
output/ holds finished files. Name them with the date first, for example 2026-11-03_bank-reconciliation.xlsx, so a folder of outputs sorts itself in time order.
Make the inbox read-only at the file level. On macOS or Linux, run chmod a-w inbox/*. On Windows, tick Read-only in the file's Properties, or run attrib +R inbox\*. This is not a security control. It is a speed bump for your own hands. When you try to save over an original, the system stops you and you get one second to remember why you should not.
Then keep the habit: scripts read from inbox/ and write only to working/ or output/. Nothing writes to inbox/.
Prove the original did not change
A read-only folder is a promise. A fingerprint is proof.
A fingerprint is a short string computed from the exact bytes of a file, here a SHA-256 hash. Record it when the original arrives, and check it again at the end of the work. If the two match, the file was not touched.
import hashlib
from pathlib import Path
def fingerprint(path):
return hashlib.sha256(Path(path).read_bytes()).hexdigest()
before = fingerprint("inbox/bank_2026-10.csv")
# ... run the reconciliation on a copy in working/ ...
after = fingerprint("inbox/bank_2026-10.csv")
print("unchanged" if before == after else "ORIGINAL WAS CHANGED")On a file nobody touched, it prints unchanged. Two lines of real work: take the fingerprint when the file lands, take it again when you finish.
Then write the fingerprint into the working paper, next to the file name. A reviewer can run the same check and get the same string. That turns "I did not edit it" into something another person can confirm without trusting you.
If the check fails, stop. Something wrote to the inbox, and you need to find out what before the working paper goes any further.
When the export itself is wrong
Sometimes the original is the problem. A bank export is missing a line. The ERP export cuts off at the wrong date. A currency is wrong at the source. This will happen, and it does not give you a licence to edit the file.
Export again from the system, keep both files, and write one line in the log saying why the second export was needed. Two files, one note, and the trail is intact.
If the system cannot produce a correct export at all, record the adjustment as a separate, visible step in the working paper. A line that says what you added, why, and where the figure came from. Never inside the original file. The reader should be able to see the system's figure and your adjustment as two separate things, and agree with both or neither. Show the working sets out how to lay that step out.
Before you close the job, check three things:
- Is there a read-only
inbox/? - Does any script write to it?
- Is there a fingerprint for each original, recorded next to its file name?
Check your own files this week. It takes ten minutes, and it is the difference between a working paper that holds up and one that only looks finished.
To check a single invoice against its source without opening the file for editing, type its lines into the invoice check. It re-adds them and prints every rounded step.