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

# Create Module (File Upload)

> Create a PV module by uploading a PVsyst .pan file

# POST /modules

Upload a PVsyst `.pan` file to create a new PV module in the workspace. The server parses the file to extract module electrical properties (Voc, Isc, Pmax, temperature coefficients, dimensions, etc.) and the Angle of Incidence (AOI) curve, then stores the module.

## Notes

* Requires a valid JWT with write access to the workspace.
* The request body must be `multipart/form-data` with a single `file` field containing the `.pan` file.
* The module name is derived from the uploaded filename (without the `.pan` extension).
* Returns `400` if the `.pan` file cannot be parsed.
* Properties are stored as a flexible key-value dictionary reflecting the PVsyst file structure.
* If you already have structured module data and do not have a `.pan` file, use `POST /modules/json` instead.
