Juan Leite, home page
Português Current language: English
Juan Leite, home page
Português Current language: English

AcademicUPCA · academic team project

PS2 · Direct debits

Automating monthly direct-debit billing: read the input files, validate customers, compute amounts and produce a PS2 file ready to send to the bank.

Context

Team project for the Computer Systems Engineering degree (UPCA, 2025/26). A fictional electricity company, “IPCA Energy”, wants to automate monthly billing through direct debit.

The program has to read the customer, consumption and pricing files, compute each bill and produce a single PS2 file containing only customers with a valid NIF (tax ID) and NIB (bank account number).

My role

Within the team, I built the Python metrics dashboard.

Solution

  • The C program reads the input files and generates the structured PS2 file.
  • Python validates the data and analyses it on a metrics dashboard covering consistency, errors and compliance.
  • It runs from the command line or from the dashboard.

Technical decisions

  • C and Python have separate jobs: C reads the files and writes the PS2 output, Python validates and analyses the data.
  • Code documentation generated with Doxygen, and the report written in LaTeX.

Result

The project was graded 20 out of 20 (2025/26).