@seidor-cloud-produtos/tax-core 1.0.23 → 1.0.25
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 +191 -17
- package/dist/index.d.ts +191 -17
- package/dist/index.js +7 -5
- package/dist/index.mjs +7 -5
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -1166,6 +1166,8 @@ declare enum TaxTypeEnum {
|
|
|
1166
1166
|
INSS = "INSS",
|
|
1167
1167
|
ISS = "ISS",
|
|
1168
1168
|
IR = "IR",
|
|
1169
|
+
IRPJ = "IRPJ",
|
|
1170
|
+
IRRF = "IRRF",
|
|
1169
1171
|
CSRF = "CSRF",
|
|
1170
1172
|
CSLL = "CSLL",
|
|
1171
1173
|
CIDE = "CIDE",
|
|
@@ -3409,6 +3411,11 @@ declare enum CreditBalanceRegimeTypeEnum {
|
|
|
3409
3411
|
not_cumulative = 1
|
|
3410
3412
|
}
|
|
3411
3413
|
|
|
3414
|
+
declare enum DueDateAdjustmentEnum {
|
|
3415
|
+
ANTICIPATE = "ANTICIPATE",
|
|
3416
|
+
POSTPONE = "POSTPONE"
|
|
3417
|
+
}
|
|
3418
|
+
|
|
3412
3419
|
declare class EstablishmentEvent {
|
|
3413
3420
|
protected _special_situation: '0' | '1' | '2' | '3' | '4' | '5' | '6';
|
|
3414
3421
|
protected _situation_date: Date;
|
|
@@ -3538,7 +3545,7 @@ declare class StateCollectionSettings {
|
|
|
3538
3545
|
protected _id: string;
|
|
3539
3546
|
protected _tenantid: string;
|
|
3540
3547
|
protected _active: boolean;
|
|
3541
|
-
protected _inactivation_date
|
|
3548
|
+
protected _inactivation_date: OurDate;
|
|
3542
3549
|
protected _tax_type: string;
|
|
3543
3550
|
protected _config_type: string;
|
|
3544
3551
|
protected _obligation_code: string;
|
|
@@ -3548,8 +3555,11 @@ declare class StateCollectionSettings {
|
|
|
3548
3555
|
protected _config_fcp: boolean;
|
|
3549
3556
|
protected _obligation_code_fcp?: string;
|
|
3550
3557
|
protected _due_date_fcp?: number;
|
|
3558
|
+
protected _due_date_adjustment?: DueDateAdjustmentEnum;
|
|
3559
|
+
protected _withholding_tax_type?: string;
|
|
3551
3560
|
protected _revenue_code_fcp?: string;
|
|
3552
3561
|
protected _tax_collection_type?: string;
|
|
3562
|
+
protected _establishment_id?: string;
|
|
3553
3563
|
protected _judicial_process_id?: string;
|
|
3554
3564
|
protected _judicial_process_number?: string;
|
|
3555
3565
|
protected _judicial_process_description?: string;
|
|
@@ -3563,7 +3573,7 @@ declare class StateCollectionSettings {
|
|
|
3563
3573
|
set id(id: string);
|
|
3564
3574
|
set tenantid(tenantid: string);
|
|
3565
3575
|
set active(active: boolean);
|
|
3566
|
-
set inactivation_date(inactivation_date:
|
|
3576
|
+
set inactivation_date(inactivation_date: OurDate);
|
|
3567
3577
|
set tax_type(tax_type: string);
|
|
3568
3578
|
set config_type(config_type: string);
|
|
3569
3579
|
set obligation_code(obligation_code: string);
|
|
@@ -3573,11 +3583,14 @@ declare class StateCollectionSettings {
|
|
|
3573
3583
|
set config_fcp(config_fcp: boolean);
|
|
3574
3584
|
set obligation_code_fcp(obligation_code_fcp: string | undefined);
|
|
3575
3585
|
set due_date_fcp(due_date_fcp: number | undefined);
|
|
3586
|
+
set due_date_adjustment(due_date_adjustment: DueDateAdjustmentEnum | undefined);
|
|
3587
|
+
set withholding_tax_type(withholding_tax_type: string | undefined);
|
|
3576
3588
|
set revenue_code_fcp(revenue_code_fcp: string | undefined);
|
|
3577
3589
|
set tax_collection_type(tax_collection_type: string | undefined);
|
|
3590
|
+
set establishment_id(establishment_id: string | undefined);
|
|
3578
3591
|
set judicial_process_id(judicial_process_id: string | undefined);
|
|
3579
3592
|
set judicial_process_number(judicial_process_number: string | undefined);
|
|
3580
|
-
set judicial_process_description(judicial_process_description:
|
|
3593
|
+
set judicial_process_description(judicial_process_description: string | undefined);
|
|
3581
3594
|
set judicial_process_origin_indicator(judicial_process_origin_indicator: string | undefined);
|
|
3582
3595
|
set created_at(created_at: Date);
|
|
3583
3596
|
set updated_at(updated_at: Date);
|
|
@@ -3588,22 +3601,24 @@ declare class StateCollectionSettings {
|
|
|
3588
3601
|
get id(): string;
|
|
3589
3602
|
get tenantid(): string;
|
|
3590
3603
|
get active(): boolean;
|
|
3591
|
-
get inactivation_date():
|
|
3604
|
+
get inactivation_date(): OurDate;
|
|
3592
3605
|
get tax_type(): string;
|
|
3593
3606
|
get config_type(): string;
|
|
3594
3607
|
get obligation_code(): string;
|
|
3595
3608
|
get due_date(): number;
|
|
3596
3609
|
get revenue_code(): string;
|
|
3597
|
-
get uf(): string
|
|
3610
|
+
get uf(): string;
|
|
3598
3611
|
get config_fcp(): boolean;
|
|
3599
|
-
get obligation_code_fcp(): string
|
|
3600
|
-
get due_date_fcp(): number
|
|
3601
|
-
get
|
|
3602
|
-
get
|
|
3603
|
-
get
|
|
3604
|
-
get
|
|
3605
|
-
get
|
|
3606
|
-
get
|
|
3612
|
+
get obligation_code_fcp(): string;
|
|
3613
|
+
get due_date_fcp(): number;
|
|
3614
|
+
get due_date_adjustment(): DueDateAdjustmentEnum;
|
|
3615
|
+
get withholding_tax_type(): string;
|
|
3616
|
+
get revenue_code_fcp(): string;
|
|
3617
|
+
get tax_collection_type(): string;
|
|
3618
|
+
get judicial_process_id(): string;
|
|
3619
|
+
get judicial_process_number(): string;
|
|
3620
|
+
get judicial_process_description(): string;
|
|
3621
|
+
get judicial_process_origin_indicator(): string;
|
|
3607
3622
|
get created_at(): Date;
|
|
3608
3623
|
get updated_at(): Date;
|
|
3609
3624
|
get created_by_name(): string;
|
|
@@ -3772,6 +3787,59 @@ declare class Establishment {
|
|
|
3772
3787
|
get emailContact(): Contact | undefined;
|
|
3773
3788
|
}
|
|
3774
3789
|
|
|
3790
|
+
declare class FederalCollectionSettings {
|
|
3791
|
+
protected _id: string;
|
|
3792
|
+
protected _tenantid: string;
|
|
3793
|
+
protected _active: boolean;
|
|
3794
|
+
protected _inactivation_date: OurDate;
|
|
3795
|
+
protected _tax_type: string;
|
|
3796
|
+
protected _withholding_tax_type: string;
|
|
3797
|
+
protected _due_date: number;
|
|
3798
|
+
protected _revenue_code: string;
|
|
3799
|
+
protected _due_date_adjustment: DueDateAdjustmentEnum;
|
|
3800
|
+
protected _is_cumulative: boolean;
|
|
3801
|
+
protected _profile_id: string;
|
|
3802
|
+
protected _created_at: Date;
|
|
3803
|
+
protected _updated_at: Date;
|
|
3804
|
+
protected _created_by_name: string;
|
|
3805
|
+
protected _created_by_email: string;
|
|
3806
|
+
protected _updated_by_name: string;
|
|
3807
|
+
protected _updated_by_email: string;
|
|
3808
|
+
set id(id: string);
|
|
3809
|
+
set tenantid(tenantid: string);
|
|
3810
|
+
set active(active: boolean);
|
|
3811
|
+
set inactivation_date(inactivation_date: OurDate);
|
|
3812
|
+
set tax_type(tax_type: string);
|
|
3813
|
+
set withholding_tax_type(withholding_tax_type: string);
|
|
3814
|
+
set due_date(due_date: number);
|
|
3815
|
+
set revenue_code(revenue_code: string);
|
|
3816
|
+
set due_date_adjustment(due_date_adjustment: DueDateAdjustmentEnum);
|
|
3817
|
+
set is_cumulative(is_cumulative: boolean);
|
|
3818
|
+
set profile_id(profile_id: string);
|
|
3819
|
+
set created_at(created_at: Date);
|
|
3820
|
+
set updated_at(updated_at: Date);
|
|
3821
|
+
set created_by_name(created_by_name: string);
|
|
3822
|
+
set created_by_email(created_by_email: string);
|
|
3823
|
+
set updated_by_name(updated_by_name: string);
|
|
3824
|
+
set updated_by_email(updated_by_email: string);
|
|
3825
|
+
get id(): string;
|
|
3826
|
+
get tenantid(): string;
|
|
3827
|
+
get active(): boolean;
|
|
3828
|
+
get inactivation_date(): OurDate;
|
|
3829
|
+
get tax_type(): string;
|
|
3830
|
+
get withholding_tax_type(): string;
|
|
3831
|
+
get due_date(): number;
|
|
3832
|
+
get revenue_code(): string;
|
|
3833
|
+
get due_date_adjustment(): DueDateAdjustmentEnum;
|
|
3834
|
+
get is_cumulative(): boolean;
|
|
3835
|
+
get created_at(): Date;
|
|
3836
|
+
get updated_at(): Date;
|
|
3837
|
+
get created_by_name(): string;
|
|
3838
|
+
get created_by_email(): string;
|
|
3839
|
+
get updated_by_name(): string;
|
|
3840
|
+
get updated_by_email(): string;
|
|
3841
|
+
}
|
|
3842
|
+
|
|
3775
3843
|
interface IReinfAdditionalFields {
|
|
3776
3844
|
id: string;
|
|
3777
3845
|
tenantid: string;
|
|
@@ -4096,6 +4164,7 @@ declare class Profile {
|
|
|
4096
4164
|
private _ecdSpecializedProfile;
|
|
4097
4165
|
private _ecfSpecializedProfile;
|
|
4098
4166
|
private _startingCreditBalance;
|
|
4167
|
+
private _federalCollectionSettings;
|
|
4099
4168
|
set id(id: string);
|
|
4100
4169
|
set active(active: boolean);
|
|
4101
4170
|
set tenantid(tenantid: string);
|
|
@@ -4129,6 +4198,11 @@ declare class Profile {
|
|
|
4129
4198
|
set setEcfSpecializedProfile(ecfSpecializedProfile: EcfSpecializedProfile);
|
|
4130
4199
|
get startingCreditBalance(): StartingCreditBalance[];
|
|
4131
4200
|
set startingCreditBalance(startingCreditBalance: StartingCreditBalance[]);
|
|
4201
|
+
get federalCollectionSettings(): FederalCollectionSettings[];
|
|
4202
|
+
set collectionSettings(collectionsSettings: ICollectionSettings[]);
|
|
4203
|
+
private isFederalCollectionSetting;
|
|
4204
|
+
private mapDataToFederalCollectionSettings;
|
|
4205
|
+
private mapDataToStateCollectionSettings;
|
|
4132
4206
|
}
|
|
4133
4207
|
|
|
4134
4208
|
interface IProfileRepository {
|
|
@@ -4136,7 +4210,39 @@ interface IProfileRepository {
|
|
|
4136
4210
|
}
|
|
4137
4211
|
|
|
4138
4212
|
interface IStateCollectionSettingsRepository {
|
|
4139
|
-
|
|
4213
|
+
getCollectionSettingsByProfileId(tenantid: string, profile_id: string): Promise<ICollectionSettings[]>;
|
|
4214
|
+
}
|
|
4215
|
+
interface ICollectionSettings {
|
|
4216
|
+
id: string;
|
|
4217
|
+
tenantid: string;
|
|
4218
|
+
active: boolean;
|
|
4219
|
+
inactivation_date: OurDate;
|
|
4220
|
+
tax_type: TaxTypeEnum;
|
|
4221
|
+
config_type?: string;
|
|
4222
|
+
obligation_code?: string;
|
|
4223
|
+
due_date: number;
|
|
4224
|
+
revenue_code: string;
|
|
4225
|
+
uf?: string;
|
|
4226
|
+
config_fcp: boolean;
|
|
4227
|
+
obligation_code_fcp?: string;
|
|
4228
|
+
due_date_fcp?: number;
|
|
4229
|
+
revenue_code_fcp?: string;
|
|
4230
|
+
tax_collection_type?: string;
|
|
4231
|
+
is_cumulative?: boolean;
|
|
4232
|
+
due_date_adjustment?: DueDateAdjustmentEnum;
|
|
4233
|
+
withholding_tax_type?: TaxTypeEnum;
|
|
4234
|
+
establishment_id?: string;
|
|
4235
|
+
profile_id: string;
|
|
4236
|
+
judicial_process_id?: string;
|
|
4237
|
+
judicial_process_number?: string;
|
|
4238
|
+
judicial_process_description?: string;
|
|
4239
|
+
judicial_process_origin_indicator?: string;
|
|
4240
|
+
created_at: Date;
|
|
4241
|
+
updated_at: Date;
|
|
4242
|
+
created_by_name: string;
|
|
4243
|
+
created_by_email: string;
|
|
4244
|
+
updated_by_name: string;
|
|
4245
|
+
updated_by_email: string;
|
|
4140
4246
|
}
|
|
4141
4247
|
|
|
4142
4248
|
interface IProfile {
|
|
@@ -4256,7 +4362,7 @@ declare class ProfileRestRepository implements IProfileRepository {
|
|
|
4256
4362
|
private readonly masterDataRepository;
|
|
4257
4363
|
constructor(urls: IProfileServiceUrls, stateSettingsRepository: IStateCollectionSettingsRepository, masterDataRepository?: Repository);
|
|
4258
4364
|
getProfileById(profile_id: string, tenantid: string, period?: any): Promise<Profile>;
|
|
4259
|
-
private
|
|
4365
|
+
private getCollectionSettingsByProfileId;
|
|
4260
4366
|
getProfileRestById(profile_id: string, tenantid: string): Promise<IProfile>;
|
|
4261
4367
|
getStartingCreditByProfileId(profile_id: string, tenantid: string): Promise<StartingCreditBalance[]>;
|
|
4262
4368
|
private mapDataToStartingCreditBalance;
|
|
@@ -4347,7 +4453,7 @@ declare class PostgresRepository implements IStateCollectionSettingsRepository {
|
|
|
4347
4453
|
private isConnected;
|
|
4348
4454
|
connect(): Promise<Pool>;
|
|
4349
4455
|
close(): Promise<void>;
|
|
4350
|
-
|
|
4456
|
+
getCollectionSettingsByProfileId(profile_id: string, tenantid: string): Promise<ICollectionSettings[]>;
|
|
4351
4457
|
}
|
|
4352
4458
|
|
|
4353
4459
|
interface ProfileDbRepositoryConfig {
|
|
@@ -4758,4 +4864,72 @@ declare function toSafeNumber(value: unknown, fallback?: number): number;
|
|
|
4758
4864
|
|
|
4759
4865
|
declare function validationValue(field: any): any;
|
|
4760
4866
|
|
|
4761
|
-
|
|
4867
|
+
declare enum DayOfWeek {
|
|
4868
|
+
SUNDAY = 0,
|
|
4869
|
+
MONDAY = 1,
|
|
4870
|
+
TUESDAY = 2,
|
|
4871
|
+
WEDNESDAY = 3,
|
|
4872
|
+
THURSDAY = 4,
|
|
4873
|
+
FRIDAY = 5,
|
|
4874
|
+
SATURDAY = 6
|
|
4875
|
+
}
|
|
4876
|
+
declare const WEEKDAYS: DayOfWeek[];
|
|
4877
|
+
type HolidayScope = 'COUNTRY' | 'STATE' | 'CITY';
|
|
4878
|
+
type HolidayLocation = {
|
|
4879
|
+
country: string;
|
|
4880
|
+
state?: string;
|
|
4881
|
+
city?: string;
|
|
4882
|
+
};
|
|
4883
|
+
type HolidayDefinition = {
|
|
4884
|
+
id: string;
|
|
4885
|
+
name: string;
|
|
4886
|
+
scope: HolidayScope;
|
|
4887
|
+
country: string;
|
|
4888
|
+
state?: string;
|
|
4889
|
+
city?: string;
|
|
4890
|
+
validFromYear?: number;
|
|
4891
|
+
validToYear?: number;
|
|
4892
|
+
} & ({
|
|
4893
|
+
type: 'fixed';
|
|
4894
|
+
month: number;
|
|
4895
|
+
day: number;
|
|
4896
|
+
} | {
|
|
4897
|
+
type: 'easter-offset';
|
|
4898
|
+
offsetDays: number;
|
|
4899
|
+
});
|
|
4900
|
+
type ResolvedHoliday = {
|
|
4901
|
+
id: string;
|
|
4902
|
+
name: string;
|
|
4903
|
+
date: string;
|
|
4904
|
+
scope: HolidayScope;
|
|
4905
|
+
};
|
|
4906
|
+
|
|
4907
|
+
declare class EasterCalculator {
|
|
4908
|
+
static getEasterSunday(year: number): Date;
|
|
4909
|
+
static getEasterBasedDate(year: number, offsetDays: number): Date;
|
|
4910
|
+
}
|
|
4911
|
+
|
|
4912
|
+
declare class Calendar {
|
|
4913
|
+
private definitions;
|
|
4914
|
+
private workingDays;
|
|
4915
|
+
private cache;
|
|
4916
|
+
constructor(definitions: HolidayDefinition[], workingDays?: DayOfWeek[]);
|
|
4917
|
+
private resolveDate;
|
|
4918
|
+
private matchesLocation;
|
|
4919
|
+
private isValidForYear;
|
|
4920
|
+
private getResolved;
|
|
4921
|
+
private static pad;
|
|
4922
|
+
private static toDateString;
|
|
4923
|
+
isHoliday(date: Date, location: HolidayLocation): boolean;
|
|
4924
|
+
getHoliday(date: Date, location: HolidayLocation): ResolvedHoliday | undefined;
|
|
4925
|
+
isBusinessDay(date: Date, location: HolidayLocation): boolean;
|
|
4926
|
+
nextBusinessDay(date: Date, location: HolidayLocation): Date;
|
|
4927
|
+
previousBusinessDay(date: Date, location: HolidayLocation): Date;
|
|
4928
|
+
adjustDueDate(date: Date, adjustment: DueDateAdjustmentEnum, location: HolidayLocation): Date;
|
|
4929
|
+
addBusinessDays(date: Date, days: number, location: HolidayLocation): Date;
|
|
4930
|
+
static forBrazil(extraHolidays?: HolidayDefinition[], workingDays?: DayOfWeek[]): Calendar;
|
|
4931
|
+
}
|
|
4932
|
+
|
|
4933
|
+
declare const BRAZIL_HOLIDAYS: HolidayDefinition[];
|
|
4934
|
+
|
|
4935
|
+
export { AccountingDocument, ActionTypeEnum, Addition, Address, type AllowedCfopsCreditConfig, Alphanumeric, type AuditTaxCollectionDetails, type AuditTaxCollectionInfo, type AuthTokenExpiredParams, type AuthUnauthorizedParams, BRAZIL_HOLIDAYS, Block, BuilderAccountingDocument, BuilderAddition, BuilderAddress, BuilderConversionFactor, BuilderDocument, BuilderImportDeclaration, BuilderItem, BuilderPerson, BuilderTax, CNPJ, CPF, CST, CalculationBasisNatureSetting, Calendar, type Cloneable, CloseBlock, CloseFile, CodIncTrib, type Cod_ent_ref, CodeStatusEnum, ConfigTypeEnum, ConsoleOutput, Contact, ContactTypesEnum, ConversionFactor, CounterBlock, CounterRegister, Country, CountryCodeEnum, CprbOption, CreditBalanceOriginCreditTypeEnum, CreditBalanceRegimeTypeEnum, CteTypeEnum, DEFAULT_LOCALE, type DatabaseConnectionFailedParams, type DatabaseQueryErrorParams, DayOfWeek, Decimal, DefaultAlphanumericLength, DefaultDecimalLength, DefaultDecimalSeparator, DescriptionStatusEnum, DifalIcmsCategoryEnum, Document, type DocumentRepository, DocumentTypeEnum, DonationIndicatorEnum, DueDateAdjustmentEnum, EasterCalculator, EcdSpecializedProfile, EcfSpecializedProfile, EfdContribSpecializedProfile, EfdIcmsIpiSpecializedProfile, Email, EnforceabilityOfISSEnum, Establishment, EstablishmentEvent, Event, EventEnum, FederalCollectionSettings, FieldDataType, type FieldFormat, type FiltersDocument, FiscalQualificationType, FreightContractedNatureIndicatorEnum, FreightTypeEnum, type GetAuditTaxCollectionQuery, GrossRevenueContributionHeaders, type HolidayDefinition, type HolidayLocation, type HolidayScope, type IAccountingDocumentMongo, type IAddition, type IAddressMongo, type IBaseHeadersDTO, type ICalculationBasisNatureSetting, type ICollectionSettings, 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 IStartingCreditBalance, type IStateCollectionSettingsRepository, 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, MunicipalRegistration, Municipality, NameCountryEnum, NatureCode, NatureConfig, Numeric, ObligationCodeEnum, OnDuplication, OnDuplicationStrategy, OpenBlock, OperationTypeEnum, OurDate, type OutputWriter, type ParameterTypes, PaymentTypeEnum, Person, type PisCofinsOptions, PostgresConfig, PostgresRepository, ProductOriginEnum, Profile, ProfileDbRepository, ProfileRestRepository, ProfileTaxTypeEnum, Register, type RegisterDefinition, type RegisterEventData, type RegisterEventNotifier, type RegisterGenerator, type RegisterPersist, type RegisterSubscriber, ReinfSpecializedProfile, type ReportGenerationOptions, ReportGenerator, type Repository, type ResolvedHoliday, RevenueNatureSettings, RevenueTypeEnum, Scp, ServiceCode, ServiceCodeEnum, type SettingErrorParams, Signatory, SimpleNationalOption, type SimpleReportGenerationOptions, SimpleReportGenerator, StartingCreditBalance, StartingCreditBalanceTypeEnum, State, StateCollectionSettings, StateCollectionSettingsConfigTypeEnum, StateCollectionSettingsTaxTypeEnum, StateEnum, StateRegistration, StateRegistrationIndicatorEnum, StatusDocumentEnum, StringArrayOutput, TagCounter, Tax, type TaxCollectionDetails, TaxCollectionType, TaxCollectionTypeEnum, TaxRegimeEnum, type TaxRegimes, type TaxRegisterGenerationOptions, TaxRegisterGenerator, TaxReport, TaxTypeEnum, TaxationType, Telephone, Uf, type ValidationInvalidInputParams, type ValidationMissingFieldParams, ValueProviderType, WEEKDAYS, ZERO_PIS_COFINS_BY_CST, ZfmPresumedCreditTypeEnum, buildMongoFilter, buildMongoFilterToRetainedTax, calculate_bases_values, cleanData, formatMessage, isEmptyObject, keyCompositionMetadata, logWithContext, newRegisterEventData, normalizeServiceCode, onDuplicationStrategyMetadata, parseState, toSafeNumber, validationValue };
|
package/dist/index.d.ts
CHANGED
|
@@ -1166,6 +1166,8 @@ declare enum TaxTypeEnum {
|
|
|
1166
1166
|
INSS = "INSS",
|
|
1167
1167
|
ISS = "ISS",
|
|
1168
1168
|
IR = "IR",
|
|
1169
|
+
IRPJ = "IRPJ",
|
|
1170
|
+
IRRF = "IRRF",
|
|
1169
1171
|
CSRF = "CSRF",
|
|
1170
1172
|
CSLL = "CSLL",
|
|
1171
1173
|
CIDE = "CIDE",
|
|
@@ -3409,6 +3411,11 @@ declare enum CreditBalanceRegimeTypeEnum {
|
|
|
3409
3411
|
not_cumulative = 1
|
|
3410
3412
|
}
|
|
3411
3413
|
|
|
3414
|
+
declare enum DueDateAdjustmentEnum {
|
|
3415
|
+
ANTICIPATE = "ANTICIPATE",
|
|
3416
|
+
POSTPONE = "POSTPONE"
|
|
3417
|
+
}
|
|
3418
|
+
|
|
3412
3419
|
declare class EstablishmentEvent {
|
|
3413
3420
|
protected _special_situation: '0' | '1' | '2' | '3' | '4' | '5' | '6';
|
|
3414
3421
|
protected _situation_date: Date;
|
|
@@ -3538,7 +3545,7 @@ declare class StateCollectionSettings {
|
|
|
3538
3545
|
protected _id: string;
|
|
3539
3546
|
protected _tenantid: string;
|
|
3540
3547
|
protected _active: boolean;
|
|
3541
|
-
protected _inactivation_date
|
|
3548
|
+
protected _inactivation_date: OurDate;
|
|
3542
3549
|
protected _tax_type: string;
|
|
3543
3550
|
protected _config_type: string;
|
|
3544
3551
|
protected _obligation_code: string;
|
|
@@ -3548,8 +3555,11 @@ declare class StateCollectionSettings {
|
|
|
3548
3555
|
protected _config_fcp: boolean;
|
|
3549
3556
|
protected _obligation_code_fcp?: string;
|
|
3550
3557
|
protected _due_date_fcp?: number;
|
|
3558
|
+
protected _due_date_adjustment?: DueDateAdjustmentEnum;
|
|
3559
|
+
protected _withholding_tax_type?: string;
|
|
3551
3560
|
protected _revenue_code_fcp?: string;
|
|
3552
3561
|
protected _tax_collection_type?: string;
|
|
3562
|
+
protected _establishment_id?: string;
|
|
3553
3563
|
protected _judicial_process_id?: string;
|
|
3554
3564
|
protected _judicial_process_number?: string;
|
|
3555
3565
|
protected _judicial_process_description?: string;
|
|
@@ -3563,7 +3573,7 @@ declare class StateCollectionSettings {
|
|
|
3563
3573
|
set id(id: string);
|
|
3564
3574
|
set tenantid(tenantid: string);
|
|
3565
3575
|
set active(active: boolean);
|
|
3566
|
-
set inactivation_date(inactivation_date:
|
|
3576
|
+
set inactivation_date(inactivation_date: OurDate);
|
|
3567
3577
|
set tax_type(tax_type: string);
|
|
3568
3578
|
set config_type(config_type: string);
|
|
3569
3579
|
set obligation_code(obligation_code: string);
|
|
@@ -3573,11 +3583,14 @@ declare class StateCollectionSettings {
|
|
|
3573
3583
|
set config_fcp(config_fcp: boolean);
|
|
3574
3584
|
set obligation_code_fcp(obligation_code_fcp: string | undefined);
|
|
3575
3585
|
set due_date_fcp(due_date_fcp: number | undefined);
|
|
3586
|
+
set due_date_adjustment(due_date_adjustment: DueDateAdjustmentEnum | undefined);
|
|
3587
|
+
set withholding_tax_type(withholding_tax_type: string | undefined);
|
|
3576
3588
|
set revenue_code_fcp(revenue_code_fcp: string | undefined);
|
|
3577
3589
|
set tax_collection_type(tax_collection_type: string | undefined);
|
|
3590
|
+
set establishment_id(establishment_id: string | undefined);
|
|
3578
3591
|
set judicial_process_id(judicial_process_id: string | undefined);
|
|
3579
3592
|
set judicial_process_number(judicial_process_number: string | undefined);
|
|
3580
|
-
set judicial_process_description(judicial_process_description:
|
|
3593
|
+
set judicial_process_description(judicial_process_description: string | undefined);
|
|
3581
3594
|
set judicial_process_origin_indicator(judicial_process_origin_indicator: string | undefined);
|
|
3582
3595
|
set created_at(created_at: Date);
|
|
3583
3596
|
set updated_at(updated_at: Date);
|
|
@@ -3588,22 +3601,24 @@ declare class StateCollectionSettings {
|
|
|
3588
3601
|
get id(): string;
|
|
3589
3602
|
get tenantid(): string;
|
|
3590
3603
|
get active(): boolean;
|
|
3591
|
-
get inactivation_date():
|
|
3604
|
+
get inactivation_date(): OurDate;
|
|
3592
3605
|
get tax_type(): string;
|
|
3593
3606
|
get config_type(): string;
|
|
3594
3607
|
get obligation_code(): string;
|
|
3595
3608
|
get due_date(): number;
|
|
3596
3609
|
get revenue_code(): string;
|
|
3597
|
-
get uf(): string
|
|
3610
|
+
get uf(): string;
|
|
3598
3611
|
get config_fcp(): boolean;
|
|
3599
|
-
get obligation_code_fcp(): string
|
|
3600
|
-
get due_date_fcp(): number
|
|
3601
|
-
get
|
|
3602
|
-
get
|
|
3603
|
-
get
|
|
3604
|
-
get
|
|
3605
|
-
get
|
|
3606
|
-
get
|
|
3612
|
+
get obligation_code_fcp(): string;
|
|
3613
|
+
get due_date_fcp(): number;
|
|
3614
|
+
get due_date_adjustment(): DueDateAdjustmentEnum;
|
|
3615
|
+
get withholding_tax_type(): string;
|
|
3616
|
+
get revenue_code_fcp(): string;
|
|
3617
|
+
get tax_collection_type(): string;
|
|
3618
|
+
get judicial_process_id(): string;
|
|
3619
|
+
get judicial_process_number(): string;
|
|
3620
|
+
get judicial_process_description(): string;
|
|
3621
|
+
get judicial_process_origin_indicator(): string;
|
|
3607
3622
|
get created_at(): Date;
|
|
3608
3623
|
get updated_at(): Date;
|
|
3609
3624
|
get created_by_name(): string;
|
|
@@ -3772,6 +3787,59 @@ declare class Establishment {
|
|
|
3772
3787
|
get emailContact(): Contact | undefined;
|
|
3773
3788
|
}
|
|
3774
3789
|
|
|
3790
|
+
declare class FederalCollectionSettings {
|
|
3791
|
+
protected _id: string;
|
|
3792
|
+
protected _tenantid: string;
|
|
3793
|
+
protected _active: boolean;
|
|
3794
|
+
protected _inactivation_date: OurDate;
|
|
3795
|
+
protected _tax_type: string;
|
|
3796
|
+
protected _withholding_tax_type: string;
|
|
3797
|
+
protected _due_date: number;
|
|
3798
|
+
protected _revenue_code: string;
|
|
3799
|
+
protected _due_date_adjustment: DueDateAdjustmentEnum;
|
|
3800
|
+
protected _is_cumulative: boolean;
|
|
3801
|
+
protected _profile_id: string;
|
|
3802
|
+
protected _created_at: Date;
|
|
3803
|
+
protected _updated_at: Date;
|
|
3804
|
+
protected _created_by_name: string;
|
|
3805
|
+
protected _created_by_email: string;
|
|
3806
|
+
protected _updated_by_name: string;
|
|
3807
|
+
protected _updated_by_email: string;
|
|
3808
|
+
set id(id: string);
|
|
3809
|
+
set tenantid(tenantid: string);
|
|
3810
|
+
set active(active: boolean);
|
|
3811
|
+
set inactivation_date(inactivation_date: OurDate);
|
|
3812
|
+
set tax_type(tax_type: string);
|
|
3813
|
+
set withholding_tax_type(withholding_tax_type: string);
|
|
3814
|
+
set due_date(due_date: number);
|
|
3815
|
+
set revenue_code(revenue_code: string);
|
|
3816
|
+
set due_date_adjustment(due_date_adjustment: DueDateAdjustmentEnum);
|
|
3817
|
+
set is_cumulative(is_cumulative: boolean);
|
|
3818
|
+
set profile_id(profile_id: string);
|
|
3819
|
+
set created_at(created_at: Date);
|
|
3820
|
+
set updated_at(updated_at: Date);
|
|
3821
|
+
set created_by_name(created_by_name: string);
|
|
3822
|
+
set created_by_email(created_by_email: string);
|
|
3823
|
+
set updated_by_name(updated_by_name: string);
|
|
3824
|
+
set updated_by_email(updated_by_email: string);
|
|
3825
|
+
get id(): string;
|
|
3826
|
+
get tenantid(): string;
|
|
3827
|
+
get active(): boolean;
|
|
3828
|
+
get inactivation_date(): OurDate;
|
|
3829
|
+
get tax_type(): string;
|
|
3830
|
+
get withholding_tax_type(): string;
|
|
3831
|
+
get due_date(): number;
|
|
3832
|
+
get revenue_code(): string;
|
|
3833
|
+
get due_date_adjustment(): DueDateAdjustmentEnum;
|
|
3834
|
+
get is_cumulative(): boolean;
|
|
3835
|
+
get created_at(): Date;
|
|
3836
|
+
get updated_at(): Date;
|
|
3837
|
+
get created_by_name(): string;
|
|
3838
|
+
get created_by_email(): string;
|
|
3839
|
+
get updated_by_name(): string;
|
|
3840
|
+
get updated_by_email(): string;
|
|
3841
|
+
}
|
|
3842
|
+
|
|
3775
3843
|
interface IReinfAdditionalFields {
|
|
3776
3844
|
id: string;
|
|
3777
3845
|
tenantid: string;
|
|
@@ -4096,6 +4164,7 @@ declare class Profile {
|
|
|
4096
4164
|
private _ecdSpecializedProfile;
|
|
4097
4165
|
private _ecfSpecializedProfile;
|
|
4098
4166
|
private _startingCreditBalance;
|
|
4167
|
+
private _federalCollectionSettings;
|
|
4099
4168
|
set id(id: string);
|
|
4100
4169
|
set active(active: boolean);
|
|
4101
4170
|
set tenantid(tenantid: string);
|
|
@@ -4129,6 +4198,11 @@ declare class Profile {
|
|
|
4129
4198
|
set setEcfSpecializedProfile(ecfSpecializedProfile: EcfSpecializedProfile);
|
|
4130
4199
|
get startingCreditBalance(): StartingCreditBalance[];
|
|
4131
4200
|
set startingCreditBalance(startingCreditBalance: StartingCreditBalance[]);
|
|
4201
|
+
get federalCollectionSettings(): FederalCollectionSettings[];
|
|
4202
|
+
set collectionSettings(collectionsSettings: ICollectionSettings[]);
|
|
4203
|
+
private isFederalCollectionSetting;
|
|
4204
|
+
private mapDataToFederalCollectionSettings;
|
|
4205
|
+
private mapDataToStateCollectionSettings;
|
|
4132
4206
|
}
|
|
4133
4207
|
|
|
4134
4208
|
interface IProfileRepository {
|
|
@@ -4136,7 +4210,39 @@ interface IProfileRepository {
|
|
|
4136
4210
|
}
|
|
4137
4211
|
|
|
4138
4212
|
interface IStateCollectionSettingsRepository {
|
|
4139
|
-
|
|
4213
|
+
getCollectionSettingsByProfileId(tenantid: string, profile_id: string): Promise<ICollectionSettings[]>;
|
|
4214
|
+
}
|
|
4215
|
+
interface ICollectionSettings {
|
|
4216
|
+
id: string;
|
|
4217
|
+
tenantid: string;
|
|
4218
|
+
active: boolean;
|
|
4219
|
+
inactivation_date: OurDate;
|
|
4220
|
+
tax_type: TaxTypeEnum;
|
|
4221
|
+
config_type?: string;
|
|
4222
|
+
obligation_code?: string;
|
|
4223
|
+
due_date: number;
|
|
4224
|
+
revenue_code: string;
|
|
4225
|
+
uf?: string;
|
|
4226
|
+
config_fcp: boolean;
|
|
4227
|
+
obligation_code_fcp?: string;
|
|
4228
|
+
due_date_fcp?: number;
|
|
4229
|
+
revenue_code_fcp?: string;
|
|
4230
|
+
tax_collection_type?: string;
|
|
4231
|
+
is_cumulative?: boolean;
|
|
4232
|
+
due_date_adjustment?: DueDateAdjustmentEnum;
|
|
4233
|
+
withholding_tax_type?: TaxTypeEnum;
|
|
4234
|
+
establishment_id?: string;
|
|
4235
|
+
profile_id: string;
|
|
4236
|
+
judicial_process_id?: string;
|
|
4237
|
+
judicial_process_number?: string;
|
|
4238
|
+
judicial_process_description?: string;
|
|
4239
|
+
judicial_process_origin_indicator?: string;
|
|
4240
|
+
created_at: Date;
|
|
4241
|
+
updated_at: Date;
|
|
4242
|
+
created_by_name: string;
|
|
4243
|
+
created_by_email: string;
|
|
4244
|
+
updated_by_name: string;
|
|
4245
|
+
updated_by_email: string;
|
|
4140
4246
|
}
|
|
4141
4247
|
|
|
4142
4248
|
interface IProfile {
|
|
@@ -4256,7 +4362,7 @@ declare class ProfileRestRepository implements IProfileRepository {
|
|
|
4256
4362
|
private readonly masterDataRepository;
|
|
4257
4363
|
constructor(urls: IProfileServiceUrls, stateSettingsRepository: IStateCollectionSettingsRepository, masterDataRepository?: Repository);
|
|
4258
4364
|
getProfileById(profile_id: string, tenantid: string, period?: any): Promise<Profile>;
|
|
4259
|
-
private
|
|
4365
|
+
private getCollectionSettingsByProfileId;
|
|
4260
4366
|
getProfileRestById(profile_id: string, tenantid: string): Promise<IProfile>;
|
|
4261
4367
|
getStartingCreditByProfileId(profile_id: string, tenantid: string): Promise<StartingCreditBalance[]>;
|
|
4262
4368
|
private mapDataToStartingCreditBalance;
|
|
@@ -4347,7 +4453,7 @@ declare class PostgresRepository implements IStateCollectionSettingsRepository {
|
|
|
4347
4453
|
private isConnected;
|
|
4348
4454
|
connect(): Promise<Pool>;
|
|
4349
4455
|
close(): Promise<void>;
|
|
4350
|
-
|
|
4456
|
+
getCollectionSettingsByProfileId(profile_id: string, tenantid: string): Promise<ICollectionSettings[]>;
|
|
4351
4457
|
}
|
|
4352
4458
|
|
|
4353
4459
|
interface ProfileDbRepositoryConfig {
|
|
@@ -4758,4 +4864,72 @@ declare function toSafeNumber(value: unknown, fallback?: number): number;
|
|
|
4758
4864
|
|
|
4759
4865
|
declare function validationValue(field: any): any;
|
|
4760
4866
|
|
|
4761
|
-
|
|
4867
|
+
declare enum DayOfWeek {
|
|
4868
|
+
SUNDAY = 0,
|
|
4869
|
+
MONDAY = 1,
|
|
4870
|
+
TUESDAY = 2,
|
|
4871
|
+
WEDNESDAY = 3,
|
|
4872
|
+
THURSDAY = 4,
|
|
4873
|
+
FRIDAY = 5,
|
|
4874
|
+
SATURDAY = 6
|
|
4875
|
+
}
|
|
4876
|
+
declare const WEEKDAYS: DayOfWeek[];
|
|
4877
|
+
type HolidayScope = 'COUNTRY' | 'STATE' | 'CITY';
|
|
4878
|
+
type HolidayLocation = {
|
|
4879
|
+
country: string;
|
|
4880
|
+
state?: string;
|
|
4881
|
+
city?: string;
|
|
4882
|
+
};
|
|
4883
|
+
type HolidayDefinition = {
|
|
4884
|
+
id: string;
|
|
4885
|
+
name: string;
|
|
4886
|
+
scope: HolidayScope;
|
|
4887
|
+
country: string;
|
|
4888
|
+
state?: string;
|
|
4889
|
+
city?: string;
|
|
4890
|
+
validFromYear?: number;
|
|
4891
|
+
validToYear?: number;
|
|
4892
|
+
} & ({
|
|
4893
|
+
type: 'fixed';
|
|
4894
|
+
month: number;
|
|
4895
|
+
day: number;
|
|
4896
|
+
} | {
|
|
4897
|
+
type: 'easter-offset';
|
|
4898
|
+
offsetDays: number;
|
|
4899
|
+
});
|
|
4900
|
+
type ResolvedHoliday = {
|
|
4901
|
+
id: string;
|
|
4902
|
+
name: string;
|
|
4903
|
+
date: string;
|
|
4904
|
+
scope: HolidayScope;
|
|
4905
|
+
};
|
|
4906
|
+
|
|
4907
|
+
declare class EasterCalculator {
|
|
4908
|
+
static getEasterSunday(year: number): Date;
|
|
4909
|
+
static getEasterBasedDate(year: number, offsetDays: number): Date;
|
|
4910
|
+
}
|
|
4911
|
+
|
|
4912
|
+
declare class Calendar {
|
|
4913
|
+
private definitions;
|
|
4914
|
+
private workingDays;
|
|
4915
|
+
private cache;
|
|
4916
|
+
constructor(definitions: HolidayDefinition[], workingDays?: DayOfWeek[]);
|
|
4917
|
+
private resolveDate;
|
|
4918
|
+
private matchesLocation;
|
|
4919
|
+
private isValidForYear;
|
|
4920
|
+
private getResolved;
|
|
4921
|
+
private static pad;
|
|
4922
|
+
private static toDateString;
|
|
4923
|
+
isHoliday(date: Date, location: HolidayLocation): boolean;
|
|
4924
|
+
getHoliday(date: Date, location: HolidayLocation): ResolvedHoliday | undefined;
|
|
4925
|
+
isBusinessDay(date: Date, location: HolidayLocation): boolean;
|
|
4926
|
+
nextBusinessDay(date: Date, location: HolidayLocation): Date;
|
|
4927
|
+
previousBusinessDay(date: Date, location: HolidayLocation): Date;
|
|
4928
|
+
adjustDueDate(date: Date, adjustment: DueDateAdjustmentEnum, location: HolidayLocation): Date;
|
|
4929
|
+
addBusinessDays(date: Date, days: number, location: HolidayLocation): Date;
|
|
4930
|
+
static forBrazil(extraHolidays?: HolidayDefinition[], workingDays?: DayOfWeek[]): Calendar;
|
|
4931
|
+
}
|
|
4932
|
+
|
|
4933
|
+
declare const BRAZIL_HOLIDAYS: HolidayDefinition[];
|
|
4934
|
+
|
|
4935
|
+
export { AccountingDocument, ActionTypeEnum, Addition, Address, type AllowedCfopsCreditConfig, Alphanumeric, type AuditTaxCollectionDetails, type AuditTaxCollectionInfo, type AuthTokenExpiredParams, type AuthUnauthorizedParams, BRAZIL_HOLIDAYS, Block, BuilderAccountingDocument, BuilderAddition, BuilderAddress, BuilderConversionFactor, BuilderDocument, BuilderImportDeclaration, BuilderItem, BuilderPerson, BuilderTax, CNPJ, CPF, CST, CalculationBasisNatureSetting, Calendar, type Cloneable, CloseBlock, CloseFile, CodIncTrib, type Cod_ent_ref, CodeStatusEnum, ConfigTypeEnum, ConsoleOutput, Contact, ContactTypesEnum, ConversionFactor, CounterBlock, CounterRegister, Country, CountryCodeEnum, CprbOption, CreditBalanceOriginCreditTypeEnum, CreditBalanceRegimeTypeEnum, CteTypeEnum, DEFAULT_LOCALE, type DatabaseConnectionFailedParams, type DatabaseQueryErrorParams, DayOfWeek, Decimal, DefaultAlphanumericLength, DefaultDecimalLength, DefaultDecimalSeparator, DescriptionStatusEnum, DifalIcmsCategoryEnum, Document, type DocumentRepository, DocumentTypeEnum, DonationIndicatorEnum, DueDateAdjustmentEnum, EasterCalculator, EcdSpecializedProfile, EcfSpecializedProfile, EfdContribSpecializedProfile, EfdIcmsIpiSpecializedProfile, Email, EnforceabilityOfISSEnum, Establishment, EstablishmentEvent, Event, EventEnum, FederalCollectionSettings, FieldDataType, type FieldFormat, type FiltersDocument, FiscalQualificationType, FreightContractedNatureIndicatorEnum, FreightTypeEnum, type GetAuditTaxCollectionQuery, GrossRevenueContributionHeaders, type HolidayDefinition, type HolidayLocation, type HolidayScope, type IAccountingDocumentMongo, type IAddition, type IAddressMongo, type IBaseHeadersDTO, type ICalculationBasisNatureSetting, type ICollectionSettings, 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 IStartingCreditBalance, type IStateCollectionSettingsRepository, 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, MunicipalRegistration, Municipality, NameCountryEnum, NatureCode, NatureConfig, Numeric, ObligationCodeEnum, OnDuplication, OnDuplicationStrategy, OpenBlock, OperationTypeEnum, OurDate, type OutputWriter, type ParameterTypes, PaymentTypeEnum, Person, type PisCofinsOptions, PostgresConfig, PostgresRepository, ProductOriginEnum, Profile, ProfileDbRepository, ProfileRestRepository, ProfileTaxTypeEnum, Register, type RegisterDefinition, type RegisterEventData, type RegisterEventNotifier, type RegisterGenerator, type RegisterPersist, type RegisterSubscriber, ReinfSpecializedProfile, type ReportGenerationOptions, ReportGenerator, type Repository, type ResolvedHoliday, RevenueNatureSettings, RevenueTypeEnum, Scp, ServiceCode, ServiceCodeEnum, type SettingErrorParams, Signatory, SimpleNationalOption, type SimpleReportGenerationOptions, SimpleReportGenerator, StartingCreditBalance, StartingCreditBalanceTypeEnum, State, StateCollectionSettings, StateCollectionSettingsConfigTypeEnum, StateCollectionSettingsTaxTypeEnum, StateEnum, StateRegistration, StateRegistrationIndicatorEnum, StatusDocumentEnum, StringArrayOutput, TagCounter, Tax, type TaxCollectionDetails, TaxCollectionType, TaxCollectionTypeEnum, TaxRegimeEnum, type TaxRegimes, type TaxRegisterGenerationOptions, TaxRegisterGenerator, TaxReport, TaxTypeEnum, TaxationType, Telephone, Uf, type ValidationInvalidInputParams, type ValidationMissingFieldParams, ValueProviderType, WEEKDAYS, ZERO_PIS_COFINS_BY_CST, ZfmPresumedCreditTypeEnum, buildMongoFilter, buildMongoFilterToRetainedTax, calculate_bases_values, cleanData, formatMessage, isEmptyObject, keyCompositionMetadata, logWithContext, newRegisterEventData, normalizeServiceCode, onDuplicationStrategyMetadata, parseState, toSafeNumber, validationValue };
|