Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions fints/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -569,7 +569,7 @@ def _response_handler_get_transactions_xml(responses):
def get_transactions_xml(self, account: SEPAAccount, start_date: datetime.date = None,
end_date: datetime.date = None) -> list:
"""
Fetches the list of transactions of a bank account in a certain timeframe as camt.052.001.02 XML files.
Fetches the list of transactions of a bank account in a certain timeframe as camt.052.001.08 or camt.052.001.02 XML files.
Returns both booked and pending transactions.

:param account: SEPA
Expand All @@ -591,7 +591,10 @@ def get_transactions_xml(self, account: SEPAAccount, start_date: datetime.date =
date_start=start_date,
date_end=end_date,
touchdown_point=touchdown,
supported_camt_messages=SupportedMessageTypes(['urn:iso:std:iso:20022:tech:xsd:camt.052.001.02']),
supported_camt_messages=SupportedMessageTypes([
'urn:iso:std:iso:20022:tech:xsd:camt.052.001.08',
'urn:iso:std:iso:20022:tech:xsd:camt.052.001.02'
]),
),
FinTS3Client._response_handler_get_transactions_xml,
'HICAZ'
Expand Down