RF-1086 (Aksjonærregisteroppgave) XML generation and validation.
Ported from wenche/aksjonaerregister.py in the original Python Wenche project.
The shareholder register report is filed annually by January 31st to the Norwegian Tax Authority via SKD's own REST API (not Altinn instance flow).
Submission flow (SKD REST API):
- POST Hovedskjema (RF-1086) — company info and share capital
- POST Underskjema (RF-1086-U) — one per shareholder with holdings and transactions
- POST bekreft — confirm all sub-forms submitted
Summary
Functions
Generates RF-1086 Hovedskjema XML for SKD's API.
Generates RF-1086-U Underskjema XML for a single shareholder.
Validates a list of shareholders (legacy API).
Validates a shareholder register submission.
Functions
Generates RF-1086 Hovedskjema XML for SKD's API.
Contains company info, share capital, and issuance at founding. Validates against: aksjonaerregisteroppgaveHovedskjema.xsd
Returns the XML as a string.
Generates RF-1086-U Underskjema XML for a single shareholder.
Contains shareholder identification, holdings, and acquisition transaction. Validates against: aksjonaerregisteroppgaveUnderskjema.xsd
Returns the XML as a string.
Validates a shareholder register submission.
Returns :ok or {:error, reasons} where reasons is a list of error strings.