Skip to content

BILLINGREGIONIMPORTS

BILLINGREGIONIMPORTS sets out the region summary table of overall energy imported to and from each region for each billing run.

BILLINGREGIONIMPORTS is public data, and is available to all participants.

Source

BILLINGREGIONIMPORTS is populated by the posting of a billing run.

Volume

Eight records inserted per billing run, or 88 records inserted per week.

Column Schema

BILLRUNNO

Unique run no within a given contract year and week no

SQL Type: NUMBER(3,0) Polars Type: pl.UInt16

This column is mandatory, and a primary key.

Examples: 8, 996

CONTRACTYEAR

AEMO Contract Year number starting in week containing 1st January

SQL Type: NUMBER(4,0) Polars Type: pl.UInt16

This column is mandatory, and a primary key.

Example: 2026

IMPORTFROM

Region energy imported from

SQL Type: VARCHAR2(10) Polars Type: str

This column is mandatory, and a primary key.

Examples:

  • NSW1
  • QLD1
  • SA1
  • TAS1
  • VIC1

REGIONID

Unique region identifier

For more information, see the dedicated documentation page.

The SQL type is VARCHAR2(10). This is actually a factor/enum, with values:

  • QLD1

  • VIC1

  • TAS1

  • NSW1

  • SA1

  • SNOWY1

This column is mandatory, and a primary key.

WEEKNO

Week no within the contract year. Week no 1 is the week containing 1st January

Warning

There may be 53 weeks in a year, depending on how weeks align to the year start/end.

SQL Type: NUMBER(3,0) Polars Type: pl.UInt16

This column is mandatory, and a primary key.

Examples: 6, 40

ENERGY

Amount of energy imported

SQL Type: NUMBER(16,6) Polars Type: pl.Float64

This column is not mandatory.

Examples: 0.075633, 0, 118322.630254

LASTCHANGED

Last date and time record changed

For more information, see the dedicated documentation page.

SQL Type: DATE Polars Type: pl.Datetime()

This column is not mandatory.

Example: 2026/08/24 09:31:10

SURPLUSENERGY

Populated with 0

SQL Type: NUMBER(16,6) Polars Type: pl.Float64

This column is not mandatory.

Example: 0

SURPLUSVALUE

Interregional residue

SQL Type: NUMBER(15,5) Polars Type: pl.Float64

This column is not mandatory.

Examples: -2.02714, 3.95266, 0, 10434354.20159

VALUE

Value of energy imported

SQL Type: NUMBER(15,5) Polars Type: pl.Float64

This column is not mandatory.

Examples: -20.53552, 6.97491, 0, 17192168.54328

New Data Timing

Posting of a billing run

Code Examples

Polars

Casting is enums, categoricals etc is not essential, but may speed up parsing. Swapping int for pl.UInt16, pl.Int32 would also speed up parsing. However some of the datatypes are inferred, so they may be wrong.

This code deduplicates for you. Deduplication is normally only required across multiple months.

This code assumes that all columns are present, which may not be true for older files.

import polars as pl
import polars.selectors as cs

# e.g. "2029/03/15 00:05:00"
dt_s_fmt = "%Y/%m/%d %H:%M:%S"

csv_paths = ["SOMEFILE.CSV", "OTHERFILE.CSV"]

lf = (
    pl.concat(
        [
            pl.scan_csv(
                csv_path,  # must be unzipped beforehand
                skip_rows=1,  # skip the header
                infer_schema=False,  # much faster
            )
            .filter(cs.by_index(0) == "D")  # drop the footer
            .select(~cs.by_index(range(4)))  # drop metadata columns
            for csv_path in csv_paths
        ],
        how="diagonal_relaxed",
    )
    .with_columns(
        pl.col("LASTCHANGED").str.strptime(pl.Datetime, dt_s_fmt),
    )
    .cast(
        {
            "BILLRUNNO": int,  # or pl.UInt16
            "CONTRACTYEAR": int,  # or pl.UInt16
            "IMPORTFROM": str,
            "REGIONID": pl.Enum(["QLD1", "VIC1", "TAS1", "NSW1", "SA1", "SNOWY1"]),
            "WEEKNO": int,  # or pl.UInt16
            "ENERGY": pl.Float64,
            "SURPLUSENERGY": pl.Float64,
            "SURPLUSVALUE": pl.Float64,
            "VALUE": pl.Float64,
        }
    )
    # Deduplicate
    # We want one row per ['BILLRUNNO', 'CONTRACTYEAR', 'IMPORTFROM', 'REGIONID', 'WEEKNO']
    # Tie-breaker: greatest value of ['LASTCHANGED']
    .sort(["LASTCHANGED"], descending=False)
    .unique(
        subset=["BILLRUNNO", "CONTRACTYEAR", "IMPORTFROM", "REGIONID", "WEEKNO"],
        keep="last",
    )
)

Nemosis

This table is not yet available in Nemosis.

Example File

From PUBLIC_ARCHIVE_BILLINGREGIONIMPORTS_FILE01_202609010000.zip

CONTRACTYEARWEEKNOBILLRUNNOREGIONIDIMPORTFROMENERGYVALUESURPLUSENERGYSURPLUSVALUELASTCHANGED
202636991NSW1QLD120749.5583651568514.500060220578.995982026/09/01 01:23:00
202636991NSW1VIC13478.487425331174.88325030418.183882026/09/01 01:23:00
202636991QLD1NSW100002026/09/01 01:23:00
202636991SA1VIC12898.695992265343.222030-29815.254412026/09/01 01:23:00
202636991TAS1VIC12576.97166728972.4509602621.285232026/09/01 01:23:00
202636991VIC1NSW12784.95290883375.504520-2.027142026/09/01 01:23:00
202636991VIC1SA12237.27697536887.509280-192.400882026/09/01 01:23:00
202636991VIC1TAS15880.115833542842.61645024988.152462026/09/01 01:23:00
20261614NSW1QLD130678.6593871330881.139570-60069.099592026/08/27 07:53:39
20261614NSW1VIC138878.4800622433910.3466301211846.998462026/08/27 07:53:39
20261614QLD1NSW115266.970665927359.779080164738.5972026/08/27 07:53:39
...

CSETP.WORLDDVD_BILLINGREGIONIMPORTSAEMOPUBLIC2026/10/0915:24:59001791523499336MONTHLY_ARCHIVE001791523499336
IBILLINGREGIONIMPORTS5CONTRACTYEARWEEKNOBILLRUNNOREGIONIDIMPORTFROMENERGYVALUESURPLUSENERGYSURPLUSVALUELASTCHANGED
DBILLINGREGIONIMPORTS5202636991NSW1QLD120749.5583651568514.500060220578.995982026/09/01 01:23:00
DBILLINGREGIONIMPORTS5202636991NSW1VIC13478.487425331174.88325030418.183882026/09/01 01:23:00
DBILLINGREGIONIMPORTS5202636991QLD1NSW100002026/09/01 01:23:00
DBILLINGREGIONIMPORTS5202636991SA1VIC12898.695992265343.222030-29815.254412026/09/01 01:23:00
DBILLINGREGIONIMPORTS5202636991TAS1VIC12576.97166728972.4509602621.285232026/09/01 01:23:00
DBILLINGREGIONIMPORTS5202636991VIC1NSW12784.95290883375.504520-2.027142026/09/01 01:23:00
DBILLINGREGIONIMPORTS5202636991VIC1SA12237.27697536887.509280-192.400882026/09/01 01:23:00
DBILLINGREGIONIMPORTS5202636991VIC1TAS15880.115833542842.61645024988.152462026/09/01 01:23:00
DBILLINGREGIONIMPORTS520261614NSW1QLD130678.6593871330881.139570-60069.099592026/08/27 07:53:39
DBILLINGREGIONIMPORTS520261614NSW1VIC138878.4800622433910.3466301211846.998462026/08/27 07:53:39
DBILLINGREGIONIMPORTS520261614QLD1NSW115266.970665927359.779080164738.5972026/08/27 07:53:39
...
CEND OF REPORT409

CONTRACTYEAR,WEEKNO,BILLRUNNO,REGIONID,IMPORTFROM,ENERGY,VALUE,SURPLUSENERGY,SURPLUSVALUE,LASTCHANGED
2026,36,991,NSW1,QLD1,20749.558365,1568514.50006,0,220578.99598,"2026/09/01 01:23:00"
2026,36,991,NSW1,VIC1,3478.487425,331174.88325,0,30418.18388,"2026/09/01 01:23:00"
2026,36,991,QLD1,NSW1,0,0,0,0,"2026/09/01 01:23:00"
2026,36,991,SA1,VIC1,2898.695992,265343.22203,0,-29815.25441,"2026/09/01 01:23:00"
2026,36,991,TAS1,VIC1,2576.971667,28972.45096,0,2621.28523,"2026/09/01 01:23:00"
2026,36,991,VIC1,NSW1,2784.952908,83375.50452,0,-2.02714,"2026/09/01 01:23:00"
2026,36,991,VIC1,SA1,2237.276975,36887.50928,0,-192.40088,"2026/09/01 01:23:00"
2026,36,991,VIC1,TAS1,5880.115833,542842.61645,0,24988.15246,"2026/09/01 01:23:00"
2026,16,14,NSW1,QLD1,30678.659387,1330881.13957,0,-60069.09959,"2026/08/27 07:53:39"
2026,16,14,NSW1,VIC1,38878.480062,2433910.34663,0,1211846.99846,"2026/08/27 07:53:39"
2026,16,14,QLD1,NSW1,15266.970665,927359.77908,0,164738.597,"2026/08/27 07:53:39"
...
C,SETP.WORLD,DVD_BILLINGREGIONIMPORTS,AEMO,PUBLIC,2026/10/09,15:24:59,001791523499336,MONTHLY_ARCHIVE,001791523499336
I,BILLING,REGIONIMPORTS,5,CONTRACTYEAR,WEEKNO,BILLRUNNO,REGIONID,IMPORTFROM,ENERGY,VALUE,SURPLUSENERGY,SURPLUSVALUE,LASTCHANGED
D,BILLING,REGIONIMPORTS,5,2026,36,991,NSW1,QLD1,20749.558365,1568514.50006,0,220578.99598,"2026/09/01 01:23:00"
D,BILLING,REGIONIMPORTS,5,2026,36,991,NSW1,VIC1,3478.487425,331174.88325,0,30418.18388,"2026/09/01 01:23:00"
D,BILLING,REGIONIMPORTS,5,2026,36,991,QLD1,NSW1,0,0,0,0,"2026/09/01 01:23:00"
D,BILLING,REGIONIMPORTS,5,2026,36,991,SA1,VIC1,2898.695992,265343.22203,0,-29815.25441,"2026/09/01 01:23:00"
D,BILLING,REGIONIMPORTS,5,2026,36,991,TAS1,VIC1,2576.971667,28972.45096,0,2621.28523,"2026/09/01 01:23:00"
D,BILLING,REGIONIMPORTS,5,2026,36,991,VIC1,NSW1,2784.952908,83375.50452,0,-2.02714,"2026/09/01 01:23:00"
D,BILLING,REGIONIMPORTS,5,2026,36,991,VIC1,SA1,2237.276975,36887.50928,0,-192.40088,"2026/09/01 01:23:00"
D,BILLING,REGIONIMPORTS,5,2026,36,991,VIC1,TAS1,5880.115833,542842.61645,0,24988.15246,"2026/09/01 01:23:00"
D,BILLING,REGIONIMPORTS,5,2026,16,14,NSW1,QLD1,30678.659387,1330881.13957,0,-60069.09959,"2026/08/27 07:53:39"
D,BILLING,REGIONIMPORTS,5,2026,16,14,NSW1,VIC1,38878.480062,2433910.34663,0,1211846.99846,"2026/08/27 07:53:39"
D,BILLING,REGIONIMPORTS,5,2026,16,14,QLD1,NSW1,15266.970665,927359.77908,0,164738.597,"2026/08/27 07:53:39"
...
C,"END OF REPORT",409

Availability

Visibility: Public

This table is in the public monthly MMSDM archive.

I have collated the list of all those files into one place, in this CSV metadata file. (Columns year, month, url, compressed_size in bytes).

The earliest available data is month 1 of 2015. The most recent available data is month 9 of 2026.

Warning

There are some months with no files.

Data Size

Each year of data is approximately 124 KB when zipped, 1 MB as unzipped CSV.

Deduplication and PDR Loader Configuration

The primary keys are:

The transaction type is "insert", which means that you will usually not see duplicate data. If you do, you can deduplicate based on the primary keys, without sorting first. Rows from different files with the same primary keys should have the same values.

PDR Loader configuration is:

Report Name Report Subtype Version
BILLING REGIONIMPORTS 5

This means that the CSV files start with metadata columns:

I,BILLING,REGIONIMPORTS,5,...
D,BILLING,REGIONIMPORTS,5,...

Indexes

This page as JSON (schema documented here, but may change)

Download a JSON Schema specification for this table.

Official AEMO schema documentation

Other Information

Package: BILLING_RUN