libeufin

Integration and sandbox testing for FinTech APIs and data formats
Log | Files | Refs | Submodules | README | LICENSE

ExternalCodeSets.kt (47643B)


      1 /*
      2  * This file is part of LibEuFin.
      3  * Copyright (C) 2024 Taler Systems S.A.
      4 
      5  * LibEuFin is free software; you can redistribute it and/or modify
      6  * it under the terms of the GNU Affero General Public License as
      7  * published by the Free Software Foundation; either version 3, or
      8  * (at your option) any later version.
      9 
     10  * LibEuFin is distributed in the hope that it will be useful, but
     11  * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
     12  * or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Affero General
     13  * Public License for more details.
     14 
     15  * You should have received a copy of the GNU Affero General Public
     16  * License along with LibEuFin; see the file COPYING.  If not, see
     17  * <http://www.gnu.org/licenses/>
     18  */
     19 
     20 // THIS FILE IS GENERATED, DO NOT EDIT
     21 
     22 package tech.libeufin.nexus.iso20022
     23 
     24 enum class ExternalStatusReasonCode(val isoCode: String, val description: String) {
     25 	AB01("AbortedClearingTimeout", "Clearing process aborted due to timeout."),
     26 	AB02("AbortedClearingFatalError", "Clearing process aborted due to a fatal error."),
     27 	AB03("AbortedSettlementTimeout", "Settlement aborted due to timeout."),
     28 	AB04("AbortedSettlementFatalError", "Settlement process aborted due to a fatal error."),
     29 	AB05("TimeoutCreditorAgent", "Transaction stopped due to timeout at the Creditor Agent."),
     30 	AB06("TimeoutInstructedAgent", "Transaction stopped due to timeout at the Instructed Agent."),
     31 	AB07("OfflineAgent", "Agent of message is not online."),
     32 	AB08("OfflineCreditorAgent", "Creditor Agent is not online."),
     33 	AB09("ErrorCreditorAgent", "Transaction stopped due to error at the Creditor Agent."),
     34 	AB10("ErrorInstructedAgent", "Transaction stopped due to error at the Instructed Agent."),
     35 	AB11("TimeoutDebtorAgent", "Transaction stopped due to timeout at the Debtor Agent."),
     36 	AB12("InvalidConcurrentBatch", "Duplicate Concurrent Batch Sequence number– for Settlement Instructions."),
     37 	AB13("InvalidRoutingCodeUtilised", "Wrong Message Routing Type for Return-of-Funds."),
     38 	AB15("InvalidAccountNumberForSettlementType", "Instruction may not be placed on the Continuous Processing Line settlement processor."),
     39 	AB21("InvalidSettlementAgreementNumberSpecified", "Agreement number not valid (beneficiary)."),
     40 	AB26("InvalidBatchSettlementInstruction", "Settlement Instruction does not exist."),
     41 	AC01("IncorrectAccountNumber", "Account number is invalid or missing."),
     42 	AC02("InvalidDebtorAccountNumber", "Debtor account number invalid or missing"),
     43 	AC03("InvalidCreditorAccountNumber", "Creditor account number invalid or missing"),
     44 	AC04("ClosedAccountNumber", "Account number specified has been closed on the bank of account's books."),
     45 	AC05("ClosedDebtorAccountNumber", "Debtor account number closed"),
     46 	AC06("BlockedAccount", "Account specified is blocked, prohibiting posting of transactions against it."),
     47 	AC07("ClosedCreditorAccountNumber", "Creditor account number closed"),
     48 	AC08("InvalidBranchCode", "Branch code is invalid or missing"),
     49 	AC09("InvalidAccountCurrency", "Account currency is invalid or missing"),
     50 	AC10("InvalidDebtorAccountCurrency", "Debtor account currency is invalid or missing"),
     51 	AC11("InvalidCreditorAccountCurrency", "Creditor account currency is invalid or missing"),
     52 	AC12("InvalidAccountType", "Account type missing or invalid."),
     53 	AC13("InvalidDebtorAccountType", "Debtor account type missing or invalid"),
     54 	AC14("InvalidCreditorAccountType", "Creditor account type missing or invalid"),
     55 	AC15("AccountDetailsChanged", "The account details for the counterparty have changed."),
     56 	AC16("CardNumberInvalid", "Credit or debit card number is invalid."),
     57 	AEXR("AlreadyExpiredRTP", "Request-to-pay Expiry Date and Time has already passed."),
     58 	AG01("TransactionForbidden", "Transaction forbidden on this type of account (formerly NoAgreement)"),
     59 	AG02("InvalidBankOperationCode", "Bank Operation code specified in the message is not valid for receiver"),
     60 	AG03("TransactionNotSupported", "Transaction type not supported/authorized on this account"),
     61 	AG04("InvalidAgentCountry", "Agent country code is missing or invalid."),
     62 	AG05("InvalidDebtorAgentCountry", "Debtor agent country code is missing or invalid"),
     63 	AG06("InvalidCreditorAgentCountry", "Creditor agent country code is missing or invalid"),
     64 	AG07("UnsuccesfulDirectDebit", "Debtor account cannot be debited for a generic reason."),
     65 	AG08("InvalidAccessRights", "Transaction failed due to invalid or missing user or access right"),
     66 	AG09("PaymentNotReceived", "Original payment never received."),
     67 	AG10("AgentSuspended", "Agent of message is suspended from the Real Time Payment system."),
     68 	AG11("CreditorAgentSuspended", "Creditor Agent of message is suspended from the Real Time Payment system."),
     69 	AG12("NotAllowedBookTransfer", "Payment orders made by transferring funds from one account to another at the same financial institution (bank or payment institution) are not allowed."),
     70 	AG13("ForbiddenReturnPayment", "Returned payments derived from previously returned transactions are not allowed."),
     71 	AGNT("IncorrectAgent", "Agent in the payment workflow is incorrect"),
     72 	ALAC("AlreadyAcceptedRTP", "Request-to-pay has already been accepted by the Debtor."),
     73 	AM01("ZeroAmount", "Specified message amount is equal to zero"),
     74 	AM02("NotAllowedAmount", "Specific transaction/message amount is greater than allowed maximum"),
     75 	AM03("NotAllowedCurrency", "Specified message amount is an non processable currency outside of existing agreement"),
     76 	AM04("InsufficientFunds", "Amount of funds available to cover specified message amount is insufficient."),
     77 	AM05("Duplication", "Duplication"),
     78 	AM06("TooLowAmount", "Specified transaction amount is less than agreed minimum."),
     79 	AM07("BlockedAmount", "Amount specified in message has been blocked by regulatory authorities."),
     80 	AM09("WrongAmount", "Amount received is not the amount agreed or expected"),
     81 	AM10("InvalidControlSum", "Sum of instructed amounts does not equal the control sum."),
     82 	AM11("InvalidTransactionCurrency", "Transaction currency is invalid or missing"),
     83 	AM12("InvalidAmount", "Amount is invalid or missing"),
     84 	AM13("AmountExceedsClearingSystemLimit", "Transaction amount exceeds limits set by clearing system"),
     85 	AM14("AmountExceedsAgreedLimit", "Transaction amount exceeds limits agreed between bank and client"),
     86 	AM15("AmountBelowClearingSystemMinimum", "Transaction amount below minimum set by clearing system"),
     87 	AM16("InvalidGroupControlSum", "Control Sum at the Group level is invalid"),
     88 	AM17("InvalidPaymentInfoControlSum", "Control Sum at the Payment Information level is invalid"),
     89 	AM18("InvalidNumberOfTransactions", "Number of transactions is invalid or missing."),
     90 	AM19("InvalidGroupNumberOfTransactions", "Number of transactions at the Group level is invalid or missing"),
     91 	AM20("InvalidPaymentInfoNumberOfTransactions", "Number of transactions at the Payment Information level is invalid"),
     92 	AM21("LimitExceeded", "Transaction amount exceeds limits agreed between bank and client."),
     93 	AM22("ZeroAmountNotApplied", "Unable to apply zero amount to designated account. For example, where the rules of a service allow the use of zero amount payments, however the back-office system is unable to apply the funds to the account. If the rules of a service prohibit the use of zero amount payments, then code AM01 is used to report the error condition."),
     94 	AM23("AmountExceedsSettlementLimit", "Transaction amount exceeds settlement limit."),
     95 	AMSE("AttachmentMaximumSize", "Size of the attachment exceeds the allowed maximum."),
     96 	APAR("AlreadyPaidRTP", "Request To Pay has already been paid by the Debtor."),
     97 	ARFR("AlreadyRefusedRTP", "Request-to-pay has already been refused by the Debtor."),
     98 	ARJR("AlreadyRejectedRTP", "Request-to-pay has already been rejected."),
     99 	ATNS("AttachementsNotSupported", "Attachments to the request-to-pay are not supported."),
    100 	BDAY("NotBusinessDay", "Settlement Cycle Day and Calendar day should be the same."),
    101 	BE01("InconsistenWithEndCustomer", "Identification of end customer is not consistent with associated account number. (formerly CreditorConsistency)."),
    102 	BE04("MissingCreditorAddress", "Specification of creditor's address, which is required for payment, is missing/not correct (formerly IncorrectCreditorAddress)."),
    103 	BE05("UnrecognisedInitiatingParty", "Party who initiated the message is not recognised by the end customer"),
    104 	BE06("UnknownEndCustomer", "End customer specified is not known at associated Sort/National Bank Code or does no longer exist in the books"),
    105 	BE07("MissingDebtorAddress", "Specification of debtor's address, which is required for payment, is missing/not correct."),
    106 	BE08("MissingDebtorName", "Debtor name is missing"),
    107 	BE09("InvalidCountry", "Country code is missing or Invalid."),
    108 	BE10("InvalidDebtorCountry", "Debtor country code is missing or invalid"),
    109 	BE11("InvalidCreditorCountry", "Creditor country code is missing or invalid"),
    110 	BE12("InvalidCountryOfResidence", "Country code of residence is missing or Invalid."),
    111 	BE13("InvalidDebtorCountryOfResidence", "Country code of debtor's residence is missing or Invalid"),
    112 	BE14("InvalidCreditorCountryOfResidence", "Country code of creditor's residence is missing or Invalid"),
    113 	BE15("InvalidIdentificationCode", "Identification code missing or invalid."),
    114 	BE16("InvalidDebtorIdentificationCode", "Debtor or Ultimate Debtor identification code missing or invalid"),
    115 	BE17("InvalidCreditorIdentificationCode", "Creditor or Ultimate Creditor identification code missing or invalid"),
    116 	BE18("InvalidContactDetails", "Contact details missing or invalid"),
    117 	BE19("InvalidChargeBearerCode", "Charge bearer code for transaction type is invalid"),
    118 	BE20("InvalidNameLength", "Name length exceeds local rules for payment type."),
    119 	BE21("MissingName", "Name missing or invalid.  Generic usage if cannot specifically identify debtor or creditor."),
    120 	BE22("MissingCreditorName", "Creditor name is missing"),
    121 	BE23("AccountProxyInvalid", "Phone number or email address, or any other proxy, used as the account proxy is unknown or invalid."),
    122 	CERI("CheckERI", "Credit transfer is not tagged as an Extended Remittance Information (ERI) transaction but contains ERI."),
    123 	CH03("RequestedExecutionDateOrRequestedCollectionDateTooFarInFuture", "Value in Requested Execution Date or Requested Collection Date is too far in the future"),
    124 	CH04("RequestedExecutionDateOrRequestedCollectionDateTooFarInPast", "Value in Requested Execution Date or Requested Collection Date is too far in the past"),
    125 	CH07("ElementIsNotToBeUsedAtB-andC-Level", "Element is not to be used at B- and C-Level"),
    126 	CH09("MandateChangesNotAllowed", "Mandate changes are not allowed"),
    127 	CH10("InformationOnMandateChangesMissing", "Information on mandate changes are missing"),
    128 	CH11("CreditorIdentifierIncorrect", "Value in Creditor Identifier is incorrect"),
    129 	CH12("CreditorIdentifierNotUnambiguouslyAtTransaction-Level", "Creditor Identifier is ambiguous at Transaction Level"),
    130 	CH13("OriginalDebtorAccountIsNotToBeUsed", "Original Debtor Account is not to be used"),
    131 	CH14("OriginalDebtorAgentIsNotToBeUsed", "Original Debtor Agent  is not to be used"),
    132 	CH15("ElementContentIncludesMoreThan140Characters", "Content Remittance Information/Structured includes more than 140 characters"),
    133 	CH16("ElementContentFormallyIncorrect", "Content is incorrect"),
    134 	CH17("ElementNotAdmitted", "Element is not allowed"),
    135 	CH19("ValuesWillBeSetToNextTARGETday", "Values in Interbank Settlement Date or Requested Collection Date will be set to the next TARGET day"),
    136 	CH20("DecimalPointsNotCompatibleWithCurrency", "Number of decimal points not compatible with the currency"),
    137 	CH21("RequiredCompulsoryElementMissing", "Mandatory element is missing"),
    138 	CH22("COREandB2BwithinOnemessage", "SDD CORE and B2B not permitted within one message"),
    139 	CHCO("UnacceptedChargeCodeType", "Related to a Charge message to convey that the code in Charge Breakdown / Type / Code is not accepted by the receiving party."),
    140 	CHQC("ChequeSettledOnCreditorAccount", "Cheque has been presented in cheque clearing and settled on the creditor’s account."),
    141 	CHRG("UnderlyingChargeBearerWasNotDebt", "Related to a Charge message to convey that the charge bearer code used in the corresponding Payment message was not debt."),
    142 	CN01("AuthorisationCancelled", "Authorisation is cancelled."),
    143 	CNNS("CreditNotesNotSupported", "Credit notes are not supported."),
    144 	CNOR("CreditorBankIsNotRegistered", "Creditor bank is not registered under this BIC in the CSM"),
    145 	CURR("IncorrectCurrency", "Currency of the payment is incorrect"),
    146 	CUST("RequestedByCustomer", "Cancellation requested by the Debtor"),
    147 	DC02("SettlementNotReceived", "Rejection of a payment due to covering FI settlement not being received."),
    148 	DNOR("DebtorBankIsNotRegistered", "Debtor bank is not registered under this BIC in the CSM"),
    149 	DS01("ElectronicSignaturesCorrect", "The electronic signature(s) is/are correct"),
    150 	DS02("OrderCancelled", "An authorized user has cancelled the order"),
    151 	DS03("OrderNotCancelled", "The user’s attempt to cancel the order was not successful"),
    152 	DS04("OrderRejected", "The order was rejected by the bank side (for reasons concerning content)"),
    153 	DS05("OrderForwardedForPostprocessing", "The order was correct and could be forwarded for postprocessing"),
    154 	DS06("TransferOrder", "The order was transferred to VEU"),
    155 	DS07("ProcessingOK", "All actions concerning the order could be done by the EBICS bank server"),
    156 	DS08("DecompressionError", "The decompression of the file was not successful"),
    157 	DS09("DecryptionError", "The decryption of the file was not successful"),
    158 	DS0A("DataSignRequested", "Data signature is required."),
    159 	DS0B("UnknownDataSignFormat", "Data signature for the format is not available or invalid."),
    160 	DS0C("SignerCertificateRevoked", "The signer certificate is revoked."),
    161 	DS0D("SignerCertificateNotValid", "The signer certificate is not valid (revoked or not active)."),
    162 	DS0E("IncorrectSignerCertificate", "The signer certificate is not present."),
    163 	DS0F("SignerCertificationAuthoritySignerNotValid", "The authority of the signer certification sending the certificate is unknown."),
    164 	DS0G("NotAllowedPayment", "Signer is not allowed to sign this operation type."),
    165 	DS0H("NotAllowedAccount", "Signer is not allowed to sign for this account."),
    166 	DS0K("NotAllowedNumberOfTransaction", "The number of transaction is over the number allowed for this signer."),
    167 	DS10("Signer1CertificateRevoked", "The certificate is revoked for the first signer."),
    168 	DS11("Signer1CertificateNotValid", "The certificate is not valid (revoked or not active) for the first signer."),
    169 	DS12("IncorrectSigner1Certificate", "The certificate is not present for the first signer."),
    170 	DS13("SignerCertificationAuthoritySigner1NotValid", "The authority of signer certification sending the certificate is unknown for the first signer."),
    171 	DS14("UserDoesNotExist", "The user is unknown on the server"),
    172 	DS15("IdenticalSignatureFound", "The same signature has already been sent to the bank"),
    173 	DS16("PublicKeyVersionIncorrect", "The public key version is not correct. This code is returned when a customer sends signature files to the financial institution after conversion from an older program version (old ES format) to a new program version (new ES format) without having carried out re-initialisation with regard to a public key change."),
    174 	DS17("DifferentOrderDataInSignatures", "Order data and signatures don’t match"),
    175 	DS18("RepeatOrder", "File cannot be tested, the complete order has to be repeated. This code is returned in the event of a malfunction during the signature check, e.g. not enough storage space."),
    176 	DS19("ElectronicSignatureRightsInsufficient", "The user’s rights (concerning his signature) are insufficient to execute the order"),
    177 	DS20("Signer2CertificateRevoked", "The certificate is revoked for the second signer."),
    178 	DS21("Signer2CertificateNotValid", "The certificate is not valid (revoked or not active) for the second signer."),
    179 	DS22("IncorrectSigner2Certificate", "The certificate is not present for the second signer."),
    180 	DS23("SignerCertificationAuthoritySigner2NotValid", "The authority of signer certification sending the certificate is unknown for the second signer."),
    181 	DS24("WaitingTimeExpired", "Waiting time expired due to incomplete order"),
    182 	DS25("OrderFileDeleted", "The order file was deleted by the bank server"),
    183 	DS26("UserSignedMultipleTimes", "The same user has signed multiple times"),
    184 	DS27("UserNotYetActivated", "The user is not yet activated (technically)"),
    185 	DS28("ReturnForTechnicalReason", "Message routed to the wrong environment."),
    186 	DT01("InvalidDate", "Invalid date (eg, wrong or missing settlement date)"),
    187 	DT02("InvalidCreationDate", "Invalid creation date and time in Group Header (eg, historic date)"),
    188 	DT03("InvalidNonProcessingDate", "Invalid non bank processing date (eg, weekend or local public holiday)"),
    189 	DT04("FutureDateNotSupported", "Future date not supported"),
    190 	DT05("InvalidCutOffDate", "Associated message, payment information block or transaction was received after agreed processing cut-off date, i.e., date in the past."),
    191 	DT06("ExecutionDateChanged", "Execution Date has been modified in order for transaction to be processed"),
    192 	DU01("DuplicateMessageID", "Message Identification is not unique."),
    193 	DU02("DuplicatePaymentInformationID", "Payment Information Block is not unique."),
    194 	DU03("DuplicateTransaction", "Transaction is not unique."),
    195 	DU04("DuplicateEndToEndID", "End To End ID is not unique."),
    196 	DU05("DuplicateInstructionID", "Instruction ID is not unique."),
    197 	DUPL("DuplicatePaymentOrCharge", "Payment or charge is a duplicate of another payment or charge."),
    198 	ED01("CorrespondentBankNotPossible", "Correspondent bank not possible."),
    199 	ED03("BalanceInfoRequest", "Balance of payments complementary info is requested"),
    200 	ED05("SettlementFailed", "Settlement of the transaction has failed."),
    201 	ED06("SettlementSystemNotAvailable", "Interbank settlement system not available."),
    202 	EDNA("ExecutionDateNotAccepted", "Requested execution date of the payment is not accepted."),
    203 	EDTL("ExpiryDateTooLong", "Expiry date time of the request-to-pay is too far in the future."),
    204 	EDTR("ExpiryDateTimeReached", "Expiry date time of the request-to-pay is already reached."),
    205 	EOL1("EndOfLife", "Expiration of the payment authorisation due to no use for too long."),
    206 	ERIN("ERIOptionNotSupported", "Extended Remittance Information (ERI) option is not supported."),
    207 	FF01("InvalidFileFormat", "File Format incomplete or invalid"),
    208 	FF02("SyntaxError", "Syntax error reason is provided as narrative information in the additional reason information."),
    209 	FF03("InvalidPaymentTypeInformation", "Payment Type Information is missing or invalid."),
    210 	FF04("InvalidServiceLevelCode", "Service Level code is missing or invalid"),
    211 	FF05("InvalidLocalInstrumentCode", "Local Instrument code is missing or invalid"),
    212 	FF06("InvalidCategoryPurposeCode", "Category Purpose code is missing or invalid"),
    213 	FF07("InvalidPurpose", "Purpose is missing or invalid"),
    214 	FF08("InvalidEndToEndId", "End to End Id missing or invalid"),
    215 	FF09("InvalidChequeNumber", "Cheque number missing or invalid"),
    216 	FF10("BankSystemProcessingError", "File or transaction cannot be processed due to technical issues at the bank side"),
    217 	FF11("ClearingRequestAborted", "Clearing request rejected due it being subject to an abort operation."),
    218 	FF12("OriginalTransactionNotEligibleForRequestedReturn", "Original payment is not eligible to be returned given its current status."),
    219 	FF13("RequestForCancellationNotFound", "No record of request for cancellation found."),
    220 	FOCR("FollowingCancellationRequest", "Return following a cancellation request."),
    221 	FR01("Fraud", "Returned as a result of fraud."),
    222 	FRAD("FraudulentOrigin", "Cancellation requested following a transaction that was originated fraudulently. The use of the FraudulentOrigin code should be governed by jurisdictions."),
    223 	G000("PaymentTransferredAndTracked", "In an FI To FI Customer Credit Transfer: The Status Originator transferred the payment to the next Agent or to a Market Infrastructure. The payment transfer is tracked. No further updates will follow from the Status Originator."),
    224 	G001("PaymentTransferredAndNotTracked", "In an FI To FI Customer Credit Transfer: The Status Originator transferred the payment to the next Agent or to a Market Infrastructure. The payment transfer is not tracked. No further updates will follow from the Status Originator."),
    225 	G002("CreditDebitNotConfirmed", "In a FIToFI Customer Credit Transfer: Credit to the creditor’s account may not be confirmed same day. Update will follow from the Status Originator."),
    226 	G003("CreditPendingDocuments", "In a FIToFI Customer Credit Transfer: Credit to creditor’s account is pending receipt of required documents. The Status Originator has requested creditor to provide additional documentation. Update will follow from the Status Originator."),
    227 	G004("CreditPendingFunds", "In a FIToFI Customer Credit Transfer: Credit to the creditor’s account is pending, status Originator is waiting for funds provided via a cover. Update will follow from the Status Originator."),
    228 	G005("DeliveredWithServiceLevel", "Payment has been delivered to creditor agent with service level."),
    229 	G006("DeliveredWIthoutServiceLevel", "Payment has been delivered to creditor agent without service level."),
    230 	ID01("CorrespondingOriginalFileStillNotSent", "Signature file was sent to the bank but the corresponding original file has not been sent yet."),
    231 	IEDT("IncorrectExpiryDateTime", "Expiry date time of the request-to-pay is incorrect."),
    232 	INAR("InvalidActivationReference", "Payer’s activation reference is invalid."),
    233 	INDT("InvalidDetails", "Details not valid for this field."),
    234 	IPNS("InstalmentPaymentsNotSupported", "Payments in instalments are not supported."),
    235 	IRNR("InitialRTPNeverReceived", "No initial request-to-pay has been received."),
    236 	ISWS("InvalidSettlementWindow", "Cannot schedule instruction for Night Window."),
    237 	MD01("NoMandate", "No Mandate"),
    238 	MD02("MissingMandatoryInformationInMandate", "Mandate related information data required by the scheme is missing."),
    239 	MD05("CollectionNotDue", "Creditor or creditor's agent should not have collected the direct debit"),
    240 	MD06("RefundRequestByEndCustomer", "Return of funds requested by end customer"),
    241 	MD07("EndCustomerDeceased", "End customer is deceased."),
    242 	MINF("MissingInformation", "Information missing for the field or cannot be empty."),
    243 	MS02("NotSpecifiedReasonCustomerGenerated", "Reason has not been specified by end customer"),
    244 	MS03("NotSpecifiedReasonAgentGenerated", "Reason has not been specified by agent."),
    245 	NARR("Narrative", "Reason is provided as narrative information in the additional reason information."),
    246 	NERI("NoERI", "Credit transfer is tagged as an Extended Remittance Information (ERI) transaction but does not contain ERI."),
    247 	NOAR("NonAgreedRTP", "No existing agreement for receiving request-to-pay messages."),
    248 	NOAS("NoAnswerFromCustomer", "No response from Beneficiary."),
    249 	NOCM("NotCompliantGeneric", "Customer account is not compliant with regulatory requirements, for example FICA (in South Africa) or any other regulatory requirements which render an account inactive for certain processing."),
    250 	NOFR("OutstandingFundingForSettlement", "Continuous Processing Line on Hold Instruction."),
    251 	NOPG("NoPaymentGuarantee", "Requested payment guarantee (by Creditor) related to a request-to-pay cannot be provided."),
    252 	NRCH("PayerOrPayerRTPSPNotReachable", "Recipient side of the request-to-pay (payer or its request-to-pay service provider) is not reachable."),
    253 	OSNS("OptionalServiceNotSupported", "Requested optional service (for example instalment payments) is not supported."),
    254 	PINS("TypeOfPaymentInstrumentNotSupported", "Type of payment requested in the request-to-pay is not supported by the payer."),
    255 	RC01("BankIdentifierIncorrect", "Bank identifier code specified in the message has an incorrect format (formerly IncorrectFormatForRoutingCode)."),
    256 	RC02("InvalidBankIdentifier", "Bank identifier is invalid or missing."),
    257 	RC03("InvalidDebtorBankIdentifier", "Debtor bank identifier is invalid or missing"),
    258 	RC04("InvalidCreditorBankIdentifier", "Creditor bank identifier is invalid or missing"),
    259 	RC05("InvalidBICIdentifier", "BIC identifier is invalid or missing."),
    260 	RC06("InvalidDebtorBICIdentifier", "Debtor BIC identifier is invalid or missing"),
    261 	RC07("InvalidCreditorBICIdentifier", "Creditor BIC identifier is invalid or missing"),
    262 	RC08("InvalidClearingSystemMemberIdentifier", "ClearingSystemMemberidentifier is invalid or missing."),
    263 	RC09("InvalidDebtorClearingSystemMemberIdentifier", "Debtor ClearingSystemMember identifier is invalid or missing"),
    264 	RC10("InvalidCreditorClearingSystemMemberIdentifier", "Creditor ClearingSystemMember identifier is invalid or missing"),
    265 	RC11("InvalidIntermediaryAgent", "Intermediary Agent is invalid or missing"),
    266 	RC12("MissingCreditorSchemeId", "Creditor Scheme Id is invalid or  missing"),
    267 	RC13("ParticipantNotAnActiveMemberofRTGS", "Originator not active any more."),
    268 	RC15("ParticipantNotActiveMemberSettlementType", "Settlement agreement required."),
    269 	RC16("ParticipantNotActiveMemberofSADCRTGS", "Participant blocked from SADC-RTGS."),
    270 	RCON("RMessageConflict", "Conflict with R-Message"),
    271 	RECI("ReceiverCustomerInformation", "Further information regarding the intended recipient."),
    272 	REPR("RTPReceivedCanBeProcessed", "Request-to-pay has been received and can be processed further."),
    273 	RF01("NotUniqueTransactionReference", "Transaction reference is not unique within the message."),
    274 	RQNR("RequestNotRecognized", "Payer did not recognize the request from Payee Participant,"),
    275 	RR01("MissingDebtorAccountOrIdentification", "Specification of the debtor’s account or unique identification needed for reasons of regulatory requirements is insufficient or missing"),
    276 	RR02("MissingDebtorNameOrAddress", "Specification of the debtor’s name and/or address needed for regulatory requirements is insufficient or missing."),
    277 	RR03("MissingCreditorNameOrAddress", "Specification of the creditor’s name and/or address needed for regulatory requirements is insufficient or missing."),
    278 	RR04("RegulatoryReason", "Regulatory Reason"),
    279 	RR05("RegulatoryInformationInvalid", "Regulatory or Central Bank Reporting information missing, incomplete or invalid."),
    280 	RR06("TaxInformationInvalid", "Tax information missing, incomplete or invalid."),
    281 	RR07("RemittanceInformationInvalid", "Remittance information structure does not comply with rules for payment type."),
    282 	RR08("RemittanceInformationTruncated", "Remittance information truncated to comply with rules for payment type."),
    283 	RR09("InvalidStructuredCreditorReference", "Structured creditor reference invalid or missing."),
    284 	RR10("InvalidCharacterSet", "Character set supplied not valid for the country and payment type."),
    285 	RR11("InvalidDebtorAgentServiceID", "Invalid or missing identification of a bank proprietary service."),
    286 	RR12("InvalidPartyID", "Invalid or missing identification required within a particular country or payment type."),
    287 	RTNS("RTPNotSupportedForDebtor", "Debtor does not support request-to-pay transactions."),
    288 	RUTA("ReturnUponUnableToApply", "Return following investigation request and no remediation possible."),
    289 	S000("ValidRequestForCancellationAcknowledged", "Request for Cancellation is acknowledged following validation."),
    290 	S001("UETRFlaggedForCancellation", "Unique End-to-end Transaction Reference (UETR) relating to a payment has been identified as being associated with a Request for Cancellation."),
    291 	S002("NetworkStopOfUETR", "Unique End-to-end Transaction Reference (UETR) relating to a payment has been prevent from traveling across a messaging network."),
    292 	S003("RequestForCancellationForwarded", "Request for Cancellation has been forwarded to the payment processing/last payment processing agent."),
    293 	S004("RequestForCancellationDeliveryAcknowledgement", "Request for Cancellation has been acknowledged as delivered to payment processing/last payment processing agent."),
    294 	SBRN("SettlementBatchRemovalNotification", "Remove Concurrent Batch Processing Line on hold instruction."),
    295 	SL01("SpecificServiceOfferedByDebtorAgent", "Due to specific service offered by the Debtor Agent."),
    296 	SL02("SpecificServiceOfferedByCreditorAgent", "Due to specific service offered by the Creditor Agent."),
    297 	SL03("ServiceofClearingSystem", "Due to a specific service offered by the clearing system."),
    298 	SL11("CreditorNotOnWhitelistOfDebtor", "Whitelisting service offered by the Debtor Agent; Debtor has not included the Creditor on its “Whitelist” (yet). In the Whitelist the Debtor may list all allowed Creditors to debit Debtor bank account."),
    299 	SL12("CreditorOnBlacklistOfDebtor", "Blacklisting service offered by the Debtor Agent; Debtor included the Creditor on his “Blacklist”. In the Blacklist the Debtor may list all Creditors not allowed to debit Debtor bank account."),
    300 	SL13("MaximumNumberOfDirectDebitTransactionsExceeded", "Due to Maximum allowed Direct Debit Transactions per period service offered by the Debtor Agent."),
    301 	SL14("MaximumDirectDebitTransactionAmountExceeded", "Due to Maximum allowed Direct Debit Transaction amount service offered by the Debtor Agent."),
    302 	SL15("MaximumNumberOfCreditTransactionsExceeded", "Maximum number of credit transactions allowed by the account servicer per service period exceeded."),
    303 	SL16("MaximumCreditTransactionsAmountExceeded", "Maximum total credit amount allowed by the account servicer per service period exceeded."),
    304 	SL17("DebtorNotOnWhitelistOfCreditorSide", "Whitelisting service offered by payment system operator or financial institution. Debtor is not included on the Creditor side whitelist."),
    305 	SL18("DebtorOnBlacklistOfCreditorSide", "Blacklisting service offered by payment system operator or financial institution. Debtor included on the Creditor side blacklist."),
    306 	SNRD("ServiceNotRendered", "Services are not yet rendered by the Payee Participant (Creditor)."),
    307 	SPII("RTPServiceProviderIdentifierIncorrect", "Identifier of the request-to-pay service provider is incorrect."),
    308 	TA01("TransmissonAborted", "The transmission of the file was not successful – it had to be aborted (for technical reasons)"),
    309 	TD01("NoDataAvailable", "There is no data available (for download)"),
    310 	TD02("FileNonReadable", "The file cannot be read (e.g. unknown format)"),
    311 	TD03("IncorrectFileStructure", "The file format is incomplete or invalid"),
    312 	TK01("TokenInvalid", "Token is invalid."),
    313 	TK02("SenderTokenNotFound", "Token used for the sender does not exist."),
    314 	TK03("ReceiverTokenNotFound", "Token used for the receiver does not exist."),
    315 	TK09("TokenMissing", "Token required for request is missing."),
    316 	TKCM("TokenCounterpartyMismatch", "Token found with counterparty mismatch."),
    317 	TKSG("TokenSingleUse", "Single Use Token already used."),
    318 	TKSP("TokenSuspended", "Token found with suspended status."),
    319 	TKVE("TokenValueLimitExceeded", "Token found with value limit rule violation."),
    320 	TKXP("TokenExpired", "Token expired."),
    321 	TM01("InvalidCutOffTime", "Associated message, payment information block, or transaction was received after agreed processing cut-off time."),
    322 	TS01("TransmissionSuccessful", "The (technical) transmission of the file was successful."),
    323 	TS04("TransferToSignByHand", "The order was transferred to pass by accompanying note signed by hand"),
    324 	UCRD("UnknownCreditor", "Unknown Creditor."),
    325 	UPAY("UnduePayment", "Payment is not justified."),
    326 }
    327 
    328 enum class ExternalPaymentGroupStatusCode(val isoCode: String, val description: String) {
    329 	ACCC("AcceptedSettlementCompletedCreditorAccount", "Settlement on the creditor's account has been completed."),
    330 	ACCP("AcceptedCustomerProfile", "Preceding check of technical validation was successful. Customer profile check was also successful."),
    331 	ACSC("AcceptedSettlementCompletedDebitorAccount", "Settlement on the debtor's account has been completed."),
    332 	ACSP("AcceptedSettlementInProcess", "All preceding checks such as technical validation and customer profile were successful and therefore the payment initiation has been accepted for execution."),
    333 	ACTC("AcceptedTechnicalValidation", "Authentication and syntactical and semantical validation are successful"),
    334 	ACWC("AcceptedWithChange", "Instruction is accepted but a change will be made, such as date or remittance not sent."),
    335 	PART("PartiallyAccepted", "A number of transactions have been accepted, whereas another number of transactions have not yet achieved"),
    336 	PDNG("Pending", "Payment initiation or individual transaction included in the payment initiation is pending. Further checks and status update will be performed."),
    337 	RCVC("ReceivedVerificationCompleted", "Verification of Payee check have been applied to received transactions stating to be complete without mismatching data."),
    338 	RCVD("Received", "Payment initiation has been received by the receiving agent"),
    339 	RJCT("Rejected", "Payment initiation or individual transaction included in the payment initiation has been rejected."),
    340 	RVCM("ReceivedVerificationCompletedWithMismatches", "Verification of Payee checks have been applied to received transactions stating to be complete containing mismatching data."),
    341 	RVNC("ReceivedVerificationNotCompleted", "Verification of party check on transactions received is not yet completed."),
    342 }
    343 
    344 enum class ExternalPaymentTransactionStatusCode(val isoCode: String, val description: String) {
    345 	ACCC("AcceptedSettlementCompletedCreditorAccount", "Settlement on the creditor's account has been completed."),
    346 	ACCP("AcceptedCustomerProfile", "Preceding check of technical validation was successful. Customer profile check was also successful."),
    347 	ACFC("AcceptedFundsChecked", "Preceding check of technical validation and customer profile was successful and an automatic funds check was positive."),
    348 	ACFW("AcceptedFundsCheckedWaitingConfirmation", "Preceding check of technical validation and customer profile was successful, and an automatic funds check was positive, but an explicit confirmation by the initiating party is outstanding."),
    349 	ACIS("AcceptedandChequeIssued", "Payment instruction to issue a cheque has been accepted, and the cheque has been issued but not yet been deposited or cleared."),
    350 	ACPD("AcceptedClearingProcessed", "Status of transaction released from the Debtor Agent and accepted by the clearing."),
    351 	ACSC("AcceptedSettlementCompletedDebitorAccount", "Settlement completed."),
    352 	ACSP("AcceptedSettlementInProcess", "All preceding checks such as technical validation and customer profile were successful and therefore the payment instruction has been accepted for execution."),
    353 	ACTC("AcceptedTechnicalValidation", "Authentication and syntactical and semantical validation are successful"),
    354 	ACWC("AcceptedWithChange", "Instruction is accepted but a change will be made, such as date or remittance not sent."),
    355 	ACWP("AcceptedWithoutPosting", "Payment instruction included in the credit transfer is accepted without being posted to the creditor customer’s account."),
    356 	BLCK("Blocked", "Payment transaction previously reported with status 'ACWP' is blocked, for example, funds will neither be posted to the Creditor's account, nor be returned to the Debtor."),
    357 	CANC("Cancelled", "Payment initiation has been successfully cancelled after having received a request for cancellation."),
    358 	CPUC("CashPickedUpByCreditor", "Cash has been picked up by the Creditor."),
    359 	PATC("PartiallyAcceptedTechnicalCorrect", "Payment initiation needs multiple authentications, where some but not yet all have been performed. Syntactical and semantical validations are successful."),
    360 	PDNG("Pending", "Payment instruction is pending. Further checks and status update will be performed."),
    361 	PRES("Presented", "Request for Payment has been presented to the Debtor."),
    362 	RCVC("ReceivedVerificationCompleted", "Verification of Payee check has been applied to received transaction stating to be complete without mismatching data."),
    363 	RCVD("Received", "Payment instruction has been received."),
    364 	RJCT("Rejected", "Payment instruction has been rejected."),
    365 	RVCM("ReceivedVerificationCompletedWithMismatches", "Verification of Payee checks have been applied to received transaction stating to be completed containing mismatching data."),
    366 	RVMC("ReceivedVerificationCompletedMatchClosely", "Verification of Payee check has been applied to received transaction stating to be complete with data matching closely."),
    367 	RVNA("ReceivedVerificationCompletedNotApplicable", "Verification of Payee check has been applied to received transaction stating to be complete with not applicable data."),
    368 	RVNC("ReceivedVerificationNotCompleted", "Verification of party check on the transaction is not yet completed."),
    369 	RVNM("ReceivedVerificationCompletedNoMatch", "Verification of Payee check has been applied to received transaction stating to be complete with mismatching data."),
    370 }
    371 
    372 enum class ExternalReturnReasonCode(val isoCode: String, val description: String) {
    373 	AC01("IncorrectAccountNumber", "Format of the account number specified is not correct"),
    374 	AC02("InvalidDebtorAccountNumber", "Debtor account number invalid or missing."),
    375 	AC03("InvalidCreditorAccountNumber", "Wrong IBAN in SCT"),
    376 	AC04("ClosedAccountNumber", "Account number specified has been closed on the bank of account's books"),
    377 	AC06("BlockedAccount", "Account specified is blocked, prohibiting posting of transactions against it."),
    378 	AC07("ClosedCreditorAccountNumber", "Creditor account number closed."),
    379 	AC13("InvalidDebtorAccountType", "Debtor account type is missing or invalid"),
    380 	AC14("InvalidAgent", "An agent in the payment chain is invalid."),
    381 	AC15("AccountDetailsChanged", "Account details have changed."),
    382 	AC16("AccountInSequestration", "Account is in sequestration."),
    383 	AC17("AccountInLiquidation", "Account is in liquidation."),
    384 	AG01("TransactionForbidden", "Transaction forbidden on this type of account (formerly NoAgreement)"),
    385 	AG02("InvalidBankOperationCode", "Bank Operation code specified in the message is not valid for receiver"),
    386 	AG07("UnsuccesfulDirectDebit", "Debtor account cannot be debited for a generic reason."),
    387 	AGNT("IncorrectAgent", "Agent in the payment workflow is incorrect."),
    388 	AM01("ZeroAmount", "Specified message amount is equal to zero"),
    389 	AM02("NotAllowedAmount", "Specific transaction/message amount is greater than allowed maximum"),
    390 	AM03("NotAllowedCurrency", "Specified message amount is an non processable currency outside of existing agreement"),
    391 	AM04("InsufficientFunds", "Amount of funds available to cover specified message amount is insufficient."),
    392 	AM05("Duplication", "Duplication"),
    393 	AM06("TooLowAmount", "Specified transaction amount is less than agreed minimum."),
    394 	AM07("BlockedAmount", "Amount specified in message has been blocked by regulatory authorities."),
    395 	AM09("WrongAmount", "Amount received is not the amount agreed or expected"),
    396 	AM10("InvalidControlSum", "Sum of instructed amounts does not equal the control sum."),
    397 	ARDT("AlreadyReturnedTransaction", "Already returned original SCT"),
    398 	BE01("InconsistenWithEndCustomer", "Identification of end customer is not consistent with associated account number, organisation ID or private ID."),
    399 	BE04("MissingCreditorAddress", "Specification of creditor's address, which is required for payment, is missing/not correct (formerly IncorrectCreditorAddress)."),
    400 	BE05("UnrecognisedInitiatingParty", "Party who initiated the message is not recognised by the end customer"),
    401 	BE06("UnknownEndCustomer", "End customer specified is not known at associated Sort/National Bank Code or does no longer exist in the books"),
    402 	BE07("MissingDebtorAddress", "Specification of debtor's address, which is required for payment, is missing/not correct."),
    403 	BE08("BankError", "Returned as a result of a bank error."),
    404 	BE10("InvalidDebtorCountry", "Debtor country code is missing or invalid."),
    405 	BE11("InvalidCreditorCountry", "Creditor country code is missing or invalid."),
    406 	BE16("InvalidDebtorIdentificationCode", "Debtor or Ultimate Debtor identification code missing or invalid."),
    407 	BE17("InvalidCreditorIdentificationCode", "Creditor or Ultimate Creditor identification code missing or invalid."),
    408 	CN01("AuthorisationCancelled", "Authorisation is cancelled."),
    409 	CNOR("CreditorBankIsNotRegistered", "Creditor bank is not registered under this BIC in the CSM"),
    410 	CNPC("CashNotPickedUp", "Cash not picked up by Creditor or cash could not be delivered to Creditor"),
    411 	CURR("IncorrectCurrency", "Currency of the payment is incorrect"),
    412 	CUST("RequestedByCustomer", "Cancellation requested by the Debtor"),
    413 	DC04("NoCustomerCreditTransferReceived", "Return of Covering Settlement due to the underlying Credit Transfer details not being received."),
    414 	DNOR("DebtorBankIsNotRegistered", "Debtor bank is not registered under this BIC in the CSM"),
    415 	DS28("ReturnForTechnicalReason", "Return following technical problems resulting in erroneous transaction."),
    416 	DT01("InvalidDate", "Invalid date (eg, wrong settlement date)"),
    417 	DT02("ChequeExpired", "Cheque has been issued but not deposited and is considered expired."),
    418 	DT04("FutureDateNotSupported", "Future date not supported."),
    419 	DUPL("DuplicatePayment", "Payment is a duplicate of another payment."),
    420 	ED01("CorrespondentBankNotPossible", "Correspondent bank not possible."),
    421 	ED03("BalanceInfoRequest", "Balance of payments complementary info is requested"),
    422 	ED05("SettlementFailed", "Settlement of the transaction has failed."),
    423 	EMVL("EMVLiabilityShift", "The card payment is fraudulent and was not processed with EMV technology for an EMV card."),
    424 	ERIN("ERIOptionNotSupported", "The Extended Remittance Information (ERI) option is not supported."),
    425 	FF03("InvalidPaymentTypeInformation", "Payment Type Information is missing or invalid."),
    426 	FF04("InvalidServiceLevelCode", "Service Level code is missing or invalid."),
    427 	FF05("InvalidLocalInstrumentCode", "Local Instrument code is missing or invalid"),
    428 	FF06("InvalidCategoryPurposeCode", "Category Purpose code is missing or invalid."),
    429 	FF07("InvalidPurpose", "Purpose is missing or invalid."),
    430 	FOCR("FollowingCancellationRequest", "Return following a cancellation request"),
    431 	FR01("Fraud", "Returned as a result of fraud."),
    432 	FRTR("FinalResponseMandateCancelled", "Final response/tracking is recalled as mandate is cancelled."),
    433 	G004("CreditPendingFunds", "In a FIToFI Customer Credit Transfer: Credit to the creditor’s account is pending, status Originator is waiting for funds provided via a cover. Update will follow from the Status Originator."),
    434 	MD01("NoMandate", "No Mandate"),
    435 	MD02("MissingMandatoryInformationInMandate", "Mandate related information data required by the scheme is missing."),
    436 	MD05("CollectionNotDue", "Creditor or creditor's agent should not have collected the direct debit."),
    437 	MD06("RefundRequestByEndCustomer", "Return of funds requested by end customer"),
    438 	MD07("EndCustomerDeceased", "End customer is deceased."),
    439 	MS02("NotSpecifiedReasonCustomerGenerated", "Reason has not been specified by end customer"),
    440 	MS03("NotSpecifiedReasonAgentGenerated", "Reason has not been specified by agent."),
    441 	NARR("Narrative", "Reason is provided as narrative information in the additional reason information."),
    442 	NOAS("NoAnswerFromCustomer", "No response from Beneficiary"),
    443 	NOCM("NotCompliant", "Customer account is not compliant with regulatory requirements, for example FICA (in South Africa) or any other regulatory requirements which render an account inactive for certain processing."),
    444 	NOOR("NoOriginalTransactionReceived", "Original SCT never received"),
    445 	PINL("PINLiabilityShift", "The card payment is fraudulent (lost and stolen fraud) and was processed as EMV transaction without PIN verification."),
    446 	RC01("BankIdentifierIncorrect", "Bank Identifier code specified in the message has an incorrect format (formerly IncorrectFormatForRoutingCode)."),
    447 	RC03("InvalidDebtorBankIdentifier", "Debtor bank identifier is invalid or missing."),
    448 	RC04("InvalidCreditorBankIdentifier", "Creditor bank identifier is invalid or missing."),
    449 	RC07("InvalidCreditorBICIdentifier", "Incorrrect BIC of the beneficiary Bank in the SCTR"),
    450 	RC08("InvalidClearingSystemMemberIdentifier", "ClearingSystemMemberidentifier is invalid or missing."),
    451 	RC11("InvalidIntermediaryAgent", "Intermediary Agent is invalid or missing."),
    452 	RF01("NotUniqueTransactionReference", "Transaction reference is not unique within the message."),
    453 	RR01("MissingDebtorAccountOrIdentification", "Specification of the debtor’s account or unique identification needed for reasons of regulatory requirements is insufficient or missing"),
    454 	RR02("MissingDebtorNameOrAddress", "Specification of the debtor’s name and/or address needed for regulatory requirements is insufficient or missing."),
    455 	RR03("MissingCreditorNameOrAddress", "Specification of the creditor’s name and/or address needed for regulatory requirements is insufficient or missing."),
    456 	RR04("RegulatoryReason", "Regulatory Reason"),
    457 	RR05("RegulatoryInformationInvalid", "Regulatory or Central Bank Reporting information missing, incomplete or invalid."),
    458 	RR06("TaxInformationInvalid", "Tax information missing, incomplete or invalid."),
    459 	RR07("RemittanceInformationInvalid", "Remittance information structure does not comply with rules for payment type."),
    460 	RR08("RemittanceInformationTruncated", "Remittance information truncated to comply with rules for payment type."),
    461 	RR09("InvalidStructuredCreditorReference", "Structured creditor reference invalid or missing."),
    462 	RR11("InvalidDebtorAgentServiceIdentification", "Invalid or missing identification of a bank proprietary service."),
    463 	RR12("InvalidPartyIdentification", "Invalid or missing identification required within a particular country or payment type."),
    464 	RUTA("ReturnUponUnableToApply", "Return following investigation request and no remediation possible."),
    465 	SL01("SpecificServiceOfferedByDebtorAgent", "Due to specific service offered by the Debtor Agent"),
    466 	SL02("SpecificServiceOfferedByCreditorAgent", "Due to specific service offered by the Creditor Agent"),
    467 	SL11("CreditorNotOnWhitelistOfDebtor", "Whitelisting service offered by the Debtor Agent; Debtor has not included the Creditor on its “Whitelist” (yet). In the Whitelist the Debtor may list all allowed Creditors to debit Debtor bank account."),
    468 	SL12("CreditorOnBlacklistOfDebtor", "Blacklisting service offered by the Debtor Agent; Debtor included the Creditor on his “Blacklist”. In the Blacklist the Debtor may list all Creditors not allowed to debit Debtor bank account."),
    469 	SL13("MaximumNumberOfDirectDebitTransactionsExceeded", "Due to Maximum allowed Direct Debit Transactions per period service offered by the Debtor Agent."),
    470 	SL14("MaximumDirectDebitTransactionAmountExceeded", "Due to Maximum allowed Direct Debit Transaction amount service offered by the Debtor Agent."),
    471 	SP01("PaymentStopped", "Payment is stopped by account holder."),
    472 	SP02("PreviouslyStopped", "Previously stopped by means of a stop payment advise."),
    473 	SVNR("ServiceNotRendered", "The card payment is returned since a cash amount rendered was not correct or goods or a service was not rendered to the customer, e.g. in an e-commerce situation."),
    474 	TM01("CutOffTime", "Associated message was received after agreed processing cut-off time."),
    475 	TRAC("RemovedFromTracking", "Return following direct debit being removed from tracking process."),
    476 	UPAY("UnduePayment", "Payment is not justified."),
    477 }