UNPKG

node-zugferd

Version:

A Node.js library for creating ZUGFeRD/Factur-X compliant documents. Generating XML and embedding it into PDF/A files, enabling seamless e-invoicing and digital document compliance.

82 lines (80 loc) 2.89 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/codelists/hybrid-conformance.gen.ts var hybrid_conformance_gen_exports = {}; __export(hybrid_conformance_gen_exports, { HYBRID_CONFORMANCE: () => HYBRID_CONFORMANCE, PUBLISHED: () => PUBLISHED, hybridConformanceCode: () => hybridConformanceCode }); module.exports = __toCommonJS(hybrid_conformance_gen_exports); var PUBLISHED = "Factur-X"; var HYBRID_CONFORMANCE = [ { value: "MINIMUM", definition: "The included document uses a MINIMUM profile", usage: "Only applicable in Factur-X/ZUGFeRD", comment: "Not allowed in Germany from 2025-01-01" }, { value: "BASIC WL", definition: "The included document uses a Basic Without Lines profile", usage: "Only applicable in Factur-X/ZUGFeRD", comment: "Not allowed in Germany from 2025-01-01" }, { value: "BASIC", definition: "The included document uses a Basic profile", usage: "Applicable in Factur-X/ZUGFeRD and Order-X. For Factur-X/ZUGFeRD the BASIC profile is compliant to the EN16931.", comment: void 0 }, { value: "COMFORT", definition: "The included document uses a Comfort profile", usage: "Only applicable in Order-X", comment: void 0 }, { value: "EN 16931", definition: "The included document uses a EN 16931 profile", usage: "Only applicable in Factur-X/ZUGFeRD. This profile is compliant to the EN16931.", comment: void 0 }, { value: "EXTENDED", definition: "The included document uses a Comfort profile", usage: "Applicable in Factur-X/ZUGFeRD and Order-X. For Factur-X/ZUGFeRD the EXTENDED profile is compliant to and conformant extension of the EN16931.", comment: void 0 }, { value: "XRECHNUNG", definition: "The included document uses an XRECHNUNG profile", usage: "Only applicable in Factur-X/ZUGFeRD.", comment: "Not applicable in France" } ]; var hybridConformanceCode = HYBRID_CONFORMANCE.map( ({ value }) => value ); // Annotate the CommonJS export names for ESM import in node: 0 && (module.exports = { HYBRID_CONFORMANCE, PUBLISHED, hybridConformanceCode });