]> git.ipfire.org Git - thirdparty/python-fints.git/commitdiff
account_information in HIUPD6 is conditional
authorHenryk Plötz <henryk@ploetzli.ch>
Thu, 9 Aug 2018 23:42:32 +0000 (01:42 +0200)
committerRaphael Michel <mail@raphaelmichel.de>
Mon, 3 Dec 2018 18:34:17 +0000 (19:34 +0100)
fints/segments/__init__.py

index ac5fa44d0dd7c240a0b5b5cddfff6b962c7dba95..917706ff019c4cb97e79531a7d8964172f3f93d2 100644 (file)
@@ -128,7 +128,7 @@ class HIUPA4(FinTS3Segment):
     extension = DataElementField(type='an', max_length=2048, required=False)
 
 class HIUPD6(FinTS3Segment):
-    account_information = DataElementGroupField(type=AccountInformation)
+    account_information = DataElementGroupField(type=AccountInformation, required=False)
     iban = DataElementField(type='an', max_length=34)
     customer_id = DataElementField(type='id')
     account_type = DataElementField(type='num', max_length=2)