{"package":"HISTORICAL TABLES","pdr_config":{"mappings":[{"REPORT_NAME":"BILLING","REPORT_SUB_TYPE":"CPDATA","VERSION":7}],"transaction_type":"INSERT"},"documentation_urls":["https://nemweb.com.au/Reports/Current/MMSDataModelReport/Electricity/ElectricityDataModelReport_files/Elec64.htm#114"],"comment":"BILLINGCPDATA shows energy quantity and $ value purchased per participant connection point. The table is populated for participants using Data Model 5.2. For participants using Data Model 5.3 or higher, BILLING_ENERGY_TRANSACTIONS AND BILLING_ENERGY_GENSET_DETAIL replace BILLINGCPDATA.","description":"BILLINGCPDATA data is confidential to relevant participant.\n\nSource\n\nPopulated by the posting of a billing run, being several times each\nweek.\n\nVolume\n\nThe number of records depends on the number of Transmission\nConnectionPointIDs a participant may use to purchase energy. An\nindicative maximum is approximately 150 records per billrunno, or about\n1,500 records inserted per week.","unused":true,"primary_keys":["BILLRUNNO","CONNECTIONPOINTID","CONTRACTYEAR","MDA","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},"CONNECTIONPOINTID":{"sql_type":"VARCHAR2(10)","pl_type":"pl.Categorical","mandatory":true,"comment":"Unique connection point identifier","is_categorical":true},"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},"MDA":{"sql_type":"VARCHAR2(10)","pl_type":"str","mandatory":true,"comment":"relevant MDA for this connection point."},"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},"AFE":{"sql_type":"NUMBER(18,8)","pl_type":"pl.Float64","mandatory":false,"comment":"Adjusted Gross Energy for this Market Customer FRMP and TNI in the Billing run, excluding any UFEA component.","is_float":true},"AGE":{"sql_type":"NUMBER(18,8)","pl_type":"pl.Float64","mandatory":false,"comment":"Adjusted Gross Energy for this Market Customer FRMP and TNI in the trading interval. This will include the UFEA value once financial settlement of UFE commences with GS.","is_float":true},"AGGREGATEENERGY":{"sql_type":"NUMBER(16,6)","pl_type":"pl.Float64","mandatory":false,"comment":"Aggregate energy purchased/sold by customer, in MWh, plus UFEA. When GS commences, this includes the UFEA amount in the settlement runs.","is_float":true},"DME":{"sql_type":"NUMBER(18,8)","pl_type":"pl.Float64","mandatory":false,"comment":"Sum of ME- for all NMIs at this Market Customer FRMP and TNI in the Billing run.","is_float":true},"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},"PURCHASEDENERGY":{"sql_type":"NUMBER(18,8)","pl_type":"pl.Float64","mandatory":false,"comment":"The energy consumed at the connection point by the participant in this billing run","is_float":true},"PURCHASES":{"sql_type":"NUMBER(16,6)","pl_type":"pl.Float64","mandatory":false,"comment":"The Purchase column has the dollar value of the Energy Purchased rather than Aggregate Energy Dollar","is_float":true},"SALES":{"sql_type":"NUMBER(18,8)","pl_type":"pl.Float64","mandatory":false,"comment":"The total cost of energy sold at the connection point by the participant in this billing run","is_float":true},"SOLDENERGY":{"sql_type":"NUMBER(18,8)","pl_type":"pl.Float64","mandatory":false,"comment":"Energy sold at the connection point by the participant in this billing run","is_float":true},"UFEA":{"sql_type":"NUMBER(18,8)","pl_type":"pl.Float64","mandatory":false,"comment":"Share of UFE allocated to this FRMP and TNI in the Billing run.","is_float":true}},"visibility":"Private","trigger":"After posting of a billing run (several times each week)"}