{"package":"BILLING_RUN","pdr_config":{"mappings":[{"REPORT_NAME":"BILLING","REPORT_SUB_TYPE":"IRNSPSURPLUS","VERSION":5}],"transaction_type":"INSERT"},"documentation_urls":["https://nemweb.com.au/Reports/Current/MMSDataModelReport/Electricity/ElectricityDataModelReport_files/Elec16.htm#350"],"comment":"BILLINGIRNSPSURPLUS supports the Settlements Residue Auction (SRA), by showing the weekly billing Interconnector Residue (IR) payments as calculated for each bill run for Transmission Network Service Providers (TNSP) from the amount paid by participants (i.e. derogated amounts).","description":"BILLINGIRNSPSURPLUS data is confidential to the relevant participant.\n\nSource\n\nBILLINGIRNSPSURPLUS updates in a billing run where any derogated\nSettlement Residue Auction purchase flows to a TNSP.\n\nVolume\n\nBILLINGIRNSPSURPLUS contains a maximum of 30, 000 records per year.","primary_keys":["BILLRUNNO","CONTRACTID","CONTRACTYEAR","FROMREGIONID","INTERCONNECTORID","PARTICIPANTID","WEEKNO"],"indexes":[["LASTCHANGED"]],"columns":{"BILLRUNNO":{"sql_type":"NUMBER(3,0)","pl_type":"pl.UInt16","mandatory":true,"comment":"The sequential number of a billing run","is_integer":true,"unsigned_int":true,"num_int_bits":16},"CONTRACTID":{"sql_type":"VARCHAR2(30)","pl_type":"pl.Categorical","mandatory":true,"comment":"SRA Contract unique identifier","is_categorical":true},"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},"FROMREGIONID":{"sql_type":"VARCHAR2(10)","pl_type":"pl.Enum([\"QLD1\", \"VIC1\", \"TAS1\", \"NSW1\", \"SA1\"])","mandatory":true,"comment":"Nominated source region for Interconnector","examples":null,"enums":["QLD1","VIC1","TAS1","NSW1","SA1"]},"INTERCONNECTORID":{"sql_type":"VARCHAR2(10)","pl_type":"pl.Categorical","mandatory":true,"comment":"Contracted Interconnector","is_categorical":true},"PARTICIPANTID":{"sql_type":"VARCHAR2(10)","pl_type":"pl.Categorical","mandatory":true,"comment":"Unique participant identifier","is_categorical":true},"WEEKNO":{"sql_type":"NUMBER(2,0)","pl_type":"pl.UInt8","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":8},"ADJUSTMENT":{"sql_type":"NUMBER(15,5)","pl_type":"pl.Float64","mandatory":false,"comment":"Adjustment allocated to participant","is_float":true},"LASTCHANGED":{"sql_type":"DATE","pl_type":"pl.Datetime()","mandatory":false,"comment":"Date and time this record was last modified","examples":["2026/01/20 00:05:00"],"parse_csv_as_string":true,"is_s_datetime":true},"QUARTER":{"sql_type":"NUMBER(2,0)","pl_type":"pl.Int8","mandatory":false,"comment":"Residue Contract Quarter","is_integer":true,"num_int_bits":8},"RESIDUEYEAR":{"sql_type":"NUMBER(4,0)","pl_type":"pl.Int16","mandatory":false,"comment":"Year of the Residue Contract; may differ from the calendar year at week 1.","is_integer":true,"num_int_bits":16},"TOTALRESIDUES":{"sql_type":"NUMBER(15,5)","pl_type":"pl.Float64","mandatory":false,"comment":"Total residues allocated to participant","is_float":true}},"visibility":"Private","trigger":"After posting of a billing run where derogated payments apply"}