Skip to content

2xic-archive/nordic-payment-formats

Repository files navigation

Nordic payment formats

No warranty is given. No complaints will be answered.

Over the years many "weird" banking payment file formats have been created. Surprisingly these are the file format that financial system are standing on top of here in the nordics. Luckily we are starting to move to more decent file formats like ISO 20022 (camt) :)

The aim of the project was for me to play some with protobuf and grpc. In addition I wanted to take a deeper look at nordic payment formats by building a simple parser for them.

Status: The bedrock for the parsers should be in place. There are some quirks of the Cremul format that has not been fixed. The main goal of the project has been achieved, so leaving the fixing of theses quirks as an exercise to the reader :) In addition additional tests should be added if this project should be used in any professional settings (no warranty given)

OCR

OCR is a weird file format. Super inefficient, but hey it works. Here is the system manual by Nets used for writing the parser.

Test files used for writing the parser was found in python-netsgiro and java-netsgiro

BgMax

BgMax is another weird file format. System manual used to implement was found here. The layout is more or less the same as a OCR file, they build upon the same ideas.

The official test files were used for testing and can be found here

Cremul

Cremul is maybe the best format if we were to compare it with BgMax and OCR.

It's more "efficient" by allow variable length, and don't use all the "filler" values like BgMax / OCR.

Used the documentation provided by Nets and Nordea to the parser.

Test files used for testing was found in cremul-parser .

About

Parser for OCR, BgMax, and Cremul payment formats

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published