libeufin

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

bank_tx_code.rs (15370B)


      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(Description, Str)]
     26 pub enum BankTxDomainCode {
     27     /// Account Management
     28     ACMT,
     29     /// Cash Management
     30     CAMT,
     31     /// Commodities
     32     CMDT,
     33     /// Derivatives
     34     DERV,
     35     /// Foreign Exchange
     36     FORX,
     37     /// Loans, Deposits & Syndications
     38     LDAS,
     39     /// Precious Metal
     40     PMET,
     41     /// Payments
     42     PMNT,
     43     /// Securities
     44     SECU,
     45     /// Trade Services
     46     TRAD,
     47     /// Extended Domain
     48     XTND,
     49 }
     50 
     51 #[derive(Debug, Clone, Copy, PartialEq, Eq, EnumMeta)]
     52 #[enum_meta(Description, Str)]
     53 pub enum BankTxFamilyCode {
     54     /// Account Balancing
     55     ACCB,
     56     /// Additional Miscellaneous Credit Operations
     57     ACOP,
     58     /// Additional Miscellaneous Debit Operations
     59     ADOP,
     60     /// Blocked Transactions
     61     BLOC,
     62     /// Cash Pooling
     63     CAPL,
     64     /// Miscellaneous Securities Operations
     65     CASH,
     66     /// Customer Card Transactions
     67     CCRD,
     68     /// Clean Collection
     69     CLNC,
     70     /// Counter Transactions
     71     CNTR,
     72     /// Custody Collection
     73     COLC,
     74     /// Collateral Management
     75     COLL,
     76     /// Corporate Action
     77     CORP,
     78     /// Consumer Loans
     79     CSLN,
     80     /// Custody
     81     CUST,
     82     /// Documentary Credit
     83     DCCT,
     84     /// Delivery
     85     DLVR,
     86     /// Documentary Collection
     87     DOCC,
     88     /// Drafts
     89     DRFT,
     90     /// Fixed Term Deposits
     91     FTDP,
     92     /// Fixed Term Loans
     93     FTLN,
     94     /// Futures
     95     FTUR,
     96     /// Forwards
     97     FWRD,
     98     /// Guarantees
     99     GUAR,
    100     /// Issued Cash Concentration Transactions
    101     ICCN,
    102     /// Issued Credit Transfers
    103     ICDT,
    104     /// Issued Cheques
    105     ICHQ,
    106     /// Issued Direct Debits
    107     IDDT,
    108     /// Issued Real-Time Credit Transfers
    109     IRCT,
    110     /// Lack
    111     LACK,
    112     /// Lockbox Transactions
    113     LBOX,
    114     /// Listed Derivatives - Futures
    115     LFUT,
    116     /// Stand-By Letter Of Credit
    117     LOCT,
    118     /// Listed Derivatives - Options
    119     LOPT,
    120     /// Miscellaneous Credit Operations
    121     MCOP,
    122     /// Merchant Card Transactions
    123     MCRD,
    124     /// Miscellaneous Debit Operations
    125     MDOP,
    126     /// Mortgage Loans
    127     MGLN,
    128     /// Non Deliverable
    129     NDFX,
    130     /// Non Settled
    131     NSET,
    132     /// Not Available
    133     NTAV,
    134     /// Notice Deposits
    135     NTDP,
    136     /// Notice Loans
    137     NTLN,
    138     /// OTC Derivatives - Bonds
    139     OBND,
    140     /// OTC Derivatives - Credit
    141     OCRD,
    142     /// OTC Derivatives - Equity
    143     OEQT,
    144     /// OTC Derivatives - Interest Rates
    145     OIRT,
    146     /// Opening & Closing
    147     OPCL,
    148     /// Options
    149     OPTN,
    150     /// OTC Derivatives - Structured Exotic Derivatives
    151     OSED,
    152     /// OTC Derivatives – Swaps
    153     OSWP,
    154     /// CSD Blocked transactions
    155     OTHB,
    156     /// Other
    157     OTHR,
    158     /// Received Cash Concentration Transactions
    159     RCCN,
    160     /// Received Credit Transfers
    161     RCDT,
    162     /// Received Cheques
    163     RCHQ,
    164     /// Received Direct Debits
    165     RDDT,
    166     /// Received Real-Time Credit Transfers
    167     RRCT,
    168     /// Trade, Clearing and Settlement
    169     SETT,
    170     /// Spots
    171     SPOT,
    172     /// Swaps
    173     SWAP,
    174     /// Syndications
    175     SYDN,
    176 }
    177 
    178 #[derive(Debug, Clone, Copy, PartialEq, Eq, EnumMeta)]
    179 #[enum_meta(Description, Str)]
    180 pub enum BankTxSubFamilyCode {
    181     /// Account Closing
    182     ACCC,
    183     /// Account Opening
    184     ACCO,
    185     /// Account Transfer
    186     ACCT,
    187     /// ACH Credit
    188     ACDT,
    189     /// ACH Concentration
    190     ACON,
    191     /// ACH Corporate Trade
    192     ACOR,
    193     /// ACH Debit
    194     ADBT,
    195     /// Adjustments (Generic)
    196     ADJT,
    197     /// ACH Pre-Authorised
    198     APAC,
    199     /// ACH Return
    200     ARET,
    201     /// ACH Reversal
    202     AREV,
    203     /// ARP Debit
    204     ARPD,
    205     /// ACH Settlement
    206     ASET,
    207     /// ACH Transaction
    208     ATXN,
    209     /// Automatic Transfer
    210     AUTT,
    211     /// Branch Account Transfer
    212     BACT,
    213     /// SEPA B2B Direct Debit
    214     BBDD,
    215     /// Branch Deposit
    216     BCDP,
    217     /// Bank Cheque
    218     BCHQ,
    219     /// Back Value
    220     BCKV,
    221     /// Branch Withdrawl
    222     BCWD,
    223     /// Bond Forward
    224     BFWD,
    225     /// Repurchase offer/Issuer Bid/Reverse Rights
    226     BIDS,
    227     /// Bank Fees
    228     BKFE,
    229     /// Bonus Issue/Capitalisation Issue
    230     BONU,
    231     /// Internal Book Transfer
    232     BOOK,
    233     /// Put Redemption
    234     BPUT,
    235     /// Brokerage Fee
    236     BROK,
    237     /// Sell Buy Back
    238     BSBC,
    239     /// Buy Sell Back
    240     BSBO,
    241     /// Credit Adjustments (Generic)
    242     CAJT,
    243     /// Capital Gains Distribution
    244     CAPG,
    245     /// Cash Letter
    246     CASH,
    247     /// Certified Customer Cheque
    248     CCCH,
    249     /// Cheque
    250     CCHQ,
    251     /// Cross Currency IRS
    252     CCIR,
    253     /// CCP Cleared Initial Margin
    254     CCPC,
    255     /// CCP Cleared Variation Margin
    256     CCPM,
    257     /// CCP Cleared Segregated Initial Margin
    258     CCSM,
    259     /// Controlled Disbursement
    260     CDIS,
    261     /// Cash Deposit
    262     CDPT,
    263     /// Charge/Fees
    264     CHAR,
    265     /// Check Deposit
    266     CHKD,
    267     /// Charges (Generic)
    268     CHRG,
    269     /// Compensation/Claims
    270     CLAI,
    271     /// Circular Cheque
    272     CLCQ,
    273     /// Corporate Mark Broker Owned
    274     CMBO,
    275     /// Corporate Mark Client Owned
    276     CMCO,
    277     /// Corporate Own Account Transfer
    278     COAT,
    279     /// Commission Excluding Taxes (Generic)
    280     COME,
    281     /// Commission Including Taxes (Generic)
    282     COMI,
    283     /// Commission (Generic)
    284     COMM,
    285     /// Non Taxable Commissions (Generic)
    286     COMT,
    287     /// Conversion
    288     CONV,
    289     /// Cover Transaction
    290     COVE,
    291     /// Cash Penalties
    292     CPEN,
    293     /// Corporate Rebate
    294     CPRB,
    295     /// Cheque Reversal
    296     CQRV,
    297     /// Crossed Cheque
    298     CRCQ,
    299     /// Credit DefaultSwap
    300     CRDS,
    301     /// Cross Trade
    302     CROS,
    303     /// Cross Product
    304     CRPR,
    305     /// Credit Support
    306     CRSP,
    307     /// Credit Line
    308     CRTL,
    309     /// Cash Letter Adjustment
    310     CSHA,
    311     /// Cash In Lieu
    312     CSLI,
    313     /// Cash Withdrawal
    314     CWDL,
    315     /// Debit Adjustments (Generic)
    316     DAJT,
    317     /// Discounted Draft
    318     DDFT,
    319     /// Drawdown
    320     DDWN,
    321     /// Decrease in Value
    322     DECR,
    323     /// Draft Maturity Change
    324     DMCG,
    325     /// Domestic Credit Transfer
    326     DMCT,
    327     /// Deposit
    328     DPST,
    329     /// Drawing
    330     DRAW,
    331     /// Dividend Reinvestment
    332     DRIP,
    333     /// Controlled Disbursement
    334     DSBR,
    335     /// Dutch Auction
    336     DTCH,
    337     /// Cash Dividend
    338     DVCA,
    339     /// Dividend Option
    340     DVOP,
    341     /// Nordic Payment Council Credit Transfer
    342     ENCT,
    343     /// Equity Mark Broker Owned
    344     EQBO,
    345     /// Equity Mark Client Owned
    346     EQCO,
    347     /// Equity Option
    348     EQPT,
    349     /// Equity Swap
    350     EQUS,
    351     /// Exchange Rate Adjustment
    352     ERTA,
    353     /// Lending Income
    354     ERWA,
    355     /// Borrowing Fee
    356     ERWI,
    357     /// SEPA Credit Transfer
    358     ESCT,
    359     /// SEPA Core Direct Debit
    360     ESDD,
    361     /// Exchange
    362     EXOF,
    363     /// Exotic Option
    364     EXPT,
    365     /// Call On Intermediate Securities
    366     EXRI,
    367     /// Exchange Traded Derivatives
    368     EXTD,
    369     /// Warrant Exercise/Warrant Conversion
    370     EXWA,
    371     /// Foreign Currencies Deposit
    372     FCDP,
    373     /// Factor Update
    374     FCTA,
    375     /// Foreign Currencies Withdrawal
    376     FCWD,
    377     /// Fees (Generic)
    378     FEES,
    379     /// Financial Institution Credit Transfer
    380     FICT,
    381     /// Financial Institution Direct Debit Payment
    382     FIDD,
    383     /// Financial Institution Own Account Transfer
    384     FIOA,
    385     /// Fixed Income
    386     FIXI,
    387     /// Float Adjustment
    388     FLTA,
    389     /// Freeze Of Funds
    390     FRZF,
    391     /// Futures Commission
    392     FUCO,
    393     /// Future Variation Margin
    394     FUTU,
    395     /// Forwards Broker Owned Collateral
    396     FWBC,
    397     /// Forwards Client Owned Collateral
    398     FWCC,
    399     /// MFA Segregated Broker Cash Collateral
    400     FWSB,
    401     /// MFA Segregated Client Cash Collateral
    402     FWSC,
    403     /// Withdrawal/Distribution
    404     GEN1,
    405     /// Deposit/Contribution
    406     GEN2,
    407     /// Invoice Accepted with Differed Due Date
    408     IADD,
    409     /// Intra Company Transfer
    410     ICCT,
    411     /// Fixed Deposit Interest Amount
    412     INFD,
    413     /// Inspeci/Share Exchange
    414     INSP,
    415     /// Interests (Generic)
    416     INTR,
    417     /// Depositary Receipt Issue
    418     ISSU,
    419     /// Credit Adjustment
    420     LBCA,
    421     /// Debit
    422     LBDB,
    423     /// Deposit
    424     LBDP,
    425     /// Liquidation Dividend / Liquidation Payment
    426     LIQU,
    427     /// Margin Payments
    428     MARG,
    429     /// Mortgage Back Segregated Broker Cash Collateral
    430     MBSB,
    431     /// Mortgage Back Segregated Client Cash Collateral
    432     MBSC,
    433     /// Full Call / Early Redemption
    434     MCAL,
    435     /// Margin Client Owned Cash Collateral
    436     MGCC,
    437     /// Initial Futures Margin Segregated Client Cash Collateral
    438     MGSC,
    439     /// Mixed Deposit
    440     MIXD,
    441     /// Management Fees
    442     MNFE,
    443     /// Merger
    444     MRGR,
    445     /// Miscellaneous Deposit
    446     MSCD,
    447     /// Netting
    448     NETT,
    449     /// Non Presented Circular Cheques
    450     NPCC,
    451     /// Non Syndicated
    452     NSYN,
    453     /// Not Available
    454     NTAV,
    455     /// New issue distribution
    456     NWID,
    457     /// Client owned OCC pledged collateral
    458     OCCC,
    459     /// Overdraft
    460     ODFT,
    461     /// Odd Lot Sale/Purchase
    462     ODLT,
    463     /// One-Off Direct Debit
    464     OODD,
    465     /// Option Broker Owned Collateral
    466     OPBC,
    467     /// Option Client Owned Collateral
    468     OPCC,
    469     /// Open Cheque
    470     OPCQ,
    471     /// OTC Option Segregated Broker Cash Collateral
    472     OPSB,
    473     /// OTC Option Segregated Client Cash Collateral
    474     OPSC,
    475     /// FX Option
    476     OPTN,
    477     /// Order Cheque
    478     ORCQ,
    479     /// OTC CCP
    480     OTCC,
    481     /// OTC Derivatives
    482     OTCD,
    483     /// OTC
    484     OTCG,
    485     /// OTC Non-CCP
    486     OTCN,
    487     /// Other
    488     OTHR,
    489     /// Overdraft Charge
    490     OVCH,
    491     /// External Account Transfer
    492     OWNE,
    493     /// Internal Account Transfer
    494     OWNI,
    495     /// Pre-Authorised Direct Debit
    496     PADD,
    497     /// Pair-Off
    498     PAIR,
    499     /// Partial Redemption with reduction of nominal value
    500     PCAL,
    501     /// Placement
    502     PLAC,
    503     /// Direct Debit
    504     PMDD,
    505     /// Portfolio Move
    506     PORT,
    507     /// Credit Card Payment
    508     POSC,
    509     /// Point-of-Sale (POS) Payment  - Debit Card
    510     POSD,
    511     /// Point-of-Sale (POS) Payment
    512     POSP,
    513     /// Principal Payment
    514     PPAY,
    515     /// Priority Credit Transfer
    516     PRCT,
    517     /// Reversal Due To Payment Reversal
    518     PRDD,
    519     /// Partial Redemption Without Reduction of Nominal Value
    520     PRED,
    521     /// Interest Payment with Principles
    522     PRII,
    523     /// Interest Payment with Principles
    524     PRIN,
    525     /// Priority Issue
    526     PRIO,
    527     /// Principal Pay-Down/Pay-Up
    528     PRUD,
    529     /// Posting Error
    530     PSTE,
    531     /// Reversal Due To Payment Cancellation Request
    532     RCDD,
    533     /// Reversal due to a Cover Transaction Return
    534     RCOV,
    535     /// Redemption Asset Allocation
    536     REAA,
    537     /// Redemption
    538     REDM,
    539     /// Repo
    540     REPU,
    541     /// Futures Residual Amount
    542     RESI,
    543     /// Rights Issue/Subscription Rights/Rights Offer
    544     RHTS,
    545     /// Reimbursement (Generic)
    546     RIMB,
    547     /// Renewal
    548     RNEW,
    549     /// Bi-lateral repo broker owned collateral
    550     RPBC,
    551     /// Repo client owned collateral
    552     RPCC,
    553     /// Reversal Due To Payment Cancellation Request
    554     RPCR,
    555     /// Repayment
    556     RPMT,
    557     /// Bi-lateral Repo Segregated Broker Cash Collateral
    558     RPSB,
    559     /// Bi-lateral Repo Segregated Client Cash Collateral
    560     RPSC,
    561     /// Reversal Due To Payment Return
    562     RRTN,
    563     /// Reverse Repo
    564     RVPO,
    565     /// Redemption Withdrawing Plan
    566     RWPL,
    567     /// Settlement Against Bank Guarantee
    568     SABG,
    569     /// Payroll/Salary Payment
    570     SALA,
    571     /// Securities Buy Sell Sell Buy Back
    572     SBSC,
    573     /// Single Currency IRS Exotic
    574     SCIE,
    575     /// Single Currency IRS
    576     SCIR,
    577     /// Securities Cross Products
    578     SCRP,
    579     /// Same Day Value Credit Transfer
    580     SDVA,
    581     /// Securities Borrowing
    582     SECB,
    583     /// Securities Lending
    584     SECL,
    585     /// Broker owned collateral Short Sale
    586     SHBC,
    587     /// Client owned collateral Short Sale
    588     SHCC,
    589     /// Equity Premium Reserve
    590     SHPR,
    591     /// Short Sell
    592     SHSL,
    593     /// Lending Broker Owned Cash Collateral
    594     SLBC,
    595     /// Lending Client Owned Cash Collateral
    596     SLCC,
    597     /// Securities Lending And Borrowing
    598     SLEB,
    599     /// SecuredLoan
    600     SLOA,
    601     /// Smart-Card Payment
    602     SMCD,
    603     /// Smart-Card Payment
    604     SMRT,
    605     /// Settlement Of Sight Export Document
    606     SOSE,
    607     /// Settlement Of Sight Import Document
    608     SOSI,
    609     /// Subscription Savings Plan
    610     SSPL,
    611     /// Settlement After Collection
    612     STAC,
    613     /// Stamp Duty
    614     STAM,
    615     /// Standing Order
    616     STDO,
    617     /// Settlement
    618     STLM,
    619     /// Settlement Under Reserve
    620     STLR,
    621     /// Bill of Exchange Settlement on Demand
    622     STOD,
    623     /// Subscription Asset Allocation
    624     SUAA,
    625     /// Subscription
    626     SUBS,
    627     /// Swap Payment
    628     SWAP,
    629     /// Swap Broker Owned Collateral
    630     SWBC,
    631     /// Swap Client Owned Cash Collateral
    632     SWCC,
    633     /// Sweep
    634     SWEP,
    635     /// Final Payment
    636     SWFP,
    637     /// Switch
    638     SWIC,
    639     /// Partial Payment
    640     SWPP,
    641     /// Swaption
    642     SWPT,
    643     /// Reset Payment
    644     SWRS,
    645     /// ISDA/CSA Segregated Broker Cash Collateral
    646     SWSB,
    647     /// ISDA/CSA Segregated Client Cash Collateral
    648     SWSC,
    649     /// Upfront Payment
    650     SWUF,
    651     /// Syndicated
    652     SYND,
    653     /// Taxes (Generic)
    654     TAXE,
    655     /// TBA Closing
    656     TBAC,
    657     /// To Be Announced
    658     TBAS,
    659     /// TBA Broker owned cash collateral
    660     TBBC,
    661     /// TBA Client owned cash collateral
    662     TBCC,
    663     /// Travellers Cheques Deposit
    664     TCDP,
    665     /// Travellers Cheques Withdrawal
    666     TCWD,
    667     /// Tender
    668     TEND,
    669     /// Topping
    670     TOPG,
    671     /// Transfer Out
    672     TOUT,
    673     /// Trade
    674     TRAD,
    675     /// Treasury Cross Product
    676     TRCP,
    677     /// Tax Reclaim
    678     TREC,
    679     /// Transaction Fees
    680     TRFE,
    681     /// Transfer In
    682     TRIN,
    683     /// Triparty Repo
    684     TRPO,
    685     /// Triparty Reverse Repo
    686     TRVO,
    687     /// Treasury Tax And Loan Service
    688     TTLS,
    689     /// Turnaround
    690     TURN,
    691     /// Dishonoured/Unpaid Draft
    692     UDFT,
    693     /// Underwriting Commission
    694     UNCO,
    695     /// Unpaid Cheque
    696     UPCQ,
    697     /// Unpaid Card Transaction
    698     UPCT,
    699     /// Reversal Due To Return/Unpaid Direct Debit
    700     UPDD,
    701     /// Cheque Under Reserve
    702     URCQ,
    703     /// Direct Debit Under Reserve
    704     URDD,
    705     /// Value Date
    706     VALD,
    707     /// Credit Transfer With Agreed Commercial Information
    708     VCOM,
    709     /// Withholding Tax
    710     WITH,
    711     /// Cross-Border Credit Card Payment
    712     XBCP,
    713     /// Foreign Cheque
    714     XBCQ,
    715     /// Cross-Border Credit Transfer
    716     XBCT,
    717     /// Cross-Border Cash Withdrawal
    718     XBCW,
    719     /// Cross-Border Direct Debit
    720     XBDD,
    721     /// Cross-Border
    722     XBRD,
    723     /// Cross-Border Payroll/Salary Payment
    724     XBSA,
    725     /// Cross-Border Standing Order
    726     XBST,
    727     /// Exchange Traded CCP
    728     XCHC,
    729     /// Exchange Traded
    730     XCHG,
    731     /// Exchange Traded Non-CCP
    732     XCHN,
    733     /// Cross-Border Intra Company Transfer
    734     XICT,
    735     /// Unpaid Foreign Cheque
    736     XPCQ,
    737     /// Foreign Cheque Under Reserve
    738     XRCQ,
    739     /// Cross Border Reversal Due to Payment Return
    740     XRTN,
    741     /// YTD Adjustment
    742     YTDA,
    743     /// Zero Balancing
    744     ZABA,
    745 }