{"package":"BILLING_RUN","pdr_config":{"mappings":[{"REPORT_NAME":"BILLING","REPORT_SUB_TYPE":"ENERGY_TRAN_SAPS","VERSION":1}],"transaction_type":"INSERT"},"documentation_urls":["https://nemweb.com.au/Reports/Current/MMSDataModelReport/Electricity/ElectricityDataModelReport_files/Elec15.htm#102"],"comment":"The SAP Billing Transaction Details for the Participants","primary_keys":["BILLRUNNO","CONTRACTYEAR","PARTICIPANTID","TNI","WEEKNO"],"columns":{"BILLRUNNO":{"sql_type":"NUMBER(3,0)","pl_type":"pl.UInt16","mandatory":true,"comment":"The Billing RunNo","is_integer":true,"unsigned_int":true,"num_int_bits":16},"CONTRACTYEAR":{"sql_type":"NUMBER(4,0)","pl_type":"pl.UInt16","mandatory":true,"comment":"The Billing Contract Year","is_integer":true,"unsigned_int":true,"num_int_bits":16},"PARTICIPANTID":{"sql_type":"VARCHAR2(20)","pl_type":"pl.Categorical","mandatory":true,"comment":"The SAP Participant ID","is_categorical":true},"TNI":{"sql_type":"VARCHAR2(20)","pl_type":"str","mandatory":true,"comment":"The SAPS Connection Point ID"},"WEEKNO":{"sql_type":"NUMBER(3,0)","pl_type":"pl.UInt16","mandatory":true,"comment":"The Billing WeekNo","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},"CONSUMED_ENERGY_COST":{"sql_type":"NUMBER(18,8)","pl_type":"pl.Float64","mandatory":false,"comment":"The Cost of the Consumed Energy","is_float":true},"CONSUMED_ENERGY_MWH":{"sql_type":"NUMBER(18,8)","pl_type":"pl.Float64","mandatory":false,"comment":"The Energy MWh Consumed for that TNI for the Participant Id in that Billing Week","is_float":true},"LASTCHANGED":{"sql_type":"DATE","pl_type":"pl.Datetime()","mandatory":false,"comment":"The Last datetime record is updated","examples":["2026/01/20 00:05:00"],"parse_csv_as_string":true,"is_s_datetime":true},"REGIONID":{"sql_type":"VARCHAR2(20)","pl_type":"pl.Enum([\"QLD1\", \"VIC1\", \"TAS1\", \"NSW1\", \"SA1\", \"SNOWY1\"])","mandatory":false,"comment":"The Region ID associated with the TNI","examples":null,"enums":["QLD1","VIC1","TAS1","NSW1","SA1","SNOWY1"]},"SENTOUT_ENERGY_COST":{"sql_type":"NUMBER(18,8)","pl_type":"pl.Float64","mandatory":false,"comment":"The Cost of the Sent Out Energy","is_float":true},"SENTOUT_ENERGY_MWH":{"sql_type":"NUMBER(18,8)","pl_type":"pl.Float64","mandatory":false,"comment":"The Energy MWh Sent Out for the TNI for the Participant Id in that Billing Week","is_float":true}},"visibility":"Private"}