UNPKG

zugferd-code-lists

Version:

ZUGFeRD code lists, e.g. languages enum, currencies enum, countries enum, etc.

1 lines 3.26 kB
{"version":3,"sources":["../../src/zugferd_2_3_2/hybridconformance.ts"],"sourcesContent":["export enum HybridConformance {\n /**\n * The included document uses a MINIMUM profile\n *\n * Only applicable in Factur-X/ZUGFeRD\n *\n * Not allowed in Germany from 2025-01-01\n */\n TheIncludedDocumentUsesAMinimumProfile = \"MINIMUM\",\n /**\n * The included document uses a Basic Without Lines profile\n *\n * Only applicable in Factur-X/ZUGFeRD\n *\n * Not allowed in Germany from 2025-01-01\n */\n TheIncludedDocumentUsesABasicWithoutLinesProfile = \"BASIC WL\",\n /**\n * The included document uses a Basic profile\n *\n * Applicable in Factur-X/ZUGFeRD and Order-X. For Factur-X/ZUGFeRD the BASIC profile is compliant to the EN16931.\n */\n TheIncludedDocumentUsesABasicProfile = \"BASIC\",\n /**\n * The included document uses a Comfort profile\n *\n * Only applicable in Order-X\n */\n TheIncludedDocumentUsesAComfortProfile = \"COMFORT\",\n /**\n * The included document uses a EN 16931 profile\n *\n * Only applicable in Factur-X/ZUGFeRD. This profile is compliant to the EN16931.\n */\n TheIncludedDocumentUsesAEn16931Profile = \"EN 16931\",\n /**\n * The included document uses a Comfort profile\n *\n * Applicable in Factur-X/ZUGFeRD and Order-X. For Factur-X/ZUGFeRD the EXTENDED profile is compliant to and conformant extension of the EN16931.\n */\n TheIncludedDocumentUsesAComfortProfile_Dup = \"EXTENDED\",\n /**\n * The included document uses an XRECHNUNG profile\n *\n * Only applicable in Factur-X/ZUGFeRD.\n *\n * Not applicable in France\n */\n TheIncludedDocumentUsesAnXrechnungProfile = \"XRECHNUNG\",\n}\n\nexport function description(value: HybridConformance): string {\n switch (value) {\n case HybridConformance.TheIncludedDocumentUsesAMinimumProfile:\n return \"The included document uses a MINIMUM profile\";\n case HybridConformance.TheIncludedDocumentUsesABasicWithoutLinesProfile:\n return \"The included document uses a Basic Without Lines profile\";\n case HybridConformance.TheIncludedDocumentUsesABasicProfile:\n return \"The included document uses a Basic profile\";\n case HybridConformance.TheIncludedDocumentUsesAComfortProfile:\n return \"The included document uses a Comfort profile\";\n case HybridConformance.TheIncludedDocumentUsesAEn16931Profile:\n return \"The included document uses a EN 16931 profile\";\n case HybridConformance.TheIncludedDocumentUsesAComfortProfile_Dup:\n return \"The included document uses a Comfort profile\";\n case HybridConformance.TheIncludedDocumentUsesAnXrechnungProfile:\n return \"The included document uses an XRECHNUNG profile\";\n }\n}\n"],"mappings":";AAAO,IAAK,oBAAL,kBAAKA,uBAAL;AAQL,EAAAA,mBAAA,4CAAyC;AAQzC,EAAAA,mBAAA,sDAAmD;AAMnD,EAAAA,mBAAA,0CAAuC;AAMvC,EAAAA,mBAAA,4CAAyC;AAMzC,EAAAA,mBAAA,4CAAyC;AAMzC,EAAAA,mBAAA,gDAA6C;AAQ7C,EAAAA,mBAAA,+CAA4C;AAhDlC,SAAAA;AAAA,GAAA;AAmDL,SAAS,YAAY,OAAkC;AAC5D,UAAQ,OAAO;AAAA,IACb,KAAK;AACH,aAAO;AAAA,IACT,KAAK;AACH,aAAO;AAAA,IACT,KAAK;AACH,aAAO;AAAA,IACT,KAAK;AACH,aAAO;AAAA,IACT,KAAK;AACH,aAAO;AAAA,IACT,KAAK;AACH,aAAO;AAAA,IACT,KAAK;AACH,aAAO;AAAA,EACX;AACF;","names":["HybridConformance"]}