Skip to main content

How Avarni matches invoice rows to facilities

Use this guide to see how Avarni assigns each row it reads from a bill to a facility, make that matching reliable, and fix rows that have no facility or the wrong one.

Written by Misha Cajic

Use this guide to see how Avarni assigns each row it reads from a bill to a facility, make that matching reliable, and fix rows that have no facility or the wrong one.

How does Avarni assign each invoice row to a facility?

When Avarni imports a row from a bill, it looks for a facility in this order:

  1. The meter number on the bill: the NMI (National Meter Identifier) for electricity or the MIRN (Meter Installation Registration Number) for gas.

  2. The account number on the bill.

  3. The address on the bill, matched to a facility at or near that address.

Avarni assigns a facility only when exactly one facility matches. The facility then sets the Entity. If no facility matches, or several match, the row has no facility.

How do I make invoice facility matching reliable?

To make invoice facility matching reliable, go to Facilities and record each site's meter numbers and account numbers as identifiers.

Why do all rows on a multi-site bill have the same facility?

On a multi-site bill, Avarni can read the first site's address onto every row, so check the facility on every row. Changing Location/Address does not move a row to a different facility. Set the Facility field on the row instead.

How do I fix invoice rows with no facility?

You need the Admin or User role to edit rows. To give many invoice rows a facility at once:

  1. Go to Emissions Hub.

  2. Filter on Facility and choose Unattributed.

  3. Select the rows and select Bulk edit.

  4. Choose Entity / Facility and set the facility.

Did this answer your question?