zugferd-code-lists
Version:
ZUGFeRD code lists, e.g. languages enum, currencies enum, countries enum, etc.
80 lines (78 loc) • 3.73 kB
JavaScript
;
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/incoterms.ts
var incoterms_exports = {};
__export(incoterms_exports, {
INCOTERMS: () => INCOTERMS,
description: () => description
});
module.exports = __toCommonJS(incoterms_exports);
// src/zugferd_2_3_2/incoterms.ts
var INCOTERMS = /* @__PURE__ */ ((INCOTERMS2) => {
INCOTERMS2["DeliveryArrangedBySupplier"] = "1";
INCOTERMS2["DeliveryArrangedByLogisticServiceProvider"] = "2";
INCOTERMS2["CostAndFreight"] = "CFR";
INCOTERMS2["CostInsuranceAndFreight"] = "CIF";
INCOTERMS2["CarriageAndInsurancePaidToInsertNamedPlaceDestination"] = "CIP";
INCOTERMS2["CarriagePaidToInsertNamedPlaceDestination"] = "CPT";
INCOTERMS2["DeliveredAtPlaceInsertNamedPlaceDestination"] = "DAP";
INCOTERMS2["DeliveredDutyPaidInsertNamedPlaceDestination"] = "DDP";
INCOTERMS2["DeliveredAtPlaceUnloadedInsertNamedPlaceUnloading"] = "DPU";
INCOTERMS2["ExWorksInsertNamedPlaceDelivery"] = "EXW";
INCOTERMS2["FreeAlongsideShipInsertNamedPortShipment"] = "FAS";
INCOTERMS2["FreeCarrierInsertNamedPlaceDelivery"] = "FCA";
INCOTERMS2["FreeOnBoardInsertNamedPortShipment"] = "FOB";
return INCOTERMS2;
})(INCOTERMS || {});
function description(value) {
switch (value) {
case "1" /* DeliveryArrangedBySupplier */:
return "Delivery arranged by supplier";
case "2" /* DeliveryArrangedByLogisticServiceProvider */:
return "Delivery arranged by logistic service provider";
case "CFR" /* CostAndFreight */:
return "Cost and Freight";
case "CIF" /* CostInsuranceAndFreight */:
return "Cost, Insurance and Freight";
case "CIP" /* CarriageAndInsurancePaidToInsertNamedPlaceDestination */:
return "Carriage and Insurance Paid to (insert named place of destination)";
case "CPT" /* CarriagePaidToInsertNamedPlaceDestination */:
return "Carriage Paid To (insert named place of destination)";
case "DAP" /* DeliveredAtPlaceInsertNamedPlaceDestination */:
return "Delivered At Place (insert named place of destination)";
case "DDP" /* DeliveredDutyPaidInsertNamedPlaceDestination */:
return "Delivered Duty Paid (insert named place of destination)";
case "DPU" /* DeliveredAtPlaceUnloadedInsertNamedPlaceUnloading */:
return "Delivered At Place Unloaded (insert named place of unloading)";
case "EXW" /* ExWorksInsertNamedPlaceDelivery */:
return "Ex Works (insert named place of delivery)";
case "FAS" /* FreeAlongsideShipInsertNamedPortShipment */:
return "Free Alongside Ship (insert named port of shipment)";
case "FCA" /* FreeCarrierInsertNamedPlaceDelivery */:
return "Free Carrier (insert named place of delivery)";
case "FOB" /* FreeOnBoardInsertNamedPortShipment */:
return " Free On Board (insert named port of shipment)";
}
}
// Annotate the CommonJS export names for ESM import in node:
0 && (module.exports = {
INCOTERMS,
description
});
//# sourceMappingURL=incoterms.js.map