Metro2 (metro_2 v0.2.0)

Metro2 is a library for generating METRO 2® format files for credit bureau reporting.

METRO 2® is a data reporting format for consumer credit account data furnishers.

Usage

Create a Metro2 file with header, base segments, and tailer:

file = %Metro2.File{}
|> Metro2.File.add_base_segment(base_segment)
|> Metro2.File.serialize()

Modules

Summary

Functions

Adds a base segment to a Metro2 file.

Creates a new Metro2 file structure.

Serializes a Metro2 file to the METRO 2® format string.

Functions

add_base_segment(file, base_segment)

Adds a base segment to a Metro2 file.

new_file()

Creates a new Metro2 file structure.

serialize(file)

Serializes a Metro2 file to the METRO 2® format string.