UNPKG

zugferd-code-lists

Version:

ZUGFeRD code lists, e.g. languages enum, currencies enum, countries enum, etc.

1 lines 4.18 kB
{"version":3,"sources":["../../src/zugferd_2_3_2/incoterms.ts"],"sourcesContent":["\nexport 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: return \"Delivery arranged by supplier\";\n case INCOTERMS.DeliveryArrangedByLogisticServiceProvider: return \"Delivery arranged by logistic service provider\";\n case INCOTERMS.CostAndFreight: return \"Cost and Freight\";\n case INCOTERMS.CostInsuranceAndFreight: return \"Cost, Insurance and Freight\";\n case INCOTERMS.CarriageAndInsurancePaidToInsertNamedPlaceDestination: return \"Carriage and Insurance Paid to (insert named place of destination)\";\n case INCOTERMS.CarriagePaidToInsertNamedPlaceDestination: return \"Carriage Paid To (insert named place of destination)\";\n case INCOTERMS.DeliveredAtPlaceInsertNamedPlaceDestination: return \"Delivered At Place (insert named place of destination)\";\n case INCOTERMS.DeliveredDutyPaidInsertNamedPlaceDestination: return \"Delivered Duty Paid (insert named place of destination)\";\n case INCOTERMS.DeliveredAtPlaceUnloadedInsertNamedPlaceUnloading: return \"Delivered At Place Unloaded (insert named place of unloading)\";\n case INCOTERMS.ExWorksInsertNamedPlaceDelivery: return \"Ex Works (insert named place of delivery)\";\n case INCOTERMS.FreeAlongsideShipInsertNamedPortShipment: return \"Free Alongside Ship (insert named port of shipment)\";\n case INCOTERMS.FreeCarrierInsertNamedPlaceDelivery: return \"Free Carrier (insert named place of delivery)\";\n case INCOTERMS.FreeOnBoardInsertNamedPortShipment: return \" Free On Board (insert named port of shipment)\";\n }\n}\n"],"mappings":";AACO,IAAK,YAAL,kBAAKA,eAAL;AAIH,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;AApD7B,SAAAA;AAAA,GAAA;AAuDL,SAAS,YAAY,OAA0B;AAClD,UAAQ,OAAO;AAAA,IACX,KAAK;AAAsC,aAAO;AAAA,IAClD,KAAK;AAAqD,aAAO;AAAA,IACjE,KAAK;AAA0B,aAAO;AAAA,IACtC,KAAK;AAAmC,aAAO;AAAA,IAC/C,KAAK;AAAiE,aAAO;AAAA,IAC7E,KAAK;AAAqD,aAAO;AAAA,IACjE,KAAK;AAAuD,aAAO;AAAA,IACnE,KAAK;AAAwD,aAAO;AAAA,IACpE,KAAK;AAA6D,aAAO;AAAA,IACzE,KAAK;AAA2C,aAAO;AAAA,IACvD,KAAK;AAAoD,aAAO;AAAA,IAChE,KAAK;AAA+C,aAAO;AAAA,IAC3D,KAAK;AAA8C,aAAO;AAAA,EAC9D;AACJ;","names":["INCOTERMS"]}