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.

119 lines (117 loc) 3.72 kB
/** * Automatically generated by {@link Script} on Mon, 04 Aug 2025 12:40:39 GMT * * @see {@link https://github.com/jslno/node-zugferd/blob/main/packages/node-zugferd/scripts/codelists/allowance/output.xml|Source} */ type AllowanceDefinition = { key: string; name: string; value: string; }; type AllowanceCode = (typeof ALLOWANCE)[number]["value"]; declare const PUBLISHED: Date; /** * Automatically generated by {@link Script} on Mon, 04 Aug 2025 12:40:39 GMT * * @see {@link https://github.com/jslno/node-zugferd/blob/main/packages/node-zugferd/scripts/codelists/allowance/output.xml|Source} */ declare const ALLOWANCE: [{ readonly key: "BONUS_FOR_WORKS_AHEAD_OF_SCHEDULE"; readonly name: "Bonus for works ahead of schedule"; readonly value: "41"; }, { readonly key: "OTHER_BONUS"; readonly name: "Other bonus"; readonly value: "42"; }, { readonly key: "MANUFACTURERS_CONSUMER_DISCOUNT"; readonly name: "Manufacturer’s consumer discount"; readonly value: "60"; }, { readonly key: "DUE_TO_MILITARY_STATUS"; readonly name: "Due to military status"; readonly value: "62"; }, { readonly key: "DUE_TO_WORK_ACCIDENT"; readonly name: "Due to work accident"; readonly value: "63"; }, { readonly key: "SPECIAL_AGREEMENT"; readonly name: "Special agreement"; readonly value: "64"; }, { readonly key: "PRODUCTION_ERROR_DISCOUNT"; readonly name: "Production error discount"; readonly value: "65"; }, { readonly key: "NEW_OUTLET_DISCOUNT"; readonly name: "New outlet discount"; readonly value: "66"; }, { readonly key: "SAMPLE_DISCOUNT"; readonly name: "Sample discount"; readonly value: "67"; }, { readonly key: "END_OF_RANGE_DISCOUNT"; readonly name: "End-of-range discount"; readonly value: "68"; }, { readonly key: "INCOTERM_DISCOUNT"; readonly name: "Incoterm discount"; readonly value: "70"; }, { readonly key: "POINT_OF_SALES_THRESHOLD_ALLOWANCE"; readonly name: "Point of sales threshold allowance"; readonly value: "71"; }, { readonly key: "MATERIAL_SURCHARGEDEDUCTION"; readonly name: "Material surcharge/deduction"; readonly value: "88"; }, { readonly key: "DISCOUNT"; readonly name: "Discount"; readonly value: "95"; }, { readonly key: "SPECIAL_REBATE"; readonly name: "Special rebate"; readonly value: "100"; }, { readonly key: "FIXED_LONG_TERM"; readonly name: "Fixed long term"; readonly value: "102"; }, { readonly key: "TEMPORARY"; readonly name: "Temporary"; readonly value: "103"; }, { readonly key: "STANDARD"; readonly name: "Standard"; readonly value: "104"; }, { readonly key: "YEARLY_TURNOVER"; readonly name: "Yearly turnover"; readonly value: "105"; }]; declare const allowanceCode: ("41" | "42" | "60" | "62" | "63" | "64" | "65" | "66" | "67" | "68" | "70" | "71" | "88" | "95" | "100" | "102" | "103" | "104" | "105")[]; declare const Allowance: { BONUS_FOR_WORKS_AHEAD_OF_SCHEDULE: "41"; OTHER_BONUS: "42"; MANUFACTURERS_CONSUMER_DISCOUNT: "60"; DUE_TO_MILITARY_STATUS: "62"; DUE_TO_WORK_ACCIDENT: "63"; SPECIAL_AGREEMENT: "64"; PRODUCTION_ERROR_DISCOUNT: "65"; NEW_OUTLET_DISCOUNT: "66"; SAMPLE_DISCOUNT: "67"; END_OF_RANGE_DISCOUNT: "68"; INCOTERM_DISCOUNT: "70"; POINT_OF_SALES_THRESHOLD_ALLOWANCE: "71"; MATERIAL_SURCHARGEDEDUCTION: "88"; DISCOUNT: "95"; SPECIAL_REBATE: "100"; FIXED_LONG_TERM: "102"; TEMPORARY: "103"; STANDARD: "104"; YEARLY_TURNOVER: "105"; }; export { ALLOWANCE, Allowance, type AllowanceCode, type AllowanceDefinition, PUBLISHED, allowanceCode };