{% extends "base.html" %} {% block title %} » DC Contracts » {{batch.contract.name}} » Batches » {{batch.reference}} » Upload Bill File {% endblock %} {% block nav %} DC Contracts » {{batch.contract.name}} » Batches » {{batch.reference}} » Upload Bill File {% endblock %} {% block content %}
Upload Bill File
The '.csv' Format
# Bill Type (N - Normal, W - Withdrawn or F -Final) Account Reference MPAN Core Invoice Reference Issue Date (YYYY-mm-dd HH:MM) Start Date (YYYY-mm-dd HH:MM) Finish Date (YYYY-mm-dd HH:MM) kWh Net VAT Gross Breakdown element Name Start Date (YYY-mm-dd HH:MM) Finish Date (YYY-mm-dd HH:MM) Net Breakdown

The columns after 'element' can be repeated for each element, or can be left out entirely if the bill doesn't have any elements associated with it. Here's an example:

Example CSV File
N JJih988 22 7338 1192 184 jhl449 2025-07-13 03:26 2025-06-01 00:00 2025-06-30 23:30 288 13.76 1.56 15.82 {} element nrg 2025-06-01 00:00 2025-06-30 23:30 5.88 {"kwh": 55, 'rate': 0.05} element ccl 2025-06-01 00:00 2025-06-30 23:30 0.92 {"kwh": 55, 'rate': 0.075}
N jhgjfj8i 22 9981 4881 118 khghl 2025-07-13 03:26 2025-06-01 00:00 2025-06-30 23:30 8892 885.71 32.87 15.82 {} element day 2025-06-01 00:00 2025-06-30 23:30 881.77 {"kwh": 81, 'rate': 0.12} element aahedc 2025-06-01 00:00 2025-06-30 23:30 88 {"kwh": 7754, 'rate': 0.0511}
{% endblock %}