{"package":"BILLING_RUN","pdr_config":{"mappings":[{"REPORT_NAME":"BILLING","REPORT_SUB_TYPE":"SUBST_RUN_VERSION","VERSION":1}],"transaction_type":"INSERT"},"documentation_urls":["https://nemweb.com.au/Reports/Current/MMSDataModelReport/Electricity/ElectricityDataModelReport_files/Elec15.htm#222"],"comment":"Details of settlement runs used as input in the substitute demand calculation","primary_keys":["BILLRUNNO","CONTRACTYEAR","REFERENCESETTLEMENTDATE","REFERENCESETTLEMENTRUNNO","WEEKNO"],"columns":{"BILLRUNNO":{"sql_type":"NUMBER(3,0)","pl_type":"pl.UInt16","mandatory":true,"comment":"Billing run number","is_integer":true,"unsigned_int":true,"num_int_bits":16},"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},"REFERENCESETTLEMENTDATE":{"sql_type":"DATE","pl_type":"pl.Datetime()","mandatory":true,"comment":"Settlement Date","examples":["2026/01/20 00:05:00"],"warnings":["Despite what the name suggests, this is a datetime, not a date."],"parse_csv_as_string":true,"is_s_datetime":true},"REFERENCESETTLEMENTRUNNO":{"sql_type":"NUMBER(3,0)","pl_type":"pl.Int16","mandatory":true,"comment":"The settlement run number matching the settlement date for a settlement run included in the reference period","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}},"visibility":"Private","trigger":"Posting of a billing run"}