Back to browse
GitHub Repository

Norwegian VAT return (MVA-melding) filing for Java — ID-porten, Altinn, Skatteetaten

1 starsJava

mva-melding-java – Java library for Norwegian VAT filing via Altinn 3

by guanghu·Apr 6, 2026·2 points·0 comments

AI Analysis

●●SolidNiche GemSolve My Problem

Handles reverse-charge codes 81/83/86/88/91 double-entry rules correctly.

Strengths
  • Built from 3 years of production accounting platform code, not theoretical
  • Ports-and-adapters architecture lets you plug in any ledger backend
  • Handles Norwegian public-holiday-adjusted filing deadlines automatically
Weaknesses
  • Extremely narrow audience (only Norwegian VAT filers using Java)
  • No Spring Boot starter included for the main VAT library itself
Target Audience

Norwegian fintech developers, accounting SaaS builders

Similar To

Altinn SDK · Digdir ID-porten clients

Post Description

Built this after 3 years developing a SaaS accounting system for the Norwegian market.

The hard part of MVA-melding isn't the XML — it's the full auth and submission chain: ID-porten PKCE with private_key_jwt, then Altinn 3's multi-step instance lifecycle (create → upload → sign → complete → poll feedback), plus Skatteetaten's non-obvious sign rules for reverse-charge codes (81/83/86/88/91 generate double entries).

The library handles the complete 15-step flow and uses a ports-and-adapters design — you implement one interface to connect your own ledger data.

Also open-sourced a companion Spring Boot starter for EHF 3.0 / PEPPOL BIS Billing 3.0 invoice transmission.

https://github.com/guangcode/mva-melding-java https://github.com/guangcode/oxalis-spring-boot-starter

Similar Projects

AI/MLMid

OxyJen – Java framework to orchestrate LLMs in a graph-style execution

Graph-based LLM pipelines for Java, but LangChain4j already dominates and covers the same use cases more maturely.

Bold BetShip It
bdivyansh11
203mo ago
SecurityMid

LockFS

The idea is pleasantly pragmatic: encrypt each file independently so you never have to rewrite a giant container when adding or moving data — that genuinely simplifies backups across mixed storage. The repo feels like an MVP: a runnable jar and clear UX goals, but it omits crucial cryptography details (cipher choices, key derivation, filename/metadata leakage, threat model) and usage examples, so it’s useful in concept but needs more security documentation and benchmarks before I’d trust it with sensitive data.

Niche GemShip It
0xGhostInAJar
343mo ago
SecurityMid

LockFS is a flexible file-by-file encryption for secure storage

Encrypts files one-by-one from a single runnable JAR, which is nice for cross-platform use and managing many small vaults without re-archiving. The README clearly explains usage, but there’s no visible discussion of algorithms, key management, integrity guarantees, or threat model — that omission keeps this from standing out in a space already served by mature tools like age/gocryptfs.

Ship ItNiche Gem
0xGhostInAJar
103mo ago