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.
36 lines (35 loc) • 1.28 kB
JavaScript
// src/codelists/hybrid-version.gen.ts
var PUBLISHED = "Factur-X";
var HYBRID_VERSION = [
{
value: "1.0",
definition: "The hybrid document is a Factur-X 1.0* compliant document",
usage: "Default value for current specification"
},
{
value: "1p0",
definition: "The hybrid document is a ZUGFeRD 1p0 compliant document",
usage: "Legacy use only. A warning is given if used for a document in the validity period of the current specification"
},
{
value: "2p0",
definition: "The hybrid document is a ZUGFeRD 2p0 compliant document",
usage: "Legacy use only. A warning is given if used for a document in the validity period of the current specification"
},
{
value: "2p1",
definition: "The hybrid document is a ZUGFeRD 2p1 compliant document",
usage: "Legacy use only. A warning is given if used for a document in the validity period of the current specification"
},
{
value: "2p2",
definition: "The hybrid document is a ZUGFeRD 2p2 compliant document",
usage: "Legacy use only. A warning is given if used for a document in the validity period of the current specification"
}
];
var hybridVersionCode = HYBRID_VERSION.map(({ value }) => value);
export {
HYBRID_VERSION,
PUBLISHED,
hybridVersionCode
};