Skip to main content

Fix invoice extraction errors

Use this guide to fix the rows Avarni extracted from your invoices when they are wrong, such as extra or missed lines, charges that are not consumption and rows with an Unknown unit.

Written by Misha Cajic

Use this guide to fix the rows Avarni extracted from your invoices when they are wrong: extra or missed lines, charges that are not consumption, invoices with nothing extracted, rows with an Unknown unit, rows for months a bill does not cover, and lines missing from a graph. You need the Admin or User role to edit, add, delete or exclude rows. A Viewer sees the figures only.

To check and confirm invoices first, see Review the data Avarni extracted from your invoices.

Why does an invoice show more spend than its total?

An invoice shows more extracted spend than its total when the extraction picked up lines that look like a line item but are not. The usual culprits:

  • the invoice total

  • the account balance, or balance brought forward plus new charges

  • a previous balance

  • an average daily usage figure printed for the customer's interest

Select the row in the Activities list and select Delete. You can also select a highlighted region on the invoice image to jump to the row it produced.

To fix it across a batch: select View in emissions hub, open Filters, go to Description, select the description that is being duplicated, and apply. Select the rows and use the bulk delete button in the table footer. You will be asked to type DELETE.

How do I add an invoice line the extraction missed?

To add an invoice line the extraction missed, select a row of the same kind, select Clone, then edit the copy to match the line that was missed.

If there is nothing to clone, select Add activity and fill it in.

What do I do with invoice charges that are not consumption?

Supply and connection charges arrive as invoice line items, usually described as other charges and priced per day. They are real spend, so they belong in the completeness check, but they carry no consumption.

Depending on how Avarni read a charge, the charge can get a unit and an emission factor, and then it adds emissions. Exclude them instead of deleting them, so the completeness check still reconciles. Do not give a supply or service charge a unit.

Use the Exclude button on the status bar at the foot of the activity.

To exclude them across a batch: in the Emissions Hub, use the group button and group by Activity Class, then exclude the whole group in one action.

Which bills need extra checks before I confirm them?

Three bill patterns cause wrong figures. Check these before you confirm the document:

  • Invoices that show an outstanding balance as well as current charges. Confirm the amount used is the current charges only.

  • Bills with several tables. Extra tables of loss charges or ancillary charges can be read as additional consumption.

  • Multi-site bills. Confirm every site on the bill has been picked up, not just the first.

Why was nothing extracted from an invoice?

There are two reasons Avarni extracts nothing from an invoice, and they need opposite responses.

The document is not a utility invoice. If your invoices arrive through an integration, everything in the account comes through, not only the ones that matter. Delete the document.

The layout was not recognised. Key in the values by hand on the document's activity (see "How do I key in an invoice line by hand?"). If a vendor's invoices consistently return nothing, upload the consumption with Spreadsheet instead. See Invoices: what Avarni can read.

How do I key in an invoice line by hand?

To key in an invoice line by hand, select the activity, then complete:

  • Activity Class

  • Activity Amount, the consumption figure

  • Input Unit

  • Spend Amount

  • Currency

  • Date and End Date, the billing period

Check the period against the invoice. The dates Avarni prefills are not always the period the invoice covers.

Select Save. You do not need to complete any other field.

How do I fix rows with an Unknown input unit?

Avarni chooses a factor from each row's Activity Class and Input Unit. If Avarni does not recognise the unit printed on a bill, it sets Input Unit to Unknown and Activity Class to Other Charges. A Method with no Unit type also accepts Unknown from a spreadsheet.

A row with an Unknown input unit produces no emissions, whatever factor you choose, so its activity is missing from your totals. Correct the unit first:

  1. Set Input Unit to the unit on the bill, for example kilolitres for water.

  2. Set Activity Class.

  3. Choose the Factor.

To fix many Unknown rows at once:

  1. Go to Emissions Hub.

  2. Filter on Input Unit and choose Unknown.

  3. Select the rows and select Bulk edit.

  4. Under Field, choose Input Unit.

  5. Set the unit and select Bulk Edit. If Avarni asks for a factor, choose it in the same step.

If a row with an Unknown unit is not a real activity, such as a supply or service charge, select the Exclude status on that row instead of giving it a unit. When the table is grouped, the status controls on a group row apply to every row in that group.

To stop new Unknown rows from a spreadsheet, fix the unit in the source file. You can also set a Unit type on the Method, so that the importer checks each unit.

Why does a bill produce rows for months it does not cover?

Some bills print a table of usage for earlier months. Avarni can read that table as consumption. The same month then appears on several bills and is counted more than once.

Check that each bill's rows cover only that bill's billing period. Delete the rows for earlier months. To delete rows across a batch, use View in emissions hub and the bulk delete button, as described under "Why does an invoice show more spend than its total?".

Should I delete an invoice upload that read incorrectly?

No, you do not need to delete an invoice upload that read incorrectly. Correct the rows instead, one at a time on the document or many at once with Bulk edit in the Emissions Hub.

Why is an invoice line missing from a graph?

An invoice line can be missing from a graph for three reasons, and none of them is a failed extraction. Check them before you report a problem.

  1. The line was dated into the wrong month. Open the document and check the dates on every activity. A line dated into the wrong period disappears from the month you expected and appears in another.

  2. A filter is hiding it. A supplier filter with no supplier on the records hides everything.

  3. The graph is grouping it away. A graph caps how many items it shows before rolling the rest into an other group.

Is it double counting when two invoices cover the same month?

No. When a billing period straddles a month, Avarni prorates. Two invoices covering parts of August produce two rows, and each contributes only its share of August. The graph shows the prorated figure, not the sum.

What if the invoice itself is wrong?

Retailer bills sometimes do not add up. If the line items are right and the printed invoice total is wrong, select the total next to Sum of Spend Extracted and type the correct figure, or confirm the document as it is. Either way, write down why on the Document Notes tab.

Did this answer your question?