{"package":"BILLING_RUN","pdr_config":{"mappings":[{"REPORT_NAME":"BILLING","REPORT_SUB_TYPE":"IRPARTSURPLUS","VERSION":5}],"transaction_type":"INSERT"},"documentation_urls":["https://nemweb.com.au/Reports/Current/MMSDataModelReport/Electricity/ElectricityDataModelReport_files/Elec16.htm#368"],"comment":"BILLINGIRPARTSURPLUS supports the Settlements Residue Auction, by showing the weekly billing SRA distribution to Auction participants by Contract Identifier.","description":"BILLINGIRPARTSURPLUS data is confidential to the relevant participant.\n\nSource\n\nBILLINGIRPARTSURPLUS is populated by the posting of a billing run where\nthe participant has purchased auction units relating to that billing\nrun.\n\nVolume\n\nAn indicative maximum is 64 records inserted per billing run, or 700\nrecords inserted per week.","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":"SRA Contracted Year (calendar year)","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},"ACTUALPAYMENT":{"sql_type":"NUMBER(15,5)","pl_type":"pl.Float64","mandatory":false,"comment":"Net actual payment to participant, including auction fees","is_float":true},"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":"Posting of a billing run"}