Skip to content

BUG in 1.13.15 -> BR-CO-27 wrong codes used (CII) and still wrong naming #454

@AndreasPvd

Description

@AndreasPvd
  1. BR-CO-27 should check if in a CREDIT TRANSFER (BG-17) only one of the two possible options are used for BT-84
Image

The codes for CREDIT transfer are 30 and 58

Image

With the updated version a new context was created:

<rule context="$Credit_Payment_instructions ">
    <assert test="$BR-CO-27" flag="fatal" id="BR-CO-27">[BR-CO-27]- Either the IBAN or a Proprietary ID (BT-84) shall be used.</assert>
  </rule>

here is the context

<param name="Credit_Payment_instructions " value="//ram:SpecifiedTradeSettlementPaymentMeans[some $code in tokenize('49 59', '\s')  satisfies normalize-space(ram:TypeCode) = $code]"/>

As you can see 49 / 59 are used. This is wrong. 30 / 58 must be used.

  1. BR-CO-27 is not an offical EN-Rule and the same challenges as with The IDs of some of the new Business Rules of the upcoming EU EN 16931 are already taken by Validator Rules #445 may apply. Please rename from BR-CO-27 to CII-SR-467

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions