Either the IBAN or a Proprietary ID (BT-84) shall be used.
In ram:PayeePartyCreditorFinancialAccount, either both ram:IBANID and ram:ProprietaryID are missing, or both are present. Exactly one of the two must be supplied.
For payment means 30 or 58, the payee’s account must be identified in exactly one way: by an IBAN or by the payee’s proprietary identifier.
The payee’s account does not have exactly one account identifier for the selected payment means. You can resolve this by supplying exactly one of the two accepted identifiers.
- In
ram:PayeePartyCreditorFinancialAccount, provide eitherram:IBANIDorram:ProprietaryID. - If you use an IBAN, check the value of
BankAccount.IBAN. - Remove the other identifier if both are present.
- Generate the invoice again and validate it once more.
<ram:SpecifiedTradeSettlementPaymentMeans> <ram:TypeCode>30</ram:TypeCode> <ram:PayeePartyCreditorFinancialAccount> <ram:IBANID>DE89370400440532013000</ram:IBANID> <ram:ProprietaryID>PAYEE-001</ram:ProprietaryID> </ram:PayeePartyCreditorFinancialAccount> </ram:SpecifiedTradeSettlementPaymentMeans>
<ram:SpecifiedTradeSettlementPaymentMeans> <ram:TypeCode>30</ram:TypeCode> <ram:PayeePartyCreditorFinancialAccount> <ram:IBANID>DE89370400440532013000</ram:IBANID> </ram:PayeePartyCreditorFinancialAccount> </ram:SpecifiedTradeSettlementPaymentMeans>
BankAccount.IBAN(BT-84)
Technical details
The XPath test requires exactly one of the child elements ram:IBANID and ram:ProprietaryID to be present; having both or neither fails the test.
The rule applies to payment means with ram:TypeCode 30 or 58 and the payee’s account in ram:SpecifiedTradeSettlementPaymentMeans.
rule/@context)assert/@test)