Documentation for a newer release is available. View Latest
Esta página no está disponible actualmente en Español. Si lo necesita, póngase en contacto con el servicio de asistencia de Icon (correo electrónico)

Handle Validate Scheme Rules - invalid iban non-qr iban.story

Scenario: Handling validation of scheme rules invalid bic


Steps
Given csmReachability service will deconstruct iban 'FR34OSOAVGTLFAPNYIQHFDVZOCNCVQCLAU' with the following deconstruction:
| bankIdentifier | 00110 |
| ibanNationalId | CH    |
And csmReachability service has the following record for the participant:
| csmAgentId               | SicInst                                |
| csmParticipantIdentifier | 00110                                  |
| sic                      | SIC_PARTICIPATION_AND_LSV_AS_DEBTOR_FI |
When the Payment Service sends a '<ibanType>' 'Validate Scheme Rules Request' with values:
| getPayload().getContent().cdtTrfTxInf[0].instgAgt.finInstnId.clrSysMmbId.mmbId | 002940                                 |
| customBusinessData                                                             | supportingContext('flowType','DEBTOR') |
Then the Payment Service receives a 'Validate Scheme Rules Response' with values:
| status                                | FAILURE                           |
| getPayload().getContent().reasonCode  | RR07                              |
| getPayload().getContent().description | <errorText>                       |
| requestId                             | #ValidateSchemeRulesRequest.ipfId |
Tabla 1. Examples:
ibanType errorText

NON QR IBAN Strd and Ustrd not empty

No valid Creditor Structured Remittance Type

NON QR IBAN Cd not SCOR

Creditor QR-IBAN not allowed for ISO Reference

NON QR IBAN Prtry not null

Creditor QR-IBAN not allowed for ISO Reference

NON QR IBAN Prtry QRR

No valid Creditor QR-IBAN Swiss QR-Bill

Example: {errorText=No valid Creditor Structured Remittance Type, ibanType=NON QR IBAN Strd and Ustrd not empty}

com.iconsolutions.ipf.payments.csm.sic5.application.bdd.testfw.Steps.parseMeta(java.lang.String)

com.iconsolutions.ipf.payments.csm.sic5.application.bdd.testfw.Steps.parseLegacy(java.lang.String)

Given csmReachability service will deconstruct iban 'FR34OSOAVGTLFAPNYIQHFDVZOCNCVQCLAU' with the following deconstruction:
| bankIdentifier | 00110 |
| ibanNationalId | CH |

And csmReachability service has the following record for the participant:
| csmAgentId | SicInst |
| csmParticipantIdentifier | 00110 |
| sic | SIC_PARTICIPATION_AND_LSV_AS_DEBTOR_FI |

When ⦅the Payment Service⦆ sends a ⦅NON QR IBAN Strd and Ustrd not empty⦆ Validate Scheme Rules Request with values:
| getPayload().getContent().cdtTrfTxInf[0].instgAgt.finInstnId.clrSysMmbId.mmbId | 002940 |
| customBusinessData | supportingContext(flowType,DEBTOR) |

Then ⦅the Payment Service⦆ receives a Validate Scheme Rules Response with values:
| status | FAILURE |
| getPayload().getContent().reasonCode | RR07 |
| getPayload().getContent().description | ⦅No valid Creditor Structured Remittance Type⦆ |
| requestId | #ValidateSchemeRulesRequest.ipfId |

com.iconsolutions.testfw.core.steps.BaseSteps.clearContext()

com.iconsolutions.testfw.core.steps.BaseSteps.clearContext()

com.iconsolutions.testfw.core.steps.BaseSteps.clearContext()

com.iconsolutions.testfw.core.steps.BaseSteps.clearContext()

com.iconsolutions.testfw.core.steps.BaseSteps.clearContext()

Example: {errorText=Creditor QR-IBAN not allowed for ISO Reference, ibanType=NON QR IBAN Cd not SCOR}

com.iconsolutions.ipf.payments.csm.sic5.application.bdd.testfw.Steps.parseMeta(java.lang.String)

com.iconsolutions.ipf.payments.csm.sic5.application.bdd.testfw.Steps.parseLegacy(java.lang.String)

Given csmReachability service will deconstruct iban 'FR34OSOAVGTLFAPNYIQHFDVZOCNCVQCLAU' with the following deconstruction:
| bankIdentifier | 00110 |
| ibanNationalId | CH |

And csmReachability service has the following record for the participant:
| csmAgentId | SicInst |
| csmParticipantIdentifier | 00110 |
| sic | SIC_PARTICIPATION_AND_LSV_AS_DEBTOR_FI |

When ⦅the Payment Service⦆ sends a ⦅NON QR IBAN Cd not SCOR⦆ Validate Scheme Rules Request with values:
| getPayload().getContent().cdtTrfTxInf[0].instgAgt.finInstnId.clrSysMmbId.mmbId | 002940 |
| customBusinessData | supportingContext(flowType,DEBTOR) |

Then ⦅the Payment Service⦆ receives a Validate Scheme Rules Response with values:
| status | FAILURE |
| getPayload().getContent().reasonCode | RR07 |
| getPayload().getContent().description | ⦅Creditor QR-IBAN not allowed for ISO Reference⦆ |
| requestId | #ValidateSchemeRulesRequest.ipfId |

com.iconsolutions.testfw.core.steps.BaseSteps.clearContext()

com.iconsolutions.testfw.core.steps.BaseSteps.clearContext()

com.iconsolutions.testfw.core.steps.BaseSteps.clearContext()

com.iconsolutions.testfw.core.steps.BaseSteps.clearContext()

com.iconsolutions.testfw.core.steps.BaseSteps.clearContext()

Example: {errorText=Creditor QR-IBAN not allowed for ISO Reference, ibanType=NON QR IBAN Prtry not null}

com.iconsolutions.ipf.payments.csm.sic5.application.bdd.testfw.Steps.parseMeta(java.lang.String)

com.iconsolutions.ipf.payments.csm.sic5.application.bdd.testfw.Steps.parseLegacy(java.lang.String)

Given csmReachability service will deconstruct iban 'FR34OSOAVGTLFAPNYIQHFDVZOCNCVQCLAU' with the following deconstruction:
| bankIdentifier | 00110 |
| ibanNationalId | CH |

And csmReachability service has the following record for the participant:
| csmAgentId | SicInst |
| csmParticipantIdentifier | 00110 |
| sic | SIC_PARTICIPATION_AND_LSV_AS_DEBTOR_FI |

When ⦅the Payment Service⦆ sends a ⦅NON QR IBAN Prtry not null⦆ Validate Scheme Rules Request with values:
| getPayload().getContent().cdtTrfTxInf[0].instgAgt.finInstnId.clrSysMmbId.mmbId | 002940 |
| customBusinessData | supportingContext(flowType,DEBTOR) |

Then ⦅the Payment Service⦆ receives a Validate Scheme Rules Response with values:
| status | FAILURE |
| getPayload().getContent().reasonCode | RR07 |
| getPayload().getContent().description | ⦅Creditor QR-IBAN not allowed for ISO Reference⦆ |
| requestId | #ValidateSchemeRulesRequest.ipfId |

com.iconsolutions.testfw.core.steps.BaseSteps.clearContext()

com.iconsolutions.testfw.core.steps.BaseSteps.clearContext()

com.iconsolutions.testfw.core.steps.BaseSteps.clearContext()

com.iconsolutions.testfw.core.steps.BaseSteps.clearContext()

com.iconsolutions.testfw.core.steps.BaseSteps.clearContext()

Example: {errorText=No valid Creditor QR-IBAN Swiss QR-Bill, ibanType=NON QR IBAN Prtry QRR}

com.iconsolutions.ipf.payments.csm.sic5.application.bdd.testfw.Steps.parseMeta(java.lang.String)

com.iconsolutions.ipf.payments.csm.sic5.application.bdd.testfw.Steps.parseLegacy(java.lang.String)

Given csmReachability service will deconstruct iban 'FR34OSOAVGTLFAPNYIQHFDVZOCNCVQCLAU' with the following deconstruction:
| bankIdentifier | 00110 |
| ibanNationalId | CH |

And csmReachability service has the following record for the participant:
| csmAgentId | SicInst |
| csmParticipantIdentifier | 00110 |
| sic | SIC_PARTICIPATION_AND_LSV_AS_DEBTOR_FI |

When ⦅the Payment Service⦆ sends a ⦅NON QR IBAN Prtry QRR⦆ Validate Scheme Rules Request with values:
| getPayload().getContent().cdtTrfTxInf[0].instgAgt.finInstnId.clrSysMmbId.mmbId | 002940 |
| customBusinessData | supportingContext(flowType,DEBTOR) |

Then ⦅the Payment Service⦆ receives a Validate Scheme Rules Response with values:
| status | FAILURE |
| getPayload().getContent().reasonCode | RR07 |
| getPayload().getContent().description | ⦅No valid Creditor QR-IBAN Swiss QR-Bill⦆ |
| requestId | #ValidateSchemeRulesRequest.ipfId |

com.iconsolutions.testfw.core.steps.BaseSteps.clearContext()

com.iconsolutions.testfw.core.steps.BaseSteps.clearContext()

com.iconsolutions.testfw.core.steps.BaseSteps.clearContext()

com.iconsolutions.testfw.core.steps.BaseSteps.clearContext()

com.iconsolutions.testfw.core.steps.BaseSteps.clearContext()