{"package":"BILLING_RUN","pdr_config":{"mappings":[{"REPORT_NAME":"BILLING","REPORT_SUB_TYPE":"REALLOC","VERSION":5}],"transaction_type":"INSERT"},"documentation_urls":["https://nemweb.com.au/Reports/Current/MMSDataModelReport/Electricity/ElectricityDataModelReport_files/Elec16.htm#399"],"comment":"BILLINGREALLOC shows reallocation contract values in each billing run, where participants have used reallocations.","description":"BILLINGREALLOC data is confidential to the relevant participant.\n\nSource\n\nBILLINGREALLOC is populated by the posting of a billing run.\n\nVolume\n\nAn indicative maximum is two records inserted per billing run, or 22\nrecords inserted per week.","primary_keys":["BILLRUNNO","CONTRACTYEAR","COUNTERPARTY","PARTICIPANTID","WEEKNO"],"indexes":[["LASTCHANGED"],["PARTICIPANTID"]],"columns":{"BILLRUNNO":{"sql_type":"NUMBER(3,0)","pl_type":"pl.UInt16","mandatory":true,"comment":"Unique run no within a given contract year and week no","is_integer":true,"unsigned_int":true,"num_int_bits":16},"CONTRACTYEAR":{"sql_type":"NUMBER(4,0)","pl_type":"pl.UInt16","mandatory":true,"comment":"AEMO Contract Year number starting in week containing 1st January","is_integer":true,"unsigned_int":true,"num_int_bits":16},"COUNTERPARTY":{"sql_type":"VARCHAR2(10)","pl_type":"str","mandatory":true,"comment":"Participant who is the counter party to this contract"},"PARTICIPANTID":{"sql_type":"VARCHAR2(10)","pl_type":"pl.Categorical","mandatory":true,"comment":"Unique participant identifier","is_categorical":true},"WEEKNO":{"sql_type":"NUMBER(3,0)","pl_type":"pl.UInt16","mandatory":true,"comment":"Week no within the contract year. Week no 1 is the week containing 1st January","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},"LASTCHANGED":{"sql_type":"DATE","pl_type":"pl.Datetime()","mandatory":false,"comment":"Last date and time record changed","examples":["2026/01/20 00:05:00"],"parse_csv_as_string":true,"is_s_datetime":true},"VALUE":{"sql_type":"NUMBER(15,5)","pl_type":"pl.Float64","mandatory":false,"comment":"Value billed on this contract","is_float":true}},"visibility":"Private","trigger":"Posting of a billing run"}