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.

31 lines (30 loc) 793 B
// src/codelists/hybrid-document.gen.ts var PUBLISHED = "Factur-X"; var HYBRID_DOCUMENT = [ { value: "INVOICE", definition: "The hybrid document contains an invoice or credit note", usage: "Only applicable in Factur-X / ZUGFeRD" }, { value: "ORDER", definition: "The hybrid document contains an order", usage: "Only applicable in Order-X" }, { value: "ORDER_RESPONSE", definition: "The hybrid document contains an order response", usage: "Only applicable in Order-X" }, { value: "ORDER_CHANGE", definition: "Thy hybrid document contains an order change", usage: "Only applicable in Order-X" } ]; var hybridDocumentCode = HYBRID_DOCUMENT.map(({ value }) => value); export { HYBRID_DOCUMENT, PUBLISHED, hybridDocumentCode };