libeufin

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

status_code.rs (54821B)


      1 /*
      2 * This file is part of LibEuFin.
      3 * Copyright (C) 2026 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 use taler_macros::EnumMeta;
     23 
     24 #[derive(Debug, Clone, Copy, PartialEq, Eq, EnumMeta)]
     25 #[enum_meta(DomainCode, Description, Str)]
     26 pub enum StatusReason {
     27     /// Clearing process aborted due to timeout
     28     #[code = "AB01"]
     29     AbortedClearingTimeout,
     30     /// Clearing process aborted due to a fatal error
     31     #[code = "AB02"]
     32     AbortedClearingFatalError,
     33     /// Settlement aborted due to timeout
     34     #[code = "AB03"]
     35     AbortedSettlementTimeout,
     36     /// Settlement process aborted due to a fatal error
     37     #[code = "AB04"]
     38     AbortedSettlementFatalError,
     39     /// Transaction stopped due to timeout at the Creditor Agent
     40     #[code = "AB05"]
     41     TimeoutCreditorAgent,
     42     /// Transaction stopped due to timeout at the Instructed Agent
     43     #[code = "AB06"]
     44     TimeoutInstructedAgent,
     45     /// Agent of message is not online
     46     #[code = "AB07"]
     47     OfflineAgent,
     48     /// Creditor Agent is not online
     49     #[code = "AB08"]
     50     OfflineCreditorAgent,
     51     /// Transaction stopped due to error at the Creditor Agent
     52     #[code = "AB09"]
     53     ErrorCreditorAgent,
     54     /// Transaction stopped due to error at the Instructed Agent
     55     #[code = "AB10"]
     56     ErrorInstructedAgent,
     57     /// Transaction stopped due to timeout at the Debtor Agent
     58     #[code = "AB11"]
     59     TimeoutDebtorAgent,
     60     /// Duplicate Concurrent Batch Sequence number– for Settlement Instructions
     61     #[code = "AB12"]
     62     InvalidConcurrentBatch,
     63     /// Wrong Message Routing Type for Return-of-Funds
     64     #[code = "AB13"]
     65     InvalidRoutingCodeUtilised,
     66     /// Instruction may not be placed on the Continuous Processing Line settlement processor
     67     #[code = "AB15"]
     68     InvalidAccountNumberForSettlementType,
     69     /// Agreement number not valid (beneficiary)
     70     #[code = "AB21"]
     71     InvalidSettlementAgreementNumberSpecified,
     72     /// Settlement Instruction does not exist
     73     #[code = "AB26"]
     74     InvalidBatchSettlementInstruction,
     75     /// Account number is invalid or missing
     76     #[code = "AC01"]
     77     IncorrectAccountNumber,
     78     /// Debtor account number invalid or missing
     79     #[code = "AC02"]
     80     InvalidDebtorAccountNumber,
     81     /// Creditor account number invalid or missing
     82     #[code = "AC03"]
     83     InvalidCreditorAccountNumber,
     84     /// Account number specified has been closed on the bank of account's books
     85     #[code = "AC04"]
     86     ClosedAccountNumber,
     87     /// Debtor account number closed
     88     #[code = "AC05"]
     89     ClosedDebtorAccountNumber,
     90     /// Account specified is blocked, prohibiting posting of transactions against it
     91     #[code = "AC06"]
     92     BlockedAccount,
     93     /// Creditor account number closed
     94     #[code = "AC07"]
     95     ClosedCreditorAccountNumber,
     96     /// Branch code is invalid or missing
     97     #[code = "AC08"]
     98     InvalidBranchCode,
     99     /// Account currency is invalid or missing
    100     #[code = "AC09"]
    101     InvalidAccountCurrency,
    102     /// Debtor account currency is invalid or missing
    103     #[code = "AC10"]
    104     InvalidDebtorAccountCurrency,
    105     /// Creditor account currency is invalid or missing
    106     #[code = "AC11"]
    107     InvalidCreditorAccountCurrency,
    108     /// Account type missing or invalid
    109     #[code = "AC12"]
    110     InvalidAccountType,
    111     /// Debtor account type missing or invalid
    112     #[code = "AC13"]
    113     InvalidDebtorAccountType,
    114     /// Creditor account type missing or invalid
    115     #[code = "AC14"]
    116     InvalidCreditorAccountType,
    117     /// The account details for the counterparty have changed
    118     #[code = "AC15"]
    119     AccountDetailsChanged,
    120     /// Credit or debit card number is invalid
    121     #[code = "AC16"]
    122     CardNumberInvalid,
    123     /// Request-to-pay Expiry Date and Time has already passed
    124     #[code = "AEXR"]
    125     AlreadyExpiredRTP,
    126     /// Transaction forbidden on this type of account (formerly NoAgreement)
    127     #[code = "AG01"]
    128     TransactionForbidden,
    129     /// Bank Operation code specified in the message is not valid for receiver
    130     #[code = "AG02"]
    131     InvalidBankOperationCode,
    132     /// Transaction type not supported/authorized on this account
    133     #[code = "AG03"]
    134     TransactionNotSupported,
    135     /// Agent country code is missing or invalid
    136     #[code = "AG04"]
    137     InvalidAgentCountry,
    138     /// Debtor agent country code is missing or invalid
    139     #[code = "AG05"]
    140     InvalidDebtorAgentCountry,
    141     /// Creditor agent country code is missing or invalid
    142     #[code = "AG06"]
    143     InvalidCreditorAgentCountry,
    144     /// Debtor account cannot be debited for a generic reason
    145     #[code = "AG07"]
    146     UnsuccesfulDirectDebit,
    147     /// Transaction failed due to invalid or missing user or access right
    148     #[code = "AG08"]
    149     InvalidAccessRights,
    150     /// Original payment never received
    151     #[code = "AG09"]
    152     PaymentNotReceived,
    153     /// Agent of message is suspended from the Real Time Payment system
    154     #[code = "AG10"]
    155     AgentSuspended,
    156     /// Creditor Agent of message is suspended from the Real Time Payment system
    157     #[code = "AG11"]
    158     CreditorAgentSuspended,
    159     /// Payment orders made by transferring funds from one account to another at the same financial institution (bank or payment institution) are not allowed
    160     #[code = "AG12"]
    161     NotAllowedBookTransfer,
    162     /// Returned payments derived from previously returned transactions are not allowed
    163     #[code = "AG13"]
    164     ForbiddenReturnPayment,
    165     /// Agent in the payment workflow is incorrect
    166     #[code = "AGNT"]
    167     IncorrectAgent,
    168     /// Request-to-pay has already been accepted by the Debtor
    169     #[code = "ALAC"]
    170     AlreadyAcceptedRTP,
    171     /// Specified message amount is equal to zero
    172     #[code = "AM01"]
    173     ZeroAmount,
    174     /// Specific transaction/message amount is greater than allowed maximum
    175     #[code = "AM02"]
    176     NotAllowedAmount,
    177     /// Specified message amount is an non processable currency outside of existing agreement
    178     #[code = "AM03"]
    179     NotAllowedCurrency,
    180     /// Amount of funds available to cover specified message amount is insufficient
    181     #[code = "AM04"]
    182     InsufficientFunds,
    183     /// Duplication
    184     #[code = "AM05"]
    185     Duplication,
    186     /// Specified transaction amount is less than agreed minimum
    187     #[code = "AM06"]
    188     TooLowAmount,
    189     /// Amount specified in message has been blocked by regulatory authorities
    190     #[code = "AM07"]
    191     BlockedAmount,
    192     /// Amount received is not the amount agreed or expected
    193     #[code = "AM09"]
    194     WrongAmount,
    195     /// Sum of instructed amounts does not equal the control sum
    196     #[code = "AM10"]
    197     InvalidControlSum,
    198     /// Transaction currency is invalid or missing
    199     #[code = "AM11"]
    200     InvalidTransactionCurrency,
    201     /// Amount is invalid or missing
    202     #[code = "AM12"]
    203     InvalidAmount,
    204     /// Transaction amount exceeds limits set by clearing system
    205     #[code = "AM13"]
    206     AmountExceedsClearingSystemLimit,
    207     /// Transaction amount exceeds limits agreed between bank and client
    208     #[code = "AM14"]
    209     AmountExceedsAgreedLimit,
    210     /// Transaction amount below minimum set by clearing system
    211     #[code = "AM15"]
    212     AmountBelowClearingSystemMinimum,
    213     /// Control Sum at the Group level is invalid
    214     #[code = "AM16"]
    215     InvalidGroupControlSum,
    216     /// Control Sum at the Payment Information level is invalid
    217     #[code = "AM17"]
    218     InvalidPaymentInfoControlSum,
    219     /// Number of transactions is invalid or missing
    220     #[code = "AM18"]
    221     InvalidNumberOfTransactions,
    222     /// Number of transactions at the Group level is invalid or missing
    223     #[code = "AM19"]
    224     InvalidGroupNumberOfTransactions,
    225     /// Number of transactions at the Payment Information level is invalid
    226     #[code = "AM20"]
    227     InvalidPaymentInfoNumberOfTransactions,
    228     /// Transaction amount exceeds limits agreed between bank and client
    229     #[code = "AM21"]
    230     LimitExceeded,
    231     /// Unable to apply zero amount to designated account
    232     #[code = "AM22"]
    233     ZeroAmountNotApplied,
    234     /// Transaction amount exceeds settlement limit
    235     #[code = "AM23"]
    236     AmountExceedsSettlementLimit,
    237     /// Size of the attachment exceeds the allowed maximum
    238     #[code = "AMSE"]
    239     AttachmentMaximumSize,
    240     /// Request To Pay has already been paid by the Debtor
    241     #[code = "APAR"]
    242     AlreadyPaidRTP,
    243     /// Request-to-pay has already been refused by the Debtor
    244     #[code = "ARFR"]
    245     AlreadyRefusedRTP,
    246     /// Request-to-pay has already been rejected
    247     #[code = "ARJR"]
    248     AlreadyRejectedRTP,
    249     /// Attachments to the request-to-pay are not supported
    250     #[code = "ATNS"]
    251     AttachementsNotSupported,
    252     /// Settlement Cycle Day and Calendar day should be the same
    253     #[code = "BDAY"]
    254     NotBusinessDay,
    255     /// Identification of end customer is not consistent with associated account number
    256     #[code = "BE01"]
    257     InconsistenWithEndCustomer,
    258     /// Specification of creditor's address, which is required for payment, is missing/not correct (formerly IncorrectCreditorAddress)
    259     #[code = "BE04"]
    260     MissingCreditorAddress,
    261     /// Party who initiated the message is not recognised by the end customer
    262     #[code = "BE05"]
    263     UnrecognisedInitiatingParty,
    264     /// End customer specified is not known at associated Sort/National Bank Code or does no longer exist in the books
    265     #[code = "BE06"]
    266     UnknownEndCustomer,
    267     /// Specification of debtor's address, which is required for payment, is missing/not correct
    268     #[code = "BE07"]
    269     MissingDebtorAddress,
    270     /// Debtor name is missing
    271     #[code = "BE08"]
    272     MissingDebtorName,
    273     /// Country code is missing or Invalid
    274     #[code = "BE09"]
    275     InvalidCountry,
    276     /// Debtor country code is missing or invalid
    277     #[code = "BE10"]
    278     InvalidDebtorCountry,
    279     /// Creditor country code is missing or invalid
    280     #[code = "BE11"]
    281     InvalidCreditorCountry,
    282     /// Country code of residence is missing or Invalid
    283     #[code = "BE12"]
    284     InvalidCountryOfResidence,
    285     /// Country code of debtor's residence is missing or Invalid
    286     #[code = "BE13"]
    287     InvalidDebtorCountryOfResidence,
    288     /// Country code of creditor's residence is missing or Invalid
    289     #[code = "BE14"]
    290     InvalidCreditorCountryOfResidence,
    291     /// Identification code missing or invalid
    292     #[code = "BE15"]
    293     InvalidIdentificationCode,
    294     /// Debtor or Ultimate Debtor identification code missing or invalid
    295     #[code = "BE16"]
    296     InvalidDebtorIdentificationCode,
    297     /// Creditor or Ultimate Creditor identification code missing or invalid
    298     #[code = "BE17"]
    299     InvalidCreditorIdentificationCode,
    300     /// Contact details missing or invalid
    301     #[code = "BE18"]
    302     InvalidContactDetails,
    303     /// Charge bearer code for transaction type is invalid
    304     #[code = "BE19"]
    305     InvalidChargeBearerCode,
    306     /// Name length exceeds local rules for payment type
    307     #[code = "BE20"]
    308     InvalidNameLength,
    309     /// Name missing or invalid
    310     #[code = "BE21"]
    311     MissingName,
    312     /// Creditor name is missing
    313     #[code = "BE22"]
    314     MissingCreditorName,
    315     /// Phone number or email address, or any other proxy, used as the account proxy is unknown or invalid
    316     #[code = "BE23"]
    317     AccountProxyInvalid,
    318     /// Credit transfer is not tagged as an Extended Remittance Information (ERI) transaction but contains ERI
    319     #[code = "CERI"]
    320     CheckERI,
    321     /// Value in Requested Execution Date or Requested Collection Date is too far in the future
    322     #[code = "CH03"]
    323     RequestedExecutionDateOrRequestedCollectionDateTooFarInFuture,
    324     /// Value in Requested Execution Date or Requested Collection Date is too far in the past
    325     #[code = "CH04"]
    326     RequestedExecutionDateOrRequestedCollectionDateTooFarInPast,
    327     /// Element is not to be used at B- and C-Level
    328     #[code = "CH07"]
    329     ElementIsNotToBeUsedAtBandCLevel,
    330     /// Mandate changes are not allowed
    331     #[code = "CH09"]
    332     MandateChangesNotAllowed,
    333     /// Information on mandate changes are missing
    334     #[code = "CH10"]
    335     InformationOnMandateChangesMissing,
    336     /// Value in Creditor Identifier is incorrect
    337     #[code = "CH11"]
    338     CreditorIdentifierIncorrect,
    339     /// Creditor Identifier is ambiguous at Transaction Level
    340     #[code = "CH12"]
    341     CreditorIdentifierNotUnambiguouslyAtTransactionLevel,
    342     /// Original Debtor Account is not to be used
    343     #[code = "CH13"]
    344     OriginalDebtorAccountIsNotToBeUsed,
    345     /// Original Debtor Agent  is not to be used
    346     #[code = "CH14"]
    347     OriginalDebtorAgentIsNotToBeUsed,
    348     /// Content Remittance Information/Structured includes more than 140 characters
    349     #[code = "CH15"]
    350     ElementContentIncludesMoreThan140Characters,
    351     /// Content is incorrect
    352     #[code = "CH16"]
    353     ElementContentFormallyIncorrect,
    354     /// Element is not allowed
    355     #[code = "CH17"]
    356     ElementNotAdmitted,
    357     /// Values in Interbank Settlement Date or Requested Collection Date will be set to the next TARGET day
    358     #[code = "CH19"]
    359     ValuesWillBeSetToNextTARGETday,
    360     /// Number of decimal points not compatible with the currency
    361     #[code = "CH20"]
    362     DecimalPointsNotCompatibleWithCurrency,
    363     /// Mandatory element is missing
    364     #[code = "CH21"]
    365     RequiredCompulsoryElementMissing,
    366     /// SDD CORE and B2B not permitted within one message
    367     #[code = "CH22"]
    368     COREandB2BwithinOnemessage,
    369     /// Related to a Charge message to convey that the code in Charge Breakdown / Type / Code is not accepted by the receiving party
    370     #[code = "CHCO"]
    371     UnacceptedChargeCodeType,
    372     /// Cheque has been presented in cheque clearing and settled on the creditor’s account
    373     #[code = "CHQC"]
    374     ChequeSettledOnCreditorAccount,
    375     /// Related to a Charge message to convey that the charge bearer code used in the corresponding Payment message was not debt
    376     #[code = "CHRG"]
    377     UnderlyingChargeBearerWasNotDebt,
    378     /// Authorisation is cancelled
    379     #[code = "CN01"]
    380     AuthorisationCancelled,
    381     /// Credit notes are not supported
    382     #[code = "CNNS"]
    383     CreditNotesNotSupported,
    384     /// Creditor bank is not registered under this BIC in the CSM
    385     #[code = "CNOR"]
    386     CreditorBankIsNotRegistered,
    387     /// Currency of the payment is incorrect
    388     #[code = "CURR"]
    389     IncorrectCurrency,
    390     /// Cancellation requested by the Debtor
    391     #[code = "CUST"]
    392     RequestedByCustomer,
    393     /// Rejection of a payment due to covering FI settlement not being received
    394     #[code = "DC02"]
    395     SettlementNotReceived,
    396     /// Debtor bank is not registered under this BIC in the CSM
    397     #[code = "DNOR"]
    398     DebtorBankIsNotRegistered,
    399     /// The electronic signature(s) is/are correct
    400     #[code = "DS01"]
    401     ElectronicSignaturesCorrect,
    402     /// An authorized user has cancelled the order
    403     #[code = "DS02"]
    404     OrderCancelled,
    405     /// The user’s attempt to cancel the order was not successful
    406     #[code = "DS03"]
    407     OrderNotCancelled,
    408     /// The order was rejected by the bank side (for reasons concerning content)
    409     #[code = "DS04"]
    410     OrderRejected,
    411     /// The order was correct and could be forwarded for postprocessing
    412     #[code = "DS05"]
    413     OrderForwardedForPostprocessing,
    414     /// The order was transferred to VEU
    415     #[code = "DS06"]
    416     TransferOrder,
    417     /// All actions concerning the order could be done by the EBICS bank server
    418     #[code = "DS07"]
    419     ProcessingOK,
    420     /// The decompression of the file was not successful
    421     #[code = "DS08"]
    422     DecompressionError,
    423     /// The decryption of the file was not successful
    424     #[code = "DS09"]
    425     DecryptionError,
    426     /// Data signature is required
    427     #[code = "DS0A"]
    428     DataSignRequested,
    429     /// Data signature for the format is not available or invalid
    430     #[code = "DS0B"]
    431     UnknownDataSignFormat,
    432     /// The signer certificate is revoked
    433     #[code = "DS0C"]
    434     SignerCertificateRevoked,
    435     /// The signer certificate is not valid (revoked or not active)
    436     #[code = "DS0D"]
    437     SignerCertificateNotValid,
    438     /// The signer certificate is not present
    439     #[code = "DS0E"]
    440     IncorrectSignerCertificate,
    441     /// The authority of the signer certification sending the certificate is unknown
    442     #[code = "DS0F"]
    443     SignerCertificationAuthoritySignerNotValid,
    444     /// Signer is not allowed to sign this operation type
    445     #[code = "DS0G"]
    446     NotAllowedPayment,
    447     /// Signer is not allowed to sign for this account
    448     #[code = "DS0H"]
    449     NotAllowedAccount,
    450     /// The number of transaction is over the number allowed for this signer
    451     #[code = "DS0K"]
    452     NotAllowedNumberOfTransaction,
    453     /// The certificate is revoked for the first signer
    454     #[code = "DS10"]
    455     Signer1CertificateRevoked,
    456     /// The certificate is not valid (revoked or not active) for the first signer
    457     #[code = "DS11"]
    458     Signer1CertificateNotValid,
    459     /// The certificate is not present for the first signer
    460     #[code = "DS12"]
    461     IncorrectSigner1Certificate,
    462     /// The authority of signer certification sending the certificate is unknown for the first signer
    463     #[code = "DS13"]
    464     SignerCertificationAuthoritySigner1NotValid,
    465     /// The user is unknown on the server
    466     #[code = "DS14"]
    467     UserDoesNotExist,
    468     /// The same signature has already been sent to the bank
    469     #[code = "DS15"]
    470     IdenticalSignatureFound,
    471     /// The public key version is not correct
    472     #[code = "DS16"]
    473     PublicKeyVersionIncorrect,
    474     /// Order data and signatures don’t match
    475     #[code = "DS17"]
    476     DifferentOrderDataInSignatures,
    477     /// File cannot be tested, the complete order has to be repeated
    478     #[code = "DS18"]
    479     RepeatOrder,
    480     /// The user’s rights (concerning his signature) are insufficient to execute the order
    481     #[code = "DS19"]
    482     ElectronicSignatureRightsInsufficient,
    483     /// The certificate is revoked for the second signer
    484     #[code = "DS20"]
    485     Signer2CertificateRevoked,
    486     /// The certificate is not valid (revoked or not active) for the second signer
    487     #[code = "DS21"]
    488     Signer2CertificateNotValid,
    489     /// The certificate is not present for the second signer
    490     #[code = "DS22"]
    491     IncorrectSigner2Certificate,
    492     /// The authority of signer certification sending the certificate is unknown for the second signer
    493     #[code = "DS23"]
    494     SignerCertificationAuthoritySigner2NotValid,
    495     /// Waiting time expired due to incomplete order
    496     #[code = "DS24"]
    497     WaitingTimeExpired,
    498     /// The order file was deleted by the bank server
    499     #[code = "DS25"]
    500     OrderFileDeleted,
    501     /// The same user has signed multiple times
    502     #[code = "DS26"]
    503     UserSignedMultipleTimes,
    504     /// The user is not yet activated (technically)
    505     #[code = "DS27"]
    506     UserNotYetActivated,
    507     /// Message routed to the wrong environment
    508     #[code = "DS28"]
    509     ReturnForTechnicalReason,
    510     /// Invalid date (eg, wrong or missing settlement date)
    511     #[code = "DT01"]
    512     InvalidDate,
    513     /// Invalid creation date and time in Group Header (eg, historic date)
    514     #[code = "DT02"]
    515     InvalidCreationDate,
    516     /// Invalid non bank processing date (eg, weekend or local public holiday)
    517     #[code = "DT03"]
    518     InvalidNonProcessingDate,
    519     /// Future date not supported
    520     #[code = "DT04"]
    521     FutureDateNotSupported,
    522     /// Associated message, payment information block or transaction was received after agreed processing cut-off date, i
    523     #[code = "DT05"]
    524     InvalidCutOffDate,
    525     /// Execution Date has been modified in order for transaction to be processed
    526     #[code = "DT06"]
    527     ExecutionDateChanged,
    528     /// Message Identification is not unique
    529     #[code = "DU01"]
    530     DuplicateMessageID,
    531     /// Payment Information Block is not unique
    532     #[code = "DU02"]
    533     DuplicatePaymentInformationID,
    534     /// Transaction is not unique
    535     #[code = "DU03"]
    536     DuplicateTransaction,
    537     /// End To End ID is not unique
    538     #[code = "DU04"]
    539     DuplicateEndToEndID,
    540     /// Instruction ID is not unique
    541     #[code = "DU05"]
    542     DuplicateInstructionID,
    543     /// Payment or charge is a duplicate of another payment or charge
    544     #[code = "DUPL"]
    545     DuplicatePaymentOrCharge,
    546     /// Correspondent bank not possible
    547     #[code = "ED01"]
    548     CorrespondentBankNotPossible,
    549     /// Balance of payments complementary info is requested
    550     #[code = "ED03"]
    551     BalanceInfoRequest,
    552     /// Settlement of the transaction has failed
    553     #[code = "ED05"]
    554     SettlementFailed,
    555     /// Interbank settlement system not available
    556     #[code = "ED06"]
    557     SettlementSystemNotAvailable,
    558     /// Requested execution date of the payment is not accepted
    559     #[code = "EDNA"]
    560     ExecutionDateNotAccepted,
    561     /// Expiry date time of the request-to-pay is too far in the future
    562     #[code = "EDTL"]
    563     ExpiryDateTooLong,
    564     /// Expiry date time of the request-to-pay is already reached
    565     #[code = "EDTR"]
    566     ExpiryDateTimeReached,
    567     /// Expiration of the payment authorisation due to no use for too long
    568     #[code = "EOL1"]
    569     EndOfLife,
    570     /// Extended Remittance Information (ERI) option is not supported
    571     #[code = "ERIN"]
    572     ERIOptionNotSupported,
    573     /// File Format incomplete or invalid
    574     #[code = "FF01"]
    575     InvalidFileFormat,
    576     /// Syntax error reason is provided as narrative information in the additional reason information
    577     #[code = "FF02"]
    578     SyntaxError,
    579     /// Payment Type Information is missing or invalid
    580     #[code = "FF03"]
    581     InvalidPaymentTypeInformation,
    582     /// Service Level code is missing or invalid
    583     #[code = "FF04"]
    584     InvalidServiceLevelCode,
    585     /// Local Instrument code is missing or invalid
    586     #[code = "FF05"]
    587     InvalidLocalInstrumentCode,
    588     /// Category Purpose code is missing or invalid
    589     #[code = "FF06"]
    590     InvalidCategoryPurposeCode,
    591     /// Purpose is missing or invalid
    592     #[code = "FF07"]
    593     InvalidPurpose,
    594     /// End to End Id missing or invalid
    595     #[code = "FF08"]
    596     InvalidEndToEndId,
    597     /// Cheque number missing or invalid
    598     #[code = "FF09"]
    599     InvalidChequeNumber,
    600     /// File or transaction cannot be processed due to technical issues at the bank side
    601     #[code = "FF10"]
    602     BankSystemProcessingError,
    603     /// Clearing request rejected due it being subject to an abort operation
    604     #[code = "FF11"]
    605     ClearingRequestAborted,
    606     /// Original payment is not eligible to be returned given its current status
    607     #[code = "FF12"]
    608     OriginalTransactionNotEligibleForRequestedReturn,
    609     /// No record of request for cancellation found
    610     #[code = "FF13"]
    611     RequestForCancellationNotFound,
    612     /// Return following a cancellation request
    613     #[code = "FOCR"]
    614     FollowingCancellationRequest,
    615     /// Returned as a result of fraud
    616     #[code = "FR01"]
    617     Fraud,
    618     /// Cancellation requested following a transaction that was originated fraudulently
    619     #[code = "FRAD"]
    620     FraudulentOrigin,
    621     /// In an FI To FI Customer Credit Transfer: The Status Originator transferred the payment to the next Agent or to a Market Infrastructure
    622     #[code = "G000"]
    623     PaymentTransferredAndTracked,
    624     /// In an FI To FI Customer Credit Transfer: The Status Originator transferred the payment to the next Agent or to a Market Infrastructure
    625     #[code = "G001"]
    626     PaymentTransferredAndNotTracked,
    627     /// In a FIToFI Customer Credit Transfer: Credit to the creditor’s account may not be confirmed same day
    628     #[code = "G002"]
    629     CreditDebitNotConfirmed,
    630     /// In a FIToFI Customer Credit Transfer: Credit to creditor’s account is pending receipt of required documents
    631     #[code = "G003"]
    632     CreditPendingDocuments,
    633     /// In a FIToFI Customer Credit Transfer: Credit to the creditor’s account is pending, status Originator is waiting for funds provided via a cover
    634     #[code = "G004"]
    635     CreditPendingFunds,
    636     /// Payment has been delivered to creditor agent with service level
    637     #[code = "G005"]
    638     DeliveredWithServiceLevel,
    639     /// Payment has been delivered to creditor agent without service level
    640     #[code = "G006"]
    641     DeliveredWIthoutServiceLevel,
    642     /// Signature file was sent to the bank but the corresponding original file has not been sent yet
    643     #[code = "ID01"]
    644     CorrespondingOriginalFileStillNotSent,
    645     /// Expiry date time of the request-to-pay is incorrect
    646     #[code = "IEDT"]
    647     IncorrectExpiryDateTime,
    648     /// Payer’s activation reference is invalid
    649     #[code = "INAR"]
    650     InvalidActivationReference,
    651     /// Details not valid for this field
    652     #[code = "INDT"]
    653     InvalidDetails,
    654     /// Payments in instalments are not supported
    655     #[code = "IPNS"]
    656     InstalmentPaymentsNotSupported,
    657     /// No initial request-to-pay has been received
    658     #[code = "IRNR"]
    659     InitialRTPNeverReceived,
    660     /// Cannot schedule instruction for Night Window
    661     #[code = "ISWS"]
    662     InvalidSettlementWindow,
    663     /// No Mandate
    664     #[code = "MD01"]
    665     NoMandate,
    666     /// Mandate related information data required by the scheme is missing
    667     #[code = "MD02"]
    668     MissingMandatoryInformationInMandate,
    669     /// Creditor or creditor's agent should not have collected the direct debit
    670     #[code = "MD05"]
    671     CollectionNotDue,
    672     /// Return of funds requested by end customer
    673     #[code = "MD06"]
    674     RefundRequestByEndCustomer,
    675     /// End customer is deceased
    676     #[code = "MD07"]
    677     EndCustomerDeceased,
    678     /// Information missing for the field or cannot be empty
    679     #[code = "MINF"]
    680     MissingInformation,
    681     /// Reason has not been specified by end customer
    682     #[code = "MS02"]
    683     NotSpecifiedReasonCustomerGenerated,
    684     /// Reason has not been specified by agent
    685     #[code = "MS03"]
    686     NotSpecifiedReasonAgentGenerated,
    687     /// Reason is provided as narrative information in the additional reason information
    688     #[code = "NARR"]
    689     Narrative,
    690     /// Credit transfer is tagged as an Extended Remittance Information (ERI) transaction but does not contain ERI
    691     #[code = "NERI"]
    692     NoERI,
    693     /// No existing agreement for receiving request-to-pay messages
    694     #[code = "NOAR"]
    695     NonAgreedRTP,
    696     /// No response from Beneficiary
    697     #[code = "NOAS"]
    698     NoAnswerFromCustomer,
    699     /// 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
    700     #[code = "NOCM"]
    701     NotCompliantGeneric,
    702     /// Continuous Processing Line on Hold Instruction
    703     #[code = "NOFR"]
    704     OutstandingFundingForSettlement,
    705     /// Requested payment guarantee (by Creditor) related to a request-to-pay cannot be provided
    706     #[code = "NOPG"]
    707     NoPaymentGuarantee,
    708     /// Recipient side of the request-to-pay (payer or its request-to-pay service provider) is not reachable
    709     #[code = "NRCH"]
    710     PayerOrPayerRTPSPNotReachable,
    711     /// Requested optional service (for example instalment payments) is not supported
    712     #[code = "OSNS"]
    713     OptionalServiceNotSupported,
    714     /// Type of payment requested in the request-to-pay is not supported by the payer
    715     #[code = "PINS"]
    716     TypeOfPaymentInstrumentNotSupported,
    717     /// Error code used for RTP-initiated CTR when the pacs
    718     #[code = "PNRT"]
    719     PaymentNotAlignedWithRTPRequest,
    720     /// Bank identifier code specified in the message has an incorrect format (formerly IncorrectFormatForRoutingCode)
    721     #[code = "RC01"]
    722     BankIdentifierIncorrect,
    723     /// Bank identifier is invalid or missing
    724     #[code = "RC02"]
    725     InvalidBankIdentifier,
    726     /// Debtor bank identifier is invalid or missing
    727     #[code = "RC03"]
    728     InvalidDebtorBankIdentifier,
    729     /// Creditor bank identifier is invalid or missing
    730     #[code = "RC04"]
    731     InvalidCreditorBankIdentifier,
    732     /// BIC identifier is invalid or missing
    733     #[code = "RC05"]
    734     InvalidBICIdentifier,
    735     /// Debtor BIC identifier is invalid or missing
    736     #[code = "RC06"]
    737     InvalidDebtorBICIdentifier,
    738     /// Creditor BIC identifier is invalid or missing
    739     #[code = "RC07"]
    740     InvalidCreditorBICIdentifier,
    741     /// ClearingSystemMemberidentifier is invalid or missing
    742     #[code = "RC08"]
    743     InvalidClearingSystemMemberIdentifier,
    744     /// Debtor ClearingSystemMember identifier is invalid or missing
    745     #[code = "RC09"]
    746     InvalidDebtorClearingSystemMemberIdentifier,
    747     /// Creditor ClearingSystemMember identifier is invalid or missing
    748     #[code = "RC10"]
    749     InvalidCreditorClearingSystemMemberIdentifier,
    750     /// Intermediary Agent is invalid or missing
    751     #[code = "RC11"]
    752     InvalidIntermediaryAgent,
    753     /// Creditor Scheme Id is invalid or  missing
    754     #[code = "RC12"]
    755     MissingCreditorSchemeId,
    756     /// Originator not active any more
    757     #[code = "RC13"]
    758     ParticipantNotAnActiveMemberofRTGS,
    759     /// Settlement agreement required
    760     #[code = "RC15"]
    761     ParticipantNotActiveMemberSettlementType,
    762     /// Participant blocked from SADC-RTGS
    763     #[code = "RC16"]
    764     ParticipantNotActiveMemberofSADCRTGS,
    765     /// Conflict with R-Message
    766     #[code = "RCON"]
    767     RMessageConflict,
    768     /// Further information regarding the intended recipient
    769     #[code = "RECI"]
    770     ReceiverCustomerInformation,
    771     /// Request-to-pay has been received and can be processed further
    772     #[code = "REPR"]
    773     RTPReceivedCanBeProcessed,
    774     /// Transaction reference is not unique within the message
    775     #[code = "RF01"]
    776     NotUniqueTransactionReference,
    777     /// Payer did not recognize the request from Payee Participant,
    778     #[code = "RQNR"]
    779     RequestNotRecognized,
    780     /// Specification of the debtor’s account or unique identification needed for reasons of regulatory requirements is insufficient or missing
    781     #[code = "RR01"]
    782     MissingDebtorAccountOrIdentification,
    783     /// Specification of the debtor’s name and/or address needed for regulatory requirements is insufficient or missing
    784     #[code = "RR02"]
    785     MissingDebtorNameOrAddress,
    786     /// Specification of the creditor’s name and/or address needed for regulatory requirements is insufficient or missing
    787     #[code = "RR03"]
    788     MissingCreditorNameOrAddress,
    789     /// Regulatory Reason
    790     #[code = "RR04"]
    791     RegulatoryReason,
    792     /// Regulatory or Central Bank Reporting information missing, incomplete or invalid
    793     #[code = "RR05"]
    794     RegulatoryInformationInvalid,
    795     /// Tax information missing, incomplete or invalid
    796     #[code = "RR06"]
    797     TaxInformationInvalid,
    798     /// Remittance information structure does not comply with rules for payment type
    799     #[code = "RR07"]
    800     RemittanceInformationInvalid,
    801     /// Remittance information truncated to comply with rules for payment type
    802     #[code = "RR08"]
    803     RemittanceInformationTruncated,
    804     /// Structured creditor reference invalid or missing
    805     #[code = "RR09"]
    806     InvalidStructuredCreditorReference,
    807     /// Character set supplied not valid for the country and payment type
    808     #[code = "RR10"]
    809     InvalidCharacterSet,
    810     /// Invalid or missing identification of a bank proprietary service
    811     #[code = "RR11"]
    812     InvalidDebtorAgentServiceID,
    813     /// Invalid or missing identification required within a particular country or payment type
    814     #[code = "RR12"]
    815     InvalidPartyID,
    816     /// Debtor does not support request-to-pay transactions
    817     #[code = "RTNS"]
    818     RTPNotSupportedForDebtor,
    819     /// Return following investigation request and no remediation possible
    820     #[code = "RUTA"]
    821     ReturnUponUnableToApply,
    822     /// Request for Cancellation is acknowledged following validation
    823     #[code = "S000"]
    824     ValidRequestForCancellationAcknowledged,
    825     /// Unique End-to-end Transaction Reference (UETR) relating to a payment has been identified as being associated with a Request for Cancellation
    826     #[code = "S001"]
    827     UETRFlaggedForCancellation,
    828     /// Unique End-to-end Transaction Reference (UETR) relating to a payment has been prevent from traveling across a messaging network
    829     #[code = "S002"]
    830     NetworkStopOfUETR,
    831     /// Request for Cancellation has been forwarded to the payment processing/last payment processing agent
    832     #[code = "S003"]
    833     RequestForCancellationForwarded,
    834     /// Request for Cancellation has been acknowledged as delivered to payment processing/last payment processing agent
    835     #[code = "S004"]
    836     RequestForCancellationDeliveryAcknowledgement,
    837     /// Remove Concurrent Batch Processing Line on hold instruction
    838     #[code = "SBRN"]
    839     SettlementBatchRemovalNotification,
    840     /// Due to specific service offered by the Debtor Agent
    841     #[code = "SL01"]
    842     SpecificServiceOfferedByDebtorAgent,
    843     /// Due to specific service offered by the Creditor Agent
    844     #[code = "SL02"]
    845     SpecificServiceOfferedByCreditorAgent,
    846     /// Due to a specific service offered by the clearing system
    847     #[code = "SL03"]
    848     ServiceofClearingSystem,
    849     /// Whitelisting service offered by the Debtor Agent; Debtor has not included the Creditor on its “Whitelist” (yet)
    850     #[code = "SL11"]
    851     CreditorNotOnWhitelistOfDebtor,
    852     /// Blacklisting service offered by the Debtor Agent; Debtor included the Creditor on his “Blacklist”
    853     #[code = "SL12"]
    854     CreditorOnBlacklistOfDebtor,
    855     /// Due to Maximum allowed Direct Debit Transactions per period service offered by the Debtor Agent
    856     #[code = "SL13"]
    857     MaximumNumberOfDirectDebitTransactionsExceeded,
    858     /// Due to Maximum allowed Direct Debit Transaction amount service offered by the Debtor Agent
    859     #[code = "SL14"]
    860     MaximumDirectDebitTransactionAmountExceeded,
    861     /// Maximum number of credit transactions allowed by the account servicer per service period exceeded
    862     #[code = "SL15"]
    863     MaximumNumberOfCreditTransactionsExceeded,
    864     /// Maximum total credit amount allowed by the account servicer per service period exceeded
    865     #[code = "SL16"]
    866     MaximumCreditTransactionsAmountExceeded,
    867     /// Whitelisting service offered by payment system operator or financial institution
    868     #[code = "SL17"]
    869     DebtorNotOnWhitelistOfCreditorSide,
    870     /// Blacklisting service offered by payment system operator or financial institution
    871     #[code = "SL18"]
    872     DebtorOnBlacklistOfCreditorSide,
    873     /// Services are not yet rendered by the Payee Participant (Creditor)
    874     #[code = "SNRD"]
    875     ServiceNotRendered,
    876     /// Identifier of the request-to-pay service provider is incorrect
    877     #[code = "SPII"]
    878     RTPServiceProviderIdentifierIncorrect,
    879     /// The transmission of the file was not successful – it had to be aborted (for technical reasons)
    880     #[code = "TA01"]
    881     TransmissonAborted,
    882     /// There is no data available (for download)
    883     #[code = "TD01"]
    884     NoDataAvailable,
    885     /// The file cannot be read (e
    886     #[code = "TD02"]
    887     FileNonReadable,
    888     /// The file format is incomplete or invalid
    889     #[code = "TD03"]
    890     IncorrectFileStructure,
    891     /// Token is invalid
    892     #[code = "TK01"]
    893     TokenInvalid,
    894     /// Token used for the sender does not exist
    895     #[code = "TK02"]
    896     SenderTokenNotFound,
    897     /// Token used for the receiver does not exist
    898     #[code = "TK03"]
    899     ReceiverTokenNotFound,
    900     /// Token required for request is missing
    901     #[code = "TK09"]
    902     TokenMissing,
    903     /// Token found with counterparty mismatch
    904     #[code = "TKCM"]
    905     TokenCounterpartyMismatch,
    906     /// Single Use Token already used
    907     #[code = "TKSG"]
    908     TokenSingleUse,
    909     /// Token found with suspended status
    910     #[code = "TKSP"]
    911     TokenSuspended,
    912     /// Token found with value limit rule violation
    913     #[code = "TKVE"]
    914     TokenValueLimitExceeded,
    915     /// Token expired
    916     #[code = "TKXP"]
    917     TokenExpired,
    918     /// Associated message, payment information block, or transaction was received after agreed processing cut-off time
    919     #[code = "TM01"]
    920     InvalidCutOffTime,
    921     /// The (technical) transmission of the file was successful
    922     #[code = "TS01"]
    923     TransmissionSuccessful,
    924     /// The order was transferred to pass by accompanying note signed by hand
    925     #[code = "TS04"]
    926     TransferToSignByHand,
    927     /// Unknown Creditor
    928     #[code = "UCRD"]
    929     UnknownCreditor,
    930     /// Payment is not justified
    931     #[code = "UPAY"]
    932     UnduePayment,
    933 }
    934 
    935 #[derive(Debug, Clone, Copy, PartialEq, Eq, EnumMeta)]
    936 #[enum_meta(DomainCode, Description, Str)]
    937 pub enum PaymentGroupStatus {
    938     /// Settlement on the creditor's account has been completed
    939     #[code = "ACCC"]
    940     AcceptedSettlementCompletedCreditorAccount,
    941     /// Preceding check of technical validation was successful
    942     #[code = "ACCP"]
    943     AcceptedCustomerProfile,
    944     /// Settlement on the debtor's account has been completed
    945     #[code = "ACSC"]
    946     AcceptedSettlementCompletedDebitorAccount,
    947     /// All preceding checks such as technical validation and customer profile were successful and therefore the payment initiation has been accepted for execution
    948     #[code = "ACSP"]
    949     AcceptedSettlementInProcess,
    950     /// Authentication and syntactical and semantical validation are successful
    951     #[code = "ACTC"]
    952     AcceptedTechnicalValidation,
    953     /// Instruction is accepted but a change will be made, such as date or remittance not sent
    954     #[code = "ACWC"]
    955     AcceptedWithChange,
    956     /// A number of transactions have been accepted, whereas another number of transactions have not yet achieved
    957     #[code = "PART"]
    958     PartiallyAccepted,
    959     /// Payment initiation or individual transaction included in the payment initiation is pending
    960     #[code = "PDNG"]
    961     Pending,
    962     /// Verification of Payee check have been applied to received transactions stating to be complete without mismatching data
    963     #[code = "RCVC"]
    964     ReceivedVerificationCompleted,
    965     /// Payment initiation has been received by the receiving agent
    966     #[code = "RCVD"]
    967     Received,
    968     /// Payment initiation or individual transaction included in the payment initiation has been rejected
    969     #[code = "RJCT"]
    970     Rejected,
    971     /// Verification of Payee checks have been applied to received transactions stating to be complete containing mismatching data
    972     #[code = "RVCM"]
    973     ReceivedVerificationCompletedWithMismatches,
    974     /// Verification of party check on transactions received is not yet completed
    975     #[code = "RVNC"]
    976     ReceivedVerificationNotCompleted,
    977 }
    978 
    979 #[derive(Debug, Clone, Copy, PartialEq, Eq, EnumMeta)]
    980 #[enum_meta(DomainCode, Description, Str)]
    981 pub enum PaymentTransactionStatus {
    982     /// Settlement on the creditor's account has been completed
    983     #[code = "ACCC"]
    984     AcceptedSettlementCompletedCreditorAccount,
    985     /// Preceding check of technical validation was successful
    986     #[code = "ACCP"]
    987     AcceptedCustomerProfile,
    988     /// Preceding check of technical validation and customer profile was successful and an automatic funds check was positive
    989     #[code = "ACFC"]
    990     AcceptedFundsChecked,
    991     /// 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
    992     #[code = "ACFW"]
    993     AcceptedFundsCheckedWaitingConfirmation,
    994     /// Payment instruction to issue a cheque has been accepted, and the cheque has been issued but not yet been deposited or cleared
    995     #[code = "ACIS"]
    996     AcceptedandChequeIssued,
    997     /// Status of transaction released from the Debtor Agent and accepted by the clearing
    998     #[code = "ACPD"]
    999     AcceptedClearingProcessed,
   1000     /// Settlement completed
   1001     #[code = "ACSC"]
   1002     AcceptedSettlementCompletedDebitorAccount,
   1003     /// All preceding checks such as technical validation and customer profile were successful and therefore the payment instruction has been accepted for execution
   1004     #[code = "ACSP"]
   1005     AcceptedSettlementInProcess,
   1006     /// Authentication and syntactical and semantical validation are successful
   1007     #[code = "ACTC"]
   1008     AcceptedTechnicalValidation,
   1009     /// Instruction is accepted but a change will be made, such as date or remittance not sent
   1010     #[code = "ACWC"]
   1011     AcceptedWithChange,
   1012     /// Payment instruction included in the credit transfer is accepted without being posted to the creditor customer’s account
   1013     #[code = "ACWP"]
   1014     AcceptedWithoutPosting,
   1015     /// 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
   1016     #[code = "BLCK"]
   1017     Blocked,
   1018     /// Payment initiation has been successfully cancelled after having received a request for cancellation
   1019     #[code = "CANC"]
   1020     Cancelled,
   1021     /// Cash has been picked up by the Creditor
   1022     #[code = "CPUC"]
   1023     CashPickedUpByCreditor,
   1024     /// Payment initiation needs multiple authentications, where some but not yet all have been performed
   1025     #[code = "PATC"]
   1026     PartiallyAcceptedTechnicalCorrect,
   1027     /// Payment instruction is pending
   1028     #[code = "PDNG"]
   1029     Pending,
   1030     /// Request for Payment has been presented to the Debtor
   1031     #[code = "PRES"]
   1032     Presented,
   1033     /// Verification of Payee check has been applied to received transaction stating to be complete without mismatching data
   1034     #[code = "RCVC"]
   1035     ReceivedVerificationCompleted,
   1036     /// Payment instruction has been received
   1037     #[code = "RCVD"]
   1038     Received,
   1039     /// Payment instruction has been rejected
   1040     #[code = "RJCT"]
   1041     Rejected,
   1042     /// Verification of Payee checks have been applied to received transaction stating to be completed containing mismatching data
   1043     #[code = "RVCM"]
   1044     ReceivedVerificationCompletedWithMismatches,
   1045     /// Verification of Payee check has been applied to received transaction stating to be complete with data matching closely
   1046     #[code = "RVMC"]
   1047     ReceivedVerificationCompletedMatchClosely,
   1048     /// Verification of Payee check has been applied to received transaction stating to be complete with not applicable data
   1049     #[code = "RVNA"]
   1050     ReceivedVerificationCompletedNotApplicable,
   1051     /// Verification of party check on the transaction is not yet completed
   1052     #[code = "RVNC"]
   1053     ReceivedVerificationNotCompleted,
   1054     /// Verification of Payee check has been applied to received transaction stating to be complete with mismatching data
   1055     #[code = "RVNM"]
   1056     ReceivedVerificationCompletedNoMatch,
   1057 }
   1058 
   1059 #[derive(Debug, Clone, Copy, PartialEq, Eq, EnumMeta)]
   1060 #[enum_meta(DomainCode, Description, Str)]
   1061 pub enum ReturnReason {
   1062     /// Format of the account number specified is not correct
   1063     #[code = "AC01"]
   1064     IncorrectAccountNumber,
   1065     /// Debtor account number invalid or missing
   1066     #[code = "AC02"]
   1067     InvalidDebtorAccountNumber,
   1068     /// Wrong IBAN in SCT
   1069     #[code = "AC03"]
   1070     InvalidCreditorAccountNumber,
   1071     /// Account number specified has been closed on the bank of account's books
   1072     #[code = "AC04"]
   1073     ClosedAccountNumber,
   1074     /// Account specified is blocked, prohibiting posting of transactions against it
   1075     #[code = "AC06"]
   1076     BlockedAccount,
   1077     /// Creditor account number closed
   1078     #[code = "AC07"]
   1079     ClosedCreditorAccountNumber,
   1080     /// Debtor account type is missing or invalid
   1081     #[code = "AC13"]
   1082     InvalidDebtorAccountType,
   1083     /// An agent in the payment chain is invalid
   1084     #[code = "AC14"]
   1085     InvalidAgent,
   1086     /// Account details have changed
   1087     #[code = "AC15"]
   1088     AccountDetailsChanged,
   1089     /// Account is in sequestration
   1090     #[code = "AC16"]
   1091     AccountInSequestration,
   1092     /// Account is in liquidation
   1093     #[code = "AC17"]
   1094     AccountInLiquidation,
   1095     /// Transaction forbidden on this type of account (formerly NoAgreement)
   1096     #[code = "AG01"]
   1097     TransactionForbidden,
   1098     /// Bank Operation code specified in the message is not valid for receiver
   1099     #[code = "AG02"]
   1100     InvalidBankOperationCode,
   1101     /// Debtor account cannot be debited for a generic reason
   1102     #[code = "AG07"]
   1103     UnsuccesfulDirectDebit,
   1104     /// Agent in the payment workflow is incorrect
   1105     #[code = "AGNT"]
   1106     IncorrectAgent,
   1107     /// Specified message amount is equal to zero
   1108     #[code = "AM01"]
   1109     ZeroAmount,
   1110     /// Specific transaction/message amount is greater than allowed maximum
   1111     #[code = "AM02"]
   1112     NotAllowedAmount,
   1113     /// Specified message amount is an non processable currency outside of existing agreement
   1114     #[code = "AM03"]
   1115     NotAllowedCurrency,
   1116     /// Amount of funds available to cover specified message amount is insufficient
   1117     #[code = "AM04"]
   1118     InsufficientFunds,
   1119     /// Duplication
   1120     #[code = "AM05"]
   1121     Duplication,
   1122     /// Specified transaction amount is less than agreed minimum
   1123     #[code = "AM06"]
   1124     TooLowAmount,
   1125     /// Amount specified in message has been blocked by regulatory authorities
   1126     #[code = "AM07"]
   1127     BlockedAmount,
   1128     /// Amount received is not the amount agreed or expected
   1129     #[code = "AM09"]
   1130     WrongAmount,
   1131     /// Sum of instructed amounts does not equal the control sum
   1132     #[code = "AM10"]
   1133     InvalidControlSum,
   1134     /// Already returned original SCT
   1135     #[code = "ARDT"]
   1136     AlreadyReturnedTransaction,
   1137     /// Identification of end customer is not consistent with associated account number, organisation ID or private ID
   1138     #[code = "BE01"]
   1139     InconsistenWithEndCustomer,
   1140     /// Specification of creditor's address, which is required for payment, is missing/not correct (formerly IncorrectCreditorAddress)
   1141     #[code = "BE04"]
   1142     MissingCreditorAddress,
   1143     /// Party who initiated the message is not recognised by the end customer
   1144     #[code = "BE05"]
   1145     UnrecognisedInitiatingParty,
   1146     /// End customer specified is not known at associated Sort/National Bank Code or does no longer exist in the books
   1147     #[code = "BE06"]
   1148     UnknownEndCustomer,
   1149     /// Specification of debtor's address, which is required for payment, is missing/not correct
   1150     #[code = "BE07"]
   1151     MissingDebtorAddress,
   1152     /// Returned as a result of a bank error
   1153     #[code = "BE08"]
   1154     BankError,
   1155     /// Debtor country code is missing or invalid
   1156     #[code = "BE10"]
   1157     InvalidDebtorCountry,
   1158     /// Creditor country code is missing or invalid
   1159     #[code = "BE11"]
   1160     InvalidCreditorCountry,
   1161     /// Debtor or Ultimate Debtor identification code missing or invalid
   1162     #[code = "BE16"]
   1163     InvalidDebtorIdentificationCode,
   1164     /// Creditor or Ultimate Creditor identification code missing or invalid
   1165     #[code = "BE17"]
   1166     InvalidCreditorIdentificationCode,
   1167     /// Authorisation is cancelled
   1168     #[code = "CN01"]
   1169     AuthorisationCancelled,
   1170     /// Creditor bank is not registered under this BIC in the CSM
   1171     #[code = "CNOR"]
   1172     CreditorBankIsNotRegistered,
   1173     /// Cash not picked up by Creditor or cash could not be delivered to Creditor
   1174     #[code = "CNPC"]
   1175     CashNotPickedUp,
   1176     /// Currency of the payment is incorrect
   1177     #[code = "CURR"]
   1178     IncorrectCurrency,
   1179     /// Cancellation requested by the Debtor
   1180     #[code = "CUST"]
   1181     RequestedByCustomer,
   1182     /// Return of Covering Settlement due to the underlying Credit Transfer details not being received
   1183     #[code = "DC04"]
   1184     NoCustomerCreditTransferReceived,
   1185     /// Debtor bank is not registered under this BIC in the CSM
   1186     #[code = "DNOR"]
   1187     DebtorBankIsNotRegistered,
   1188     /// Return following technical problems resulting in erroneous transaction
   1189     #[code = "DS28"]
   1190     ReturnForTechnicalReason,
   1191     /// Invalid date (eg, wrong settlement date)
   1192     #[code = "DT01"]
   1193     InvalidDate,
   1194     /// Cheque has been issued but not deposited and is considered expired
   1195     #[code = "DT02"]
   1196     ChequeExpired,
   1197     /// Future date not supported
   1198     #[code = "DT04"]
   1199     FutureDateNotSupported,
   1200     /// Payment is a duplicate of another payment
   1201     #[code = "DUPL"]
   1202     DuplicatePayment,
   1203     /// Correspondent bank not possible
   1204     #[code = "ED01"]
   1205     CorrespondentBankNotPossible,
   1206     /// Balance of payments complementary info is requested
   1207     #[code = "ED03"]
   1208     BalanceInfoRequest,
   1209     /// Settlement of the transaction has failed
   1210     #[code = "ED05"]
   1211     SettlementFailed,
   1212     /// The card payment is fraudulent and was not processed with EMV technology for an EMV card
   1213     #[code = "EMVL"]
   1214     EMVLiabilityShift,
   1215     /// The Extended Remittance Information (ERI) option is not supported
   1216     #[code = "ERIN"]
   1217     ERIOptionNotSupported,
   1218     /// Payment Type Information is missing or invalid
   1219     #[code = "FF03"]
   1220     InvalidPaymentTypeInformation,
   1221     /// Service Level code is missing or invalid
   1222     #[code = "FF04"]
   1223     InvalidServiceLevelCode,
   1224     /// Local Instrument code is missing or invalid
   1225     #[code = "FF05"]
   1226     InvalidLocalInstrumentCode,
   1227     /// Category Purpose code is missing or invalid
   1228     #[code = "FF06"]
   1229     InvalidCategoryPurposeCode,
   1230     /// Purpose is missing or invalid
   1231     #[code = "FF07"]
   1232     InvalidPurpose,
   1233     /// Return following a cancellation request
   1234     #[code = "FOCR"]
   1235     FollowingCancellationRequest,
   1236     /// Returned as a result of fraud
   1237     #[code = "FR01"]
   1238     Fraud,
   1239     /// Final response/tracking is recalled as mandate is cancelled
   1240     #[code = "FRTR"]
   1241     FinalResponseMandateCancelled,
   1242     /// In a FIToFI Customer Credit Transfer: Credit to the creditor’s account is pending, status Originator is waiting for funds provided via a cover
   1243     #[code = "G004"]
   1244     CreditPendingFunds,
   1245     /// No Mandate
   1246     #[code = "MD01"]
   1247     NoMandate,
   1248     /// Mandate related information data required by the scheme is missing
   1249     #[code = "MD02"]
   1250     MissingMandatoryInformationInMandate,
   1251     /// Creditor or creditor's agent should not have collected the direct debit
   1252     #[code = "MD05"]
   1253     CollectionNotDue,
   1254     /// Return of funds requested by end customer
   1255     #[code = "MD06"]
   1256     RefundRequestByEndCustomer,
   1257     /// End customer is deceased
   1258     #[code = "MD07"]
   1259     EndCustomerDeceased,
   1260     /// Reason has not been specified by end customer
   1261     #[code = "MS02"]
   1262     NotSpecifiedReasonCustomerGenerated,
   1263     /// Reason has not been specified by agent
   1264     #[code = "MS03"]
   1265     NotSpecifiedReasonAgentGenerated,
   1266     /// Reason is provided as narrative information in the additional reason information
   1267     #[code = "NARR"]
   1268     Narrative,
   1269     /// No response from Beneficiary
   1270     #[code = "NOAS"]
   1271     NoAnswerFromCustomer,
   1272     /// 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
   1273     #[code = "NOCM"]
   1274     NotCompliant,
   1275     /// Original SCT never received
   1276     #[code = "NOOR"]
   1277     NoOriginalTransactionReceived,
   1278     /// The card payment is fraudulent (lost and stolen fraud) and was processed as EMV transaction without PIN verification
   1279     #[code = "PINL"]
   1280     PINLiabilityShift,
   1281     /// Bank Identifier code specified in the message has an incorrect format (formerly IncorrectFormatForRoutingCode)
   1282     #[code = "RC01"]
   1283     BankIdentifierIncorrect,
   1284     /// Debtor bank identifier is invalid or missing
   1285     #[code = "RC03"]
   1286     InvalidDebtorBankIdentifier,
   1287     /// Creditor bank identifier is invalid or missing
   1288     #[code = "RC04"]
   1289     InvalidCreditorBankIdentifier,
   1290     /// Incorrrect BIC of the beneficiary Bank in the SCTR
   1291     #[code = "RC07"]
   1292     InvalidCreditorBICIdentifier,
   1293     /// ClearingSystemMemberidentifier is invalid or missing
   1294     #[code = "RC08"]
   1295     InvalidClearingSystemMemberIdentifier,
   1296     /// Intermediary Agent is invalid or missing
   1297     #[code = "RC11"]
   1298     InvalidIntermediaryAgent,
   1299     /// Transaction reference is not unique within the message
   1300     #[code = "RF01"]
   1301     NotUniqueTransactionReference,
   1302     /// Specification of the debtor’s account or unique identification needed for reasons of regulatory requirements is insufficient or missing
   1303     #[code = "RR01"]
   1304     MissingDebtorAccountOrIdentification,
   1305     /// Specification of the debtor’s name and/or address needed for regulatory requirements is insufficient or missing
   1306     #[code = "RR02"]
   1307     MissingDebtorNameOrAddress,
   1308     /// Specification of the creditor’s name and/or address needed for regulatory requirements is insufficient or missing
   1309     #[code = "RR03"]
   1310     MissingCreditorNameOrAddress,
   1311     /// Regulatory Reason
   1312     #[code = "RR04"]
   1313     RegulatoryReason,
   1314     /// Regulatory or Central Bank Reporting information missing, incomplete or invalid
   1315     #[code = "RR05"]
   1316     RegulatoryInformationInvalid,
   1317     /// Tax information missing, incomplete or invalid
   1318     #[code = "RR06"]
   1319     TaxInformationInvalid,
   1320     /// Remittance information structure does not comply with rules for payment type
   1321     #[code = "RR07"]
   1322     RemittanceInformationInvalid,
   1323     /// Remittance information truncated to comply with rules for payment type
   1324     #[code = "RR08"]
   1325     RemittanceInformationTruncated,
   1326     /// Structured creditor reference invalid or missing
   1327     #[code = "RR09"]
   1328     InvalidStructuredCreditorReference,
   1329     /// Invalid or missing identification of a bank proprietary service
   1330     #[code = "RR11"]
   1331     InvalidDebtorAgentServiceIdentification,
   1332     /// Invalid or missing identification required within a particular country or payment type
   1333     #[code = "RR12"]
   1334     InvalidPartyIdentification,
   1335     /// Return following investigation request and no remediation possible
   1336     #[code = "RUTA"]
   1337     ReturnUponUnableToApply,
   1338     /// Due to specific service offered by the Debtor Agent
   1339     #[code = "SL01"]
   1340     SpecificServiceOfferedByDebtorAgent,
   1341     /// Due to specific service offered by the Creditor Agent
   1342     #[code = "SL02"]
   1343     SpecificServiceOfferedByCreditorAgent,
   1344     /// Whitelisting service offered by the Debtor Agent; Debtor has not included the Creditor on its “Whitelist” (yet)
   1345     #[code = "SL11"]
   1346     CreditorNotOnWhitelistOfDebtor,
   1347     /// Blacklisting service offered by the Debtor Agent; Debtor included the Creditor on his “Blacklist”
   1348     #[code = "SL12"]
   1349     CreditorOnBlacklistOfDebtor,
   1350     /// Due to Maximum allowed Direct Debit Transactions per period service offered by the Debtor Agent
   1351     #[code = "SL13"]
   1352     MaximumNumberOfDirectDebitTransactionsExceeded,
   1353     /// Due to Maximum allowed Direct Debit Transaction amount service offered by the Debtor Agent
   1354     #[code = "SL14"]
   1355     MaximumDirectDebitTransactionAmountExceeded,
   1356     /// Payment is stopped by account holder
   1357     #[code = "SP01"]
   1358     PaymentStopped,
   1359     /// Previously stopped by means of a stop payment advise
   1360     #[code = "SP02"]
   1361     PreviouslyStopped,
   1362     /// 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
   1363     #[code = "SVNR"]
   1364     ServiceNotRendered,
   1365     /// Associated message was received after agreed processing cut-off time
   1366     #[code = "TM01"]
   1367     CutOffTime,
   1368     /// Return following direct debit being removed from tracking process
   1369     #[code = "TRAC"]
   1370     RemovedFromTracking,
   1371     /// Payment is not justified
   1372     #[code = "UPAY"]
   1373     UnduePayment,
   1374 }