@seidor-cloud-produtos/tax-core 1.0.5 → 1.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +202 -88
- package/dist/index.d.ts +202 -88
- package/dist/index.js +2 -2
- package/dist/index.mjs +2 -2
- package/package.json +2 -1
package/dist/index.d.mts
CHANGED
|
@@ -838,6 +838,19 @@ declare namespace StatusDocumentEnum {
|
|
|
838
838
|
function fromNewValue(value: StatusDocumentEnum): string | undefined;
|
|
839
839
|
}
|
|
840
840
|
|
|
841
|
+
declare class ConversionFactor implements Cloneable {
|
|
842
|
+
private _unit;
|
|
843
|
+
private _multiply;
|
|
844
|
+
private _barcode;
|
|
845
|
+
get unit(): string;
|
|
846
|
+
set unit(value: string);
|
|
847
|
+
get multiply(): number;
|
|
848
|
+
set multiply(value: number);
|
|
849
|
+
get barcode(): string;
|
|
850
|
+
set barcode(value: string);
|
|
851
|
+
clone(): this;
|
|
852
|
+
}
|
|
853
|
+
|
|
841
854
|
declare enum FreightContractedNatureIndicatorEnum {
|
|
842
855
|
SALE_SELLER_BEARING_COST = "0",// Operações de vendas, com ônus suportado pelo estabelecimento vendedor
|
|
843
856
|
SALE_BUYER_BEARING_COST = "1",// Operações de vendas, com ônus suportado pelo adquirente
|
|
@@ -1086,6 +1099,7 @@ declare namespace ServiceCodeEnum {
|
|
|
1086
1099
|
}
|
|
1087
1100
|
|
|
1088
1101
|
declare enum TaxTypeEnum {
|
|
1102
|
+
NOT_APPLICABLE = "",
|
|
1089
1103
|
ICMS = "ICMS",
|
|
1090
1104
|
ICMS_ST = "ICMS_ST",
|
|
1091
1105
|
DIFAL_87_15 = "DIFAL_87_15",
|
|
@@ -1104,7 +1118,33 @@ declare enum TaxTypeEnum {
|
|
|
1104
1118
|
CSRF = "CSRF",
|
|
1105
1119
|
CSLL = "CSLL",
|
|
1106
1120
|
CIDE = "CIDE",
|
|
1107
|
-
|
|
1121
|
+
IS = "IS",
|
|
1122
|
+
IBS_UF = "IBS_UF",
|
|
1123
|
+
IBS_UF_DEFERRAL = "IBS_UF_DEFERRAL",
|
|
1124
|
+
IBS_UF_RETURNED = "IBS_UF_RETURNED",
|
|
1125
|
+
IBS_UF_REDUCTION = "IBS_UF_REDUCTION",
|
|
1126
|
+
IBS_MONO = "IBS_MONO",
|
|
1127
|
+
IBS_MONO_DEFERRAL = "IBS_MONO_DEFERRAL",
|
|
1128
|
+
IBS_MONO_PREVIOUSLY = "IBS_MONO_PREVIOUSLY",
|
|
1129
|
+
IBS_TRANSFER = "IBS_TRANSFER",
|
|
1130
|
+
IBS_ADJUSTMENT = "IBS_ADJUSTMENT",
|
|
1131
|
+
IBS_REFUND = "IBS_REFUND",
|
|
1132
|
+
IBS_PRESUMED = "IBS_PRESUMED",
|
|
1133
|
+
IBS_MUN = "IBS_MUN",
|
|
1134
|
+
IBS_MUN_DEFERRAL = "IBS_MUN_DEFERRAL",
|
|
1135
|
+
IBS_MUN_RETURNED = "IBS_MUN_RETURNED",
|
|
1136
|
+
IBS_MUN_REDUCTION = "IBS_MUN_REDUCTION",
|
|
1137
|
+
CBS = "CBS",
|
|
1138
|
+
CBS_DEFERRAL = "CBS_DEFERRAL",
|
|
1139
|
+
CBS_RETURNED = "CBS_RETURNED",
|
|
1140
|
+
CBS_REDUCTION = "CBS_REDUCTION",
|
|
1141
|
+
CBS_MONO = "CBS_MONO",
|
|
1142
|
+
CBS_MONO_DEFERRAL = "CBS_MONO_DEFERRAL",
|
|
1143
|
+
CBS_MONO_PREVIOUSLY = "CBS_MONO_PREVIOUSLY",
|
|
1144
|
+
CBS_TRANSFER = "CBS_TRANSFER",
|
|
1145
|
+
CBS_ADJUSTMENT = "CBS_ADJUSTMENT",
|
|
1146
|
+
CBS_REFUND = "CBS_REFUND",
|
|
1147
|
+
CBS_PRESUMED = "CBS_PRESUMED"
|
|
1108
1148
|
}
|
|
1109
1149
|
|
|
1110
1150
|
declare enum LayoutDateFormat {
|
|
@@ -1258,6 +1298,20 @@ declare enum DifalIcmsCategoryEnum {
|
|
|
1258
1298
|
NOT_APPLICABLE = 0
|
|
1259
1299
|
}
|
|
1260
1300
|
|
|
1301
|
+
declare enum DonationIndicatorEnum {
|
|
1302
|
+
DONATION = 1,
|
|
1303
|
+
NOT_APPLICABLE = 0
|
|
1304
|
+
}
|
|
1305
|
+
|
|
1306
|
+
declare enum ZfmPresumedCreditTypeEnum {
|
|
1307
|
+
NO_PRESUMED_CREDIT = "0",// 0 - Sem Crédito Presumido
|
|
1308
|
+
FINAL_CONSUMER_GOODS = "1",// 1 - Bens de consumo final (55%)
|
|
1309
|
+
CAPITAL_GOODS = "2",// 2 - Bens de capital (75%)
|
|
1310
|
+
INTERMEDIATE_GOODS = "3",// 3 - Bens intermediários (90.25%)
|
|
1311
|
+
IT_AND_LEGAL_DEFINED_GOODS = "4",// 4 - Bens de informática e outros definidos em legislação (100%)
|
|
1312
|
+
NOT_APPLICABLE = ""
|
|
1313
|
+
}
|
|
1314
|
+
|
|
1261
1315
|
declare class Tax implements Cloneable {
|
|
1262
1316
|
private _id;
|
|
1263
1317
|
private _category;
|
|
@@ -1289,6 +1343,9 @@ declare class Tax implements Cloneable {
|
|
|
1289
1343
|
private _interstate_icms_tax_rate;
|
|
1290
1344
|
private _icms_value_origin_uf;
|
|
1291
1345
|
private _difal_icms_category;
|
|
1346
|
+
private _donation_indicator;
|
|
1347
|
+
private _tax_classification_code;
|
|
1348
|
+
private _zfm_presumed_credit_type;
|
|
1292
1349
|
get id(): string;
|
|
1293
1350
|
set id(value: string);
|
|
1294
1351
|
get category(): TaxTypeEnum;
|
|
@@ -1351,6 +1408,12 @@ declare class Tax implements Cloneable {
|
|
|
1351
1408
|
set increased_rate(value: number);
|
|
1352
1409
|
set difal_icms_category(value: DifalIcmsCategoryEnum);
|
|
1353
1410
|
get difal_icms_category(): DifalIcmsCategoryEnum;
|
|
1411
|
+
set donation_indicator(value: DonationIndicatorEnum);
|
|
1412
|
+
get donation_indicator(): DonationIndicatorEnum;
|
|
1413
|
+
set tax_classification_code(value: string);
|
|
1414
|
+
get tax_classification_code(): string;
|
|
1415
|
+
set zfm_presumed_credit_type(value: ZfmPresumedCreditTypeEnum);
|
|
1416
|
+
get zfm_presumed_credit_type(): ZfmPresumedCreditTypeEnum;
|
|
1354
1417
|
clone(): this;
|
|
1355
1418
|
}
|
|
1356
1419
|
|
|
@@ -1394,6 +1457,7 @@ declare class Item implements Cloneable {
|
|
|
1394
1457
|
private _accounting_value;
|
|
1395
1458
|
private _taxes;
|
|
1396
1459
|
private _import_declaration;
|
|
1460
|
+
private _conversion_factor;
|
|
1397
1461
|
private _imported;
|
|
1398
1462
|
get id(): string;
|
|
1399
1463
|
set id(value: string);
|
|
@@ -1471,6 +1535,8 @@ declare class Item implements Cloneable {
|
|
|
1471
1535
|
set taxes(value: Tax[]);
|
|
1472
1536
|
get import_declaration(): ImportDeclaration;
|
|
1473
1537
|
set import_declaration(value: ImportDeclaration);
|
|
1538
|
+
get conversion_factor(): ConversionFactor;
|
|
1539
|
+
set conversion_factor(value: ConversionFactor);
|
|
1474
1540
|
getWithholdingTaxes(): Tax[];
|
|
1475
1541
|
getNonWithholdingTaxes(): Tax[];
|
|
1476
1542
|
getTaxByCategory(category: TaxTypeEnum, withhold: boolean): Tax | null;
|
|
@@ -1858,6 +1924,7 @@ declare class BuilderItem {
|
|
|
1858
1924
|
withAccountingValue(accounting_value: number): BuilderItem;
|
|
1859
1925
|
withTaxes(taxes: Tax[]): BuilderItem;
|
|
1860
1926
|
withImportDeclaration(import_declaration: ImportDeclaration): BuilderItem;
|
|
1927
|
+
withConversionFactor(conversion_factor: ConversionFactor): BuilderItem;
|
|
1861
1928
|
withImported(value: boolean): BuilderItem;
|
|
1862
1929
|
}
|
|
1863
1930
|
|
|
@@ -1913,6 +1980,19 @@ declare class BuilderTax {
|
|
|
1913
1980
|
withInterstateIcmsTaxRate(interstate_icms_tax_rate: number): BuilderTax;
|
|
1914
1981
|
withIcmsValueOriginUf(icms_value_origin_uf: number): BuilderTax;
|
|
1915
1982
|
withDifalIcmsCategory(difal_icms_category: DifalIcmsCategoryEnum): BuilderTax;
|
|
1983
|
+
withDonationIndicator(donation_indicator: DonationIndicatorEnum): BuilderTax;
|
|
1984
|
+
withTaxClassificationCode(tax_classification_code: string): BuilderTax;
|
|
1985
|
+
withZfmPresumedCreditType(zfm_presumed_credit_type: ZfmPresumedCreditTypeEnum): BuilderTax;
|
|
1986
|
+
}
|
|
1987
|
+
|
|
1988
|
+
declare class BuilderConversionFactor {
|
|
1989
|
+
private instance;
|
|
1990
|
+
constructor();
|
|
1991
|
+
newInstance(): BuilderConversionFactor;
|
|
1992
|
+
build(): ConversionFactor;
|
|
1993
|
+
withUnit(unit: string): BuilderConversionFactor;
|
|
1994
|
+
withMultiply(multiply: number): BuilderConversionFactor;
|
|
1995
|
+
withBarcode(barcode: string): BuilderConversionFactor;
|
|
1916
1996
|
}
|
|
1917
1997
|
|
|
1918
1998
|
declare enum DescriptionStatusEnum {
|
|
@@ -2109,6 +2189,7 @@ interface IItemMongo {
|
|
|
2109
2189
|
third_party_value: number;
|
|
2110
2190
|
taxes: ITaxMongo[];
|
|
2111
2191
|
import_declaration: IImportDeclaration;
|
|
2192
|
+
conversion_factor: IConversionFactor;
|
|
2112
2193
|
imported: boolean;
|
|
2113
2194
|
accounting_value: number;
|
|
2114
2195
|
}
|
|
@@ -2169,6 +2250,11 @@ interface IAddition {
|
|
|
2169
2250
|
import_discount_amount: number;
|
|
2170
2251
|
drawback_concession_number: string;
|
|
2171
2252
|
}
|
|
2253
|
+
interface IConversionFactor {
|
|
2254
|
+
unit: string;
|
|
2255
|
+
multiply: number;
|
|
2256
|
+
barcode: string;
|
|
2257
|
+
}
|
|
2172
2258
|
|
|
2173
2259
|
declare class MongoToDocumentBuilder {
|
|
2174
2260
|
private instance;
|
|
@@ -2178,6 +2264,7 @@ declare class MongoToDocumentBuilder {
|
|
|
2178
2264
|
private buildTax;
|
|
2179
2265
|
private buildAddition;
|
|
2180
2266
|
private buildImportDeclaration;
|
|
2267
|
+
private buildConversionFactor;
|
|
2181
2268
|
private items;
|
|
2182
2269
|
constructor();
|
|
2183
2270
|
newInstance(): MongoToDocumentBuilder;
|
|
@@ -2188,6 +2275,7 @@ declare class MongoToDocumentBuilder {
|
|
|
2188
2275
|
withTax(tax: ITaxMongo): Tax;
|
|
2189
2276
|
withImportDeclaration(item: IItemMongo): ImportDeclaration;
|
|
2190
2277
|
withAddition(addition: IAddition): Addition;
|
|
2278
|
+
withConversionFactor(item: IItemMongo): ConversionFactor;
|
|
2191
2279
|
}
|
|
2192
2280
|
|
|
2193
2281
|
declare function buildMongoFilter(filters: FiltersDocument): any;
|
|
@@ -2522,6 +2610,7 @@ type TaxRegimes = Record<string, {
|
|
|
2522
2610
|
}>;
|
|
2523
2611
|
interface ICalculationBasisNatureSetting {
|
|
2524
2612
|
_id: string;
|
|
2613
|
+
active: true;
|
|
2525
2614
|
name: string;
|
|
2526
2615
|
tenantid: string;
|
|
2527
2616
|
profiles: {
|
|
@@ -2600,7 +2689,7 @@ declare class CalculationBasisNatureSetting {
|
|
|
2600
2689
|
id: string;
|
|
2601
2690
|
alias: string;
|
|
2602
2691
|
}[];
|
|
2603
|
-
protected
|
|
2692
|
+
protected _active: boolean;
|
|
2604
2693
|
protected _tax_settings: TaxRegimes;
|
|
2605
2694
|
protected _logs?: {
|
|
2606
2695
|
type: 'create' | 'enable' | 'disable' | 'update';
|
|
@@ -2614,7 +2703,7 @@ declare class CalculationBasisNatureSetting {
|
|
|
2614
2703
|
id: string;
|
|
2615
2704
|
alias: string;
|
|
2616
2705
|
}[]);
|
|
2617
|
-
set
|
|
2706
|
+
set active(active: boolean);
|
|
2618
2707
|
set tax_settings(tax_settings: TaxRegimes);
|
|
2619
2708
|
set logs(logs: {
|
|
2620
2709
|
type: 'create' | 'enable' | 'disable' | 'update';
|
|
@@ -2622,7 +2711,7 @@ declare class CalculationBasisNatureSetting {
|
|
|
2622
2711
|
username: string;
|
|
2623
2712
|
useremail: string;
|
|
2624
2713
|
}[] | undefined);
|
|
2625
|
-
get
|
|
2714
|
+
get active(): boolean;
|
|
2626
2715
|
get id(): string;
|
|
2627
2716
|
get tenantid(): string;
|
|
2628
2717
|
get profiles(): {
|
|
@@ -2688,51 +2777,74 @@ declare class EfdContribSpecializedProfile {
|
|
|
2688
2777
|
get calculationBasisNature(): CalculationBasisNatureSetting[];
|
|
2689
2778
|
}
|
|
2690
2779
|
|
|
2691
|
-
declare enum
|
|
2692
|
-
'Outros débitos' = 0,
|
|
2693
|
-
'Estorno de créditos' = 1,
|
|
2694
|
-
'Outros créditos' = 2,
|
|
2695
|
-
'Estorno de débitos' = 3,
|
|
2696
|
-
'Deduções do imposto apurado' = 4,
|
|
2697
|
-
'Débitos Especiais' = 5
|
|
2698
|
-
|
|
2699
|
-
|
|
2780
|
+
declare enum IcmsAdjustmentGroupEnum {
|
|
2781
|
+
'Outros débitos' = "0",
|
|
2782
|
+
'Estorno de créditos' = "1",
|
|
2783
|
+
'Outros créditos' = "2",
|
|
2784
|
+
'Estorno de débitos' = "3",
|
|
2785
|
+
'Deduções do imposto apurado' = "4",
|
|
2786
|
+
'Débitos Especiais' = "5",
|
|
2787
|
+
NOT_APPLICABLE = ""
|
|
2788
|
+
}
|
|
2789
|
+
declare enum IcmsAdjustmentTaxTypeEnum {
|
|
2700
2790
|
ICMS = "ICMS",
|
|
2701
|
-
IPI = "IPI",
|
|
2702
2791
|
ICMS_ST = "ICMS-ST",
|
|
2703
|
-
RET = "RET"
|
|
2792
|
+
RET = "RET",
|
|
2793
|
+
NOT_APPLICABLE = ""
|
|
2704
2794
|
}
|
|
2705
|
-
declare enum
|
|
2795
|
+
declare enum IcmsAdjustmentRegistryEnum {
|
|
2706
2796
|
C197 = "C197",
|
|
2707
|
-
D197 = "D197"
|
|
2797
|
+
D197 = "D197",
|
|
2798
|
+
E111 = "E111",
|
|
2799
|
+
E115 = "E115",
|
|
2800
|
+
E220 = "E220",
|
|
2801
|
+
NOT_APPLICABLE = ""
|
|
2708
2802
|
}
|
|
2709
|
-
declare enum
|
|
2710
|
-
|
|
2711
|
-
|
|
2712
|
-
|
|
2713
|
-
|
|
2714
|
-
|
|
2715
|
-
|
|
2803
|
+
declare enum IcmsCalculationIndicatorEnum {
|
|
2804
|
+
APURACAO_SEPARADA_GRUPO_1 = 3,
|
|
2805
|
+
APURACAO_SEPARADA_GRUPO_2 = 4,
|
|
2806
|
+
APURACAO_SEPARADA_GRUPO_3 = 5,
|
|
2807
|
+
APURACAO_SEPARADA_GRUPO_4 = 6,
|
|
2808
|
+
APURACAO_SEPARADA_GRUPO_5 = 7,
|
|
2809
|
+
APURACAO_SEPARADA_GRUPO_6 = 8,
|
|
2810
|
+
NOT_APPLICABLE = 0
|
|
2716
2811
|
}
|
|
2717
|
-
|
|
2718
|
-
|
|
2812
|
+
declare enum IcmsAdjustmentTypeEnum {
|
|
2813
|
+
CREDITO_IMOBILIZADO_CIAP = "0",
|
|
2814
|
+
DIFAL_COMPRA_CONSUMO_IMOBILIZADO = "1",
|
|
2815
|
+
DIFAL = "2",
|
|
2816
|
+
ADJUDICACAO_CREDITO_DIFAL = "3",
|
|
2817
|
+
NOT_APPLICABLE = ""
|
|
2818
|
+
}
|
|
2819
|
+
interface IIcmsAdjustmentExtraInfo {
|
|
2820
|
+
item_code: string;
|
|
2821
|
+
cfop: string;
|
|
2822
|
+
cfop_description: string;
|
|
2823
|
+
cst: string;
|
|
2824
|
+
rate: number;
|
|
2825
|
+
ncm: string;
|
|
2826
|
+
icms_taxpayer: boolean;
|
|
2827
|
+
difal_double_base: boolean;
|
|
2828
|
+
}
|
|
2829
|
+
interface IIcmsAdjustmentSetting {
|
|
2830
|
+
_id: string;
|
|
2831
|
+
active: boolean;
|
|
2719
2832
|
tenantid: string;
|
|
2720
2833
|
profile_id: string;
|
|
2721
2834
|
establishment_id: string;
|
|
2722
|
-
|
|
2723
|
-
|
|
2835
|
+
tax_type: IcmsAdjustmentTaxTypeEnum;
|
|
2836
|
+
adjustment_type: IcmsAdjustmentTypeEnum;
|
|
2837
|
+
initial_date: string;
|
|
2838
|
+
final_date: string;
|
|
2724
2839
|
description: string;
|
|
2725
|
-
|
|
2726
|
-
|
|
2727
|
-
|
|
2728
|
-
|
|
2729
|
-
|
|
2730
|
-
|
|
2731
|
-
|
|
2732
|
-
|
|
2733
|
-
icms_taxpayer?: boolean;
|
|
2734
|
-
records: FiscalRecordTypes[];
|
|
2735
|
-
icmsApurationIndicator?: keyof typeof IcmsApurationIndicator;
|
|
2840
|
+
group: IcmsAdjustmentGroupEnum;
|
|
2841
|
+
sefaz_adjustment_code: string;
|
|
2842
|
+
additional_info: string;
|
|
2843
|
+
icms_calculation_indicator: IcmsCalculationIndicatorEnum;
|
|
2844
|
+
registry: IcmsAdjustmentRegistryEnum;
|
|
2845
|
+
generate_e113: boolean;
|
|
2846
|
+
generate_sub_calculation?: boolean;
|
|
2847
|
+
infos: IIcmsAdjustmentExtraInfo[];
|
|
2736
2848
|
}
|
|
2737
2849
|
|
|
2738
2850
|
declare enum ProfileTaxTypeEnum {
|
|
@@ -2835,7 +2947,7 @@ interface IIcmsCreditConfigLog {
|
|
|
2835
2947
|
interface IJudicialProcess {
|
|
2836
2948
|
number: string;
|
|
2837
2949
|
origin: JudicialProcessOriginEnum;
|
|
2838
|
-
description:
|
|
2950
|
+
description: string;
|
|
2839
2951
|
}
|
|
2840
2952
|
interface ITaxTypeConfigLog {
|
|
2841
2953
|
action_type: ActionTypeEnum;
|
|
@@ -2958,7 +3070,7 @@ declare class EfdIcmsIpiSpecializedProfile {
|
|
|
2958
3070
|
protected _id: string;
|
|
2959
3071
|
protected _created_at: Date;
|
|
2960
3072
|
protected _updated_at: Date;
|
|
2961
|
-
protected
|
|
3073
|
+
protected _icmsAdjustmentSetting: IcmsAdjustmentSetting[];
|
|
2962
3074
|
set branch_id(branch_id: string);
|
|
2963
3075
|
set profile_id(profile_id: string);
|
|
2964
3076
|
set profile_alias(profile_alias: string);
|
|
@@ -2973,13 +3085,13 @@ declare class EfdIcmsIpiSpecializedProfile {
|
|
|
2973
3085
|
set tax_type_config(tax_type_config: ITaxTypeConfig[]);
|
|
2974
3086
|
set has_blockH(has_blockH: 'true' | 'false');
|
|
2975
3087
|
set blockH_movement_indicator(blockH_movement_indicator: '0' | '1');
|
|
2976
|
-
set icms_credit_config(icms_credit_config: IIcmsCreditBaseConfig
|
|
3088
|
+
set icms_credit_config(icms_credit_config: IIcmsCreditBaseConfig);
|
|
2977
3089
|
set tenantid(tenantid: string);
|
|
2978
3090
|
set id(id: string);
|
|
2979
3091
|
set created_at(created_at: Date);
|
|
2980
3092
|
set updated_at(updated_at: Date);
|
|
2981
3093
|
set gia_st_layout_version(gia_st_layout_version: string);
|
|
2982
|
-
set
|
|
3094
|
+
set icmsAdjustmentSetting(icmsAdjustmentSetting: IcmsAdjustmentSetting[]);
|
|
2983
3095
|
get branch_id(): string;
|
|
2984
3096
|
get profile_id(): string;
|
|
2985
3097
|
get profile_alias(): string;
|
|
@@ -2994,69 +3106,69 @@ declare class EfdIcmsIpiSpecializedProfile {
|
|
|
2994
3106
|
get tax_type_config(): ITaxTypeConfig[];
|
|
2995
3107
|
get has_blockH(): 'true' | 'false';
|
|
2996
3108
|
get blockH_movement_indicator(): '0' | '1';
|
|
2997
|
-
get icms_credit_config(): IIcmsCreditBaseConfig
|
|
3109
|
+
get icms_credit_config(): IIcmsCreditBaseConfig;
|
|
2998
3110
|
get tenantid(): string;
|
|
2999
3111
|
get id(): string;
|
|
3000
3112
|
get created_at(): Date;
|
|
3001
3113
|
get updated_at(): Date;
|
|
3002
3114
|
get gia_st_layout_version(): string;
|
|
3003
|
-
get
|
|
3115
|
+
get icmsAdjustmentSetting(): IcmsAdjustmentSetting[];
|
|
3004
3116
|
}
|
|
3005
|
-
declare class
|
|
3117
|
+
declare class IcmsAdjustmentSetting {
|
|
3006
3118
|
protected _id: string;
|
|
3119
|
+
protected _active: boolean;
|
|
3007
3120
|
protected _tenantid: string;
|
|
3008
3121
|
protected _profile_id: string;
|
|
3009
3122
|
protected _establishment_id: string;
|
|
3010
|
-
protected
|
|
3011
|
-
protected
|
|
3123
|
+
protected _tax_type: IcmsAdjustmentTaxTypeEnum;
|
|
3124
|
+
protected _adjustment_type: IcmsAdjustmentTypeEnum;
|
|
3125
|
+
protected _initial_date: string;
|
|
3126
|
+
protected _final_date: string;
|
|
3012
3127
|
protected _description: string;
|
|
3013
|
-
protected
|
|
3014
|
-
protected
|
|
3015
|
-
protected
|
|
3016
|
-
protected
|
|
3017
|
-
protected
|
|
3018
|
-
protected
|
|
3019
|
-
protected
|
|
3020
|
-
protected
|
|
3021
|
-
|
|
3022
|
-
|
|
3023
|
-
protected _icmsApurationIndicator?: keyof typeof IcmsApurationIndicator;
|
|
3024
|
-
set id(id: string);
|
|
3128
|
+
protected _group: IcmsAdjustmentGroupEnum;
|
|
3129
|
+
protected _sefaz_adjustment_code: string;
|
|
3130
|
+
protected _additional_info: string;
|
|
3131
|
+
protected _icms_calculation_indicator: IcmsCalculationIndicatorEnum;
|
|
3132
|
+
protected _registry: IcmsAdjustmentRegistryEnum;
|
|
3133
|
+
protected _generate_e113: boolean;
|
|
3134
|
+
protected _generate_sub_calculation: boolean;
|
|
3135
|
+
protected _infos: IIcmsAdjustmentExtraInfo[];
|
|
3136
|
+
set id(_id: string);
|
|
3137
|
+
set active(value: boolean);
|
|
3025
3138
|
set tenantid(tenantid: string);
|
|
3026
3139
|
set profile_id(profile_id: string);
|
|
3027
3140
|
set establishment_id(establishment_id: string);
|
|
3028
|
-
set
|
|
3029
|
-
set
|
|
3030
|
-
set
|
|
3031
|
-
set
|
|
3032
|
-
set
|
|
3033
|
-
set
|
|
3034
|
-
set
|
|
3035
|
-
set
|
|
3036
|
-
set
|
|
3037
|
-
set
|
|
3038
|
-
set
|
|
3039
|
-
set
|
|
3040
|
-
set
|
|
3041
|
-
set icmsApurationIndicator(icmsApurationIndicator: keyof typeof IcmsApurationIndicator | undefined);
|
|
3141
|
+
set tax_type(value: IcmsAdjustmentTaxTypeEnum);
|
|
3142
|
+
set adjustment_type(value: IcmsAdjustmentTypeEnum);
|
|
3143
|
+
set initial_date(value: string);
|
|
3144
|
+
set final_date(value: string);
|
|
3145
|
+
set description(value: string);
|
|
3146
|
+
set group(value: IcmsAdjustmentGroupEnum);
|
|
3147
|
+
set sefaz_adjustment_code(value: string);
|
|
3148
|
+
set additional_info(value: string);
|
|
3149
|
+
set icms_calculation_indicator(value: IcmsCalculationIndicatorEnum);
|
|
3150
|
+
set registry(value: IcmsAdjustmentRegistryEnum);
|
|
3151
|
+
set generate_e113(value: boolean);
|
|
3152
|
+
set generate_sub_calculation(value: boolean);
|
|
3153
|
+
set infos(value: IIcmsAdjustmentExtraInfo[]);
|
|
3042
3154
|
get id(): string;
|
|
3155
|
+
get active(): boolean;
|
|
3043
3156
|
get tenantid(): string;
|
|
3044
3157
|
get profile_id(): string;
|
|
3045
3158
|
get establishment_id(): string;
|
|
3046
|
-
get
|
|
3047
|
-
get
|
|
3159
|
+
get tax_type(): IcmsAdjustmentTaxTypeEnum;
|
|
3160
|
+
get adjustment_type(): IcmsAdjustmentTypeEnum;
|
|
3161
|
+
get initial_date(): string;
|
|
3162
|
+
get final_date(): string;
|
|
3048
3163
|
get description(): string;
|
|
3049
|
-
get
|
|
3050
|
-
get
|
|
3051
|
-
get
|
|
3052
|
-
get
|
|
3053
|
-
get
|
|
3054
|
-
get
|
|
3055
|
-
get
|
|
3056
|
-
get
|
|
3057
|
-
get icms_taxpayer(): boolean | undefined;
|
|
3058
|
-
get records(): FiscalRecordTypes[];
|
|
3059
|
-
get icmsApurationIndicator(): keyof typeof IcmsApurationIndicator | undefined;
|
|
3164
|
+
get group(): IcmsAdjustmentGroupEnum;
|
|
3165
|
+
get sefaz_adjustment_code(): string;
|
|
3166
|
+
get additional_info(): string;
|
|
3167
|
+
get icms_calculation_indicator(): IcmsCalculationIndicatorEnum;
|
|
3168
|
+
get registry(): IcmsAdjustmentRegistryEnum;
|
|
3169
|
+
get generate_e113(): boolean;
|
|
3170
|
+
get generate_sub_calculation(): boolean;
|
|
3171
|
+
get infos(): IIcmsAdjustmentExtraInfo[];
|
|
3060
3172
|
}
|
|
3061
3173
|
|
|
3062
3174
|
declare class CNPJ implements IdentificationNumber {
|
|
@@ -3218,6 +3330,8 @@ declare class Signatory {
|
|
|
3218
3330
|
get personType(): string;
|
|
3219
3331
|
get phone(): string | undefined;
|
|
3220
3332
|
get email(): string | undefined;
|
|
3333
|
+
get district(): string | undefined;
|
|
3334
|
+
get number(): string | undefined;
|
|
3221
3335
|
get countyCode(): string | undefined;
|
|
3222
3336
|
get fiscalOfficeIdNumber(): string | undefined;
|
|
3223
3337
|
get complement(): string | undefined;
|
|
@@ -4149,4 +4263,4 @@ declare function logWithContext<T extends MessageCodeType>(messageCode: T, param
|
|
|
4149
4263
|
actionSuggestion: string;
|
|
4150
4264
|
};
|
|
4151
4265
|
|
|
4152
|
-
export { ActionTypeEnum, Addition, Address, type AllowedCfopsCreditConfig, Alphanumeric, type AuditTaxCollectionDetails, type AuditTaxCollectionInfo, type AuthTokenExpiredParams, type AuthUnauthorizedParams, Block, BuilderAddition, BuilderAddress, BuilderDocument, BuilderImportDeclaration, BuilderItem, BuilderPerson, BuilderTax, CNPJ, CPF, CST, CalculationBasisNatureSetting, type Cloneable, CloseBlock, CloseFile, CodIncTrib, type Cod_ent_ref, CodeStatusEnum, ConfigTypeEnum, ConsoleOutput, CounterBlock, CounterRegister, CountryCodeEnum, CprbOption, CteTypeEnum, DEFAULT_LOCALE, type DatabaseConnectionFailedParams, type DatabaseQueryErrorParams, Decimal, DefaultAlphanumericLength, DefaultDecimalLength, DefaultDecimalSeparator, DescriptionStatusEnum, DifalIcmsCategoryEnum, Document, type DocumentRepository, DocumentTypeEnum, EcdSpecializedProfile, EcfSpecializedProfile, EfdContribSpecializedProfile, EfdIcmsIpiSpecializedProfile, Email, EnforceabilityOfISSEnum, Establishment, EstablishmentEvent, Event, EventEnum, FieldDataType, type FieldFormat, type FiltersDocument, FiscalQualificationType,
|
|
4266
|
+
export { ActionTypeEnum, Addition, Address, type AllowedCfopsCreditConfig, Alphanumeric, type AuditTaxCollectionDetails, type AuditTaxCollectionInfo, type AuthTokenExpiredParams, type AuthUnauthorizedParams, Block, BuilderAddition, BuilderAddress, BuilderConversionFactor, BuilderDocument, BuilderImportDeclaration, BuilderItem, BuilderPerson, BuilderTax, CNPJ, CPF, CST, CalculationBasisNatureSetting, type Cloneable, CloseBlock, CloseFile, CodIncTrib, type Cod_ent_ref, CodeStatusEnum, ConfigTypeEnum, ConsoleOutput, ConversionFactor, CounterBlock, CounterRegister, CountryCodeEnum, CprbOption, CteTypeEnum, DEFAULT_LOCALE, type DatabaseConnectionFailedParams, type DatabaseQueryErrorParams, Decimal, DefaultAlphanumericLength, DefaultDecimalLength, DefaultDecimalSeparator, DescriptionStatusEnum, DifalIcmsCategoryEnum, Document, type DocumentRepository, DocumentTypeEnum, DonationIndicatorEnum, EcdSpecializedProfile, EcfSpecializedProfile, EfdContribSpecializedProfile, EfdIcmsIpiSpecializedProfile, Email, EnforceabilityOfISSEnum, Establishment, EstablishmentEvent, Event, EventEnum, FieldDataType, type FieldFormat, type FiltersDocument, FiscalQualificationType, FreightContractedNatureIndicatorEnum, FreightTypeEnum, type GetAuditTaxCollectionQuery, GrossRevenueContributionHeaders, type IAddition, type IAddressMongo, type IBaseHeadersDTO, type ICalculationBasisNatureSetting, type IConversionFactor, type IDocumentMongo, type IEcdSpecializedProfile, type IEcfSpecializedProfile, type IEfdContribSpecializedProfile, type IEfdicmsipiAdditionalFields, type IEstablishment, type IEstablishmentEvent, type IGrossRevenueContributionHeader, type IIcmsAdjustmentExtraInfo, type IIcmsAdjustmentSetting, type IIcmsCreditBaseConfig, type IIcmsCreditConfigLog, type IImportDeclaration, type IItemMongo, type IJudicialProcess, type INatureConfig, type INatureOfIncomeBusinessPartner, type IPersonMongo, type IProfile, type IProfileRepository, type IProfileServiceUrls, type IReinfAdditionalFields, type IRevenueNatureSettings, type IScp, type ISignatory, type ITable9, type ITaxMongo, type ITaxTypeConfig, type ITaxTypeConfigBase, type ITaxTypeConfigCreateOrUpdate, type ITaxTypeConfigLog, IcmsAdjustmentGroupEnum, IcmsAdjustmentRegistryEnum, IcmsAdjustmentSetting, IcmsAdjustmentTaxTypeEnum, IcmsAdjustmentTypeEnum, IcmsCalculationIndicatorEnum, type IdentificationNumber, ImportDeclaration, IntermediationTypeEnum, type InternalServerErrorParams, InternationalTransportTypeEnum, IssuerIndicatorEnum, Item, ItemTypeEnum, JudicialProcessOriginEnum, Key, type KeyComposition, type KeyFieldDefinition, LayoutDateFormat, type Locale, MaximumNumericLength, MemoryMasterDataRepository, MemoryPersist, MessageCategory, MessageCode, type MessageCodeType, Messages, ModelConverter, ModelRollback, MongoConfig, MongoRepository, MongoToDocumentBuilder, MunicipalObligation, MunicipalObligationIdEnum, MunicipalObligationNameEnum, MunicipalObligationTypeEnum, Municipality, NameCountryEnum, NatureCode, NatureConfig, Numeric, ObligationCodeEnum, OnDuplication, OnDuplicationStrategy, OpenBlock, OperationTypeEnum, OurDate, type OutputWriter, type ParameterTypes, PaymentTypeEnum, Person, ProductOriginEnum, Profile, ProfileRestRepository, ProfileTaxTypeEnum, Register, type RegisterDefinition, type RegisterEventData, type RegisterEventNotifier, type RegisterGenerator, type RegisterPersist, type RegisterSubscriber, ReinfSpecializedProfile, type ReportGenerationOptions, ReportGenerator, type Repository, RevenueNatureSettings, RevenueTypeEnum, Scp, ServiceCode, ServiceCodeEnum, type SettingErrorParams, Signatory, SimpleNationalOption, type SimpleReportGenerationOptions, SimpleReportGenerator, State, StateEnum, StateRegistrationIndicatorEnum, StatusDocumentEnum, StringArrayOutput, TagCounter, Tax, type TaxCollectionDetails, TaxCollectionType, TaxRegimeEnum, type TaxRegimes, type TaxRegisterGenerationOptions, TaxRegisterGenerator, TaxReport, TaxTypeEnum, TaxationType, Uf, type ValidationInvalidInputParams, type ValidationMissingFieldParams, ValueProviderType, ZfmPresumedCreditTypeEnum, buildMongoFilter, calculate_bases_values, formatMessage, keyCompositionMetadata, logWithContext, newRegisterEventData, normalizeServiceCode, onDuplicationStrategyMetadata, parseState };
|