{"package":"BILLING_RUN","pdr_config":{"mappings":[{"REPORT_NAME":"BILLING","REPORT_SUB_TYPE":"FEES","VERSION":5}],"transaction_type":"INSERT"},"documentation_urls":["https://nemweb.com.au/Reports/Current/MMSDataModelReport/Electricity/ElectricityDataModelReport_files/Elec16.htm#285"],"comment":"BILLINGFEES presents pool fees applied to the statement, per billing run.","description":"BILLINGFEES data is confidential to the relevant participant.\n\nSource\n\nBILLINGFEES is populated by the posting of a billing run, being several\ntimes each week.\n\nVolume\n\nThe number of records varies according to the number of pool fee types\nthe participant may be subject to. An indicative maximum is about 13\nrecords inserted per billrunno or 143 records inserted per week.","primary_keys":["BILLRUNNO","CONTRACTYEAR","MARKETFEEID","PARTICIPANTCATEGORYID","PARTICIPANTID","WEEKNO"],"indexes":[["LASTCHANGED"],["PARTICIPANTID"]],"columns":{"BILLRUNNO":{"sql_type":"NUMBER(3,0)","pl_type":"pl.UInt16","mandatory":true,"comment":"Unique run no within a given contract year and week no","is_integer":true,"unsigned_int":true,"num_int_bits":16},"CONTRACTYEAR":{"sql_type":"NUMBER(4,0)","pl_type":"pl.UInt16","mandatory":true,"comment":"AEMO Contract Year number starting in week containing 1st January","is_integer":true,"unsigned_int":true,"num_int_bits":16},"MARKETFEEID":{"sql_type":"VARCHAR2(10)","pl_type":"str","mandatory":true,"comment":"Market fee identifier"},"PARTICIPANTCATEGORYID":{"sql_type":"VARCHAR2(10)","pl_type":"str","mandatory":true,"comment":"The participant category pertaining to the market fee recovery. Corresponds to the PARTICIPANTCATEGORYID column of the SETMARKETFEES table."},"PARTICIPANTID":{"sql_type":"VARCHAR2(10)","pl_type":"pl.Categorical","mandatory":true,"comment":"Unique participant identifier","is_categorical":true},"WEEKNO":{"sql_type":"NUMBER(3,0)","pl_type":"pl.UInt16","mandatory":true,"comment":"Week no within the contract year. Week no 1 is the week containing 1st January","warnings":["There may be 53 weeks in a year, depending on how weeks align to the year start/end."],"is_integer":true,"unsigned_int":true,"num_int_bits":16},"ENERGY":{"sql_type":"NUMBER(16,6)","pl_type":"pl.Float64","mandatory":false,"comment":"Energy, in MWh","is_float":true},"LASTCHANGED":{"sql_type":"DATE","pl_type":"pl.Datetime()","mandatory":false,"comment":"Last date and time record changed","examples":["2026/01/20 00:05:00"],"parse_csv_as_string":true,"is_s_datetime":true},"RATE":{"sql_type":"NUMBER(15,5)","pl_type":"pl.Float64","mandatory":false,"comment":"Market fee rate","is_float":true},"VALUE":{"sql_type":"NUMBER(15,5)","pl_type":"pl.Float64","mandatory":false,"comment":"Fee in $","is_float":true}},"visibility":"Private","trigger":"After posting of a billing run (several times each week)"}