UNPKG

zugferd-code-lists

Version:

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

66 lines (65 loc) 2.62 kB
"use strict"; var __defProp = Object.defineProperty; var __getOwnPropDesc = Object.getOwnPropertyDescriptor; var __getOwnPropNames = Object.getOwnPropertyNames; var __hasOwnProp = Object.prototype.hasOwnProperty; var __export = (target, all) => { for (var name in all) __defProp(target, name, { get: all[name], enumerable: true }); }; var __copyProps = (to, from, except, desc) => { if (from && typeof from === "object" || typeof from === "function") { for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); } return to; }; var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); // src/zugferd_2_3_2/enum5305.ts var enum5305_exports = {}; __export(enum5305_exports, { Enum5305: () => Enum5305, description: () => description }); module.exports = __toCommonJS(enum5305_exports); var Enum5305 = /* @__PURE__ */ ((Enum53052) => { Enum53052["StandardRate"] = "S"; Enum53052["ZeroRatedGoods"] = "Z"; Enum53052["ExemptFromTax"] = "E"; Enum53052["VatReverseCharge"] = "AE"; Enum53052["VatExemptForEeaIntraCommunitySupplyGoodsAndServices"] = "K"; Enum53052["FreeExportItemTaxNotCharged"] = "G"; Enum53052["ServiceOutsideScopeTax"] = "O"; Enum53052["CanaryIslandsGeneralIndirectTax"] = "L"; Enum53052["TaxForProductionServicesAndImportationInCeutaAndMelilla"] = "M"; return Enum53052; })(Enum5305 || {}); function description(value) { switch (value) { case "S" /* StandardRate */: return "Standard rate"; case "Z" /* ZeroRatedGoods */: return "Zero rated goods"; case "E" /* ExemptFromTax */: return "Exempt from tax"; case "AE" /* VatReverseCharge */: return "VAT Reverse charge"; case "K" /* VatExemptForEeaIntraCommunitySupplyGoodsAndServices */: return "VAT exempt for EEA intra-community supply of goods and services"; case "G" /* FreeExportItemTaxNotCharged */: return "Free export item, tax not charged"; case "O" /* ServiceOutsideScopeTax */: return "Service outside scope of tax"; case "L" /* CanaryIslandsGeneralIndirectTax */: return "Canary Islands general indirect tax"; case "M" /* TaxForProductionServicesAndImportationInCeutaAndMelilla */: return "Tax for production, services and importation in Ceuta and Melilla"; } } // Annotate the CommonJS export names for ESM import in node: 0 && (module.exports = { Enum5305, description }); //# sourceMappingURL=enum5305.js.map