{"package":"BILLING_RUN","pdr_config":{"mappings":[{"REPORT_NAME":"BILLING","REPORT_SUB_TYPE":"RESERVETRADERPAYMENT","VERSION":1}],"transaction_type":"INSERT"},"documentation_urls":["https://nemweb.com.au/Reports/Current/MMSDataModelReport/Electricity/ElectricityDataModelReport_files/Elec16.htm#455"],"comment":"Details of the RERT Usage and Availability Payments made to the participant.","primary_keys":["BILLRUNNO","CONTRACTID","CONTRACTYEAR","PAYMENT_ID","WEEKNO"],"columns":{"BILLRUNNO":{"sql_type":"NUMBER(3,0)","pl_type":"pl.UInt16","mandatory":true,"comment":"Billing posted run number","is_integer":true,"unsigned_int":true,"num_int_bits":16},"CONTRACTID":{"sql_type":"VARCHAR2(20)","pl_type":"pl.Categorical","mandatory":true,"comment":"RERT payment contract ID","is_categorical":true},"CONTRACTYEAR":{"sql_type":"NUMBER(4,0)","pl_type":"pl.UInt16","mandatory":true,"comment":"Billing contract year","is_integer":true,"unsigned_int":true,"num_int_bits":16},"PAYMENT_ID":{"sql_type":"NUMBER(3,0)","pl_type":"pl.Int16","mandatory":true,"comment":"RERT payment number","is_integer":true,"num_int_bits":16},"WEEKNO":{"sql_type":"NUMBER(3,0)","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},"PARTICIPANTID":{"sql_type":"VARCHAR2(20)","pl_type":"pl.Categorical","mandatory":false,"comment":"Participant identifier.","is_categorical":true},"PAYMENT_AMOUNT":{"sql_type":"NUMBER(18,8)","pl_type":"pl.Float64","mandatory":false,"comment":"RERT payment amount for the payment type","is_float":true},"PAYMENT_TYPE":{"sql_type":"VARCHAR2(40)","pl_type":"pl.Categorical","mandatory":false,"comment":"Description for the reserve trader contract payment amount."}},"visibility":"Private","trigger":"After posting a billing run (final and revision)"}