> ## Documentation Index
> Fetch the complete documentation index at: https://docs.lerian.studio/llms.txt
> Use this file to discover all available pages before exploring further.

# Midaz for academic records

> Use Midaz to record enrollments, grades, and achievements as immutable Ledger transactions — automated transcripts and audit-ready histories.

export const GExternalAccount = ({children}) => <Tooltip headline="External account" tip="A special account (prefixed with @external/) representing value entering or leaving the system from outside — the boundary between your ledger and the outside world." cta="See glossary" href="/en/glossary">
    {children}
  </Tooltip>;

Universities manage thousands of student records across many departments. The data sits in separate enrollment systems, grading platforms, and administrative databases. When an audit starts or a student requests a transcript, staff rebuild a complete history by hand. This process is slow and error-prone.

Midaz treats each academic activity as a Ledger transaction. It records every enrollment, grade, and achievement immutably, with a full audit trail — the same way it records financial movements.

### Benefits

* **Security and integrity**: Every academic record is an immutable transaction. You cannot change it after you record it, which removes disputes about grades or enrollment history.
* **Transparency**: Students, advisors, and administrators see a single, consistent view of the complete academic record.
* **Efficiency**: Transcript generation, GPA calculations, and audit preparation become automated queries instead of manual processes.

## What changes with Midaz

***

| Without Midaz                                                        | With Midaz                                                                           |
| :------------------------------------------------------------------- | :----------------------------------------------------------------------------------- |
| Student records spread across enrollment, grading, and admin systems | Single ledger tracks all academic activities as immutable transactions               |
| Transcript generation requires manual cross-referencing              | Query a student's portfolio for a complete, auditable academic history               |
| Grade disputes involve digging through logs and email chains         | Every grade assignment is a timestamped, immutable transaction with full audit trail |
| GPA calculations done manually or in disconnected spreadsheets       | Balance queries on grade accounts calculate GPA automatically                        |
| Audit preparation takes weeks of data gathering                      | All records are audit-ready by design — query any time range instantly               |

## Using Midaz

***

* **Organization & Ledger:** The university registers as an Organization in Midaz. It creates a Ledger to track all academic activities as transactions.
* **Assets:** Create an Asset for each course, with a unique identifier.
* **Student Portfolios:** For each student, create a Portfolio. The Portfolio acts as the academic record and holds all relevant academic metrics.
* **Accounts for academic metrics:** Create accounts for the academic metrics inside each student's Portfolio. Examples include:
  * **Course enrollments Account**: Records the courses the student enrolls in.
  * **Grades Account**: Tracks the grades the student receives.
  * **Attendance Account**: Monitors class attendance.
  * **Achievements Account**: Records extracurricular achievements and recognitions.
* **Transactions**: Use transactions to update accounts based on academic activities:
  * **Course enrollment**: When a student enrolls in a course, create a transaction. The transaction moves an entry from a course pool account (e.g., <GExternalAccount>`@external/available-courses`</GExternalAccount>) to the student's "Course Enrollments" account.
  * **Grade assignment**: When an instructor assigns a grade, create a transaction. The transaction moves "funds" (the grades) from the class grade account (e.g., `@external/grades`) to the student's grade account.
  * **Attendance marking**: To mark attendance, move funds from an attendance account (e.g., `@external/monitors`) to the student's "Attendance" account.
  * **Achievements**: Similarly, add achievements to the "Achievements" account via transactions.
* **Reports**: Query the ledger to build a full academic record for each student, across enrollments, grades, attendance, and achievements. These queries support academic counseling and transcript generation.
  * For example, retrieve all transactions for the Grades Account. Use the available balance to calculate the student's GPA.
