zugferd-code-lists
Version:
ZUGFeRD code lists, e.g. languages enum, currencies enum, countries enum, etc.
398 lines (396 loc) • 16.7 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_3/linestatus.ts
var linestatus_exports = {};
__export(linestatus_exports, {
LineStatus: () => LineStatus,
description: () => description
});
module.exports = __toCommonJS(linestatus_exports);
// src/zugferd_2_3_2/linestatus.ts
var LineStatus = /* @__PURE__ */ ((LineStatus2) => {
LineStatus2["Added"] = "1";
LineStatus2["Deleted"] = "2";
LineStatus2["Changed"] = "3";
LineStatus2["NoAction"] = "4";
LineStatus2["AcceptedWithoutAmendment"] = "5";
LineStatus2["AcceptedWithAmendment"] = "6";
LineStatus2["NotAccepted"] = "7";
LineStatus2["ScheduleOnly"] = "8";
LineStatus2["Amendments"] = "9";
LineStatus2["NotFound"] = "10";
LineStatus2["NotAmended"] = "11";
LineStatus2["LineItemNumbersChanged"] = "12";
LineStatus2["BuyerHasDeductedAmount"] = "13";
LineStatus2["BuyerClaimsAgainstInvoice"] = "14";
LineStatus2["ChargeBackBySeller"] = "15";
LineStatus2["SellerWillIssueCreditNote"] = "16";
LineStatus2["TermsChangedForNewTerms"] = "17";
LineStatus2["AbideOutcomeNegotiations"] = "18";
LineStatus2["SellerRejectsDispute"] = "19";
LineStatus2["Settlement"] = "20";
LineStatus2["NoDelivery"] = "21";
LineStatus2["CallOffDelivery"] = "22";
LineStatus2["ProposedAmendment"] = "23";
LineStatus2["AcceptedWithAmendmentNoConfirmationRequired"] = "24";
LineStatus2["EquipmentProvisionallyRepaired"] = "25";
LineStatus2["Included"] = "26";
LineStatus2["UponReceiptAndVerificationDocumentsWeShallCoverYouWhenDueAsPerYourInstructions"] = "27";
LineStatus2["UponReceiptAndVerificationDocumentsWeShallAuthorizeYouToDebitOurAccountWithYouWhenDue"] = "28";
LineStatus2["OnReceiptYourAuthenticatedAdviceWeShallCoverYouWhenDueAsPerYourInstructions"] = "29";
LineStatus2["OnReceiptYourAuthenticatedAdviceWeShallAuthorizeYouToDebitOurAccountWithYouWhenDue"] = "30";
LineStatus2["OnReceiptYourAuthenticatedAdviceWeShallCreditYourAccountWithUsWhenDue"] = "31";
LineStatus2["CreditAdviceRequestedForDirectDebit"] = "32";
LineStatus2["CreditAdviceAndAcknowledgementForDirectDebit"] = "33";
LineStatus2["Inquiry"] = "34";
LineStatus2["Checked"] = "35";
LineStatus2["NotChecked"] = "36";
LineStatus2["Cancelled"] = "37";
LineStatus2["Replaced"] = "38";
LineStatus2["New"] = "39";
LineStatus2["Agreed"] = "40";
LineStatus2["Proposed"] = "41";
LineStatus2["AlreadyDelivered"] = "42";
LineStatus2["AdditionalSubordinateStructuresWillFollow"] = "43";
LineStatus2["AdditionalSubordinateStructuresWillNotFollow"] = "44";
LineStatus2["ResultOpposed"] = "45";
LineStatus2["AuctionHeld"] = "46";
LineStatus2["LegalActionPursued"] = "47";
LineStatus2["MeetingHeld"] = "48";
LineStatus2["ResultSetAside"] = "49";
LineStatus2["ResultDisputed"] = "50";
LineStatus2["Countersued"] = "51";
LineStatus2["Pending"] = "52";
LineStatus2["CourtActionDismissed"] = "53";
LineStatus2["ReferredItemAccepted"] = "54";
LineStatus2["ReferredItemRejected"] = "55";
LineStatus2["DebitAdviceStatementLine"] = "56";
LineStatus2["CreditAdviceStatementLine"] = "57";
LineStatus2["GroupedCreditAdvices"] = "58";
LineStatus2["GroupedDebitAdvices"] = "59";
LineStatus2["Registered"] = "60";
LineStatus2["PaymentDenied"] = "61";
LineStatus2["ApprovedAsAmended"] = "62";
LineStatus2["ApprovedAsSubmitted"] = "63";
LineStatus2["CancelledNoActivity"] = "64";
LineStatus2["UnderInvestigation"] = "65";
LineStatus2["InitialClaimReceived"] = "66";
LineStatus2["NotInProcess"] = "67";
LineStatus2["RejectedDuplicate"] = "68";
LineStatus2["RejectedResubmitWithCorrections"] = "69";
LineStatus2["PendingIncomplete"] = "70";
LineStatus2["UnderFieldOfficeInvestigation"] = "71";
LineStatus2["PendingAwaitingAdditionalMaterial"] = "72";
LineStatus2["PendingAwaitingReview"] = "73";
LineStatus2["Reopened"] = "74";
LineStatus2["ProcessedByPrimaryForwardedToAdditionalPayerS"] = "75";
LineStatus2["ProcessedBySecondaryForwardedToAdditionalPayerS"] = "76";
LineStatus2["ProcessedByTertiaryForwardedToAdditionalPayerS"] = "77";
LineStatus2["PreviousPaymentDecisionReversed"] = "78";
LineStatus2["NotOurClaimForwardedToAnotherPayerS"] = "79";
LineStatus2["TransferredToCorrectInsuranceCarrier"] = "80";
LineStatus2["NotPaidPredeterminationPricingOnly"] = "81";
LineStatus2["DocumentationClaim"] = "82";
LineStatus2["Reviewed"] = "83";
LineStatus2["Repriced"] = "84";
LineStatus2["Audited"] = "85";
LineStatus2["ConditionallyPaid"] = "86";
LineStatus2["OnAppeal"] = "87";
LineStatus2["Closed"] = "88";
LineStatus2["Reaudited"] = "89";
LineStatus2["Reissued"] = "90";
LineStatus2["ClosedAfterReopening"] = "91";
LineStatus2["Redetermined"] = "92";
LineStatus2["ProcessedAsPrimary"] = "93";
LineStatus2["ProcessedAsSecondary"] = "94";
LineStatus2["ProcessedAsTertiary"] = "95";
LineStatus2["CorrectionError"] = "96";
LineStatus2["SingleCreditItemAGroup"] = "97";
LineStatus2["SingleDebitItemAGroup"] = "98";
LineStatus2["InterimResponse"] = "99";
LineStatus2["FinalResponse"] = "100";
LineStatus2["DebitAdviceRequested"] = "101";
LineStatus2["TransactionNotImpacted"] = "102";
LineStatus2["PatientToBeNotified"] = "103";
LineStatus2["HealthcareProviderToBeNotified"] = "104";
LineStatus2["UsualGeneralPractitionerToBeNotified"] = "105";
LineStatus2["AdviceWithoutDetails"] = "106";
LineStatus2["AdviceWithDetails"] = "107";
LineStatus2["AmendmentRequested"] = "108";
LineStatus2["ForInformation"] = "109";
LineStatus2["Withdraw"] = "110";
LineStatus2["DeliveryDateChange"] = "111";
LineStatus2["QuantityChange"] = "112";
LineStatus2["ResaleAndClaim"] = "113";
LineStatus2["Resale"] = "114";
LineStatus2["PriorAddition"] = "115";
LineStatus2["Expired"] = "116";
LineStatus2["Hold"] = "117";
LineStatus2["Open"] = "118";
LineStatus2["Observe"] = "119";
return LineStatus2;
})(LineStatus || {});
function description(value) {
switch (value) {
case "1" /* Added */:
return "Added";
case "2" /* Deleted */:
return "Deleted";
case "3" /* Changed */:
return "Changed";
case "4" /* NoAction */:
return "No action";
case "5" /* AcceptedWithoutAmendment */:
return "Accepted without amendment";
case "6" /* AcceptedWithAmendment */:
return "Accepted with amendment";
case "7" /* NotAccepted */:
return "Not accepted";
case "8" /* ScheduleOnly */:
return "Schedule only";
case "9" /* Amendments */:
return "Amendments";
case "10" /* NotFound */:
return "Not found";
case "11" /* NotAmended */:
return "Not amended";
case "12" /* LineItemNumbersChanged */:
return "Line item numbers changed";
case "13" /* BuyerHasDeductedAmount */:
return "Buyer has deducted amount";
case "14" /* BuyerClaimsAgainstInvoice */:
return "Buyer claims against invoice";
case "15" /* ChargeBackBySeller */:
return "Charge back by seller";
case "16" /* SellerWillIssueCreditNote */:
return "Seller will issue credit note";
case "17" /* TermsChangedForNewTerms */:
return "Terms changed for new terms";
case "18" /* AbideOutcomeNegotiations */:
return "Abide outcome of negotiations";
case "19" /* SellerRejectsDispute */:
return "Seller rejects dispute";
case "20" /* Settlement */:
return "Settlement";
case "21" /* NoDelivery */:
return "No delivery";
case "22" /* CallOffDelivery */:
return "Call-off delivery";
case "23" /* ProposedAmendment */:
return "Proposed amendment";
case "24" /* AcceptedWithAmendmentNoConfirmationRequired */:
return "Accepted with amendment, no confirmation required";
case "25" /* EquipmentProvisionallyRepaired */:
return "Equipment provisionally repaired";
case "26" /* Included */:
return "Included";
case "27" /* UponReceiptAndVerificationDocumentsWeShallCoverYouWhenDueAsPerYourInstructions */:
return "Upon receipt and verification of documents we shall cover you when due as per your instructions";
case "28" /* UponReceiptAndVerificationDocumentsWeShallAuthorizeYouToDebitOurAccountWithYouWhenDue */:
return "Upon receipt and verification of documents we shall authorize you to debit our account with you when due";
case "29" /* OnReceiptYourAuthenticatedAdviceWeShallCoverYouWhenDueAsPerYourInstructions */:
return "On receipt of your authenticated advice we shall cover you when due as per your instructions";
case "30" /* OnReceiptYourAuthenticatedAdviceWeShallAuthorizeYouToDebitOurAccountWithYouWhenDue */:
return "On receipt of your authenticated advice we shall authorize you to debit our account with you when due";
case "31" /* OnReceiptYourAuthenticatedAdviceWeShallCreditYourAccountWithUsWhenDue */:
return "On receipt of your authenticated advice we shall credit your account with us when due";
case "32" /* CreditAdviceRequestedForDirectDebit */:
return "Credit advice requested for direct debit";
case "33" /* CreditAdviceAndAcknowledgementForDirectDebit */:
return "Credit advice and acknowledgement for direct debit";
case "34" /* Inquiry */:
return "Inquiry";
case "35" /* Checked */:
return "Checked";
case "36" /* NotChecked */:
return "Not checked";
case "37" /* Cancelled */:
return "Cancelled";
case "38" /* Replaced */:
return "Replaced";
case "39" /* New */:
return "New";
case "40" /* Agreed */:
return "Agreed";
case "41" /* Proposed */:
return "Proposed";
case "42" /* AlreadyDelivered */:
return "Already delivered";
case "43" /* AdditionalSubordinateStructuresWillFollow */:
return "Additional subordinate structures will follow";
case "44" /* AdditionalSubordinateStructuresWillNotFollow */:
return "Additional subordinate structures will not follow";
case "45" /* ResultOpposed */:
return "Result opposed";
case "46" /* AuctionHeld */:
return "Auction held";
case "47" /* LegalActionPursued */:
return "Legal action pursued";
case "48" /* MeetingHeld */:
return "Meeting held";
case "49" /* ResultSetAside */:
return "Result set aside";
case "50" /* ResultDisputed */:
return "Result disputed";
case "51" /* Countersued */:
return "Countersued";
case "52" /* Pending */:
return "Pending";
case "53" /* CourtActionDismissed */:
return "Court action dismissed";
case "54" /* ReferredItemAccepted */:
return "Referred item, accepted";
case "55" /* ReferredItemRejected */:
return "Referred item, rejected";
case "56" /* DebitAdviceStatementLine */:
return "Debit advice statement line";
case "57" /* CreditAdviceStatementLine */:
return "Credit advice statement line";
case "58" /* GroupedCreditAdvices */:
return "Grouped credit advices";
case "59" /* GroupedDebitAdvices */:
return "Grouped debit advices";
case "60" /* Registered */:
return "Registered";
case "61" /* PaymentDenied */:
return "Payment denied";
case "62" /* ApprovedAsAmended */:
return "Approved as amended";
case "63" /* ApprovedAsSubmitted */:
return "Approved as submitted";
case "64" /* CancelledNoActivity */:
return "Cancelled, no activity";
case "65" /* UnderInvestigation */:
return "Under investigation";
case "66" /* InitialClaimReceived */:
return "Initial claim received";
case "67" /* NotInProcess */:
return "Not in process";
case "68" /* RejectedDuplicate */:
return "Rejected, duplicate";
case "69" /* RejectedResubmitWithCorrections */:
return "Rejected, resubmit with corrections";
case "70" /* PendingIncomplete */:
return "Pending, incomplete";
case "71" /* UnderFieldOfficeInvestigation */:
return "Under field office investigation";
case "72" /* PendingAwaitingAdditionalMaterial */:
return "Pending, awaiting additional material";
case "73" /* PendingAwaitingReview */:
return "Pending, awaiting review";
case "74" /* Reopened */:
return "Reopened";
case "75" /* ProcessedByPrimaryForwardedToAdditionalPayerS */:
return "Processed by primary, forwarded to additional payer(s)";
case "76" /* ProcessedBySecondaryForwardedToAdditionalPayerS */:
return "Processed by secondary, forwarded to additional payer(s)";
case "77" /* ProcessedByTertiaryForwardedToAdditionalPayerS */:
return "Processed by tertiary, forwarded to additional payer(s)";
case "78" /* PreviousPaymentDecisionReversed */:
return "Previous payment decision reversed";
case "79" /* NotOurClaimForwardedToAnotherPayerS */:
return "Not our claim, forwarded to another payer(s)";
case "80" /* TransferredToCorrectInsuranceCarrier */:
return "Transferred to correct insurance carrier";
case "81" /* NotPaidPredeterminationPricingOnly */:
return "Not paid, predetermination pricing only";
case "82" /* DocumentationClaim */:
return "Documentation claim";
case "83" /* Reviewed */:
return "Reviewed";
case "84" /* Repriced */:
return "Repriced";
case "85" /* Audited */:
return "Audited";
case "86" /* ConditionallyPaid */:
return "Conditionally paid";
case "87" /* OnAppeal */:
return "On appeal";
case "88" /* Closed */:
return "Closed";
case "89" /* Reaudited */:
return "Reaudited";
case "90" /* Reissued */:
return "Reissued";
case "91" /* ClosedAfterReopening */:
return "Closed after reopening";
case "92" /* Redetermined */:
return "Redetermined";
case "93" /* ProcessedAsPrimary */:
return "Processed as primary";
case "94" /* ProcessedAsSecondary */:
return "Processed as secondary";
case "95" /* ProcessedAsTertiary */:
return "Processed as tertiary";
case "96" /* CorrectionError */:
return "Correction of error";
case "97" /* SingleCreditItemAGroup */:
return "Single credit item of a group";
case "98" /* SingleDebitItemAGroup */:
return "Single debit item of a group";
case "99" /* InterimResponse */:
return "Interim response";
case "100" /* FinalResponse */:
return "Final response";
case "101" /* DebitAdviceRequested */:
return "Debit advice requested";
case "102" /* TransactionNotImpacted */:
return "Transaction not impacted";
case "103" /* PatientToBeNotified */:
return "Patient to be notified";
case "104" /* HealthcareProviderToBeNotified */:
return "Healthcare provider to be notified";
case "105" /* UsualGeneralPractitionerToBeNotified */:
return "Usual general practitioner to be notified";
case "106" /* AdviceWithoutDetails */:
return "Advice without details";
case "107" /* AdviceWithDetails */:
return "Advice with details";
case "108" /* AmendmentRequested */:
return "Amendment requested";
case "109" /* ForInformation */:
return "For information";
case "110" /* Withdraw */:
return "Withdraw";
case "111" /* DeliveryDateChange */:
return "Delivery date change";
case "112" /* QuantityChange */:
return "Quantity change";
case "113" /* ResaleAndClaim */:
return "Resale and claim";
case "114" /* Resale */:
return "Resale";
case "115" /* PriorAddition */:
return "Prior addition";
case "116" /* Expired */:
return "Expired";
case "117" /* Hold */:
return "Hold";
case "118" /* Open */:
return "Open";
case "119" /* Observe */:
return "Observe";
}
}
// Annotate the CommonJS export names for ESM import in node:
0 && (module.exports = {
LineStatus,
description
});
//# sourceMappingURL=linestatus.js.map