zugferd-code-lists
Version:
ZUGFeRD code lists, e.g. languages enum, currencies enum, countries enum, etc.
1 lines • 4.11 kB
Source Map (JSON)
{"version":3,"sources":["../../src/zugferd_2_3_2/incoterms.ts"],"sourcesContent":["export enum INCOTERMS {\n /**\n * Delivery arranged by supplier\n */\n DeliveryArrangedBySupplier = \"1\",\n /**\n * Delivery arranged by logistic service provider\n */\n DeliveryArrangedByLogisticServiceProvider = \"2\",\n /**\n * Cost and Freight\n */\n CostAndFreight = \"CFR\",\n /**\n * Cost, Insurance and Freight\n */\n CostInsuranceAndFreight = \"CIF\",\n /**\n * Carriage and Insurance Paid to (insert named place of destination)\n */\n CarriageAndInsurancePaidToInsertNamedPlaceDestination = \"CIP\",\n /**\n * Carriage Paid To (insert named place of destination)\n */\n CarriagePaidToInsertNamedPlaceDestination = \"CPT\",\n /**\n * Delivered At Place (insert named place of destination)\n */\n DeliveredAtPlaceInsertNamedPlaceDestination = \"DAP\",\n /**\n * Delivered Duty Paid (insert named place of destination)\n */\n DeliveredDutyPaidInsertNamedPlaceDestination = \"DDP\",\n /**\n * Delivered At Place Unloaded (insert named place of unloading)\n */\n DeliveredAtPlaceUnloadedInsertNamedPlaceUnloading = \"DPU\",\n /**\n * Ex Works (insert named place of delivery)\n */\n ExWorksInsertNamedPlaceDelivery = \"EXW\",\n /**\n * Free Alongside Ship (insert named port of shipment)\n */\n FreeAlongsideShipInsertNamedPortShipment = \"FAS\",\n /**\n * Free Carrier (insert named place of delivery)\n */\n FreeCarrierInsertNamedPlaceDelivery = \"FCA\",\n /**\n * Free On Board (insert named port of shipment)\n */\n FreeOnBoardInsertNamedPortShipment = \"FOB\",\n}\n\nexport function description(value: INCOTERMS): string {\n switch (value) {\n case INCOTERMS.DeliveryArrangedBySupplier:\n return \"Delivery arranged by supplier\";\n case INCOTERMS.DeliveryArrangedByLogisticServiceProvider:\n return \"Delivery arranged by logistic service provider\";\n case INCOTERMS.CostAndFreight:\n return \"Cost and Freight\";\n case INCOTERMS.CostInsuranceAndFreight:\n return \"Cost, Insurance and Freight\";\n case INCOTERMS.CarriageAndInsurancePaidToInsertNamedPlaceDestination:\n return \"Carriage and Insurance Paid to (insert named place of destination)\";\n case INCOTERMS.CarriagePaidToInsertNamedPlaceDestination:\n return \"Carriage Paid To (insert named place of destination)\";\n case INCOTERMS.DeliveredAtPlaceInsertNamedPlaceDestination:\n return \"Delivered At Place (insert named place of destination)\";\n case INCOTERMS.DeliveredDutyPaidInsertNamedPlaceDestination:\n return \"Delivered Duty Paid (insert named place of destination)\";\n case INCOTERMS.DeliveredAtPlaceUnloadedInsertNamedPlaceUnloading:\n return \"Delivered At Place Unloaded (insert named place of unloading)\";\n case INCOTERMS.ExWorksInsertNamedPlaceDelivery:\n return \"Ex Works (insert named place of delivery)\";\n case INCOTERMS.FreeAlongsideShipInsertNamedPortShipment:\n return \"Free Alongside Ship (insert named port of shipment)\";\n case INCOTERMS.FreeCarrierInsertNamedPlaceDelivery:\n return \"Free Carrier (insert named place of delivery)\";\n case INCOTERMS.FreeOnBoardInsertNamedPortShipment:\n return \" Free On Board (insert named port of shipment)\";\n }\n}\n"],"mappings":";AAAO,IAAK,YAAL,kBAAKA,eAAL;AAIL,EAAAA,WAAA,gCAA6B;AAI7B,EAAAA,WAAA,+CAA4C;AAI5C,EAAAA,WAAA,oBAAiB;AAIjB,EAAAA,WAAA,6BAA0B;AAI1B,EAAAA,WAAA,2DAAwD;AAIxD,EAAAA,WAAA,+CAA4C;AAI5C,EAAAA,WAAA,iDAA8C;AAI9C,EAAAA,WAAA,kDAA+C;AAI/C,EAAAA,WAAA,uDAAoD;AAIpD,EAAAA,WAAA,qCAAkC;AAIlC,EAAAA,WAAA,8CAA2C;AAI3C,EAAAA,WAAA,yCAAsC;AAItC,EAAAA,WAAA,wCAAqC;AApD3B,SAAAA;AAAA,GAAA;AAuDL,SAAS,YAAY,OAA0B;AACpD,UAAQ,OAAO;AAAA,IACb,KAAK;AACH,aAAO;AAAA,IACT,KAAK;AACH,aAAO;AAAA,IACT,KAAK;AACH,aAAO;AAAA,IACT,KAAK;AACH,aAAO;AAAA,IACT,KAAK;AACH,aAAO;AAAA,IACT,KAAK;AACH,aAAO;AAAA,IACT,KAAK;AACH,aAAO;AAAA,IACT,KAAK;AACH,aAAO;AAAA,IACT,KAAK;AACH,aAAO;AAAA,IACT,KAAK;AACH,aAAO;AAAA,IACT,KAAK;AACH,aAAO;AAAA,IACT,KAAK;AACH,aAAO;AAAA,IACT,KAAK;AACH,aAAO;AAAA,EACX;AACF;","names":["INCOTERMS"]}