{"package":"BILLING_RUN","pdr_config":{"mappings":[{"REPORT_NAME":"BILLING","REPORT_SUB_TYPE":"APC_RECOVERY","VERSION":3}],"transaction_type":"INSERT"},"documentation_urls":["https://nemweb.com.au/Reports/Current/MMSDataModelReport/Electricity/ElectricityDataModelReport_files/Elec15.htm#8"],"comment":"Billing result table for recovery of APC compensation payments","description":"Updated with each billing run","primary_keys":["APEVENTID","BILLRUNNO","CLAIMID","CONTRACTYEAR","PARTICIPANTID","REGIONID","WEEKNO"],"columns":{"APEVENTID":{"sql_type":"NUMBER(6)","pl_type":"pl.Int32","mandatory":true,"comment":"AP Event Id","is_integer":true,"num_int_bits":32},"BILLRUNNO":{"sql_type":"NUMBER(3)","pl_type":"pl.UInt16","mandatory":true,"comment":"Billing run number","is_integer":true,"unsigned_int":true,"num_int_bits":16},"CLAIMID":{"sql_type":"NUMBER(6)","pl_type":"pl.Int32","mandatory":true,"comment":"AP Event Claim Id","is_integer":true,"num_int_bits":32},"CONTRACTYEAR":{"sql_type":"NUMBER(4)","pl_type":"pl.UInt16","mandatory":true,"comment":"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":"Participant identifier","is_categorical":true},"REGIONID":{"sql_type":"VARCHAR2(20)","pl_type":"pl.Enum([\"QLD1\", \"VIC1\", \"TAS1\", \"NSW1\", \"SA1\", \"SNOWY1\"])","mandatory":true,"comment":"Region Identifier","examples":null,"enums":["QLD1","VIC1","TAS1","NSW1","SA1","SNOWY1"]},"WEEKNO":{"sql_type":"NUMBER(3)","pl_type":"pl.UInt16","mandatory":true,"comment":"Billing week number","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},"ELIGIBILITY_END_INTERVAL":{"sql_type":"DATE","pl_type":"pl.Datetime()","mandatory":false,"comment":"The ending half hourly interval for the eligibility period for recovery of APC Payment","examples":["2026/01/20 00:05:00"],"parse_csv_as_string":true,"is_s_datetime":true},"ELIGIBILITY_START_INTERVAL":{"sql_type":"DATE","pl_type":"pl.Datetime()","mandatory":false,"comment":"The starting half hourly interval for the eligibility period for recovery of APC Payment","examples":["2026/01/20 00:05:00"],"parse_csv_as_string":true,"is_s_datetime":true},"LASTCHANGED":{"sql_type":"DATE","pl_type":"pl.Datetime()","mandatory":false,"comment":"The date and time of last changed record","examples":["2026/01/20 00:05:00"],"parse_csv_as_string":true,"is_s_datetime":true},"PARTICIPANT_ACE_MWH":{"sql_type":"NUMBER(18,8)","pl_type":"pl.Float64","mandatory":false,"comment":"The ACE MWh value of the participant from the Eligibility Interval used for the APC Recovery Calculation. If the Billing Week is prior to the IESS rule effective date, then value is Null.","is_float":true},"PARTICIPANT_DEMAND":{"sql_type":"NUMBER(18,8)","pl_type":"pl.Float64","mandatory":false,"comment":"The participant demand in the cost recovery region","is_float":true},"RECOVERY_AMOUNT":{"sql_type":"NUMBER(18,8)","pl_type":"pl.Float64","mandatory":false,"comment":"Recovery amount attributable to the participant in that region","is_float":true},"REGION_ACE_MWH":{"sql_type":"NUMBER(18,8)","pl_type":"pl.Float64","mandatory":false,"comment":"The ACE MWh value of the Region from the Eligibility Interval used for the APC Recovery Calculation. This is the sum of the ACE MWh of all the participants in that recovery. If the Billing Week is prior to the IESS rule effective date, then value is Null.","is_float":true},"REGION_DEMAND":{"sql_type":"NUMBER(18,8)","pl_type":"pl.Float64","mandatory":false,"comment":"The sum of demand of all participants in the cost recovery region (Region Sum)","is_float":true}},"visibility":"Private","warnings":[{"msg":"This is a different table to BILLINGAPCRECOVERY","category":"related_tables"}],"trigger":"Populated by the posting of a billing run, being several times each week"}