Projekt

Allgemein

Profil

Aktionen

Bug #262

geschlossen

SWIFT 940 parsing substitutes wrong entry date if the :61 field contains none.

Von jralls@ceridwen.us vor etwa 3 Jahren hinzugefügt. Vor fast 3 Jahren aktualisiert.

Status:
Closed
Priorität:
Normal
Kategorie:
AqBanking
Beginn:
28.07.2022
Abgabedatum:
Betriebssystem:
Linux, MacOSX, Windows
AqBanking-Version:
6.5
Anwendung:
GnuCash
Version der Anwendung:
4.11

Beschreibung

The SWIFT 940 format's transaction field provides for two dates, a mandatory value date and an optional entry date. It further specifies (https://www2.swift.com/knowledgecentre/publications/us9m_20220722/1.0?topic=con_sfld_HVXYFelYEeuYlf8G2SgDog_-694543811fld.htm) "Subfield 2, Entry Date, is normally only used when different from the value date.", implying that if it's missing the value date should be used for the entry date.

When importing the attached file that has only value dates, AB_Transaction_GetDate() returns the date of the beginning balance (60) field instead of the date returned by AB_Transaction_GetValutaDate().


Dateien

mt940testdates.txt (1,61 KB) mt940testdates.txt jralls@ceridwen.us, 28.07.2022 23:36
Aktionen

Auch abrufbar als: Atom PDF