UNPKG

@accounter/shaam6111-generator

Version:

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

30 lines (29 loc) 3.69 kB
/** * Interfaces for profit and loss records in SHAAM6111 reports * Based on the Israeli Tax Authority specification */ export declare const SECTION_1_1: readonly [1000, 1010, 1015, 1020, 1025, 1030, 1040, 1051, 1052, 1090]; export declare const SECTION_1_2: readonly [1300, 1306, 1308, 1307, 1310, 1320, 1330, 1340, 1350, 1360, 1371, 1372, 1390, 1400, 1450]; export declare const SECTION_1_3: readonly [2000, 2005, 2006, 2011, 2012, 2015, 2020, 2025, 2030, 2035, 2040, 2045, 2050, 2060, 2066, 2067, 2068, 2070, 2075, 2080, 2085, 2090, 2095]; export declare const SECTION_1_4: readonly [2590, 2570, 2560, 2550, 2540, 2530, 2520, 2510, 2500]; export declare const SECTION_1_5: readonly [3000, 3011, 3013, 3012, 3015, 3020, 3025, 3030, 3040, 3045, 3050, 3060, 3066]; export declare const SECTION_1_6: readonly [3067, 3068, 3070, 3075, 3080, 3085, 3090, 3100, 3120, 3190]; export declare const SECTION_1_7: readonly [3500, 3511, 3513, 3512, 3515, 3520, 3530, 3535, 3540, 3545, 3550]; export declare const SECTION_1_8: readonly [3560, 3566, 3567, 3568, 3570, 3575, 3580, 3590, 3595, 3600, 3610, 3620, 3625, 3631, 3632, 3640, 3650, 3660, 3665, 3680, 3685, 3690]; export declare const SECTION_1_9: readonly [5000, 5010, 5020, 5025, 5030, 5040, 5050, 5051, 5090]; export declare const SECTION_1_10: readonly [5100, 5110, 5121, 5122, 5130, 5150, 5160, 5190]; export declare const SECTION_1_11: readonly [5200, 5210, 5220, 5230, 5236, 5237, 5240, 5250, 5260, 5270, 5290]; export declare const SECTION_1_12: readonly [5300, 5310, 5320, 5330, 5390]; export declare const SECTION_1_13: readonly [6666]; export declare const SECTION_1_14: readonly [5600, 5610, 5620, 5630]; export declare const SECTION_1_15: readonly [5700, 5710]; export declare const SECTION_1_16: readonly [5800, 5810]; export declare const ALLOWED_PROFIT_LOSS_CODES: readonly [1000, 1010, 1015, 1020, 1025, 1030, 1040, 1051, 1052, 1090, 1300, 1306, 1308, 1307, 1310, 1320, 1330, 1340, 1350, 1360, 1371, 1372, 1390, 1400, 1450, 2000, 2005, 2006, 2011, 2012, 2015, 2020, 2025, 2030, 2035, 2040, 2045, 2050, 2060, 2066, 2067, 2068, 2070, 2075, 2080, 2085, 2090, 2095, 2590, 2570, 2560, 2550, 2540, 2530, 2520, 2510, 2500, 3000, 3011, 3013, 3012, 3015, 3020, 3025, 3030, 3040, 3045, 3050, 3060, 3066, 3067, 3068, 3070, 3075, 3080, 3085, 3090, 3100, 3120, 3190, 3500, 3511, 3513, 3512, 3515, 3520, 3530, 3535, 3540, 3545, 3550, 3560, 3566, 3567, 3568, 3570, 3575, 3580, 3590, 3595, 3600, 3610, 3620, 3625, 3631, 3632, 3640, 3650, 3660, 3665, 3680, 3685, 3690, 5000, 5010, 5020, 5025, 5030, 5040, 5050, 5051, 5090, 5100, 5110, 5121, 5122, 5130, 5150, 5160, 5190, 5200, 5210, 5220, 5230, 5236, 5237, 5240, 5250, 5260, 5270, 5290, 5300, 5310, 5320, 5330, 5390, 6666, 5600, 5610, 5620, 5630, 5700, 5710, 5800, 5810]; export type AllowedProfitLossCode = (typeof ALLOWED_PROFIT_LOSS_CODES)[number]; export declare const NEGATIVE_ALLOWED_PROFIT_LOSS_CODES: readonly [1000, 1090, 1300, 1350, 1360, 1390, 2090, 2500, 2590, 3190, 3500, 3610, 3690, 5000, 5040, 5090, 5300, 5330, 6666, 5600, 5610, 5620, 5630, 5800, 5810]; export declare const COMMON_PROFIT_LOSS_SUMMARY_CODES: readonly [1000, 2500, 5000, 5100, 5200, 5300, 5600, 5700, 5800]; export declare const UNCOMMON_PROFIT_LOSS_SUMMARY_CODES: readonly [1300, 2000, 3000, 3500, 6666]; export declare const _PROFIT_LOSS_SUMMARY_CODES: readonly [1000, 2500, 5000, 5100, 5200, 5300, 5600, 5700, 5800, 1300, 2000, 3000, 3500, 6666]; export type CommonProfitLossSummaryCode = (typeof COMMON_PROFIT_LOSS_SUMMARY_CODES)[number]; export type ProfitLossSummaryCode = (typeof _PROFIT_LOSS_SUMMARY_CODES)[number]; export declare const PROFIT_LOSS_CODE_NAMES: Record<AllowedProfitLossCode, string>;