zugferd_code_lists/zugferd_2_3_3/
text.rs

1#![allow(non_camel_case_types)]
2
3#[cfg_attr(feature = "specta", derive(specta::Type))]
4#[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))]
5#[derive(Debug, PartialEq, Eq, PartialOrd, Ord, Clone, Copy, Hash)]
6pub enum Text {
7    /// Goods item description
8    GoodsItemDescription,
9    /// Payment term
10    PaymentTerm,
11    /// Dangerous goods additional information
12    DangerousGoodsAdditionalInformation,
13    /// Dangerous goods technical name
14    DangerousGoodsTechnicalName,
15    /// Acknowledgement description
16    AcknowledgementDescription,
17    /// Rate additional information
18    RateAdditionalInformation,
19    /// Party instructions
20    PartyInstructions,
21    /// General information
22    GeneralInformation,
23    /// Additional conditions of sale/purchase
24    AdditionalConditionsSalePurchase,
25    /// Price conditions
26    PriceConditions,
27    /// Goods dimensions in characters
28    GoodsDimensionsInCharacters,
29    /// Equipment re-usage restrictions
30    EquipmentReUsageRestrictions,
31    /// Handling restriction
32    HandlingRestriction,
33    /// Error description (free text)
34    ErrorDescriptionFreeText,
35    /// Response (free text)
36    ResponseFreeText,
37    /// Package content's description
38    PackageContentsDescription,
39    /// Terms of delivery
40    TermsDelivery,
41    /// Bill of lading remarks
42    BillLadingRemarks,
43    /// Mode of settlement information
44    ModeSettlementInformation,
45    /// Consignment invoice information
46    ConsignmentInvoiceInformation,
47    /// Clearance invoice information
48    ClearanceInvoiceInformation,
49    /// Letter of credit information
50    LetterCreditInformation,
51    /// License information
52    LicenseInformation,
53    /// Certification statements
54    CertificationStatements,
55    /// Additional export information
56    AdditionalExportInformation,
57    /// Tariff statements
58    TariffStatements,
59    /// Medical history
60    MedicalHistory,
61    /// Conditions of sale or purchase
62    ConditionsSaleOrPurchase,
63    /// Contract document type
64    ContractDocumentType,
65    /// Additional terms and/or conditions (documentary credit)
66    AdditionalTermsAndOrConditionsDocumentaryCredit,
67    /// Instructions or information about standby documentary
68    InstructionsOrInformationAboutStandbyDocumentary,
69    /// Instructions or information about partial shipment(s)
70    InstructionsOrInformationAboutPartialShipmentS,
71    /// Instructions or information about transhipment(s)
72    InstructionsOrInformationAboutTranshipmentS,
73    /// Additional handling instructions documentary credit
74    AdditionalHandlingInstructionsDocumentaryCredit,
75    /// Domestic routing information
76    DomesticRoutingInformation,
77    /// Chargeable category of equipment
78    ChargeableCategoryEquipment,
79    /// Government information
80    GovernmentInformation,
81    /// Onward routing information
82    OnwardRoutingInformation,
83    /// Accounting information
84    AccountingInformation,
85    /// Discrepancy information
86    DiscrepancyInformation,
87    /// Confirmation instructions
88    ConfirmationInstructions,
89    /// Method of issuance
90    MethodIssuance,
91    /// Documents delivery instructions
92    DocumentsDeliveryInstructions,
93    /// Additional conditions
94    AdditionalConditions,
95    /// Information/instructions about additional amounts covered
96    InformationInstructionsAboutAdditionalAmountsCovered,
97    /// Deferred payment termed additional
98    DeferredPaymentTermedAdditional,
99    /// Acceptance terms additional
100    AcceptanceTermsAdditional,
101    /// Negotiation terms additional
102    NegotiationTermsAdditional,
103    /// Document name and documentary requirements
104    DocumentNameAndDocumentaryRequirements,
105    /// Instructions/information about revolving documentary credit
106    InstructionsInformationAboutRevolvingDocumentaryCredit,
107    /// Documentary requirements
108    DocumentaryRequirements,
109    /// Additional information
110    AdditionalInformation,
111    /// Factor assignment clause
112    FactorAssignmentClause,
113    /// Reason
114    Reason,
115    /// Dispute
116    Dispute,
117    /// Additional attribute information
118    AdditionalAttributeInformation,
119    /// Absence declaration
120    AbsenceDeclaration,
121    /// Aggregation statement
122    AggregationStatement,
123    /// Compilation statement
124    CompilationStatement,
125    /// Definitional exception
126    DefinitionalException,
127    /// Privacy statement
128    PrivacyStatement,
129    /// Quality statement
130    QualityStatement,
131    /// Statistical description
132    StatisticalDescription,
133    /// Statistical definition
134    StatisticalDefinition,
135    /// Statistical name
136    StatisticalName,
137    /// Statistical title
138    StatisticalTitle,
139    /// Off-dimension information
140    OffDimensionInformation,
141    /// Unexpected stops information
142    UnexpectedStopsInformation,
143    /// Principles
144    Principles,
145    /// Terms and definition
146    TermsAndDefinition,
147    /// Segment name
148    SegmentName,
149    /// Simple data element name
150    SimpleDataElementName,
151    /// Scope
152    Scope,
153    /// Message type name
154    MessageTypeName,
155    /// Introduction
156    Introduction,
157    /// Glossary
158    Glossary,
159    /// Functional definition
160    FunctionalDefinition,
161    /// Examples
162    Examples,
163    /// Cover page
164    CoverPage,
165    /// Dependency (syntax) notes
166    DependencySyntaxNotes,
167    /// Code value name
168    CodeValueName,
169    /// Code list name
170    CodeListName,
171    /// Clarification of usage
172    ClarificationUsage,
173    /// Composite data element name
174    CompositeDataElementName,
175    /// Field of application
176    FieldApplication,
177    /// Type of assets and liabilities
178    TypeAssetsAndLiabilities,
179    /// Promotion information
180    PromotionInformation,
181    /// Meter condition
182    MeterCondition,
183    /// Meter reading information
184    MeterReadingInformation,
185    /// Type of transaction reason
186    TypeTransactionReason,
187    /// Type of survey question
188    TypeSurveyQuestion,
189    /// Carrier's agent counter information
190    CarriersAgentCounterInformation,
191    /// Description of work item on equipment
192    DescriptionWorkItemOnEquipment,
193    /// Message definition
194    MessageDefinition,
195    /// Booked item information
196    BookedItemInformation,
197    /// Source of document
198    SourceDocument,
199    /// Note
200    Note,
201    /// Fixed part of segment clarification text
202    FixedPartSegmentClarificationText,
203    /// Characteristics of goods
204    CharacteristicsGoods,
205    /// Additional discharge instructions
206    AdditionalDischargeInstructions,
207    /// Container stripping instructions
208    ContainerStrippingInstructions,
209    /// CSC (Container Safety Convention) plate information
210    CscContainerSafetyConventionPlateInformation,
211    /// Cargo remarks
212    CargoRemarks,
213    /// Temperature control instructions
214    TemperatureControlInstructions,
215    /// Text refers to expected data
216    TextRefersToExpectedData,
217    /// Text refers to received data
218    TextRefersToReceivedData,
219    /// Section clarification text
220    SectionClarificationText,
221    /// Information to the beneficiary
222    InformationToBeneficiary,
223    /// Information to the applicant
224    InformationToApplicant,
225    /// Instructions to the beneficiary
226    InstructionsToBeneficiary,
227    /// Instructions to the applicant
228    InstructionsToApplicant,
229    /// Controlled atmosphere
230    ControlledAtmosphere,
231    /// Take off annotation
232    TakeOffAnnotation,
233    /// Price variation narrative
234    PriceVariationNarrative,
235    /// Documentary credit amendment instructions
236    DocumentaryCreditAmendmentInstructions,
237    /// Standard method narrative
238    StandardMethodNarrative,
239    /// Project narrative
240    ProjectNarrative,
241    /// Radioactive goods, additional information
242    RadioactiveGoodsAdditionalInformation,
243    /// Bank-to-bank information
244    BankToBankInformation,
245    /// Reimbursement instructions
246    ReimbursementInstructions,
247    /// Reason for amending a message
248    ReasonForAmendingAMessage,
249    /// Instructions to the paying and/or accepting and/or
250    InstructionsToPayingAndOrAcceptingAndOr,
251    /// Interest instructions
252    InterestInstructions,
253    /// Agent commission
254    AgentCommission,
255    /// Remitting bank instructions
256    RemittingBankInstructions,
257    /// Instructions to the collecting bank
258    InstructionsToCollectingBank,
259    /// Collection amount instructions
260    CollectionAmountInstructions,
261    /// Internal auditing information
262    InternalAuditingInformation,
263    /// Constraint
264    Constraint,
265    /// Comment
266    Comment,
267    /// Semantic note
268    SemanticNote,
269    /// Help text
270    HelpText,
271    /// Legend
272    Legend,
273    /// Batch code structure
274    BatchCodeStructure,
275    /// Product application
276    ProductApplication,
277    /// Customer complaint
278    CustomerComplaint,
279    /// Probable cause of fault
280    ProbableCauseFault,
281    /// Defect description
282    DefectDescription,
283    /// Repair description
284    RepairDescription,
285    /// Review comments
286    ReviewComments,
287    /// Title
288    Title,
289    /// Description of amount
290    DescriptionAmount,
291    /// Responsibilities
292    Responsibilities,
293    /// Supplier
294    Supplier,
295    /// Purchase region
296    PurchaseRegion,
297    /// Affiliation
298    Affiliation,
299    /// Borrower
300    Borrower,
301    /// Line of business
302    LineBusiness,
303    /// Financial institution
304    FinancialInstitution,
305    /// Business founder
306    BusinessFounder,
307    /// Business history
308    BusinessHistory,
309    /// Banking arrangements
310    BankingArrangements,
311    /// Business origin
312    BusinessOrigin,
313    /// Brand names' description
314    BrandNamesDescription,
315    /// Business financing details
316    BusinessFinancingDetails,
317    /// Competition
318    Competition,
319    /// Construction process details
320    ConstructionProcessDetails,
321    /// Construction specialty
322    ConstructionSpecialty,
323    /// Contract information
324    ContractInformation,
325    /// Corporate filing
326    CorporateFiling,
327    /// Customer information
328    CustomerInformation,
329    /// Copyright notice
330    CopyrightNotice,
331    /// Contingent debt
332    ContingentDebt,
333    /// Conviction details
334    ConvictionDetails,
335    /// Equipment
336    Equipment,
337    /// Workforce description
338    WorkforceDescription,
339    /// Exemption
340    Exemption,
341    /// Future plans
342    FuturePlans,
343    /// Interviewee conversation information
344    IntervieweeConversationInformation,
345    /// Intangible asset
346    IntangibleAsset,
347    /// Inventory
348    Inventory,
349    /// Investment
350    Investment,
351    /// Intercompany relations information
352    IntercompanyRelationsInformation,
353    /// Joint venture
354    JointVenture,
355    /// Loan
356    Loan,
357    /// Long term debt
358    LongTermDebt,
359    /// Location
360    Location,
361    /// Current legal structure
362    CurrentLegalStructure,
363    /// Marital contract
364    MaritalContract,
365    /// Marketing activities
366    MarketingActivities,
367    /// Merger
368    Merger,
369    /// Marketable securities
370    MarketableSecurities,
371    /// Business debt
372    BusinessDebt,
373    /// Original legal structure
374    OriginalLegalStructure,
375    /// Employee sharing arrangements
376    EmployeeSharingArrangements,
377    /// Organization details
378    OrganizationDetails,
379    /// Public record details
380    PublicRecordDetails,
381    /// Price range
382    PriceRange,
383    /// Qualifications
384    Qualifications,
385    /// Registered activity
386    RegisteredActivity,
387    /// Criminal sentence
388    CriminalSentence,
389    /// Sales method
390    SalesMethod,
391    /// Educational institution information
392    EducationalInstitutionInformation,
393    /// Status details
394    StatusDetails,
395    /// Sales
396    Sales,
397    /// Spouse information
398    SpouseInformation,
399    /// Educational degree information
400    EducationalDegreeInformation,
401    /// Shareholding information
402    ShareholdingInformation,
403    /// Sales territory
404    SalesTerritory,
405    /// Accountant's comments
406    AccountantsComments,
407    /// Exemption law location
408    ExemptionLawLocation,
409    /// Share classifications
410    ShareClassifications,
411    /// Forecast
412    Forecast,
413    /// Event location
414    EventLocation,
415    /// Facility occupancy
416    FacilityOccupancy,
417    /// Import and export details
418    ImportAndExportDetails,
419    /// Additional facility information
420    AdditionalFacilityInformation,
421    /// Inventory value
422    InventoryValue,
423    /// Education
424    Education,
425    /// Event
426    Event,
427    /// Agent
428    Agent,
429    /// Domestically agreed financial statement details
430    DomesticallyAgreedFinancialStatementDetails,
431    /// Other current asset description
432    OtherCurrentAssetDescription,
433    /// Other current liability description
434    OtherCurrentLiabilityDescription,
435    /// Former business activity
436    FormerBusinessActivity,
437    /// Trade name use
438    TradeNameUse,
439    /// Signing authority
440    SigningAuthority,
441    /// Guarantee
442    Guarantee,
443    /// Holding company operation
444    HoldingCompanyOperation,
445    /// Consignment routing
446    ConsignmentRouting,
447    /// Letter of protest
448    LetterProtest,
449    /// Question
450    Question,
451    /// Party information
452    PartyInformation,
453    /// Area boundaries description
454    AreaBoundariesDescription,
455    /// Advertisement information
456    AdvertisementInformation,
457    /// Financial statement details
458    FinancialStatementDetails,
459    /// Access instructions
460    AccessInstructions,
461    /// Liquidity
462    Liquidity,
463    /// Credit line
464    CreditLine,
465    /// Warranty terms
466    WarrantyTerms,
467    /// Division description
468    DivisionDescription,
469    /// Reporting instruction
470    ReportingInstruction,
471    /// Examination result
472    ExaminationResult,
473    /// Laboratory result
474    LaboratoryResult,
475    /// Allowance/charge information
476    AllowanceChargeInformation,
477    /// X-ray result
478    XRayResult,
479    /// Pathology result
480    PathologyResult,
481    /// Intervention description
482    InterventionDescription,
483    /// Summary of admittance
484    SummaryAdmittance,
485    /// Medical treatment course detail
486    MedicalTreatmentCourseDetail,
487    /// Prognosis
488    Prognosis,
489    /// Instruction to patient
490    InstructionToPatient,
491    /// Instruction to physician
492    InstructionToPhysician,
493    /// All documents
494    AllDocuments,
495    /// Medicine treatment
496    MedicineTreatment,
497    /// Medicine dosage and administration
498    MedicineDosageAndAdministration,
499    /// Availability of patient
500    AvailabilityPatient,
501    /// Reason for service request
502    ReasonForServiceRequest,
503    /// Purpose of service
504    PurposeService,
505    /// Arrival conditions
506    ArrivalConditions,
507    /// Service requester's comment
508    ServiceRequestersComment,
509    /// Authentication
510    Authentication,
511    /// Requested location description
512    RequestedLocationDescription,
513    /// Medicine administration condition
514    MedicineAdministrationCondition,
515    /// Patient information
516    PatientInformation,
517    /// Precautionary measure
518    PrecautionaryMeasure,
519    /// Service characteristic
520    ServiceCharacteristic,
521    /// Planned event comment
522    PlannedEventComment,
523    /// Expected delay comment
524    ExpectedDelayComment,
525    /// Transport requirements comment
526    TransportRequirementsComment,
527    /// Temporary approval condition
528    TemporaryApprovalCondition,
529    /// Customs Valuation Information
530    CustomsValuationInformation,
531    /// Value Added Tax (VAT) margin scheme
532    ValueAddedTaxVatMarginScheme,
533    /// Maritime Declaration of Health
534    MaritimeDeclarationHealth,
535    /// Passenger baggage information
536    PassengerBaggageInformation,
537    /// Maritime Declaration of Health
538    MaritimeDeclarationHealth_Dup,
539    /// Additional product information address
540    AdditionalProductInformationAddress,
541    /// Information to be printed on despatch advice
542    InformationToBePrintedOnDespatchAdvice,
543    /// Missing goods remarks
544    MissingGoodsRemarks,
545    /// Non-acceptance information
546    NonAcceptanceInformation,
547    /// Returns information
548    ReturnsInformation,
549    /// Sub-line item information
550    SubLineItemInformation,
551    /// Test information
552    TestInformation,
553    /// External link
554    ExternalLink,
555    /// VAT exemption reason
556    VatExemptionReason,
557    /// Processing Instructions
558    ProcessingInstructions,
559    /// Relay Instructions
560    RelayInstructions,
561    /// SIMA applicable
562    SimaApplicable,
563    /// Appeals program code
564    AppealsProgramCode,
565    /// SIMA subject
566    SimaSubject,
567    /// Surtax applicable
568    SurtaxApplicable,
569    /// SIMA security bond
570    SimaSecurityBond,
571    /// Surtax subject
572    SurtaxSubject,
573    /// Safeguard applicable
574    SafeguardApplicable,
575    /// Safeguard applicable
576    SafeguardApplicable_Dup,
577    /// Safeguard subject
578    SafeguardSubject,
579    /// Transport contract document clause
580    TransportContractDocumentClause,
581    /// Instruction to prepare the patient
582    InstructionToPreparePatient,
583    /// Medicine treatment comment
584    MedicineTreatmentComment,
585    /// Examination result comment
586    ExaminationResultComment,
587    /// Service request comment
588    ServiceRequestComment,
589    /// Prescription reason
590    PrescriptionReason,
591    /// Prescription comment
592    PrescriptionComment,
593    /// Clinical investigation comment
594    ClinicalInvestigationComment,
595    /// Medicinal specification comment
596    MedicinalSpecificationComment,
597    /// Economic contribution comment
598    EconomicContributionComment,
599    /// Status of a plan
600    StatusAPlan,
601    /// Random sample test information
602    RandomSampleTestInformation,
603    /// Period of time
604    PeriodTime,
605    /// Legislation
606    Legislation,
607    /// Security measures requested
608    SecurityMeasuresRequested,
609    /// Transport contract document remark
610    TransportContractDocumentRemark,
611    /// Previous port of call security information
612    PreviousPortCallSecurityInformation,
613    /// Security information
614    SecurityInformation,
615    /// Waste information
616    WasteInformation,
617    /// B2C marketing information, short description
618    B2cMarketingInformationShortDescription,
619    /// B2B marketing information, long description
620    B2bMarketingInformationLongDescription,
621    /// B2C marketing information, long description
622    B2cMarketingInformationLongDescription,
623    /// Product ingredients
624    ProductIngredients,
625    /// Location short name
626    LocationShortName,
627    /// Packaging material information
628    PackagingMaterialInformation,
629    /// Filler material information
630    FillerMaterialInformation,
631    /// Ship-to-ship activity information
632    ShipToShipActivityInformation,
633    /// Package material description
634    PackageMaterialDescription,
635    /// Consumer level package marking
636    ConsumerLevelPackageMarking,
637    /// SIMA measure in force
638    SimaMeasureInForce,
639    /// Pre-CARM
640    PreCarm,
641    /// SIMA measure type
642    SimaMeasureType,
643    /// Customs clearance instructions
644    CustomsClearanceInstructions,
645    /// Sub Type Code
646    SubTypeCode,
647    /// SIMA information
648    SimaInformation,
649    /// Time limit end
650    TimeLimitEnd,
651    /// Time limit start
652    TimeLimitStart,
653    /// Warehouse time limit
654    WarehouseTimeLimit,
655    /// Value for duty information
656    ValueForDutyInformation,
657    /// Customs clearance instructions export
658    CustomsClearanceInstructionsExport,
659    /// Change information
660    ChangeInformation,
661    /// Customs clearance instruction import
662    CustomsClearanceInstructionImport,
663    /// Clearance place requested
664    ClearancePlaceRequested,
665    /// Loading remarks
666    LoadingRemarks,
667    /// Order information
668    OrderInformation,
669    /// Customer remarks
670    CustomerRemarks,
671    /// Customs declaration information
672    CustomsDeclarationInformation,
673    /// Damage remarks
674    DamageRemarks,
675    /// Document issuer declaration
676    DocumentIssuerDeclaration,
677    /// Delivery information
678    DeliveryInformation,
679    /// Delivery instructions
680    DeliveryInstructions,
681    /// Documentation instructions
682    DocumentationInstructions,
683    /// Duty declaration
684    DutyDeclaration,
685    /// Effective used routing
686    EffectiveUsedRouting,
687    /// First block to be printed on the transport contract
688    FirstBlockToBePrintedOnTransportContract,
689    /// Government bill of lading information
690    GovernmentBillLadingInformation,
691    /// Entire transaction set
692    EntireTransactionSet,
693    /// Further information concerning GGVS par. 7
694    FurtherInformationConcerningGgvsPar7,
695    /// Consignment handling instruction
696    ConsignmentHandlingInstruction,
697    /// Hazard information
698    HazardInformation,
699    /// Consignment information for consignee
700    ConsignmentInformationForConsignee,
701    /// Insurance instructions
702    InsuranceInstructions,
703    /// Invoice mailing instructions
704    InvoiceMailingInstructions,
705    /// Commercial invoice item description
706    CommercialInvoiceItemDescription,
707    /// Insurance information
708    InsuranceInformation,
709    /// Invoice instruction
710    InvoiceInstruction,
711    /// Information for railway purpose
712    InformationForRailwayPurpose,
713    /// Inland transport details
714    InlandTransportDetails,
715    /// Testing instructions
716    TestingInstructions,
717    /// Location Alias
718    LocationAlias,
719    /// Line item
720    LineItem,
721    /// Loading instruction
722    LoadingInstruction,
723    /// Miscellaneous charge order
724    MiscellaneousChargeOrder,
725    /// Maritime Declaration of Health
726    MaritimeDeclarationHealth_Dup_Dup,
727    /// Additional marks/numbers information
728    AdditionalMarksNumbersInformation,
729    /// Order instruction
730    OrderInstruction,
731    /// Other service information
732    OtherServiceInformation,
733    /// Packing/marking information
734    PackingMarkingInformation,
735    /// Payment instructions information
736    PaymentInstructionsInformation,
737    /// Payables information
738    PayablesInformation,
739    /// Packaging information
740    PackagingInformation,
741    /// Packaging terms information
742    PackagingTermsInformation,
743    /// Payment detail/remittance information
744    PaymentDetailRemittanceInformation,
745    /// Payment information
746    PaymentInformation,
747    /// Product information
748    ProductInformation,
749    /// Price calculation formula
750    PriceCalculationFormula,
751    /// Priority information
752    PriorityInformation,
753    /// Purchasing information
754    PurchasingInformation,
755    /// Quarantine instructions
756    QuarantineInstructions,
757    /// Quality demands/requirements
758    QualityDemandsRequirements,
759    /// Quotation instruction/information
760    QuotationInstructionInformation,
761    /// Risk and handling information
762    RiskAndHandlingInformation,
763    /// Regulatory information
764    RegulatoryInformation,
765    /// Return to origin information
766    ReturnToOriginInformation,
767    /// Receivables
768    Receivables,
769    /// Consignment route
770    ConsignmentRoute,
771    /// Safety information
772    SafetyInformation,
773    /// Consignment documentary instruction
774    ConsignmentDocumentaryInstruction,
775    /// Special instructions
776    SpecialInstructions,
777    /// Ship line requested
778    ShipLineRequested,
779    /// Special permission for transport, generally
780    SpecialPermissionForTransportGenerally,
781    /// Special permission concerning the goods to be transported
782    SpecialPermissionConcerningGoodsToBeTransported,
783    /// Special handling
784    SpecialHandling,
785    /// Special permission concerning package
786    SpecialPermissionConcerningPackage,
787    /// Special permission concerning transport means
788    SpecialPermissionConcerningTransportMeans,
789    /// Subsidiary risk number (IATA/DGR)
790    SubsidiaryRiskNumberIataDgr,
791    /// Special service request
792    SpecialServiceRequest,
793    /// Supplier remarks
794    SupplierRemarks,
795    /// Consignment tariff
796    ConsignmentTariff,
797    /// Consignment transport
798    ConsignmentTransport,
799    /// Transportation information
800    TransportationInformation,
801    /// Requested tariff
802    RequestedTariff,
803    /// Tax declaration
804    TaxDeclaration,
805    /// Warehouse instruction/information
806    WarehouseInstructionInformation,
807    /// Mutually defined
808    MutuallyDefined,
809}
810
811impl std::fmt::Display for Text {
812    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
813        write!(f, "{}", <Self as crate::Code>::code(*self))
814    }
815}
816
817impl std::str::FromStr for Text {
818    type Err = crate::ParseError<Self>;
819    fn from_str(s: &str) -> Result<Self, Self::Err> {
820        <Self as crate::FromCode>::from_code(s)
821            .ok_or_else(|| crate::ParseError::<Self>::new(s.to_owned()))
822    }
823}
824
825impl crate::Code for Text {
826    fn code(self) -> &'static str {
827        match self {
828            Text::GoodsItemDescription => "AAA",
829            Text::PaymentTerm => "AAB",
830            Text::DangerousGoodsAdditionalInformation => "AAC",
831            Text::DangerousGoodsTechnicalName => "AAD",
832            Text::AcknowledgementDescription => "AAE",
833            Text::RateAdditionalInformation => "AAF",
834            Text::PartyInstructions => "AAG",
835            Text::GeneralInformation => "AAI",
836            Text::AdditionalConditionsSalePurchase => "AAJ",
837            Text::PriceConditions => "AAK",
838            Text::GoodsDimensionsInCharacters => "AAL",
839            Text::EquipmentReUsageRestrictions => "AAM",
840            Text::HandlingRestriction => "AAN",
841            Text::ErrorDescriptionFreeText => "AAO",
842            Text::ResponseFreeText => "AAP",
843            Text::PackageContentsDescription => "AAQ",
844            Text::TermsDelivery => "AAR",
845            Text::BillLadingRemarks => "AAS",
846            Text::ModeSettlementInformation => "AAT",
847            Text::ConsignmentInvoiceInformation => "AAU",
848            Text::ClearanceInvoiceInformation => "AAV",
849            Text::LetterCreditInformation => "AAW",
850            Text::LicenseInformation => "AAX",
851            Text::CertificationStatements => "AAY",
852            Text::AdditionalExportInformation => "AAZ",
853            Text::TariffStatements => "ABA",
854            Text::MedicalHistory => "ABB",
855            Text::ConditionsSaleOrPurchase => "ABC",
856            Text::ContractDocumentType => "ABD",
857            Text::AdditionalTermsAndOrConditionsDocumentaryCredit => "ABE",
858            Text::InstructionsOrInformationAboutStandbyDocumentary => "ABF",
859            Text::InstructionsOrInformationAboutPartialShipmentS => "ABG",
860            Text::InstructionsOrInformationAboutTranshipmentS => "ABH",
861            Text::AdditionalHandlingInstructionsDocumentaryCredit => "ABI",
862            Text::DomesticRoutingInformation => "ABJ",
863            Text::ChargeableCategoryEquipment => "ABK",
864            Text::GovernmentInformation => "ABL",
865            Text::OnwardRoutingInformation => "ABM",
866            Text::AccountingInformation => "ABN",
867            Text::DiscrepancyInformation => "ABO",
868            Text::ConfirmationInstructions => "ABP",
869            Text::MethodIssuance => "ABQ",
870            Text::DocumentsDeliveryInstructions => "ABR",
871            Text::AdditionalConditions => "ABS",
872            Text::InformationInstructionsAboutAdditionalAmountsCovered => "ABT",
873            Text::DeferredPaymentTermedAdditional => "ABU",
874            Text::AcceptanceTermsAdditional => "ABV",
875            Text::NegotiationTermsAdditional => "ABW",
876            Text::DocumentNameAndDocumentaryRequirements => "ABX",
877            Text::InstructionsInformationAboutRevolvingDocumentaryCredit => "ABZ",
878            Text::DocumentaryRequirements => "ACA",
879            Text::AdditionalInformation => "ACB",
880            Text::FactorAssignmentClause => "ACC",
881            Text::Reason => "ACD",
882            Text::Dispute => "ACE",
883            Text::AdditionalAttributeInformation => "ACF",
884            Text::AbsenceDeclaration => "ACG",
885            Text::AggregationStatement => "ACH",
886            Text::CompilationStatement => "ACI",
887            Text::DefinitionalException => "ACJ",
888            Text::PrivacyStatement => "ACK",
889            Text::QualityStatement => "ACL",
890            Text::StatisticalDescription => "ACM",
891            Text::StatisticalDefinition => "ACN",
892            Text::StatisticalName => "ACO",
893            Text::StatisticalTitle => "ACP",
894            Text::OffDimensionInformation => "ACQ",
895            Text::UnexpectedStopsInformation => "ACR",
896            Text::Principles => "ACS",
897            Text::TermsAndDefinition => "ACT",
898            Text::SegmentName => "ACU",
899            Text::SimpleDataElementName => "ACV",
900            Text::Scope => "ACW",
901            Text::MessageTypeName => "ACX",
902            Text::Introduction => "ACY",
903            Text::Glossary => "ACZ",
904            Text::FunctionalDefinition => "ADA",
905            Text::Examples => "ADB",
906            Text::CoverPage => "ADC",
907            Text::DependencySyntaxNotes => "ADD",
908            Text::CodeValueName => "ADE",
909            Text::CodeListName => "ADF",
910            Text::ClarificationUsage => "ADG",
911            Text::CompositeDataElementName => "ADH",
912            Text::FieldApplication => "ADI",
913            Text::TypeAssetsAndLiabilities => "ADJ",
914            Text::PromotionInformation => "ADK",
915            Text::MeterCondition => "ADL",
916            Text::MeterReadingInformation => "ADM",
917            Text::TypeTransactionReason => "ADN",
918            Text::TypeSurveyQuestion => "ADO",
919            Text::CarriersAgentCounterInformation => "ADP",
920            Text::DescriptionWorkItemOnEquipment => "ADQ",
921            Text::MessageDefinition => "ADR",
922            Text::BookedItemInformation => "ADS",
923            Text::SourceDocument => "ADT",
924            Text::Note => "ADU",
925            Text::FixedPartSegmentClarificationText => "ADV",
926            Text::CharacteristicsGoods => "ADW",
927            Text::AdditionalDischargeInstructions => "ADX",
928            Text::ContainerStrippingInstructions => "ADY",
929            Text::CscContainerSafetyConventionPlateInformation => "ADZ",
930            Text::CargoRemarks => "AEA",
931            Text::TemperatureControlInstructions => "AEB",
932            Text::TextRefersToExpectedData => "AEC",
933            Text::TextRefersToReceivedData => "AED",
934            Text::SectionClarificationText => "AEE",
935            Text::InformationToBeneficiary => "AEF",
936            Text::InformationToApplicant => "AEG",
937            Text::InstructionsToBeneficiary => "AEH",
938            Text::InstructionsToApplicant => "AEI",
939            Text::ControlledAtmosphere => "AEJ",
940            Text::TakeOffAnnotation => "AEK",
941            Text::PriceVariationNarrative => "AEL",
942            Text::DocumentaryCreditAmendmentInstructions => "AEM",
943            Text::StandardMethodNarrative => "AEN",
944            Text::ProjectNarrative => "AEO",
945            Text::RadioactiveGoodsAdditionalInformation => "AEP",
946            Text::BankToBankInformation => "AEQ",
947            Text::ReimbursementInstructions => "AER",
948            Text::ReasonForAmendingAMessage => "AES",
949            Text::InstructionsToPayingAndOrAcceptingAndOr => "AET",
950            Text::InterestInstructions => "AEU",
951            Text::AgentCommission => "AEV",
952            Text::RemittingBankInstructions => "AEW",
953            Text::InstructionsToCollectingBank => "AEX",
954            Text::CollectionAmountInstructions => "AEY",
955            Text::InternalAuditingInformation => "AEZ",
956            Text::Constraint => "AFA",
957            Text::Comment => "AFB",
958            Text::SemanticNote => "AFC",
959            Text::HelpText => "AFD",
960            Text::Legend => "AFE",
961            Text::BatchCodeStructure => "AFF",
962            Text::ProductApplication => "AFG",
963            Text::CustomerComplaint => "AFH",
964            Text::ProbableCauseFault => "AFI",
965            Text::DefectDescription => "AFJ",
966            Text::RepairDescription => "AFK",
967            Text::ReviewComments => "AFL",
968            Text::Title => "AFM",
969            Text::DescriptionAmount => "AFN",
970            Text::Responsibilities => "AFO",
971            Text::Supplier => "AFP",
972            Text::PurchaseRegion => "AFQ",
973            Text::Affiliation => "AFR",
974            Text::Borrower => "AFS",
975            Text::LineBusiness => "AFT",
976            Text::FinancialInstitution => "AFU",
977            Text::BusinessFounder => "AFV",
978            Text::BusinessHistory => "AFW",
979            Text::BankingArrangements => "AFX",
980            Text::BusinessOrigin => "AFY",
981            Text::BrandNamesDescription => "AFZ",
982            Text::BusinessFinancingDetails => "AGA",
983            Text::Competition => "AGB",
984            Text::ConstructionProcessDetails => "AGC",
985            Text::ConstructionSpecialty => "AGD",
986            Text::ContractInformation => "AGE",
987            Text::CorporateFiling => "AGF",
988            Text::CustomerInformation => "AGG",
989            Text::CopyrightNotice => "AGH",
990            Text::ContingentDebt => "AGI",
991            Text::ConvictionDetails => "AGJ",
992            Text::Equipment => "AGK",
993            Text::WorkforceDescription => "AGL",
994            Text::Exemption => "AGM",
995            Text::FuturePlans => "AGN",
996            Text::IntervieweeConversationInformation => "AGO",
997            Text::IntangibleAsset => "AGP",
998            Text::Inventory => "AGQ",
999            Text::Investment => "AGR",
1000            Text::IntercompanyRelationsInformation => "AGS",
1001            Text::JointVenture => "AGT",
1002            Text::Loan => "AGU",
1003            Text::LongTermDebt => "AGV",
1004            Text::Location => "AGW",
1005            Text::CurrentLegalStructure => "AGX",
1006            Text::MaritalContract => "AGY",
1007            Text::MarketingActivities => "AGZ",
1008            Text::Merger => "AHA",
1009            Text::MarketableSecurities => "AHB",
1010            Text::BusinessDebt => "AHC",
1011            Text::OriginalLegalStructure => "AHD",
1012            Text::EmployeeSharingArrangements => "AHE",
1013            Text::OrganizationDetails => "AHF",
1014            Text::PublicRecordDetails => "AHG",
1015            Text::PriceRange => "AHH",
1016            Text::Qualifications => "AHI",
1017            Text::RegisteredActivity => "AHJ",
1018            Text::CriminalSentence => "AHK",
1019            Text::SalesMethod => "AHL",
1020            Text::EducationalInstitutionInformation => "AHM",
1021            Text::StatusDetails => "AHN",
1022            Text::Sales => "AHO",
1023            Text::SpouseInformation => "AHP",
1024            Text::EducationalDegreeInformation => "AHQ",
1025            Text::ShareholdingInformation => "AHR",
1026            Text::SalesTerritory => "AHS",
1027            Text::AccountantsComments => "AHT",
1028            Text::ExemptionLawLocation => "AHU",
1029            Text::ShareClassifications => "AHV",
1030            Text::Forecast => "AHW",
1031            Text::EventLocation => "AHX",
1032            Text::FacilityOccupancy => "AHY",
1033            Text::ImportAndExportDetails => "AHZ",
1034            Text::AdditionalFacilityInformation => "AIA",
1035            Text::InventoryValue => "AIB",
1036            Text::Education => "AIC",
1037            Text::Event => "AID",
1038            Text::Agent => "AIE",
1039            Text::DomesticallyAgreedFinancialStatementDetails => "AIF",
1040            Text::OtherCurrentAssetDescription => "AIG",
1041            Text::OtherCurrentLiabilityDescription => "AIH",
1042            Text::FormerBusinessActivity => "AII",
1043            Text::TradeNameUse => "AIJ",
1044            Text::SigningAuthority => "AIK",
1045            Text::Guarantee => "AIL",
1046            Text::HoldingCompanyOperation => "AIM",
1047            Text::ConsignmentRouting => "AIN",
1048            Text::LetterProtest => "AIO",
1049            Text::Question => "AIP",
1050            Text::PartyInformation => "AIQ",
1051            Text::AreaBoundariesDescription => "AIR",
1052            Text::AdvertisementInformation => "AIS",
1053            Text::FinancialStatementDetails => "AIT",
1054            Text::AccessInstructions => "AIU",
1055            Text::Liquidity => "AIV",
1056            Text::CreditLine => "AIW",
1057            Text::WarrantyTerms => "AIX",
1058            Text::DivisionDescription => "AIY",
1059            Text::ReportingInstruction => "AIZ",
1060            Text::ExaminationResult => "AJA",
1061            Text::LaboratoryResult => "AJB",
1062            Text::AllowanceChargeInformation => "ALC",
1063            Text::XRayResult => "ALD",
1064            Text::PathologyResult => "ALE",
1065            Text::InterventionDescription => "ALF",
1066            Text::SummaryAdmittance => "ALG",
1067            Text::MedicalTreatmentCourseDetail => "ALH",
1068            Text::Prognosis => "ALI",
1069            Text::InstructionToPatient => "ALJ",
1070            Text::InstructionToPhysician => "ALK",
1071            Text::AllDocuments => "ALL",
1072            Text::MedicineTreatment => "ALM",
1073            Text::MedicineDosageAndAdministration => "ALN",
1074            Text::AvailabilityPatient => "ALO",
1075            Text::ReasonForServiceRequest => "ALP",
1076            Text::PurposeService => "ALQ",
1077            Text::ArrivalConditions => "ARR",
1078            Text::ServiceRequestersComment => "ARS",
1079            Text::Authentication => "AUT",
1080            Text::RequestedLocationDescription => "AUU",
1081            Text::MedicineAdministrationCondition => "AUV",
1082            Text::PatientInformation => "AUW",
1083            Text::PrecautionaryMeasure => "AUX",
1084            Text::ServiceCharacteristic => "AUY",
1085            Text::PlannedEventComment => "AUZ",
1086            Text::ExpectedDelayComment => "AVA",
1087            Text::TransportRequirementsComment => "AVB",
1088            Text::TemporaryApprovalCondition => "AVC",
1089            Text::CustomsValuationInformation => "AVD",
1090            Text::ValueAddedTaxVatMarginScheme => "AVE",
1091            Text::MaritimeDeclarationHealth => "AVF",
1092            Text::PassengerBaggageInformation => "BAG",
1093            Text::MaritimeDeclarationHealth_Dup => "BAH",
1094            Text::AdditionalProductInformationAddress => "BAI",
1095            Text::InformationToBePrintedOnDespatchAdvice => "BAJ",
1096            Text::MissingGoodsRemarks => "BAK",
1097            Text::NonAcceptanceInformation => "BAL",
1098            Text::ReturnsInformation => "BAM",
1099            Text::SubLineItemInformation => "BAN",
1100            Text::TestInformation => "BAO",
1101            Text::ExternalLink => "BAP",
1102            Text::VatExemptionReason => "BAQ",
1103            Text::ProcessingInstructions => "BAR",
1104            Text::RelayInstructions => "BAS",
1105            Text::SimaApplicable => "BAT",
1106            Text::AppealsProgramCode => "BAU",
1107            Text::SimaSubject => "BAV",
1108            Text::SurtaxApplicable => "BAW",
1109            Text::SimaSecurityBond => "BAX",
1110            Text::SurtaxSubject => "BAY",
1111            Text::SafeguardApplicable => "BAZ",
1112            Text::SafeguardApplicable_Dup => "BBA",
1113            Text::SafeguardSubject => "BBB",
1114            Text::TransportContractDocumentClause => "BLC",
1115            Text::InstructionToPreparePatient => "BLD",
1116            Text::MedicineTreatmentComment => "BLE",
1117            Text::ExaminationResultComment => "BLF",
1118            Text::ServiceRequestComment => "BLG",
1119            Text::PrescriptionReason => "BLH",
1120            Text::PrescriptionComment => "BLI",
1121            Text::ClinicalInvestigationComment => "BLJ",
1122            Text::MedicinalSpecificationComment => "BLK",
1123            Text::EconomicContributionComment => "BLL",
1124            Text::StatusAPlan => "BLM",
1125            Text::RandomSampleTestInformation => "BLN",
1126            Text::PeriodTime => "BLO",
1127            Text::Legislation => "BLP",
1128            Text::SecurityMeasuresRequested => "BLQ",
1129            Text::TransportContractDocumentRemark => "BLR",
1130            Text::PreviousPortCallSecurityInformation => "BLS",
1131            Text::SecurityInformation => "BLT",
1132            Text::WasteInformation => "BLU",
1133            Text::B2cMarketingInformationShortDescription => "BLV",
1134            Text::B2bMarketingInformationLongDescription => "BLW",
1135            Text::B2cMarketingInformationLongDescription => "BLX",
1136            Text::ProductIngredients => "BLY",
1137            Text::LocationShortName => "BLZ",
1138            Text::PackagingMaterialInformation => "BMA",
1139            Text::FillerMaterialInformation => "BMB",
1140            Text::ShipToShipActivityInformation => "BMC",
1141            Text::PackageMaterialDescription => "BMD",
1142            Text::ConsumerLevelPackageMarking => "BME",
1143            Text::SimaMeasureInForce => "BMF",
1144            Text::PreCarm => "BMG",
1145            Text::SimaMeasureType => "BMH",
1146            Text::CustomsClearanceInstructions => "CCI",
1147            Text::SubTypeCode => "CCJ",
1148            Text::SimaInformation => "CCK",
1149            Text::TimeLimitEnd => "CCL",
1150            Text::TimeLimitStart => "CCM",
1151            Text::WarehouseTimeLimit => "CCN",
1152            Text::ValueForDutyInformation => "CCO",
1153            Text::CustomsClearanceInstructionsExport => "CEX",
1154            Text::ChangeInformation => "CHG",
1155            Text::CustomsClearanceInstructionImport => "CIP",
1156            Text::ClearancePlaceRequested => "CLP",
1157            Text::LoadingRemarks => "CLR",
1158            Text::OrderInformation => "COI",
1159            Text::CustomerRemarks => "CUR",
1160            Text::CustomsDeclarationInformation => "CUS",
1161            Text::DamageRemarks => "DAR",
1162            Text::DocumentIssuerDeclaration => "DCL",
1163            Text::DeliveryInformation => "DEL",
1164            Text::DeliveryInstructions => "DIN",
1165            Text::DocumentationInstructions => "DOC",
1166            Text::DutyDeclaration => "DUT",
1167            Text::EffectiveUsedRouting => "EUR",
1168            Text::FirstBlockToBePrintedOnTransportContract => "FBC",
1169            Text::GovernmentBillLadingInformation => "GBL",
1170            Text::EntireTransactionSet => "GEN",
1171            Text::FurtherInformationConcerningGgvsPar7 => "GS7",
1172            Text::ConsignmentHandlingInstruction => "HAN",
1173            Text::HazardInformation => "HAZ",
1174            Text::ConsignmentInformationForConsignee => "ICN",
1175            Text::InsuranceInstructions => "IIN",
1176            Text::InvoiceMailingInstructions => "IMI",
1177            Text::CommercialInvoiceItemDescription => "IND",
1178            Text::InsuranceInformation => "INS",
1179            Text::InvoiceInstruction => "INV",
1180            Text::InformationForRailwayPurpose => "IRP",
1181            Text::InlandTransportDetails => "ITR",
1182            Text::TestingInstructions => "ITS",
1183            Text::LocationAlias => "LAN",
1184            Text::LineItem => "LIN",
1185            Text::LoadingInstruction => "LOI",
1186            Text::MiscellaneousChargeOrder => "MCO",
1187            Text::MaritimeDeclarationHealth_Dup_Dup => "MDH",
1188            Text::AdditionalMarksNumbersInformation => "MKS",
1189            Text::OrderInstruction => "ORI",
1190            Text::OtherServiceInformation => "OSI",
1191            Text::PackingMarkingInformation => "PAC",
1192            Text::PaymentInstructionsInformation => "PAI",
1193            Text::PayablesInformation => "PAY",
1194            Text::PackagingInformation => "PKG",
1195            Text::PackagingTermsInformation => "PKT",
1196            Text::PaymentDetailRemittanceInformation => "PMD",
1197            Text::PaymentInformation => "PMT",
1198            Text::ProductInformation => "PRD",
1199            Text::PriceCalculationFormula => "PRF",
1200            Text::PriorityInformation => "PRI",
1201            Text::PurchasingInformation => "PUR",
1202            Text::QuarantineInstructions => "QIN",
1203            Text::QualityDemandsRequirements => "QQD",
1204            Text::QuotationInstructionInformation => "QUT",
1205            Text::RiskAndHandlingInformation => "RAH",
1206            Text::RegulatoryInformation => "REG",
1207            Text::ReturnToOriginInformation => "RET",
1208            Text::Receivables => "REV",
1209            Text::ConsignmentRoute => "RQR",
1210            Text::SafetyInformation => "SAF",
1211            Text::ConsignmentDocumentaryInstruction => "SIC",
1212            Text::SpecialInstructions => "SIN",
1213            Text::ShipLineRequested => "SLR",
1214            Text::SpecialPermissionForTransportGenerally => "SPA",
1215            Text::SpecialPermissionConcerningGoodsToBeTransported => "SPG",
1216            Text::SpecialHandling => "SPH",
1217            Text::SpecialPermissionConcerningPackage => "SPP",
1218            Text::SpecialPermissionConcerningTransportMeans => "SPT",
1219            Text::SubsidiaryRiskNumberIataDgr => "SRN",
1220            Text::SpecialServiceRequest => "SSR",
1221            Text::SupplierRemarks => "SUR",
1222            Text::ConsignmentTariff => "TCA",
1223            Text::ConsignmentTransport => "TDT",
1224            Text::TransportationInformation => "TRA",
1225            Text::RequestedTariff => "TRR",
1226            Text::TaxDeclaration => "TXD",
1227            Text::WarehouseInstructionInformation => "WHI",
1228            Text::MutuallyDefined => "ZZZ",
1229        }
1230    }
1231}
1232
1233impl crate::Description for Text {
1234    fn description(self) -> &'static str {
1235        match self {
1236            Text::GoodsItemDescription => "Goods item description",
1237            Text::PaymentTerm => "Payment term",
1238            Text::DangerousGoodsAdditionalInformation => "Dangerous goods additional information",
1239            Text::DangerousGoodsTechnicalName => "Dangerous goods technical name",
1240            Text::AcknowledgementDescription => "Acknowledgement description",
1241            Text::RateAdditionalInformation => "Rate additional information",
1242            Text::PartyInstructions => "Party instructions",
1243            Text::GeneralInformation => "General information",
1244            Text::AdditionalConditionsSalePurchase => "Additional conditions of sale/purchase",
1245            Text::PriceConditions => "Price conditions",
1246            Text::GoodsDimensionsInCharacters => "Goods dimensions in characters",
1247            Text::EquipmentReUsageRestrictions => "Equipment re-usage restrictions",
1248            Text::HandlingRestriction => "Handling restriction",
1249            Text::ErrorDescriptionFreeText => "Error description (free text)",
1250            Text::ResponseFreeText => "Response (free text)",
1251            Text::PackageContentsDescription => "Package content's description",
1252            Text::TermsDelivery => "Terms of delivery",
1253            Text::BillLadingRemarks => "Bill of lading remarks",
1254            Text::ModeSettlementInformation => "Mode of settlement information",
1255            Text::ConsignmentInvoiceInformation => "Consignment invoice information",
1256            Text::ClearanceInvoiceInformation => "Clearance invoice information",
1257            Text::LetterCreditInformation => "Letter of credit information",
1258            Text::LicenseInformation => "License information",
1259            Text::CertificationStatements => "Certification statements",
1260            Text::AdditionalExportInformation => "Additional export information",
1261            Text::TariffStatements => "Tariff statements",
1262            Text::MedicalHistory => "Medical history",
1263            Text::ConditionsSaleOrPurchase => "Conditions of sale or purchase",
1264            Text::ContractDocumentType => "Contract document type",
1265            Text::AdditionalTermsAndOrConditionsDocumentaryCredit => {
1266                "Additional terms and/or conditions (documentary credit)"
1267            }
1268            Text::InstructionsOrInformationAboutStandbyDocumentary => {
1269                "Instructions or information about standby documentary"
1270            }
1271            Text::InstructionsOrInformationAboutPartialShipmentS => {
1272                "Instructions or information about partial shipment(s)"
1273            }
1274            Text::InstructionsOrInformationAboutTranshipmentS => {
1275                "Instructions or information about transhipment(s)"
1276            }
1277            Text::AdditionalHandlingInstructionsDocumentaryCredit => {
1278                "Additional handling instructions documentary credit"
1279            }
1280            Text::DomesticRoutingInformation => "Domestic routing information",
1281            Text::ChargeableCategoryEquipment => "Chargeable category of equipment",
1282            Text::GovernmentInformation => "Government information",
1283            Text::OnwardRoutingInformation => "Onward routing information",
1284            Text::AccountingInformation => "Accounting information",
1285            Text::DiscrepancyInformation => "Discrepancy information",
1286            Text::ConfirmationInstructions => "Confirmation instructions",
1287            Text::MethodIssuance => "Method of issuance",
1288            Text::DocumentsDeliveryInstructions => "Documents delivery instructions",
1289            Text::AdditionalConditions => "Additional conditions",
1290            Text::InformationInstructionsAboutAdditionalAmountsCovered => {
1291                "Information/instructions about additional amounts covered"
1292            }
1293            Text::DeferredPaymentTermedAdditional => "Deferred payment termed additional",
1294            Text::AcceptanceTermsAdditional => "Acceptance terms additional",
1295            Text::NegotiationTermsAdditional => "Negotiation terms additional",
1296            Text::DocumentNameAndDocumentaryRequirements => {
1297                "Document name and documentary requirements"
1298            }
1299            Text::InstructionsInformationAboutRevolvingDocumentaryCredit => {
1300                "Instructions/information about revolving documentary credit"
1301            }
1302            Text::DocumentaryRequirements => "Documentary requirements",
1303            Text::AdditionalInformation => "Additional information",
1304            Text::FactorAssignmentClause => "Factor assignment clause",
1305            Text::Reason => "Reason",
1306            Text::Dispute => "Dispute",
1307            Text::AdditionalAttributeInformation => "Additional attribute information",
1308            Text::AbsenceDeclaration => "Absence declaration",
1309            Text::AggregationStatement => "Aggregation statement",
1310            Text::CompilationStatement => "Compilation statement",
1311            Text::DefinitionalException => "Definitional exception",
1312            Text::PrivacyStatement => "Privacy statement",
1313            Text::QualityStatement => "Quality statement",
1314            Text::StatisticalDescription => "Statistical description",
1315            Text::StatisticalDefinition => "Statistical definition",
1316            Text::StatisticalName => "Statistical name",
1317            Text::StatisticalTitle => "Statistical title",
1318            Text::OffDimensionInformation => "Off-dimension information",
1319            Text::UnexpectedStopsInformation => "Unexpected stops information",
1320            Text::Principles => "Principles",
1321            Text::TermsAndDefinition => "Terms and definition",
1322            Text::SegmentName => "Segment name",
1323            Text::SimpleDataElementName => "Simple data element name",
1324            Text::Scope => "Scope",
1325            Text::MessageTypeName => "Message type name",
1326            Text::Introduction => "Introduction",
1327            Text::Glossary => "Glossary",
1328            Text::FunctionalDefinition => "Functional definition",
1329            Text::Examples => "Examples",
1330            Text::CoverPage => "Cover page",
1331            Text::DependencySyntaxNotes => "Dependency (syntax) notes",
1332            Text::CodeValueName => "Code value name",
1333            Text::CodeListName => "Code list name",
1334            Text::ClarificationUsage => "Clarification of usage",
1335            Text::CompositeDataElementName => "Composite data element name",
1336            Text::FieldApplication => "Field of application",
1337            Text::TypeAssetsAndLiabilities => "Type of assets and liabilities",
1338            Text::PromotionInformation => "Promotion information",
1339            Text::MeterCondition => "Meter condition",
1340            Text::MeterReadingInformation => "Meter reading information",
1341            Text::TypeTransactionReason => "Type of transaction reason",
1342            Text::TypeSurveyQuestion => "Type of survey question",
1343            Text::CarriersAgentCounterInformation => "Carrier's agent counter information",
1344            Text::DescriptionWorkItemOnEquipment => "Description of work item on equipment",
1345            Text::MessageDefinition => "Message definition",
1346            Text::BookedItemInformation => "Booked item information",
1347            Text::SourceDocument => "Source of document",
1348            Text::Note => "Note",
1349            Text::FixedPartSegmentClarificationText => "Fixed part of segment clarification text",
1350            Text::CharacteristicsGoods => "Characteristics of goods",
1351            Text::AdditionalDischargeInstructions => "Additional discharge instructions",
1352            Text::ContainerStrippingInstructions => "Container stripping instructions",
1353            Text::CscContainerSafetyConventionPlateInformation => {
1354                "CSC (Container Safety Convention) plate information"
1355            }
1356            Text::CargoRemarks => "Cargo remarks",
1357            Text::TemperatureControlInstructions => "Temperature control instructions",
1358            Text::TextRefersToExpectedData => "Text refers to expected data",
1359            Text::TextRefersToReceivedData => "Text refers to received data",
1360            Text::SectionClarificationText => "Section clarification text",
1361            Text::InformationToBeneficiary => "Information to the beneficiary",
1362            Text::InformationToApplicant => "Information to the applicant",
1363            Text::InstructionsToBeneficiary => "Instructions to the beneficiary",
1364            Text::InstructionsToApplicant => "Instructions to the applicant",
1365            Text::ControlledAtmosphere => "Controlled atmosphere",
1366            Text::TakeOffAnnotation => "Take off annotation",
1367            Text::PriceVariationNarrative => "Price variation narrative",
1368            Text::DocumentaryCreditAmendmentInstructions => {
1369                "Documentary credit amendment instructions"
1370            }
1371            Text::StandardMethodNarrative => "Standard method narrative",
1372            Text::ProjectNarrative => "Project narrative",
1373            Text::RadioactiveGoodsAdditionalInformation => {
1374                "Radioactive goods, additional information"
1375            }
1376            Text::BankToBankInformation => "Bank-to-bank information",
1377            Text::ReimbursementInstructions => "Reimbursement instructions",
1378            Text::ReasonForAmendingAMessage => "Reason for amending a message",
1379            Text::InstructionsToPayingAndOrAcceptingAndOr => {
1380                "Instructions to the paying and/or accepting and/or"
1381            }
1382            Text::InterestInstructions => "Interest instructions",
1383            Text::AgentCommission => "Agent commission",
1384            Text::RemittingBankInstructions => "Remitting bank instructions",
1385            Text::InstructionsToCollectingBank => "Instructions to the collecting bank",
1386            Text::CollectionAmountInstructions => "Collection amount instructions",
1387            Text::InternalAuditingInformation => "Internal auditing information",
1388            Text::Constraint => "Constraint",
1389            Text::Comment => "Comment",
1390            Text::SemanticNote => "Semantic note",
1391            Text::HelpText => "Help text",
1392            Text::Legend => "Legend",
1393            Text::BatchCodeStructure => "Batch code structure",
1394            Text::ProductApplication => "Product application",
1395            Text::CustomerComplaint => "Customer complaint",
1396            Text::ProbableCauseFault => "Probable cause of fault",
1397            Text::DefectDescription => "Defect description",
1398            Text::RepairDescription => "Repair description",
1399            Text::ReviewComments => "Review comments",
1400            Text::Title => "Title",
1401            Text::DescriptionAmount => "Description of amount",
1402            Text::Responsibilities => "Responsibilities",
1403            Text::Supplier => "Supplier",
1404            Text::PurchaseRegion => "Purchase region",
1405            Text::Affiliation => "Affiliation",
1406            Text::Borrower => "Borrower",
1407            Text::LineBusiness => "Line of business",
1408            Text::FinancialInstitution => "Financial institution",
1409            Text::BusinessFounder => "Business founder",
1410            Text::BusinessHistory => "Business history",
1411            Text::BankingArrangements => "Banking arrangements",
1412            Text::BusinessOrigin => "Business origin",
1413            Text::BrandNamesDescription => "Brand names' description",
1414            Text::BusinessFinancingDetails => "Business financing details",
1415            Text::Competition => "Competition",
1416            Text::ConstructionProcessDetails => "Construction process details",
1417            Text::ConstructionSpecialty => "Construction specialty",
1418            Text::ContractInformation => "Contract information",
1419            Text::CorporateFiling => "Corporate filing",
1420            Text::CustomerInformation => "Customer information",
1421            Text::CopyrightNotice => "Copyright notice",
1422            Text::ContingentDebt => "Contingent debt",
1423            Text::ConvictionDetails => "Conviction details",
1424            Text::Equipment => "Equipment",
1425            Text::WorkforceDescription => "Workforce description",
1426            Text::Exemption => "Exemption",
1427            Text::FuturePlans => "Future plans",
1428            Text::IntervieweeConversationInformation => "Interviewee conversation information",
1429            Text::IntangibleAsset => "Intangible asset",
1430            Text::Inventory => "Inventory",
1431            Text::Investment => "Investment",
1432            Text::IntercompanyRelationsInformation => "Intercompany relations information",
1433            Text::JointVenture => "Joint venture",
1434            Text::Loan => "Loan",
1435            Text::LongTermDebt => "Long term debt",
1436            Text::Location => "Location",
1437            Text::CurrentLegalStructure => "Current legal structure",
1438            Text::MaritalContract => "Marital contract",
1439            Text::MarketingActivities => "Marketing activities",
1440            Text::Merger => "Merger",
1441            Text::MarketableSecurities => "Marketable securities",
1442            Text::BusinessDebt => "Business debt",
1443            Text::OriginalLegalStructure => "Original legal structure",
1444            Text::EmployeeSharingArrangements => "Employee sharing arrangements",
1445            Text::OrganizationDetails => "Organization details",
1446            Text::PublicRecordDetails => "Public record details",
1447            Text::PriceRange => "Price range",
1448            Text::Qualifications => "Qualifications",
1449            Text::RegisteredActivity => "Registered activity",
1450            Text::CriminalSentence => "Criminal sentence",
1451            Text::SalesMethod => "Sales method",
1452            Text::EducationalInstitutionInformation => "Educational institution information",
1453            Text::StatusDetails => "Status details",
1454            Text::Sales => "Sales",
1455            Text::SpouseInformation => "Spouse information",
1456            Text::EducationalDegreeInformation => "Educational degree information",
1457            Text::ShareholdingInformation => "Shareholding information",
1458            Text::SalesTerritory => "Sales territory",
1459            Text::AccountantsComments => "Accountant's comments",
1460            Text::ExemptionLawLocation => "Exemption law location",
1461            Text::ShareClassifications => "Share classifications",
1462            Text::Forecast => "Forecast",
1463            Text::EventLocation => "Event location",
1464            Text::FacilityOccupancy => "Facility occupancy",
1465            Text::ImportAndExportDetails => "Import and export details",
1466            Text::AdditionalFacilityInformation => "Additional facility information",
1467            Text::InventoryValue => "Inventory value",
1468            Text::Education => "Education",
1469            Text::Event => "Event",
1470            Text::Agent => "Agent",
1471            Text::DomesticallyAgreedFinancialStatementDetails => {
1472                "Domestically agreed financial statement details"
1473            }
1474            Text::OtherCurrentAssetDescription => "Other current asset description",
1475            Text::OtherCurrentLiabilityDescription => "Other current liability description",
1476            Text::FormerBusinessActivity => "Former business activity",
1477            Text::TradeNameUse => "Trade name use",
1478            Text::SigningAuthority => "Signing authority",
1479            Text::Guarantee => "Guarantee",
1480            Text::HoldingCompanyOperation => "Holding company operation",
1481            Text::ConsignmentRouting => "Consignment routing",
1482            Text::LetterProtest => "Letter of protest",
1483            Text::Question => "Question",
1484            Text::PartyInformation => "Party information",
1485            Text::AreaBoundariesDescription => "Area boundaries description",
1486            Text::AdvertisementInformation => "Advertisement information",
1487            Text::FinancialStatementDetails => "Financial statement details",
1488            Text::AccessInstructions => "Access instructions",
1489            Text::Liquidity => "Liquidity",
1490            Text::CreditLine => "Credit line",
1491            Text::WarrantyTerms => "Warranty terms",
1492            Text::DivisionDescription => "Division description",
1493            Text::ReportingInstruction => "Reporting instruction",
1494            Text::ExaminationResult => "Examination result",
1495            Text::LaboratoryResult => "Laboratory result",
1496            Text::AllowanceChargeInformation => "Allowance/charge information",
1497            Text::XRayResult => "X-ray result",
1498            Text::PathologyResult => "Pathology result",
1499            Text::InterventionDescription => "Intervention description",
1500            Text::SummaryAdmittance => "Summary of admittance",
1501            Text::MedicalTreatmentCourseDetail => "Medical treatment course detail",
1502            Text::Prognosis => "Prognosis",
1503            Text::InstructionToPatient => "Instruction to patient",
1504            Text::InstructionToPhysician => "Instruction to physician",
1505            Text::AllDocuments => "All documents",
1506            Text::MedicineTreatment => "Medicine treatment",
1507            Text::MedicineDosageAndAdministration => "Medicine dosage and administration",
1508            Text::AvailabilityPatient => "Availability of patient",
1509            Text::ReasonForServiceRequest => "Reason for service request",
1510            Text::PurposeService => "Purpose of service",
1511            Text::ArrivalConditions => "Arrival conditions",
1512            Text::ServiceRequestersComment => "Service requester's comment",
1513            Text::Authentication => "Authentication",
1514            Text::RequestedLocationDescription => "Requested location description",
1515            Text::MedicineAdministrationCondition => "Medicine administration condition",
1516            Text::PatientInformation => "Patient information",
1517            Text::PrecautionaryMeasure => "Precautionary measure",
1518            Text::ServiceCharacteristic => "Service characteristic",
1519            Text::PlannedEventComment => "Planned event comment",
1520            Text::ExpectedDelayComment => "Expected delay comment",
1521            Text::TransportRequirementsComment => "Transport requirements comment",
1522            Text::TemporaryApprovalCondition => "Temporary approval condition",
1523            Text::CustomsValuationInformation => "Customs Valuation Information",
1524            Text::ValueAddedTaxVatMarginScheme => "Value Added Tax (VAT) margin scheme",
1525            Text::MaritimeDeclarationHealth => "Maritime Declaration of Health",
1526            Text::PassengerBaggageInformation => "Passenger baggage information",
1527            Text::MaritimeDeclarationHealth_Dup => "Maritime Declaration of Health",
1528            Text::AdditionalProductInformationAddress => "Additional product information address",
1529            Text::InformationToBePrintedOnDespatchAdvice => {
1530                "Information to be printed on despatch advice"
1531            }
1532            Text::MissingGoodsRemarks => "Missing goods remarks",
1533            Text::NonAcceptanceInformation => "Non-acceptance information",
1534            Text::ReturnsInformation => "Returns information",
1535            Text::SubLineItemInformation => "Sub-line item information",
1536            Text::TestInformation => "Test information",
1537            Text::ExternalLink => "External link",
1538            Text::VatExemptionReason => "VAT exemption reason",
1539            Text::ProcessingInstructions => "Processing Instructions",
1540            Text::RelayInstructions => "Relay Instructions",
1541            Text::SimaApplicable => "SIMA applicable",
1542            Text::AppealsProgramCode => "Appeals program code",
1543            Text::SimaSubject => "SIMA subject",
1544            Text::SurtaxApplicable => "Surtax applicable",
1545            Text::SimaSecurityBond => "SIMA security bond",
1546            Text::SurtaxSubject => "Surtax subject",
1547            Text::SafeguardApplicable => "Safeguard applicable",
1548            Text::SafeguardApplicable_Dup => "Safeguard applicable",
1549            Text::SafeguardSubject => "Safeguard subject",
1550            Text::TransportContractDocumentClause => "Transport contract document clause",
1551            Text::InstructionToPreparePatient => "Instruction to prepare the patient",
1552            Text::MedicineTreatmentComment => "Medicine treatment comment",
1553            Text::ExaminationResultComment => "Examination result comment",
1554            Text::ServiceRequestComment => "Service request comment",
1555            Text::PrescriptionReason => "Prescription reason",
1556            Text::PrescriptionComment => "Prescription comment",
1557            Text::ClinicalInvestigationComment => "Clinical investigation comment",
1558            Text::MedicinalSpecificationComment => "Medicinal specification comment",
1559            Text::EconomicContributionComment => "Economic contribution comment",
1560            Text::StatusAPlan => "Status of a plan",
1561            Text::RandomSampleTestInformation => "Random sample test information",
1562            Text::PeriodTime => "Period of time",
1563            Text::Legislation => "Legislation",
1564            Text::SecurityMeasuresRequested => "Security measures requested",
1565            Text::TransportContractDocumentRemark => "Transport contract document remark",
1566            Text::PreviousPortCallSecurityInformation => {
1567                "Previous port of call security information"
1568            }
1569            Text::SecurityInformation => "Security information",
1570            Text::WasteInformation => "Waste information",
1571            Text::B2cMarketingInformationShortDescription => {
1572                "B2C marketing information, short description"
1573            }
1574            Text::B2bMarketingInformationLongDescription => {
1575                "B2B marketing information, long description"
1576            }
1577            Text::B2cMarketingInformationLongDescription => {
1578                "B2C marketing information, long description"
1579            }
1580            Text::ProductIngredients => "Product ingredients",
1581            Text::LocationShortName => "Location short name",
1582            Text::PackagingMaterialInformation => "Packaging material information",
1583            Text::FillerMaterialInformation => "Filler material information",
1584            Text::ShipToShipActivityInformation => "Ship-to-ship activity information",
1585            Text::PackageMaterialDescription => "Package material description",
1586            Text::ConsumerLevelPackageMarking => "Consumer level package marking",
1587            Text::SimaMeasureInForce => "SIMA measure in force",
1588            Text::PreCarm => "Pre-CARM",
1589            Text::SimaMeasureType => "SIMA measure type",
1590            Text::CustomsClearanceInstructions => "Customs clearance instructions",
1591            Text::SubTypeCode => "Sub Type Code",
1592            Text::SimaInformation => "SIMA information",
1593            Text::TimeLimitEnd => "Time limit end",
1594            Text::TimeLimitStart => "Time limit start",
1595            Text::WarehouseTimeLimit => "Warehouse time limit",
1596            Text::ValueForDutyInformation => "Value for duty information",
1597            Text::CustomsClearanceInstructionsExport => "Customs clearance instructions export",
1598            Text::ChangeInformation => "Change information",
1599            Text::CustomsClearanceInstructionImport => "Customs clearance instruction import",
1600            Text::ClearancePlaceRequested => "Clearance place requested",
1601            Text::LoadingRemarks => "Loading remarks",
1602            Text::OrderInformation => "Order information",
1603            Text::CustomerRemarks => "Customer remarks",
1604            Text::CustomsDeclarationInformation => "Customs declaration information",
1605            Text::DamageRemarks => "Damage remarks",
1606            Text::DocumentIssuerDeclaration => "Document issuer declaration",
1607            Text::DeliveryInformation => "Delivery information",
1608            Text::DeliveryInstructions => "Delivery instructions",
1609            Text::DocumentationInstructions => "Documentation instructions",
1610            Text::DutyDeclaration => "Duty declaration",
1611            Text::EffectiveUsedRouting => "Effective used routing",
1612            Text::FirstBlockToBePrintedOnTransportContract => {
1613                "First block to be printed on the transport contract"
1614            }
1615            Text::GovernmentBillLadingInformation => "Government bill of lading information",
1616            Text::EntireTransactionSet => "Entire transaction set",
1617            Text::FurtherInformationConcerningGgvsPar7 => {
1618                "Further information concerning GGVS par. 7"
1619            }
1620            Text::ConsignmentHandlingInstruction => "Consignment handling instruction",
1621            Text::HazardInformation => "Hazard information",
1622            Text::ConsignmentInformationForConsignee => "Consignment information for consignee",
1623            Text::InsuranceInstructions => "Insurance instructions",
1624            Text::InvoiceMailingInstructions => "Invoice mailing instructions",
1625            Text::CommercialInvoiceItemDescription => "Commercial invoice item description",
1626            Text::InsuranceInformation => "Insurance information",
1627            Text::InvoiceInstruction => "Invoice instruction",
1628            Text::InformationForRailwayPurpose => "Information for railway purpose",
1629            Text::InlandTransportDetails => "Inland transport details",
1630            Text::TestingInstructions => "Testing instructions",
1631            Text::LocationAlias => "Location Alias",
1632            Text::LineItem => "Line item",
1633            Text::LoadingInstruction => "Loading instruction",
1634            Text::MiscellaneousChargeOrder => "Miscellaneous charge order",
1635            Text::MaritimeDeclarationHealth_Dup_Dup => "Maritime Declaration of Health",
1636            Text::AdditionalMarksNumbersInformation => "Additional marks/numbers information",
1637            Text::OrderInstruction => "Order instruction",
1638            Text::OtherServiceInformation => "Other service information",
1639            Text::PackingMarkingInformation => "Packing/marking information",
1640            Text::PaymentInstructionsInformation => "Payment instructions information",
1641            Text::PayablesInformation => "Payables information",
1642            Text::PackagingInformation => "Packaging information",
1643            Text::PackagingTermsInformation => "Packaging terms information",
1644            Text::PaymentDetailRemittanceInformation => "Payment detail/remittance information",
1645            Text::PaymentInformation => "Payment information",
1646            Text::ProductInformation => "Product information",
1647            Text::PriceCalculationFormula => "Price calculation formula",
1648            Text::PriorityInformation => "Priority information",
1649            Text::PurchasingInformation => "Purchasing information",
1650            Text::QuarantineInstructions => "Quarantine instructions",
1651            Text::QualityDemandsRequirements => "Quality demands/requirements",
1652            Text::QuotationInstructionInformation => "Quotation instruction/information",
1653            Text::RiskAndHandlingInformation => "Risk and handling information",
1654            Text::RegulatoryInformation => "Regulatory information",
1655            Text::ReturnToOriginInformation => "Return to origin information",
1656            Text::Receivables => "Receivables",
1657            Text::ConsignmentRoute => "Consignment route",
1658            Text::SafetyInformation => "Safety information",
1659            Text::ConsignmentDocumentaryInstruction => "Consignment documentary instruction",
1660            Text::SpecialInstructions => "Special instructions",
1661            Text::ShipLineRequested => "Ship line requested",
1662            Text::SpecialPermissionForTransportGenerally => {
1663                "Special permission for transport, generally"
1664            }
1665            Text::SpecialPermissionConcerningGoodsToBeTransported => {
1666                "Special permission concerning the goods to be transported"
1667            }
1668            Text::SpecialHandling => "Special handling",
1669            Text::SpecialPermissionConcerningPackage => "Special permission concerning package",
1670            Text::SpecialPermissionConcerningTransportMeans => {
1671                "Special permission concerning transport means"
1672            }
1673            Text::SubsidiaryRiskNumberIataDgr => "Subsidiary risk number (IATA/DGR)",
1674            Text::SpecialServiceRequest => "Special service request",
1675            Text::SupplierRemarks => "Supplier remarks",
1676            Text::ConsignmentTariff => "Consignment tariff",
1677            Text::ConsignmentTransport => "Consignment transport",
1678            Text::TransportationInformation => "Transportation information",
1679            Text::RequestedTariff => "Requested tariff",
1680            Text::TaxDeclaration => "Tax declaration",
1681            Text::WarehouseInstructionInformation => "Warehouse instruction/information",
1682            Text::MutuallyDefined => "Mutually defined",
1683        }
1684    }
1685}
1686
1687impl crate::FromCode for Text {
1688    fn from_code(code: &str) -> Option<Self>
1689    where
1690        Self: Sized,
1691    {
1692        match code {
1693            "AAA" => Some(Text::GoodsItemDescription),
1694            "AAB" => Some(Text::PaymentTerm),
1695            "AAC" => Some(Text::DangerousGoodsAdditionalInformation),
1696            "AAD" => Some(Text::DangerousGoodsTechnicalName),
1697            "AAE" => Some(Text::AcknowledgementDescription),
1698            "AAF" => Some(Text::RateAdditionalInformation),
1699            "AAG" => Some(Text::PartyInstructions),
1700            "AAI" => Some(Text::GeneralInformation),
1701            "AAJ" => Some(Text::AdditionalConditionsSalePurchase),
1702            "AAK" => Some(Text::PriceConditions),
1703            "AAL" => Some(Text::GoodsDimensionsInCharacters),
1704            "AAM" => Some(Text::EquipmentReUsageRestrictions),
1705            "AAN" => Some(Text::HandlingRestriction),
1706            "AAO" => Some(Text::ErrorDescriptionFreeText),
1707            "AAP" => Some(Text::ResponseFreeText),
1708            "AAQ" => Some(Text::PackageContentsDescription),
1709            "AAR" => Some(Text::TermsDelivery),
1710            "AAS" => Some(Text::BillLadingRemarks),
1711            "AAT" => Some(Text::ModeSettlementInformation),
1712            "AAU" => Some(Text::ConsignmentInvoiceInformation),
1713            "AAV" => Some(Text::ClearanceInvoiceInformation),
1714            "AAW" => Some(Text::LetterCreditInformation),
1715            "AAX" => Some(Text::LicenseInformation),
1716            "AAY" => Some(Text::CertificationStatements),
1717            "AAZ" => Some(Text::AdditionalExportInformation),
1718            "ABA" => Some(Text::TariffStatements),
1719            "ABB" => Some(Text::MedicalHistory),
1720            "ABC" => Some(Text::ConditionsSaleOrPurchase),
1721            "ABD" => Some(Text::ContractDocumentType),
1722            "ABE" => Some(Text::AdditionalTermsAndOrConditionsDocumentaryCredit),
1723            "ABF" => Some(Text::InstructionsOrInformationAboutStandbyDocumentary),
1724            "ABG" => Some(Text::InstructionsOrInformationAboutPartialShipmentS),
1725            "ABH" => Some(Text::InstructionsOrInformationAboutTranshipmentS),
1726            "ABI" => Some(Text::AdditionalHandlingInstructionsDocumentaryCredit),
1727            "ABJ" => Some(Text::DomesticRoutingInformation),
1728            "ABK" => Some(Text::ChargeableCategoryEquipment),
1729            "ABL" => Some(Text::GovernmentInformation),
1730            "ABM" => Some(Text::OnwardRoutingInformation),
1731            "ABN" => Some(Text::AccountingInformation),
1732            "ABO" => Some(Text::DiscrepancyInformation),
1733            "ABP" => Some(Text::ConfirmationInstructions),
1734            "ABQ" => Some(Text::MethodIssuance),
1735            "ABR" => Some(Text::DocumentsDeliveryInstructions),
1736            "ABS" => Some(Text::AdditionalConditions),
1737            "ABT" => Some(Text::InformationInstructionsAboutAdditionalAmountsCovered),
1738            "ABU" => Some(Text::DeferredPaymentTermedAdditional),
1739            "ABV" => Some(Text::AcceptanceTermsAdditional),
1740            "ABW" => Some(Text::NegotiationTermsAdditional),
1741            "ABX" => Some(Text::DocumentNameAndDocumentaryRequirements),
1742            "ABZ" => Some(Text::InstructionsInformationAboutRevolvingDocumentaryCredit),
1743            "ACA" => Some(Text::DocumentaryRequirements),
1744            "ACB" => Some(Text::AdditionalInformation),
1745            "ACC" => Some(Text::FactorAssignmentClause),
1746            "ACD" => Some(Text::Reason),
1747            "ACE" => Some(Text::Dispute),
1748            "ACF" => Some(Text::AdditionalAttributeInformation),
1749            "ACG" => Some(Text::AbsenceDeclaration),
1750            "ACH" => Some(Text::AggregationStatement),
1751            "ACI" => Some(Text::CompilationStatement),
1752            "ACJ" => Some(Text::DefinitionalException),
1753            "ACK" => Some(Text::PrivacyStatement),
1754            "ACL" => Some(Text::QualityStatement),
1755            "ACM" => Some(Text::StatisticalDescription),
1756            "ACN" => Some(Text::StatisticalDefinition),
1757            "ACO" => Some(Text::StatisticalName),
1758            "ACP" => Some(Text::StatisticalTitle),
1759            "ACQ" => Some(Text::OffDimensionInformation),
1760            "ACR" => Some(Text::UnexpectedStopsInformation),
1761            "ACS" => Some(Text::Principles),
1762            "ACT" => Some(Text::TermsAndDefinition),
1763            "ACU" => Some(Text::SegmentName),
1764            "ACV" => Some(Text::SimpleDataElementName),
1765            "ACW" => Some(Text::Scope),
1766            "ACX" => Some(Text::MessageTypeName),
1767            "ACY" => Some(Text::Introduction),
1768            "ACZ" => Some(Text::Glossary),
1769            "ADA" => Some(Text::FunctionalDefinition),
1770            "ADB" => Some(Text::Examples),
1771            "ADC" => Some(Text::CoverPage),
1772            "ADD" => Some(Text::DependencySyntaxNotes),
1773            "ADE" => Some(Text::CodeValueName),
1774            "ADF" => Some(Text::CodeListName),
1775            "ADG" => Some(Text::ClarificationUsage),
1776            "ADH" => Some(Text::CompositeDataElementName),
1777            "ADI" => Some(Text::FieldApplication),
1778            "ADJ" => Some(Text::TypeAssetsAndLiabilities),
1779            "ADK" => Some(Text::PromotionInformation),
1780            "ADL" => Some(Text::MeterCondition),
1781            "ADM" => Some(Text::MeterReadingInformation),
1782            "ADN" => Some(Text::TypeTransactionReason),
1783            "ADO" => Some(Text::TypeSurveyQuestion),
1784            "ADP" => Some(Text::CarriersAgentCounterInformation),
1785            "ADQ" => Some(Text::DescriptionWorkItemOnEquipment),
1786            "ADR" => Some(Text::MessageDefinition),
1787            "ADS" => Some(Text::BookedItemInformation),
1788            "ADT" => Some(Text::SourceDocument),
1789            "ADU" => Some(Text::Note),
1790            "ADV" => Some(Text::FixedPartSegmentClarificationText),
1791            "ADW" => Some(Text::CharacteristicsGoods),
1792            "ADX" => Some(Text::AdditionalDischargeInstructions),
1793            "ADY" => Some(Text::ContainerStrippingInstructions),
1794            "ADZ" => Some(Text::CscContainerSafetyConventionPlateInformation),
1795            "AEA" => Some(Text::CargoRemarks),
1796            "AEB" => Some(Text::TemperatureControlInstructions),
1797            "AEC" => Some(Text::TextRefersToExpectedData),
1798            "AED" => Some(Text::TextRefersToReceivedData),
1799            "AEE" => Some(Text::SectionClarificationText),
1800            "AEF" => Some(Text::InformationToBeneficiary),
1801            "AEG" => Some(Text::InformationToApplicant),
1802            "AEH" => Some(Text::InstructionsToBeneficiary),
1803            "AEI" => Some(Text::InstructionsToApplicant),
1804            "AEJ" => Some(Text::ControlledAtmosphere),
1805            "AEK" => Some(Text::TakeOffAnnotation),
1806            "AEL" => Some(Text::PriceVariationNarrative),
1807            "AEM" => Some(Text::DocumentaryCreditAmendmentInstructions),
1808            "AEN" => Some(Text::StandardMethodNarrative),
1809            "AEO" => Some(Text::ProjectNarrative),
1810            "AEP" => Some(Text::RadioactiveGoodsAdditionalInformation),
1811            "AEQ" => Some(Text::BankToBankInformation),
1812            "AER" => Some(Text::ReimbursementInstructions),
1813            "AES" => Some(Text::ReasonForAmendingAMessage),
1814            "AET" => Some(Text::InstructionsToPayingAndOrAcceptingAndOr),
1815            "AEU" => Some(Text::InterestInstructions),
1816            "AEV" => Some(Text::AgentCommission),
1817            "AEW" => Some(Text::RemittingBankInstructions),
1818            "AEX" => Some(Text::InstructionsToCollectingBank),
1819            "AEY" => Some(Text::CollectionAmountInstructions),
1820            "AEZ" => Some(Text::InternalAuditingInformation),
1821            "AFA" => Some(Text::Constraint),
1822            "AFB" => Some(Text::Comment),
1823            "AFC" => Some(Text::SemanticNote),
1824            "AFD" => Some(Text::HelpText),
1825            "AFE" => Some(Text::Legend),
1826            "AFF" => Some(Text::BatchCodeStructure),
1827            "AFG" => Some(Text::ProductApplication),
1828            "AFH" => Some(Text::CustomerComplaint),
1829            "AFI" => Some(Text::ProbableCauseFault),
1830            "AFJ" => Some(Text::DefectDescription),
1831            "AFK" => Some(Text::RepairDescription),
1832            "AFL" => Some(Text::ReviewComments),
1833            "AFM" => Some(Text::Title),
1834            "AFN" => Some(Text::DescriptionAmount),
1835            "AFO" => Some(Text::Responsibilities),
1836            "AFP" => Some(Text::Supplier),
1837            "AFQ" => Some(Text::PurchaseRegion),
1838            "AFR" => Some(Text::Affiliation),
1839            "AFS" => Some(Text::Borrower),
1840            "AFT" => Some(Text::LineBusiness),
1841            "AFU" => Some(Text::FinancialInstitution),
1842            "AFV" => Some(Text::BusinessFounder),
1843            "AFW" => Some(Text::BusinessHistory),
1844            "AFX" => Some(Text::BankingArrangements),
1845            "AFY" => Some(Text::BusinessOrigin),
1846            "AFZ" => Some(Text::BrandNamesDescription),
1847            "AGA" => Some(Text::BusinessFinancingDetails),
1848            "AGB" => Some(Text::Competition),
1849            "AGC" => Some(Text::ConstructionProcessDetails),
1850            "AGD" => Some(Text::ConstructionSpecialty),
1851            "AGE" => Some(Text::ContractInformation),
1852            "AGF" => Some(Text::CorporateFiling),
1853            "AGG" => Some(Text::CustomerInformation),
1854            "AGH" => Some(Text::CopyrightNotice),
1855            "AGI" => Some(Text::ContingentDebt),
1856            "AGJ" => Some(Text::ConvictionDetails),
1857            "AGK" => Some(Text::Equipment),
1858            "AGL" => Some(Text::WorkforceDescription),
1859            "AGM" => Some(Text::Exemption),
1860            "AGN" => Some(Text::FuturePlans),
1861            "AGO" => Some(Text::IntervieweeConversationInformation),
1862            "AGP" => Some(Text::IntangibleAsset),
1863            "AGQ" => Some(Text::Inventory),
1864            "AGR" => Some(Text::Investment),
1865            "AGS" => Some(Text::IntercompanyRelationsInformation),
1866            "AGT" => Some(Text::JointVenture),
1867            "AGU" => Some(Text::Loan),
1868            "AGV" => Some(Text::LongTermDebt),
1869            "AGW" => Some(Text::Location),
1870            "AGX" => Some(Text::CurrentLegalStructure),
1871            "AGY" => Some(Text::MaritalContract),
1872            "AGZ" => Some(Text::MarketingActivities),
1873            "AHA" => Some(Text::Merger),
1874            "AHB" => Some(Text::MarketableSecurities),
1875            "AHC" => Some(Text::BusinessDebt),
1876            "AHD" => Some(Text::OriginalLegalStructure),
1877            "AHE" => Some(Text::EmployeeSharingArrangements),
1878            "AHF" => Some(Text::OrganizationDetails),
1879            "AHG" => Some(Text::PublicRecordDetails),
1880            "AHH" => Some(Text::PriceRange),
1881            "AHI" => Some(Text::Qualifications),
1882            "AHJ" => Some(Text::RegisteredActivity),
1883            "AHK" => Some(Text::CriminalSentence),
1884            "AHL" => Some(Text::SalesMethod),
1885            "AHM" => Some(Text::EducationalInstitutionInformation),
1886            "AHN" => Some(Text::StatusDetails),
1887            "AHO" => Some(Text::Sales),
1888            "AHP" => Some(Text::SpouseInformation),
1889            "AHQ" => Some(Text::EducationalDegreeInformation),
1890            "AHR" => Some(Text::ShareholdingInformation),
1891            "AHS" => Some(Text::SalesTerritory),
1892            "AHT" => Some(Text::AccountantsComments),
1893            "AHU" => Some(Text::ExemptionLawLocation),
1894            "AHV" => Some(Text::ShareClassifications),
1895            "AHW" => Some(Text::Forecast),
1896            "AHX" => Some(Text::EventLocation),
1897            "AHY" => Some(Text::FacilityOccupancy),
1898            "AHZ" => Some(Text::ImportAndExportDetails),
1899            "AIA" => Some(Text::AdditionalFacilityInformation),
1900            "AIB" => Some(Text::InventoryValue),
1901            "AIC" => Some(Text::Education),
1902            "AID" => Some(Text::Event),
1903            "AIE" => Some(Text::Agent),
1904            "AIF" => Some(Text::DomesticallyAgreedFinancialStatementDetails),
1905            "AIG" => Some(Text::OtherCurrentAssetDescription),
1906            "AIH" => Some(Text::OtherCurrentLiabilityDescription),
1907            "AII" => Some(Text::FormerBusinessActivity),
1908            "AIJ" => Some(Text::TradeNameUse),
1909            "AIK" => Some(Text::SigningAuthority),
1910            "AIL" => Some(Text::Guarantee),
1911            "AIM" => Some(Text::HoldingCompanyOperation),
1912            "AIN" => Some(Text::ConsignmentRouting),
1913            "AIO" => Some(Text::LetterProtest),
1914            "AIP" => Some(Text::Question),
1915            "AIQ" => Some(Text::PartyInformation),
1916            "AIR" => Some(Text::AreaBoundariesDescription),
1917            "AIS" => Some(Text::AdvertisementInformation),
1918            "AIT" => Some(Text::FinancialStatementDetails),
1919            "AIU" => Some(Text::AccessInstructions),
1920            "AIV" => Some(Text::Liquidity),
1921            "AIW" => Some(Text::CreditLine),
1922            "AIX" => Some(Text::WarrantyTerms),
1923            "AIY" => Some(Text::DivisionDescription),
1924            "AIZ" => Some(Text::ReportingInstruction),
1925            "AJA" => Some(Text::ExaminationResult),
1926            "AJB" => Some(Text::LaboratoryResult),
1927            "ALC" => Some(Text::AllowanceChargeInformation),
1928            "ALD" => Some(Text::XRayResult),
1929            "ALE" => Some(Text::PathologyResult),
1930            "ALF" => Some(Text::InterventionDescription),
1931            "ALG" => Some(Text::SummaryAdmittance),
1932            "ALH" => Some(Text::MedicalTreatmentCourseDetail),
1933            "ALI" => Some(Text::Prognosis),
1934            "ALJ" => Some(Text::InstructionToPatient),
1935            "ALK" => Some(Text::InstructionToPhysician),
1936            "ALL" => Some(Text::AllDocuments),
1937            "ALM" => Some(Text::MedicineTreatment),
1938            "ALN" => Some(Text::MedicineDosageAndAdministration),
1939            "ALO" => Some(Text::AvailabilityPatient),
1940            "ALP" => Some(Text::ReasonForServiceRequest),
1941            "ALQ" => Some(Text::PurposeService),
1942            "ARR" => Some(Text::ArrivalConditions),
1943            "ARS" => Some(Text::ServiceRequestersComment),
1944            "AUT" => Some(Text::Authentication),
1945            "AUU" => Some(Text::RequestedLocationDescription),
1946            "AUV" => Some(Text::MedicineAdministrationCondition),
1947            "AUW" => Some(Text::PatientInformation),
1948            "AUX" => Some(Text::PrecautionaryMeasure),
1949            "AUY" => Some(Text::ServiceCharacteristic),
1950            "AUZ" => Some(Text::PlannedEventComment),
1951            "AVA" => Some(Text::ExpectedDelayComment),
1952            "AVB" => Some(Text::TransportRequirementsComment),
1953            "AVC" => Some(Text::TemporaryApprovalCondition),
1954            "AVD" => Some(Text::CustomsValuationInformation),
1955            "AVE" => Some(Text::ValueAddedTaxVatMarginScheme),
1956            "AVF" => Some(Text::MaritimeDeclarationHealth),
1957            "BAG" => Some(Text::PassengerBaggageInformation),
1958            "BAH" => Some(Text::MaritimeDeclarationHealth_Dup),
1959            "BAI" => Some(Text::AdditionalProductInformationAddress),
1960            "BAJ" => Some(Text::InformationToBePrintedOnDespatchAdvice),
1961            "BAK" => Some(Text::MissingGoodsRemarks),
1962            "BAL" => Some(Text::NonAcceptanceInformation),
1963            "BAM" => Some(Text::ReturnsInformation),
1964            "BAN" => Some(Text::SubLineItemInformation),
1965            "BAO" => Some(Text::TestInformation),
1966            "BAP" => Some(Text::ExternalLink),
1967            "BAQ" => Some(Text::VatExemptionReason),
1968            "BAR" => Some(Text::ProcessingInstructions),
1969            "BAS" => Some(Text::RelayInstructions),
1970            "BAT" => Some(Text::SimaApplicable),
1971            "BAU" => Some(Text::AppealsProgramCode),
1972            "BAV" => Some(Text::SimaSubject),
1973            "BAW" => Some(Text::SurtaxApplicable),
1974            "BAX" => Some(Text::SimaSecurityBond),
1975            "BAY" => Some(Text::SurtaxSubject),
1976            "BAZ" => Some(Text::SafeguardApplicable),
1977            "BBA" => Some(Text::SafeguardApplicable_Dup),
1978            "BBB" => Some(Text::SafeguardSubject),
1979            "BLC" => Some(Text::TransportContractDocumentClause),
1980            "BLD" => Some(Text::InstructionToPreparePatient),
1981            "BLE" => Some(Text::MedicineTreatmentComment),
1982            "BLF" => Some(Text::ExaminationResultComment),
1983            "BLG" => Some(Text::ServiceRequestComment),
1984            "BLH" => Some(Text::PrescriptionReason),
1985            "BLI" => Some(Text::PrescriptionComment),
1986            "BLJ" => Some(Text::ClinicalInvestigationComment),
1987            "BLK" => Some(Text::MedicinalSpecificationComment),
1988            "BLL" => Some(Text::EconomicContributionComment),
1989            "BLM" => Some(Text::StatusAPlan),
1990            "BLN" => Some(Text::RandomSampleTestInformation),
1991            "BLO" => Some(Text::PeriodTime),
1992            "BLP" => Some(Text::Legislation),
1993            "BLQ" => Some(Text::SecurityMeasuresRequested),
1994            "BLR" => Some(Text::TransportContractDocumentRemark),
1995            "BLS" => Some(Text::PreviousPortCallSecurityInformation),
1996            "BLT" => Some(Text::SecurityInformation),
1997            "BLU" => Some(Text::WasteInformation),
1998            "BLV" => Some(Text::B2cMarketingInformationShortDescription),
1999            "BLW" => Some(Text::B2bMarketingInformationLongDescription),
2000            "BLX" => Some(Text::B2cMarketingInformationLongDescription),
2001            "BLY" => Some(Text::ProductIngredients),
2002            "BLZ" => Some(Text::LocationShortName),
2003            "BMA" => Some(Text::PackagingMaterialInformation),
2004            "BMB" => Some(Text::FillerMaterialInformation),
2005            "BMC" => Some(Text::ShipToShipActivityInformation),
2006            "BMD" => Some(Text::PackageMaterialDescription),
2007            "BME" => Some(Text::ConsumerLevelPackageMarking),
2008            "BMF" => Some(Text::SimaMeasureInForce),
2009            "BMG" => Some(Text::PreCarm),
2010            "BMH" => Some(Text::SimaMeasureType),
2011            "CCI" => Some(Text::CustomsClearanceInstructions),
2012            "CCJ" => Some(Text::SubTypeCode),
2013            "CCK" => Some(Text::SimaInformation),
2014            "CCL" => Some(Text::TimeLimitEnd),
2015            "CCM" => Some(Text::TimeLimitStart),
2016            "CCN" => Some(Text::WarehouseTimeLimit),
2017            "CCO" => Some(Text::ValueForDutyInformation),
2018            "CEX" => Some(Text::CustomsClearanceInstructionsExport),
2019            "CHG" => Some(Text::ChangeInformation),
2020            "CIP" => Some(Text::CustomsClearanceInstructionImport),
2021            "CLP" => Some(Text::ClearancePlaceRequested),
2022            "CLR" => Some(Text::LoadingRemarks),
2023            "COI" => Some(Text::OrderInformation),
2024            "CUR" => Some(Text::CustomerRemarks),
2025            "CUS" => Some(Text::CustomsDeclarationInformation),
2026            "DAR" => Some(Text::DamageRemarks),
2027            "DCL" => Some(Text::DocumentIssuerDeclaration),
2028            "DEL" => Some(Text::DeliveryInformation),
2029            "DIN" => Some(Text::DeliveryInstructions),
2030            "DOC" => Some(Text::DocumentationInstructions),
2031            "DUT" => Some(Text::DutyDeclaration),
2032            "EUR" => Some(Text::EffectiveUsedRouting),
2033            "FBC" => Some(Text::FirstBlockToBePrintedOnTransportContract),
2034            "GBL" => Some(Text::GovernmentBillLadingInformation),
2035            "GEN" => Some(Text::EntireTransactionSet),
2036            "GS7" => Some(Text::FurtherInformationConcerningGgvsPar7),
2037            "HAN" => Some(Text::ConsignmentHandlingInstruction),
2038            "HAZ" => Some(Text::HazardInformation),
2039            "ICN" => Some(Text::ConsignmentInformationForConsignee),
2040            "IIN" => Some(Text::InsuranceInstructions),
2041            "IMI" => Some(Text::InvoiceMailingInstructions),
2042            "IND" => Some(Text::CommercialInvoiceItemDescription),
2043            "INS" => Some(Text::InsuranceInformation),
2044            "INV" => Some(Text::InvoiceInstruction),
2045            "IRP" => Some(Text::InformationForRailwayPurpose),
2046            "ITR" => Some(Text::InlandTransportDetails),
2047            "ITS" => Some(Text::TestingInstructions),
2048            "LAN" => Some(Text::LocationAlias),
2049            "LIN" => Some(Text::LineItem),
2050            "LOI" => Some(Text::LoadingInstruction),
2051            "MCO" => Some(Text::MiscellaneousChargeOrder),
2052            "MDH" => Some(Text::MaritimeDeclarationHealth_Dup_Dup),
2053            "MKS" => Some(Text::AdditionalMarksNumbersInformation),
2054            "ORI" => Some(Text::OrderInstruction),
2055            "OSI" => Some(Text::OtherServiceInformation),
2056            "PAC" => Some(Text::PackingMarkingInformation),
2057            "PAI" => Some(Text::PaymentInstructionsInformation),
2058            "PAY" => Some(Text::PayablesInformation),
2059            "PKG" => Some(Text::PackagingInformation),
2060            "PKT" => Some(Text::PackagingTermsInformation),
2061            "PMD" => Some(Text::PaymentDetailRemittanceInformation),
2062            "PMT" => Some(Text::PaymentInformation),
2063            "PRD" => Some(Text::ProductInformation),
2064            "PRF" => Some(Text::PriceCalculationFormula),
2065            "PRI" => Some(Text::PriorityInformation),
2066            "PUR" => Some(Text::PurchasingInformation),
2067            "QIN" => Some(Text::QuarantineInstructions),
2068            "QQD" => Some(Text::QualityDemandsRequirements),
2069            "QUT" => Some(Text::QuotationInstructionInformation),
2070            "RAH" => Some(Text::RiskAndHandlingInformation),
2071            "REG" => Some(Text::RegulatoryInformation),
2072            "RET" => Some(Text::ReturnToOriginInformation),
2073            "REV" => Some(Text::Receivables),
2074            "RQR" => Some(Text::ConsignmentRoute),
2075            "SAF" => Some(Text::SafetyInformation),
2076            "SIC" => Some(Text::ConsignmentDocumentaryInstruction),
2077            "SIN" => Some(Text::SpecialInstructions),
2078            "SLR" => Some(Text::ShipLineRequested),
2079            "SPA" => Some(Text::SpecialPermissionForTransportGenerally),
2080            "SPG" => Some(Text::SpecialPermissionConcerningGoodsToBeTransported),
2081            "SPH" => Some(Text::SpecialHandling),
2082            "SPP" => Some(Text::SpecialPermissionConcerningPackage),
2083            "SPT" => Some(Text::SpecialPermissionConcerningTransportMeans),
2084            "SRN" => Some(Text::SubsidiaryRiskNumberIataDgr),
2085            "SSR" => Some(Text::SpecialServiceRequest),
2086            "SUR" => Some(Text::SupplierRemarks),
2087            "TCA" => Some(Text::ConsignmentTariff),
2088            "TDT" => Some(Text::ConsignmentTransport),
2089            "TRA" => Some(Text::TransportationInformation),
2090            "TRR" => Some(Text::RequestedTariff),
2091            "TXD" => Some(Text::TaxDeclaration),
2092            "WHI" => Some(Text::WarehouseInstructionInformation),
2093            "ZZZ" => Some(Text::MutuallyDefined),
2094            _ => None,
2095        }
2096    }
2097}