{"package":"BILLING_CONFIG","pdr_config":{"mappings":[{"REPORT_NAME":"BILLING_CONFIG","REPORT_SUB_TYPE":"BILLINGCALENDAR","VERSION":3},{"REPORT_NAME":"BILLING_CONFIG","REPORT_SUB_TYPE":"BILLINGCALENDAR","VERSION":4}],"transaction_type":"INSERT-UPDATE","row_filter_type":"LASTCHANGED"},"documentation_urls":["https://nemweb.com.au/Reports/Current/MMSDataModelReport/Electricity/ElectricityDataModelReport_files/Elec12.htm#1"],"comment":"BILLINGCALENDAR sets out the billing calendar for the year, with week number 1 starting on 1 January. BILLINGCALENDAR advises preliminary and final statement posting date and corresponding settlement for each billing week.","description":"BILLINGCALENDAR is public data, and is available to all participants.\n\nSource\n\nInfrequently, only when inserting billing weeks for a future\ncontractyear.\n\nVolume\n\n52-53 records inserted per contractyear","primary_keys":["CONTRACTYEAR","WEEKNO"],"indexes":[["LASTCHANGED"]],"columns":{"CONTRACTYEAR":{"sql_type":"NUMBER(4,0)","pl_type":"pl.UInt16","mandatory":true,"comment":"AEMO Contract Year number starting in week containing 1st January","examples":["1998","2018"],"is_integer":true,"unsigned_int":true,"num_int_bits":16},"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","examples":["1","53"],"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},"ENDDATE":{"sql_type":"DATE","pl_type":"pl.Date()","mandatory":false,"comment":"End Date of week","examples":["1998/01/03 00:00:00"],"parse_csv_as_string":true,"is_date":true},"FINALSTATEMENTDATE":{"sql_type":"DATE","pl_type":"pl.Date()","mandatory":false,"comment":"Final Statement Date","examples":["1998/01/13 00:00:00"],"parse_csv_as_string":true,"is_date":true},"LASTCHANGED":{"sql_type":"DATE","pl_type":"pl.Datetime()","mandatory":false,"comment":"Last date and time record changed","examples":["1998/10/28 14:06:27"],"parse_csv_as_string":true,"is_s_datetime":true},"PAYMENTDATE":{"sql_type":"DATE","pl_type":"pl.Date()","mandatory":false,"comment":"Payment Date","examples":["1998/01/13 00:00:00"],"parse_csv_as_string":true,"is_date":true},"PRELIMINARYSTATEMENTDATE":{"sql_type":"DATE","pl_type":"pl.Date()","mandatory":false,"comment":"Preliminary Statement Date","examples":["1998/01/13 00:00:00"],"parse_csv_as_string":true,"is_date":true},"REV0_FINAL_ATTACH_WEEK":{"sql_type":"VARCHAR2(10)","pl_type":"str","mandatory":false,"comment":"The FINAL Week where the R0 will be attached."},"REV0_PAYMENT_DATE":{"sql_type":"DATE","pl_type":"pl.Datetime()","mandatory":false,"comment":"The payment date of the FINAL week in REV0_FINAL_ATTACH_WEEK.","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},"REV1_FINAL_ATTACH_WEEK":{"sql_type":"VARCHAR2(10)","pl_type":"str","mandatory":false,"comment":"The FINAL Week where the R1 will be attached."},"REV1_PAYMENT_DATE":{"sql_type":"DATE","pl_type":"pl.Datetime()","mandatory":false,"comment":"The payment date of the FINAL week in REV1_FINAL_ATTACH_WEEK.","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},"REV2_FINAL_ATTACH_WEEK":{"sql_type":"VARCHAR2(10)","pl_type":"str","mandatory":false,"comment":"The FINAL Week where the R2 will be attached."},"REV2_PAYMENT_DATE":{"sql_type":"DATE","pl_type":"pl.Datetime()","mandatory":false,"comment":"The payment date of the FINAL week in REV2_FINAL_ATTACH_WEEK.","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},"REVISION0_STATEMENTDATE":{"sql_type":"DATE","pl_type":"pl.Datetime()","mandatory":false,"comment":"Revision 0 Statement Date for the billing week.","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},"REVISION1_STATEMENTDATE":{"sql_type":"DATE","pl_type":"pl.Date()","mandatory":false,"comment":"Revision 1 Statement Date for the billing week.","examples":["2012/05/22 00:00:00"],"parse_csv_as_string":true,"is_date":true},"REVISION2_STATEMENTDATE":{"sql_type":"DATE","pl_type":"pl.Date()","mandatory":false,"comment":"Revision 2 Statement Date for the billing week.","examples":["2012/08/02 00:00:00"],"parse_csv_as_string":true,"is_date":true},"REVISIONS_ATTACHED_TO_FINAL":{"sql_type":"VARCHAR2(50)","pl_type":"str","mandatory":false,"comment":"The list of Revisions that are attached in the FINAL Statement of the week"},"STARTDATE":{"sql_type":"DATE","pl_type":"pl.Date()","mandatory":false,"comment":"Start Date of week","examples":["1997/12/28 00:00:00"],"parse_csv_as_string":true,"is_date":true}},"example_zip_url":"https://www.nemweb.com.au/Data_Archive/Wholesale_Electricity/MMSDM/2026/MMSDM_2026_09/MMSDM_Historical_Data_SQLLoader/DATA/PUBLIC_ARCHIVE%23BILLINGCALENDAR%23FILE01%23202609010000.zip","manifest_summary":{"first_month":{"year":2015,"month":1},"last_month":{"year":2026,"month":9},"compressed_size_per_month":34479,"decompressed_size_all_time":36183160},"visibility":"Public","trigger":"When inserting billing weeks for a future AEMO Contract Year"}