libeufin

Integration and sandbox testing for FinTech APIs and data formats
Log | Files | Refs | Submodules | README | LICENSE

commit 6b9b2158814ab03c14eb147f94e0f34b9c7d5ce4
parent d0004fd1fb51b30cc45074f3a5685296022a8342
Author: MS <ms@taler.net>
Date:   Tue, 31 Aug 2021 09:55:11 -1100

fix Camt.052 generation

Diffstat:
Msandbox/src/main/kotlin/tech/libeufin/sandbox/EbicsProtocolBackend.kt | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sandbox/src/main/kotlin/tech/libeufin/sandbox/EbicsProtocolBackend.kt b/sandbox/src/main/kotlin/tech/libeufin/sandbox/EbicsProtocolBackend.kt @@ -238,7 +238,7 @@ fun buildCamtString( "xsi:schemaLocation", "urn:iso:std:iso:20022:tech:xsd:camt.0${type}.001.02 camt.0${type}.001.02.xsd" ) - element("BkToCstmrStmt") { + element(if (type == 53) "BkToCstmrStmt" else "BkToCstmrAcctRpt") { element("GrpHdr") { element("MsgId") { text(messageId)