UNPKG

zugferd-code-lists

Version:

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

1 lines 4.2 kB
{"version":3,"sources":["../../src/zugferd_2_3_2/allowance.ts"],"sourcesContent":["\nexport enum Allowance {\n /**\n * Bonus for works ahead of schedule\n */\n BonusForWorksAheadSchedule = \"41\",\n /**\n * Other bonus\n */\n OtherBonus = \"42\",\n /**\n * Manufacturer’s consumer discount\n */\n ManufacturerSConsumerDiscount = \"60\",\n /**\n * Due to military status\n */\n DueToMilitaryStatus = \"62\",\n /**\n * Due to work accident\n */\n DueToWorkAccident = \"63\",\n /**\n * Special agreement\n */\n SpecialAgreement = \"64\",\n /**\n * Production error discount\n */\n ProductionErrorDiscount = \"65\",\n /**\n * New outlet discount\n */\n NewOutletDiscount = \"66\",\n /**\n * Sample discount\n */\n SampleDiscount = \"67\",\n /**\n * End-of-range discount\n */\n EndRangeDiscount = \"68\",\n /**\n * Incoterm discount\n */\n IncotermDiscount = \"70\",\n /**\n * Point of sales threshold allowance\n */\n PointSalesThresholdAllowance = \"71\",\n /**\n * Material surcharge/deduction\n */\n MaterialSurchargeDeduction = \"88\",\n /**\n * Discount\n */\n Discount = \"95\",\n /**\n * Special rebate\n */\n SpecialRebate = \"100\",\n /**\n * Fixed long term\n */\n FixedLongTerm = \"102\",\n /**\n * Temporary\n */\n Temporary = \"103\",\n /**\n * Standard\n */\n Standard = \"104\",\n /**\n * Yearly turnover\n */\n YearlyTurnover = \"105\",\n}\n\nexport function description(value: Allowance): string {\n switch (value) {\n case Allowance.BonusForWorksAheadSchedule: return \"Bonus for works ahead of schedule\";\n case Allowance.OtherBonus: return \"Other bonus\";\n case Allowance.ManufacturerSConsumerDiscount: return \"Manufacturer’s consumer discount\";\n case Allowance.DueToMilitaryStatus: return \"Due to military status\";\n case Allowance.DueToWorkAccident: return \"Due to work accident\";\n case Allowance.SpecialAgreement: return \"Special agreement\";\n case Allowance.ProductionErrorDiscount: return \"Production error discount\";\n case Allowance.NewOutletDiscount: return \"New outlet discount\";\n case Allowance.SampleDiscount: return \"Sample discount\";\n case Allowance.EndRangeDiscount: return \"End-of-range discount\";\n case Allowance.IncotermDiscount: return \"Incoterm discount\";\n case Allowance.PointSalesThresholdAllowance: return \"Point of sales threshold allowance\";\n case Allowance.MaterialSurchargeDeduction: return \"Material surcharge/deduction\";\n case Allowance.Discount: return \"Discount\";\n case Allowance.SpecialRebate: return \"Special rebate\";\n case Allowance.FixedLongTerm: return \"Fixed long term\";\n case Allowance.Temporary: return \"Temporary\";\n case Allowance.Standard: return \"Standard\";\n case Allowance.YearlyTurnover: return \"Yearly turnover\";\n }\n}\n"],"mappings":";AACO,IAAK,YAAL,kBAAKA,eAAL;AAIH,EAAAA,WAAA,gCAA6B;AAI7B,EAAAA,WAAA,gBAAa;AAIb,EAAAA,WAAA,mCAAgC;AAIhC,EAAAA,WAAA,yBAAsB;AAItB,EAAAA,WAAA,uBAAoB;AAIpB,EAAAA,WAAA,sBAAmB;AAInB,EAAAA,WAAA,6BAA0B;AAI1B,EAAAA,WAAA,uBAAoB;AAIpB,EAAAA,WAAA,oBAAiB;AAIjB,EAAAA,WAAA,sBAAmB;AAInB,EAAAA,WAAA,sBAAmB;AAInB,EAAAA,WAAA,kCAA+B;AAI/B,EAAAA,WAAA,gCAA6B;AAI7B,EAAAA,WAAA,cAAW;AAIX,EAAAA,WAAA,mBAAgB;AAIhB,EAAAA,WAAA,mBAAgB;AAIhB,EAAAA,WAAA,eAAY;AAIZ,EAAAA,WAAA,cAAW;AAIX,EAAAA,WAAA,oBAAiB;AA5ET,SAAAA;AAAA,GAAA;AA+EL,SAAS,YAAY,OAA0B;AAClD,UAAQ,OAAO;AAAA,IACX,KAAK;AAAsC,aAAO;AAAA,IAClD,KAAK;AAAsB,aAAO;AAAA,IAClC,KAAK;AAAyC,aAAO;AAAA,IACrD,KAAK;AAA+B,aAAO;AAAA,IAC3C,KAAK;AAA6B,aAAO;AAAA,IACzC,KAAK;AAA4B,aAAO;AAAA,I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