{"package":"BILLING_RUN","pdr_config":{"mappings":[{"REPORT_NAME":"BILLING","REPORT_SUB_TYPE":"DIR_RECOVERY_DETAIL","VERSION":1}],"transaction_type":"INSERT"},"documentation_urls":["https://nemweb.com.au/Reports/Current/MMSDataModelReport/Electricity/ElectricityDataModelReport_files/Elec15.htm#68"],"comment":"The Billing Directions Recovery Details for the participants","primary_keys":["BILLRUNNO","CONTRACTYEAR","DIRECTION_ID","PARTICIPANTCATEGORYID","PARTICIPANTID","REGIONID","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},"DIRECTION_ID":{"sql_type":"VARCHAR2(20)","pl_type":"str","mandatory":true,"comment":"The Direction Unique Identifier"},"PARTICIPANTCATEGORYID":{"sql_type":"VARCHAR2(20)","pl_type":"str","mandatory":true,"comment":"The Participant Category for recovery Customer/Generator /SmallGen"},"PARTICIPANTID":{"sql_type":"VARCHAR2(20)","pl_type":"pl.Categorical","mandatory":true,"comment":"The Direction Payment Participant ID","is_categorical":true},"REGIONID":{"sql_type":"VARCHAR2(20)","pl_type":"pl.Enum([\"QLD1\", \"VIC1\", \"TAS1\", \"NSW1\", \"SA1\", \"SNOWY1\"])","mandatory":true,"comment":"The Region ID for the recovery","examples":null,"enums":["QLD1","VIC1","TAS1","NSW1","SA1","SNOWY1"]},"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},"EXCLUDED_ENERGY":{"sql_type":"NUMBER(18,8)","pl_type":"pl.Float64","mandatory":false,"comment":"The Energy Value (Scheduled Loads) that is excluded","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},"RECOVERY_AMOUNT":{"sql_type":"NUMBER(18,8)","pl_type":"pl.Float64","mandatory":false,"comment":"The Direction Recovery Amount","is_float":true},"RECOVERY_ENERGY":{"sql_type":"NUMBER(18,8)","pl_type":"pl.Float64","mandatory":false,"comment":"The Energy Value used for the Recovery","is_float":true},"REGION_ENERGY":{"sql_type":"NUMBER(18,8)","pl_type":"pl.Float64","mandatory":false,"comment":"The total Energy at the Region ID","is_float":true}},"visibility":"Private"}