zugferd-code-lists
Version:
ZUGFeRD code lists, e.g. languages enum, currencies enum, countries enum, etc.
48 lines (47 loc) • 1.69 kB
JavaScript
;
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/timecii.ts
var timecii_exports = {};
__export(timecii_exports, {
TimeCII: () => TimeCII,
description: () => description
});
module.exports = __toCommonJS(timecii_exports);
var TimeCII = /* @__PURE__ */ ((TimeCII2) => {
TimeCII2["DateInvoice"] = "5";
TimeCII2["DateDeliveryGoodsToEstablishmentsDomicileSite"] = "29";
TimeCII2["PaymentDate"] = "72";
return TimeCII2;
})(TimeCII || {});
function description(value) {
switch (value) {
case "5" /* DateInvoice */:
return "Date of invoice";
case "29" /* DateDeliveryGoodsToEstablishmentsDomicileSite */:
return "Date of delivery of goods to establishments/domicile/site";
case "72" /* PaymentDate */:
return "Payment date";
}
}
// Annotate the CommonJS export names for ESM import in node:
0 && (module.exports = {
TimeCII,
description
});
//# sourceMappingURL=timecii.js.map