If the payment reference follows the SEPA tagging system, parse the information. See: https://tinyurl.com/ycdfx5hd
A list of all sections used for payment reference (20 - 29 and 60 - 63).
A parsed payment reference with all extracted data.
Decode a base 64 encoded string received from a fints server. Fints uses ISO-8859-1 encoding which will be converted into UTF-8.
The string to decode.
The decoded string.
Base 64 encode a string for use with fints. Fints uses ISO-8859-1 encoding which will be the encoding used in the base 64 data.
The string to encode.
The encoded string.
Escape a string into fints representation.
The string to escape.
The escaped string.
Used to sniff whether the 86 section of the MT940 statement list supports the fints structured representation.
The string for the 86 section.
Whether the string is likely structured.
Fill up the string with the specified character from the left.
String to pad.
Limit to which the string should be padded.
Character to pad the string with. Defaults to "0".
The padded string.
Parse a full fints message into a set of segments containing a set of data groups containing a set of data elements. Can be parsed further by using segment classes. Bit strings with length will be resolved here.
The string to parse.
Set of segments.
Parse as much information as possible from the structured 86 section of a MT940 statement list.
Use is86Structured
to sniff whether the payment reference is parsable.
The input string for the 86 section to parse.
The parsed structured description.
Parses a commonly used date format ("DATUM 15.11.2018, 12:00 UHR") into a date
The date string to parse.
The parsed date.
Parses a commonly format for representing a TAN related to a transaction ("1. TAN 123456").
The string to parse.
The parsed TAN number and TAN iteself.
Unescape a string from fints representation.
The string to unescape.
The unescaped string.
A set of utilities for formatting data into the fints data formats.
Format a boolean with no false
representation.
The boolean to format.
The formatted string.
Format a date. The time part is ignored.
The date to format.
The formatted string.
Format a set of digits.
The number to format.
The formatted string.
Return an empty string.
An empty string.
Format a boolean with an explicit false
representation (named "JN" in the official documentation).
The formatted string.
Format a number.
The number to format.
The formatted string.
Return the SEPA identification descriptor.
The SEPA identification descriptor.
Format a normal string, escaping all control characters.
The string to format.
The formatted string.
Format a binary string with a length specification.
The string to format.
The formatted string.
Format a time. The date part is ignored.
The date to format.
The formatted string.
A set of utilities for parsing data from the fints data formats.
Parse a boolean (JN).
The string to parse.
The parsed boolean.
Parse a date.
The string or date to parse.
The parsed date.
Parse a set of digits.
The string to parse.
The parsed number.
Parse a number.
The string to parse.
The parsed number.
Parse a xml document to an object.
The xml parse.
The parsed object.
Generated using TypeDoc
Create a base class for segments, inheriting from
Segment
and the segment's props.