To replace a general ledger you have already uploaded, or to remove an import that failed, you work on the Imports tab of Financial Data › General Ledger. This guide shows how to swap in a new file without counting your spend twice, and what you keep when you delete an import. To upload a ledger for the first time, see Upload your general ledger.
Does uploading my general ledger again replace the first upload?
No, uploading your general ledger again does not replace the first upload. Every upload is added as a separate import, and Avarni does not check for duplicate rows across imports. If you upload the same ledger again, both imports count, and your spend and emissions are counted twice until you delete the old import.
Replace a general ledger you have already uploaded
To replace a general ledger upload, upload the new file first, then delete the old import.
Go to Financial Data › General Ledger, select Upload ledger and upload the replacement file.
On the Imports tab, wait until the new import's Status shows Completed.
Compare Records and the counts in the Assessments column for the new import with the old import. The counts should match, or differ only by the rows you meant to change.
Open the actions menu on the old import and select Delete. Read the message, then select Delete to confirm. Deleting an import removes all of its records from every assessment that shows them, including records dated outside every assessment, and you cannot undo it. If you do not see Delete, ask an Admin.
Wait until the old import has gone from the list. While it shows Deleting, its records still count in your totals.
Check your totals only after the old import has gone. If an import stays on Deleting, contact Avarni. If a delete fails, the import shows Errored. Select Delete on it again.
Is it safe to delete and re-upload my general ledger?
Yes, it is safe to delete and re-upload your general ledger. Deleting a general ledger import removes its transactions only. You do not lose any of your classification work. These all stay:
Your classification rules, their order and their justifications.
Rules you accepted from suggestions. Accepting a suggestion makes it an ordinary rule.
The categories and justifications you set on Accounts › Categorisation.
Your analyses and their suggestions.
Every value on a ledger transaction comes from your rules or from your file. Nothing is edited on the transaction directly. When the new file finishes loading, Avarni applies each assessment's rules to it automatically, so re-uploading the file brings everything back.
What if a general ledger import fails?
A general ledger import that fails while uploading shows Errored on the Imports tab. It loaded no records, so nothing from it counts in your totals. Fix the file and upload it again. Then select Delete on the errored import to remove it from the list.
