Skip to main content

Documents

The documents of an offer: the files stored on it - list, download, add, rename, replace and remove them -, and paperwork rendered on demand — the offer as a PDF, the grid operator's (Netzbetreiber) registration forms, the string plan and the circuit diagram. Each call renders from the offer as it stands; the two plans can be stored on it.

📄️List the documents of an offer

Every document stored on the offer, as the planner's documents tab (Dokumente) lists them: the datasheets and certificates of its parts, the grid operator's forms, the plans generated from it (parts list, string plan, circuit diagram, Kommissionsliste) and the files your team uploaded. Each comes with its name, a file name to save it under, its type and size, whether the customer sees it, and a `downloadUrl` that fetches the file without an API key for one hour.

📄️Take the parts' datasheets over into an offer

Adds the datasheets and certificates your catalog has for the offer's parts, as 'Datenblätter übernehmen' in the planner does: each file once, with the model added to its name where two files are called the same. Files the offer has already are left out, so the call can be repeated after the offer has changed; it removes nothing. On a published or accepted offer the customer sees the documents at once, and the offer's history names the API key. No mail is sent.

📄️Generate the circuit diagram

Renders the offer's circuit diagram (Schaltschema) as a PDF: the strings, inverters, battery, wallbox, emergency power, meters and the grid connection. It shows what the planner's dialog preselects: an accepted offer as the customer ordered it; any other offer with the active battery and wallbox and the recommended emergency power. Generated on demand from the offer as it stands and not stored; to store it, see `POST /v1/offers/{id}/documents/generate`. Requires the `read:documents` and `read:offers` scopes.