ISO 20022 has the following rule regarding PmtTpInf:

  • PmtTpInf may not be given in both 'PmtInf' and in 'PmtInf/CdtTrfTxInf' simultaneously


R1 PaymentTypeInformationRule*
If PaymentTypeInformation is present at PaymentInformation level, then CreditTransferTransactionInformation/PaymentTypeInformation is not allowed.
Below is a screenshot of vanilla pain.001.001.03 schema to potentially help to visualize the situation:
* Defined as R1 in pain.001.001.03, same rule is present in Direct Debits and other versions of Credit Transfers as well, but with a different R[number]