zugferd-code-lists
Version:
ZUGFeRD code lists, e.g. languages enum, currencies enum, countries enum, etc.
207 lines (206 loc) • 7.63 kB
JavaScript
"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/vatcat.ts
var vatcat_exports = {};
__export(vatcat_exports, {
VATCAT: () => VATCAT,
description: () => description
});
module.exports = __toCommonJS(vatcat_exports);
var VATCAT = /* @__PURE__ */ ((VATCAT2) => {
VATCAT2["PetroleumTax"] = "AAA";
VATCAT2["ProvisionalCountervailingDutyCash"] = "AAB";
VATCAT2["ProvisionalCountervailingDutyBond"] = "AAC";
VATCAT2["TobaccoTax"] = "AAD";
VATCAT2["EnergyFee"] = "AAE";
VATCAT2["CoffeeTax"] = "AAF";
VATCAT2["HarmonisedSalesTaxCanadian"] = "AAG";
VATCAT2["QuebecSalesTax"] = "AAH";
VATCAT2["CanadianProvincialSalesTax"] = "AAI";
VATCAT2["TaxOnReplacementPart"] = "AAJ";
VATCAT2["MineralOilTax"] = "AAK";
VATCAT2["SpecialTax"] = "AAL";
VATCAT2["InsuranceTax"] = "AAM";
VATCAT2["ProvincialCannabisTax"] = "AAO";
VATCAT2["OutstandingDutyInterest"] = "AAP";
VATCAT2["AntiDumpingDuty"] = "ADD";
VATCAT2["StampDutyImpostaDiBollo"] = "BOL";
VATCAT2["AgriculturalLevy"] = "CAP";
VATCAT2["CarTax"] = "CAR";
VATCAT2["PaperConsortiumTaxItaly"] = "COC";
VATCAT2["CommoditySpecificTax"] = "CST";
VATCAT2["CustomsDuty"] = "CUD";
VATCAT2["CountervailingDuty"] = "CVD";
VATCAT2["EnvironmentalTax"] = "ENV";
VATCAT2["ExciseDuty"] = "EXC";
VATCAT2["AgriculturalExportRebate"] = "EXP";
VATCAT2["FederalExciseTax"] = "FET";
VATCAT2["Free"] = "FRE";
VATCAT2["GeneralConstructionTax"] = "GCN";
VATCAT2["GoodsAndServicesTax"] = "GST";
VATCAT2["IlluminantsTax"] = "ILL";
VATCAT2["ImportTax"] = "IMP";
VATCAT2["IndividualTax"] = "IND";
VATCAT2["BusinessLicenseFee"] = "LAC";
VATCAT2["LocalConstructionTax"] = "LCN";
VATCAT2["LightDuesPayable"] = "LDP";
VATCAT2["LocalSalesTax"] = "LOC";
VATCAT2["LustTax"] = "LST";
VATCAT2["MonetaryCompensatoryAmount"] = "MCA";
VATCAT2["MiscellaneousCashDeposit"] = "MCD";
VATCAT2["OtherTaxes"] = "OTH";
VATCAT2["ProvisionalDutyBond"] = "PDB";
VATCAT2["ProvisionalDutyCash"] = "PDC";
VATCAT2["PreferenceDuty"] = "PRF";
VATCAT2["SpecialConstructionTax"] = "SCN";
VATCAT2["ShiftedSocialSecurities"] = "SSS";
VATCAT2["StateProvincialSalesTax"] = "STT";
VATCAT2["SuspendedDuty"] = "SUP";
VATCAT2["Surtax"] = "SUR";
VATCAT2["ShiftedWageTax"] = "SWT";
VATCAT2["AlcoholMarkTax"] = "TAC";
VATCAT2["Total"] = "TOT";
VATCAT2["TurnoverTax"] = "TOX";
VATCAT2["TonnageTaxes"] = "TTA";
VATCAT2["ValuationDeposit"] = "VAD";
VATCAT2["ValueAddedTax"] = "VAT";
return VATCAT2;
})(VATCAT || {});
function description(value) {
switch (value) {
case "AAA" /* PetroleumTax */:
return "Petroleum tax";
case "AAB" /* ProvisionalCountervailingDutyCash */:
return "Provisional countervailing duty cash";
case "AAC" /* ProvisionalCountervailingDutyBond */:
return "Provisional countervailing duty bond";
case "AAD" /* TobaccoTax */:
return "Tobacco tax";
case "AAE" /* EnergyFee */:
return "Energy fee";
case "AAF" /* CoffeeTax */:
return "Coffee tax";
case "AAG" /* HarmonisedSalesTaxCanadian */:
return "Harmonised sales tax, Canadian";
case "AAH" /* QuebecSalesTax */:
return "Quebec sales tax";
case "AAI" /* CanadianProvincialSalesTax */:
return "Canadian provincial sales tax";
case "AAJ" /* TaxOnReplacementPart */:
return "Tax on replacement part";
case "AAK" /* MineralOilTax */:
return "Mineral oil tax";
case "AAL" /* SpecialTax */:
return "Special tax";
case "AAM" /* InsuranceTax */:
return "Insurance tax";
case "AAO" /* ProvincialCannabisTax */:
return "Provincial Cannabis Tax";
case "AAP" /* OutstandingDutyInterest */:
return "Outstanding duty interest";
case "ADD" /* AntiDumpingDuty */:
return "Anti-dumping duty";
case "BOL" /* StampDutyImpostaDiBollo */:
return "Stamp duty (Imposta di Bollo)";
case "CAP" /* AgriculturalLevy */:
return "Agricultural levy";
case "CAR" /* CarTax */:
return "Car tax";
case "COC" /* PaperConsortiumTaxItaly */:
return "Paper consortium tax (Italy)";
case "CST" /* CommoditySpecificTax */:
return "Commodity specific tax";
case "CUD" /* CustomsDuty */:
return "Customs duty";
case "CVD" /* CountervailingDuty */:
return "Countervailing duty";
case "ENV" /* EnvironmentalTax */:
return "Environmental tax";
case "EXC" /* ExciseDuty */:
return "Excise duty";
case "EXP" /* AgriculturalExportRebate */:
return "Agricultural export rebate";
case "FET" /* FederalExciseTax */:
return "Federal excise tax";
case "FRE" /* Free */:
return "Free";
case "GCN" /* GeneralConstructionTax */:
return "General construction tax";
case "GST" /* GoodsAndServicesTax */:
return "Goods and services tax";
case "ILL" /* IlluminantsTax */:
return "Illuminants tax";
case "IMP" /* ImportTax */:
return "Import tax";
case "IND" /* IndividualTax */:
return "Individual tax";
case "LAC" /* BusinessLicenseFee */:
return "Business license fee";
case "LCN" /* LocalConstructionTax */:
return "Local construction tax";
case "LDP" /* LightDuesPayable */:
return "Light dues payable";
case "LOC" /* LocalSalesTax */:
return "Local sales tax";
case "LST" /* LustTax */:
return "Lust tax";
case "MCA" /* MonetaryCompensatoryAmount */:
return "Monetary compensatory amount";
case "MCD" /* MiscellaneousCashDeposit */:
return "Miscellaneous cash deposit";
case "OTH" /* OtherTaxes */:
return "Other taxes";
case "PDB" /* ProvisionalDutyBond */:
return "Provisional duty bond";
case "PDC" /* ProvisionalDutyCash */:
return "Provisional duty cash";
case "PRF" /* PreferenceDuty */:
return "Preference duty";
case "SCN" /* SpecialConstructionTax */:
return "Special construction tax";
case "SSS" /* ShiftedSocialSecurities */:
return "Shifted social securities";
case "STT" /* StateProvincialSalesTax */:
return "State/provincial sales tax";
case "SUP" /* SuspendedDuty */:
return "Suspended duty";
case "SUR" /* Surtax */:
return "Surtax";
case "SWT" /* ShiftedWageTax */:
return "Shifted wage tax";
case "TAC" /* AlcoholMarkTax */:
return "Alcohol mark tax";
case "TOT" /* Total */:
return "Total";
case "TOX" /* TurnoverTax */:
return "Turnover tax";
case "TTA" /* TonnageTaxes */:
return "Tonnage taxes";
case "VAD" /* ValuationDeposit */:
return "Valuation deposit";
case "VAT" /* ValueAddedTax */:
return "Value added tax";
}
}
// Annotate the CommonJS export names for ESM import in node:
0 && (module.exports = {
VATCAT,
description
});
//# sourceMappingURL=vatcat.js.map