just wanted to add further information...
if I add a swift code and iban code into the supplier bank account, the file is now being produced however, when trying to load to the bank, the bank is pointing to the Swift / Iban fields.
As this is a GBR generated payment for a GBR supplier, only sort code and account number is used...
I checked the formula from...'ISO20022CTReports/XMLHeader/Document/CstmrCdtTrfInitn/PmtInf/CdtTrfTxInf/CdtrAgt/FinInstnId/ClrSysMmbId/ClrSysId' is evaluated.
Error while evaluating expression for path 'CreditorAgent/$ClrSysIdCod
it is the following...- $ClrSysIdCode: Calculated field = CASE(model.Payments.CreditorAgent.RoutingNumberType, RoutingNumberType.None, "", RoutingNumberType.AT, "ATBLZ", RoutingNumberType.BL, "DEBLZ", RoutingNumberType.CC, "CACPA", RoutingNumberType.CH, "CHBCC", RoutingNumberType.CP, "USPID", RoutingNumberType.FW, "USABA", RoutingNumberType.SC, "GBDSC", ""): String
if you look at the last line, RoutingNumberType.SC, "GBDSC"
not sure if that's a red herring or not