Skip to main content

Upload your general ledger

This guide shows you how to upload your general ledger once, for the whole organisation, on Financial Data › General Ledger, so that each row goes to the assessment whose period it is dated in.

Written by Misha Cajic

This guide shows you how to upload your general ledger once, for the whole organisation, on Financial Data › General Ledger, so that each row goes to the assessment whose period it is dated in.

Before you start

Before you upload your general ledger, check these:

  • Your chart of accounts is uploaded, on Financial Data › Chart of Accounts.

  • Your organisation's reporting country is set, under Settings › Edit Organisation.

  • If your organisation trades in more than one country, your file has a country column. See How Avarni decides the country of a row.

Why can't I select Upload ledger?

Upload ledger on Financial Data › General Ledger is greyed out while something blocks the general ledger upload. Hold the pointer over the button to see the reason. The reason is one of these:

  • Your organisation has no chart of accounts, or it has not finished importing. Upload it on Financial Data › Chart of Accounts and wait for it to finish.

  • A trial balance has not finished importing, or has no accounts in it. Wait for it to finish, or delete the empty trial balance on Financial Data › Trial Balances.

  • Your organisation has no reporting country. Set it under Settings › Edit Organisation.

Upload the general ledger

  1. Go to Financial Data › General Ledger.

  2. Select Upload ledger.

  3. Upload your file and map your columns to the fields Avarni asks for.

  4. Review the errors the importer flags, then confirm the import.

The Imports tab opens and shows the new file importing. When its Status shows Completed, its rows are in every assessment whose period they are dated in, and Avarni has applied each assessment's rules to them.

A general ledger file can cover more than one year. Each row goes to the assessment for its year. Create an assessment for each financial year you are loading, before or after you upload. Rows dated outside every assessment's period are loaded, and they show in an assessment once you create one that covers their dates.

To see the rows with your rules applied, open the assessment and go to Ledger › General Ledger.

Which date column should I map?

Map the date your finance system uses to post the transaction to the trial balance. If your file has several date columns, such as a document date and a posting date, ask your finance team which one that is.

A wrong date column can put rows outside the assessment period. Those rows are left out of the assessment and its completeness check. After the import, check the Assessments column on the Imports tab. It shows how many of the import's rows each assessment holds. A warning such as 120 outside every assessment shows how many of the import's rows are dated outside every assessment's period.

If you mapped the wrong date column, upload the file again with the right column, then delete the old import. See Replace or delete a general ledger upload.

What to do about account code errors

When you upload, a row shows an error on the account code when the code is not in your chart of accounts. Check the code in your file first. If the account is missing from your chart, contact your Avarni representative to add it, then upload those rows. See Upload your chart of accounts. If you do not need the rows, select delete rows with errors, then continue.

Every account in your chart of accounts is a valid code, including accounts an assessment excludes. Rows for excluded accounts load, and the assessment's rules leave them out of your emissions.

What should my general ledger extract cover, and can I split it into files?

Your general ledger extract should cover the transactions for the accounts you include in your assessment.

Extract the full financial year you report on. A full year contains more spend patterns, so the suggested rules classify more of your spend.

Keep only the lines that record spend with suppliers. Leave out document types that net to zero, such as reversals and internal journals. Ask your finance team what each document type code means before you filter.

Each row needs an account code, a date and an amount. Your file does not need an account name column: Avarni takes the account name from your chart of accounts by the account code. A supplier name is optional. Without a supplier column, you cannot use Supplier as a prediction field.

You can upload the ledger as several files, for example one file for each quarter. Avarni adds each file to your organisation's ledger and applies each assessment's rules to it.

Each file must contain different rows. Avarni does not check for duplicate rows across files, so a row that is in two files is counted twice.

You can upload a pre-audit ledger now. When the audit is complete, upload the audit journals as a separate file. That file must contain only the journals that are not in your first file.

Can I load procurement or spend cube data alongside the general ledger?

Yes. Upload the procurement data on Financial Data › General Ledger as a separate file. Each row needs an account code from your chart of accounts, a date and an amount.

To use the procurement categories in an analysis, add a custom field for each category column under Settings › Custom Fields. Do this before you upload. The importer then shows each custom field as a column that you can map. When you get suggested rules, you can then choose these custom fields under Fields to include.

Before you upload, remove from your general ledger extract every row that the procurement file also contains. The total of all your files must not be more than the spend on your trial balance.

Do not attach procurement data as business context. Business context guides the suggestions. It does not add transactions.

How do I load ledgers for several entities, systems or currencies?

Load every entity's ledger into Avarni. Each row goes to the assessment for its year. Assessments in one organisation cannot cover overlapping dates, so you cannot create a separate assessment for each entity.

Upload the ledger of each entity or system as a separate file on Financial Data › General Ledger. Every account code in every file must be in your chart of accounts. Your organisation has one chart of accounts, shared by every assessment. If your systems use different account codes, include all the codes when you upload the chart. To add codes to a chart that is already in use, contact your Avarni representative. See Upload your chart of accounts.

To attribute rows to an entity, add an entity column or a Company Code column to each file. You set company codes on each entity under Organisation › Entities. For how Avarni matches a row to an entity, see Set up your entities and facilities.

You can supply each ledger in the currency of that entity. Add a currency column to the file. A row with no currency takes the reporting currency of your organisation. Avarni converts each amount to the currency of the emission factor, with the rates under Settings › Exchange Rates. You do not need to convert the amounts before you upload.

Map an amount column together with the currency column that belongs to it. If your finance system exports several amounts, such as a transaction amount, an accounting amount and a reporting amount, each has its own currency column. Avarni checks only that the currency is a valid code. If the amount and the currency do not belong together, the spend is converted from the wrong currency and nothing warns you.

If you exclude an entity from your reporting boundary, you do not need to load its ledger.

How Avarni decides the country of a row

Avarni reads the country from a column in your general ledger file that you map during the import.

If a row has no country, Avarni takes the country of the facility named on the row, then the country of the row's entity. If neither has a country, the row takes your organisation's reporting country. You can see that country under Settings › Edit Organisation. If your file has no country column and no entities or facilities with a country, one factor set applies to every row, and the platform does not warn you.

After your first import, open the Emissions Hub and check the country shown against your file.

If your file has no country column, ask your finance team which field identifies the country. Currency does not work once the ledger is converted to a single currency.

Does uploading again replace my first upload?

No, uploading your general ledger again does not replace your first upload. Every upload adds a separate import, so uploading the same ledger again counts it twice. To swap in a new file, see Replace or delete a general ledger upload.

If you change which accounts are included

When you change which accounts are included on Accounts › Categorisation, Avarni updates the general ledger transactions that are already loaded, so you do not need to reload the general ledger. See Review your account categories.

What happens next

Open the assessment, go to Ledger › Rules and select Suggest rules to get suggested classification rules. See Get suggested rules for your ledger.

Before you rely on the numbers, check on the assessment's Accounts › Completeness page that the ledger is complete against your trial balances. See Check your general ledger is complete against your trial balances.

Did this answer your question?