zugferd-code-lists
Version:
ZUGFeRD code lists, e.g. languages enum, currencies enum, countries enum, etc.
204 lines (203 loc) • 8.55 kB
JavaScript
"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/zugferd_2_3_2/enum1001.ts
var enum1001_exports = {};
__export(enum1001_exports, {
Enum1001: () => Enum1001,
description: () => description
});
module.exports = __toCommonJS(enum1001_exports);
var Enum1001 = /* @__PURE__ */ ((Enum10012) => {
Enum10012["RequestForPayment"] = "71";
Enum10012["DebitNoteRelatedToGoodsOrServices"] = "80";
Enum10012["CreditNoteRelatedToGoodsOrServices"] = "81";
Enum10012["MeteredServicesInvoice"] = "82";
Enum10012["CreditNoteRelatedToFinancialAdjustments"] = "83";
Enum10012["DebitNoteRelatedToFinancialAdjustments"] = "84";
Enum10012["TaxNotification"] = "102";
Enum10012["InvoicingDataSheet"] = "130";
Enum10012["DirectPaymentValuation"] = "202";
Enum10012["ProvisionalPaymentValuation"] = "203";
Enum10012["PaymentValuation"] = "204";
Enum10012["InterimApplicationForPayment"] = "211";
Enum10012["FinalPaymentRequestBasedOnCompletionWork"] = "218";
Enum10012["PaymentRequestForCompletedUnits"] = "219";
Enum10012["SelfBilledCreditNote"] = "261";
Enum10012["ConsolidatedCreditNoteGoodsAndServices"] = "262";
Enum10012["PriceVariationInvoice"] = "295";
Enum10012["CreditNoteForPriceVariation"] = "296";
Enum10012["DelcredereCreditNote"] = "308";
Enum10012["ProformaInvoice"] = "325";
Enum10012["PartialInvoice"] = "326";
Enum10012["CommercialInvoiceWhichIncludesAPackingList"] = "331";
Enum10012["CommercialInvoice"] = "380";
Enum10012["CreditNote"] = "381";
Enum10012["CommissionNote"] = "382";
Enum10012["DebitNote"] = "383";
Enum10012["CorrectedInvoice"] = "384";
Enum10012["ConsolidatedInvoice"] = "385";
Enum10012["PrepaymentInvoice"] = "386";
Enum10012["HireInvoice"] = "387";
Enum10012["TaxInvoice"] = "388";
Enum10012["SelfBilledInvoice"] = "389";
Enum10012["DelcredereInvoice"] = "390";
Enum10012["FactoredInvoice"] = "393";
Enum10012["LeaseInvoice"] = "394";
Enum10012["ConsignmentInvoice"] = "395";
Enum10012["FactoredCreditNote"] = "396";
Enum10012["OpticalCharacterReadingOcrPaymentCreditNote"] = "420";
Enum10012["DebitAdvice"] = "456";
Enum10012["ReversalDebit"] = "457";
Enum10012["ReversalCredit"] = "458";
Enum10012["SelfBilledDebitNote"] = "527";
Enum10012["ForwardersCreditNote"] = "532";
Enum10012["ForwardersInvoiceDiscrepancyReport"] = "553";
Enum10012["InsurersInvoice"] = "575";
Enum10012["ForwardersInvoice"] = "623";
Enum10012["PortChargesDocuments"] = "633";
Enum10012["InvoiceInformationForAccountingPurposes"] = "751";
Enum10012["FreightInvoice"] = "780";
Enum10012["ClaimNotification"] = "817";
Enum10012["ConsularInvoice"] = "870";
Enum10012["PartialConstructionInvoice"] = "875";
Enum10012["PartialFinalConstructionInvoice"] = "876";
Enum10012["FinalConstructionInvoice"] = "877";
Enum10012["CustomsInvoice"] = "935";
return Enum10012;
})(Enum1001 || {});
function description(value) {
switch (value) {
case "71" /* RequestForPayment */:
return "Request for payment";
case "80" /* DebitNoteRelatedToGoodsOrServices */:
return "Debit note related to goods or services";
case "81" /* CreditNoteRelatedToGoodsOrServices */:
return "Credit note related to goods or services";
case "82" /* MeteredServicesInvoice */:
return "Metered services invoice";
case "83" /* CreditNoteRelatedToFinancialAdjustments */:
return "Credit note related to financial adjustments";
case "84" /* DebitNoteRelatedToFinancialAdjustments */:
return "Debit note related to financial adjustments";
case "102" /* TaxNotification */:
return "Tax notification";
case "130" /* InvoicingDataSheet */:
return "Invoicing data sheet";
case "202" /* DirectPaymentValuation */:
return "Direct payment valuation";
case "203" /* ProvisionalPaymentValuation */:
return "Provisional payment valuation";
case "204" /* PaymentValuation */:
return "Payment valuation";
case "211" /* InterimApplicationForPayment */:
return "Interim application for payment";
case "218" /* FinalPaymentRequestBasedOnCompletionWork */:
return "Final payment request based on completion of work";
case "219" /* PaymentRequestForCompletedUnits */:
return "Payment request for completed units";
case "261" /* SelfBilledCreditNote */:
return "Self billed credit note";
case "262" /* ConsolidatedCreditNoteGoodsAndServices */:
return "Consolidated credit note - goods and services";
case "295" /* PriceVariationInvoice */:
return "Price variation invoice";
case "296" /* CreditNoteForPriceVariation */:
return "Credit note for price variation";
case "308" /* DelcredereCreditNote */:
return "Delcredere credit note";
case "325" /* ProformaInvoice */:
return "Proforma invoice";
case "326" /* PartialInvoice */:
return "Partial invoice";
case "331" /* CommercialInvoiceWhichIncludesAPackingList */:
return "Commercial invoice which includes a packing list";
case "380" /* CommercialInvoice */:
return "Commercial invoice";
case "381" /* CreditNote */:
return "Credit note";
case "382" /* CommissionNote */:
return "Commission note";
case "383" /* DebitNote */:
return "Debit note";
case "384" /* CorrectedInvoice */:
return "Corrected invoice";
case "385" /* ConsolidatedInvoice */:
return "Consolidated invoice";
case "386" /* PrepaymentInvoice */:
return "Prepayment invoice";
case "387" /* HireInvoice */:
return "Hire invoice";
case "388" /* TaxInvoice */:
return "Tax invoice";
case "389" /* SelfBilledInvoice */:
return "Self-billed invoice";
case "390" /* DelcredereInvoice */:
return "Delcredere invoice";
case "393" /* FactoredInvoice */:
return "Factored invoice";
case "394" /* LeaseInvoice */:
return "Lease invoice";
case "395" /* ConsignmentInvoice */:
return "Consignment invoice";
case "396" /* FactoredCreditNote */:
return "Factored credit note";
case "420" /* OpticalCharacterReadingOcrPaymentCreditNote */:
return "Optical Character Reading (OCR) payment credit note";
case "456" /* DebitAdvice */:
return "Debit advice";
case "457" /* ReversalDebit */:
return "Reversal of debit";
case "458" /* ReversalCredit */:
return "Reversal of credit";
case "527" /* SelfBilledDebitNote */:
return "Self billed debit note";
case "532" /* ForwardersCreditNote */:
return "Forwarder's credit note";
case "553" /* ForwardersInvoiceDiscrepancyReport */:
return "Forwarder's invoice discrepancy report";
case "575" /* InsurersInvoice */:
return "Insurer's invoice";
case "623" /* ForwardersInvoice */:
return "Forwarder's invoice";
case "633" /* PortChargesDocuments */:
return "Port charges documents";
case "751" /* InvoiceInformationForAccountingPurposes */:
return "Invoice information for accounting purposes";
case "780" /* FreightInvoice */:
return "Freight invoice";
case "817" /* ClaimNotification */:
return "Claim notification";
case "870" /* ConsularInvoice */:
return "Consular invoice";
case "875" /* PartialConstructionInvoice */:
return "Partial construction invoice";
case "876" /* PartialFinalConstructionInvoice */:
return "Partial final construction invoice";
case "877" /* FinalConstructionInvoice */:
return "Final construction invoice";
case "935" /* CustomsInvoice */:
return "Customs invoice";
}
}
// Annotate the CommonJS export names for ESM import in node:
0 && (module.exports = {
Enum1001,
description
});
//# sourceMappingURL=enum1001.js.map