UNPKG

@accounter/shaam6111-generator

Version:

Fully typed application that generates, parses, and validates SHAAM 6111 tax reports.

121 lines (120 loc) 5.24 kB
/** * Tax Reporting System Interfaces * Based on specifications for Form 6111 electronic filing (טופס 6111) */ /** * Business type enum (סוג עסק) * @export * @enum {number} */ export var BusinessType; (function (BusinessType) { /** Industrial (תעשייתי) */ BusinessType[BusinessType["INDUSTRIAL"] = 1] = "INDUSTRIAL"; /** Commercial (מסחרי) */ BusinessType[BusinessType["COMMERCIAL"] = 2] = "COMMERCIAL"; /** Service providers (נותני שירותים) */ BusinessType[BusinessType["SERVICE"] = 3] = "SERVICE"; /** Report includes more than one business (הדוח כולל יותר מעסק אחד) */ BusinessType[BusinessType["MULTIPLE"] = 4] = "MULTIPLE"; })(BusinessType || (BusinessType = {})); /** * Reporting method enum (שיטת דיווח) * @export * @enum {number} */ export var ReportingMethod; (function (ReportingMethod) { /** Cash basis (מזומן) */ ReportingMethod[ReportingMethod["CASH"] = 1] = "CASH"; /** Accrual basis (מצטבר) */ ReportingMethod[ReportingMethod["ACCRUAL"] = 2] = "ACCRUAL"; /** According to dollar regulations (לפי תקנות דולריות) */ ReportingMethod[ReportingMethod["DOLLAR_REGULATIONS"] = 9] = "DOLLAR_REGULATIONS"; })(ReportingMethod || (ReportingMethod = {})); /** * Accounting method enum (שיטת חשבונאות) * @export * @enum {number} */ export var AccountingMethod; (function (AccountingMethod) { /** Single-entry (חד צידית) */ AccountingMethod[AccountingMethod["SINGLE_ENTRY"] = 1] = "SINGLE_ENTRY"; /** Double-entry (כפולה) */ AccountingMethod[AccountingMethod["DOUBLE_ENTRY"] = 2] = "DOUBLE_ENTRY"; })(AccountingMethod || (AccountingMethod = {})); /** * Business accounting system enum (הנח"ש של העסק) * @export * @enum {number} */ export var AccountingSystem; (function (AccountingSystem) { /** Manual (ידני) */ AccountingSystem[AccountingSystem["MANUAL"] = 1] = "MANUAL"; /** Computerized (ממוחשב) */ AccountingSystem[AccountingSystem["COMPUTERIZED"] = 2] = "COMPUTERIZED"; })(AccountingSystem || (AccountingSystem = {})); /** * Yes/No enum for various boolean fields * @export * @enum {number} */ export var YesNo; (function (YesNo) { /** Yes (כן) */ YesNo[YesNo["YES"] = 1] = "YES"; /** No (לא) */ YesNo[YesNo["NO"] = 2] = "NO"; })(YesNo || (YesNo = {})); /** * IFRS reporting option enum (דווח בחלופה - יישום תקני חשבונאות) * @export * @enum {number} */ export var IfrsReportingOption; (function (IfrsReportingOption) { /** Option 1 (חלופה 1) */ IfrsReportingOption[IfrsReportingOption["OPTION_1"] = 1] = "OPTION_1"; /** Accounting adjustments for those who implemented Option 2 per directive 7/2010 (התאמות חשבונאיות למי שיישם את חלופה 2 בהוראת ביצוע 7/2010) */ IfrsReportingOption[IfrsReportingOption["OPTION_2_ADJUSTMENTS"] = 2] = "OPTION_2_ADJUSTMENTS"; /** Accounting adjustments for those who implemented Option 3 per directive 7/2010 (התאמות חשבונאיות למי שיישם את חלופה 3 בהוראת ביצוע 7/2010) */ IfrsReportingOption[IfrsReportingOption["OPTION_3_ADJUSTMENTS"] = 3] = "OPTION_3_ADJUSTMENTS"; /** No IFRS implementation (במידה ואין יישום תקני חשבונאות) */ IfrsReportingOption[IfrsReportingOption["NONE"] = 9] = "NONE"; })(IfrsReportingOption || (IfrsReportingOption = {})); /** * Currency reporting type enum (דיווח מטבע) * @export * @enum {number} */ export var CurrencyType; (function (CurrencyType) { /** Amounts in shekels (הסכומים בשקלים) */ CurrencyType[CurrencyType["SHEKELS"] = 1] = "SHEKELS"; /** Amounts in dollars (הסכומים בדולרים) */ CurrencyType[CurrencyType["DOLLARS"] = 2] = "DOLLARS"; })(CurrencyType || (CurrencyType = {})); /** * Audit opinion type enum (חוות דעת) * @export * @enum {number} */ export var AuditOpinionType; (function (AuditOpinionType) { /** Unqualified opinion (נוסח אחיד (בלתי מסוייג)) */ AuditOpinionType[AuditOpinionType["UNQUALIFIED"] = 1] = "UNQUALIFIED"; /** Unqualified opinion with emphasis on going concern (בנוסח אחיד עם הפניית תשומת לב להערת עסק חי) */ AuditOpinionType[AuditOpinionType["UNQUALIFIED_WITH_GOING_CONCERN"] = 2] = "UNQUALIFIED_WITH_GOING_CONCERN"; /** Unqualified opinion with other emphases (בנוסח אחיד עם הפניות תשומת לב אחרת) */ AuditOpinionType[AuditOpinionType["UNQUALIFIED_WITH_OTHER_EMPHASES"] = 3] = "UNQUALIFIED_WITH_OTHER_EMPHASES"; /** Qualified opinion (הסתייגות) */ AuditOpinionType[AuditOpinionType["QUALIFIED"] = 4] = "QUALIFIED"; /** Adverse opinion (שלילית) */ AuditOpinionType[AuditOpinionType["ADVERSE"] = 5] = "ADVERSE"; /** Disclaimer of opinion (המנעות) */ AuditOpinionType[AuditOpinionType["DISCLAIMER"] = 6] = "DISCLAIMER"; /** No audit opinion (אין חוות דעת) */ AuditOpinionType[AuditOpinionType["NONE"] = 9] = "NONE"; })(AuditOpinionType || (AuditOpinionType = {}));