Skip to content

BILLING_CO2E_PUBLICATION_TRK

Carbon Dioxide Intensity Index publication tracking table

Column Schema

CONTRACTYEAR

Billing contract year

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

This column is mandatory, and a primary key.

Example: 2026

WEEKNO

Billing week no

Warning

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

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

This column is mandatory, and a primary key.

Examples: 35, 39

BILLRUNNO

Billing run no

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

This column is not mandatory.

Examples: 8, 9

LASTCHANGED

Last changed date time

For more information, see the dedicated documentation page.

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

This column is not mandatory.

Example: 2026/09/02 10:34:36

New Data Timing

Generated when a billing run is posted

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(
        {
            "CONTRACTYEAR": int,  # or pl.UInt16
            "WEEKNO": int,  # or pl.UInt16
            "BILLRUNNO": int,  # or pl.UInt16
        }
    )
    # Deduplicate
    # We want one row per ['CONTRACTYEAR', 'WEEKNO']
    # Tie-breaker: greatest value of ['CONTRACTYEAR', 'WEEKNO']
    .sort(["CONTRACTYEAR", "WEEKNO"], descending=False)
    .unique(subset=["CONTRACTYEAR", "WEEKNO"], keep="last")
)

Nemosis

This table is not yet available in Nemosis.

Example File

From PUBLIC_ARCHIVE_BILLING_CO2E_PUBLICATION_TRK_FILE01_202609010000.zip

CONTRACTYEARWEEKNOBILLRUNNOLASTCHANGED
20263782026/09/16 10:41:52
20263692026/09/09 10:40:02
20263992026/09/30 11:44:31
20263592026/09/02 10:34:36
20263892026/09/23 10:37:26

CSETP.WORLDDVD_BILLING_CO2E_PUBLICATION_TRKAEMOPUBLIC2026/10/0915:24:43001791523483658MONTHLY_ARCHIVE001791523483658
IBILLINGBILLING_CO2E_PUBLICATION_TRK1CONTRACTYEARWEEKNOBILLRUNNOLASTCHANGED
DBILLINGBILLING_CO2E_PUBLICATION_TRK120263782026/09/16 10:41:52
DBILLINGBILLING_CO2E_PUBLICATION_TRK120263692026/09/09 10:40:02
DBILLINGBILLING_CO2E_PUBLICATION_TRK120263992026/09/30 11:44:31
DBILLINGBILLING_CO2E_PUBLICATION_TRK120263592026/09/02 10:34:36
DBILLINGBILLING_CO2E_PUBLICATION_TRK120263892026/09/23 10:37:26
CEND OF REPORT8

CONTRACTYEAR,WEEKNO,BILLRUNNO,LASTCHANGED
2026,37,8,"2026/09/16 10:41:52"
2026,36,9,"2026/09/09 10:40:02"
2026,39,9,"2026/09/30 11:44:31"
2026,35,9,"2026/09/02 10:34:36"
2026,38,9,"2026/09/23 10:37:26"
C,SETP.WORLD,DVD_BILLING_CO2E_PUBLICATION_TRK,AEMO,PUBLIC,2026/10/09,15:24:43,001791523483658,MONTHLY_ARCHIVE,001791523483658
I,BILLING,BILLING_CO2E_PUBLICATION_TRK,1,CONTRACTYEAR,WEEKNO,BILLRUNNO,LASTCHANGED
D,BILLING,BILLING_CO2E_PUBLICATION_TRK,1,2026,37,8,"2026/09/16 10:41:52"
D,BILLING,BILLING_CO2E_PUBLICATION_TRK,1,2026,36,9,"2026/09/09 10:40:02"
D,BILLING,BILLING_CO2E_PUBLICATION_TRK,1,2026,39,9,"2026/09/30 11:44:31"
D,BILLING,BILLING_CO2E_PUBLICATION_TRK,1,2026,35,9,"2026/09/02 10:34:36"
D,BILLING,BILLING_CO2E_PUBLICATION_TRK,1,2026,38,9,"2026/09/23 10:37:26"
C,"END OF REPORT",8

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 6 KB when zipped, 57 KB as unzipped CSV.

Deduplication and PDR Loader Configuration

The primary keys are:

The transaction type is "INSERT-UPDATE", which means that you will likely see duplicate data with different values.

You should deduplicate by sorting based on LASTCHANGED, within each group of primary keys.

PDR Loader configuration is:

Report Name Report Subtype Version
BILLING BILLING_CO2E_PUBLICATION_TRK 1

This means that the CSV files start with metadata columns:

I,BILLING,BILLING_CO2E_PUBLICATION_TRK,1,...
D,BILLING,BILLING_CO2E_PUBLICATION_TRK,1,...

ROW_FILTER_TYPE is LASTCHANGED

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