@seidor-cloud-produtos/tax-core 1.0.24 → 1.0.26

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 CHANGED
@@ -828,6 +828,19 @@ declare namespace FreightTypeEnum {
828
828
  function fromOldValue(value: string): FreightTypeEnum | undefined;
829
829
  function fromNewValue(value: FreightTypeEnum): string | undefined;
830
830
  }
831
+ declare enum FreightTypeCodeEnum {
832
+ BY_ISSUER = "0",
833
+ BY_RECIPIENT = "1",
834
+ THIRD_PARTY = "2",
835
+ OWN_TRANSPORT_BY_ISSUER = "3",
836
+ OWN_TRANSPORT_BY_RECIPIENT = "4",
837
+ NO_TRANSPORT = "9",
838
+ NOT_APPLICABLE = ""
839
+ }
840
+ declare namespace FreightTypeCodeEnum {
841
+ function fromOldValue(value: string): FreightTypeCodeEnum | undefined;
842
+ function fromNewValue(value: FreightTypeCodeEnum): string | undefined;
843
+ }
831
844
 
832
845
  declare enum IssuerIndicatorEnum {
833
846
  OWN_ISSUANCE = "0",
@@ -1166,6 +1179,8 @@ declare enum TaxTypeEnum {
1166
1179
  INSS = "INSS",
1167
1180
  ISS = "ISS",
1168
1181
  IR = "IR",
1182
+ IRPJ = "IRPJ",
1183
+ IRRF = "IRRF",
1169
1184
  CSRF = "CSRF",
1170
1185
  CSLL = "CSLL",
1171
1186
  CIDE = "CIDE",
@@ -1812,8 +1827,8 @@ declare class Document implements Cloneable {
1812
1827
  set payment_type(value: PaymentTypeEnum);
1813
1828
  get revenue_type(): RevenueTypeEnum;
1814
1829
  set revenue_type(value: RevenueTypeEnum);
1815
- get freight_type(): FreightTypeEnum;
1816
- set freight_type(value: FreightTypeEnum);
1830
+ get freight_type(): FreightTypeCodeEnum;
1831
+ set freight_type(value: FreightTypeCodeEnum);
1817
1832
  get additional_information(): string;
1818
1833
  set additional_information(value: string);
1819
1834
  get model(): string;
@@ -1935,7 +1950,7 @@ declare class BuilderDocument {
1935
1950
  withOperationType(operation_type: OperationTypeEnum): BuilderDocument;
1936
1951
  withPaymentType(payment_type: PaymentTypeEnum): BuilderDocument;
1937
1952
  withRevenueType(revenue_type: RevenueTypeEnum): BuilderDocument;
1938
- withFreightType(freight_type: FreightTypeEnum): BuilderDocument;
1953
+ withFreightType(freight_type: FreightTypeCodeEnum): BuilderDocument;
1939
1954
  withAdditionalInformation(additional_information: string): BuilderDocument;
1940
1955
  withModel(model: string): BuilderDocument;
1941
1956
  withAccountingAdditionalInformation(accounting_additional_information: string): BuilderDocument;
@@ -2199,7 +2214,7 @@ interface IDocumentMongo {
2199
2214
  operation_type: OperationTypeEnum;
2200
2215
  payment_type: PaymentTypeEnum;
2201
2216
  revenue_type: RevenueTypeEnum;
2202
- freight_type: FreightTypeEnum;
2217
+ freight_type: FreightTypeCodeEnum;
2203
2218
  additional_information: string;
2204
2219
  model: string;
2205
2220
  number: string;
@@ -3409,6 +3424,11 @@ declare enum CreditBalanceRegimeTypeEnum {
3409
3424
  not_cumulative = 1
3410
3425
  }
3411
3426
 
3427
+ declare enum DueDateAdjustmentEnum {
3428
+ ANTICIPATE = "ANTICIPATE",
3429
+ POSTPONE = "POSTPONE"
3430
+ }
3431
+
3412
3432
  declare class EstablishmentEvent {
3413
3433
  protected _special_situation: '0' | '1' | '2' | '3' | '4' | '5' | '6';
3414
3434
  protected _situation_date: Date;
@@ -3538,7 +3558,7 @@ declare class StateCollectionSettings {
3538
3558
  protected _id: string;
3539
3559
  protected _tenantid: string;
3540
3560
  protected _active: boolean;
3541
- protected _inactivation_date?: Date;
3561
+ protected _inactivation_date: OurDate;
3542
3562
  protected _tax_type: string;
3543
3563
  protected _config_type: string;
3544
3564
  protected _obligation_code: string;
@@ -3548,8 +3568,11 @@ declare class StateCollectionSettings {
3548
3568
  protected _config_fcp: boolean;
3549
3569
  protected _obligation_code_fcp?: string;
3550
3570
  protected _due_date_fcp?: number;
3571
+ protected _due_date_adjustment?: DueDateAdjustmentEnum;
3572
+ protected _withholding_tax_type?: string;
3551
3573
  protected _revenue_code_fcp?: string;
3552
3574
  protected _tax_collection_type?: string;
3575
+ protected _establishment_id?: string;
3553
3576
  protected _judicial_process_id?: string;
3554
3577
  protected _judicial_process_number?: string;
3555
3578
  protected _judicial_process_description?: string;
@@ -3563,7 +3586,7 @@ declare class StateCollectionSettings {
3563
3586
  set id(id: string);
3564
3587
  set tenantid(tenantid: string);
3565
3588
  set active(active: boolean);
3566
- set inactivation_date(inactivation_date: Date | undefined);
3589
+ set inactivation_date(inactivation_date: OurDate);
3567
3590
  set tax_type(tax_type: string);
3568
3591
  set config_type(config_type: string);
3569
3592
  set obligation_code(obligation_code: string);
@@ -3573,11 +3596,14 @@ declare class StateCollectionSettings {
3573
3596
  set config_fcp(config_fcp: boolean);
3574
3597
  set obligation_code_fcp(obligation_code_fcp: string | undefined);
3575
3598
  set due_date_fcp(due_date_fcp: number | undefined);
3599
+ set due_date_adjustment(due_date_adjustment: DueDateAdjustmentEnum | undefined);
3600
+ set withholding_tax_type(withholding_tax_type: string | undefined);
3576
3601
  set revenue_code_fcp(revenue_code_fcp: string | undefined);
3577
3602
  set tax_collection_type(tax_collection_type: string | undefined);
3603
+ set establishment_id(establishment_id: string | undefined);
3578
3604
  set judicial_process_id(judicial_process_id: string | undefined);
3579
3605
  set judicial_process_number(judicial_process_number: string | undefined);
3580
- set judicial_process_description(judicial_process_description: number | undefined);
3606
+ set judicial_process_description(judicial_process_description: string | undefined);
3581
3607
  set judicial_process_origin_indicator(judicial_process_origin_indicator: string | undefined);
3582
3608
  set created_at(created_at: Date);
3583
3609
  set updated_at(updated_at: Date);
@@ -3588,22 +3614,24 @@ declare class StateCollectionSettings {
3588
3614
  get id(): string;
3589
3615
  get tenantid(): string;
3590
3616
  get active(): boolean;
3591
- get inactivation_date(): Date | undefined;
3617
+ get inactivation_date(): OurDate;
3592
3618
  get tax_type(): string;
3593
3619
  get config_type(): string;
3594
3620
  get obligation_code(): string;
3595
3621
  get due_date(): number;
3596
3622
  get revenue_code(): string;
3597
- get uf(): string | undefined;
3623
+ get uf(): string;
3598
3624
  get config_fcp(): boolean;
3599
- get obligation_code_fcp(): string | undefined;
3600
- get due_date_fcp(): number | undefined;
3601
- get revenue_code_fcp(): string | undefined;
3602
- get tax_collection_type(): string | undefined;
3603
- get judicial_process_id(): string | undefined;
3604
- get judicial_process_number(): string | undefined;
3605
- get judicial_process_description(): string | undefined;
3606
- get judicial_process_origin_indicator(): string | undefined;
3625
+ get obligation_code_fcp(): string;
3626
+ get due_date_fcp(): number;
3627
+ get due_date_adjustment(): DueDateAdjustmentEnum;
3628
+ get withholding_tax_type(): string;
3629
+ get revenue_code_fcp(): string;
3630
+ get tax_collection_type(): string;
3631
+ get judicial_process_id(): string;
3632
+ get judicial_process_number(): string;
3633
+ get judicial_process_description(): string;
3634
+ get judicial_process_origin_indicator(): string;
3607
3635
  get created_at(): Date;
3608
3636
  get updated_at(): Date;
3609
3637
  get created_by_name(): string;
@@ -3772,6 +3800,59 @@ declare class Establishment {
3772
3800
  get emailContact(): Contact | undefined;
3773
3801
  }
3774
3802
 
3803
+ declare class FederalCollectionSettings {
3804
+ protected _id: string;
3805
+ protected _tenantid: string;
3806
+ protected _active: boolean;
3807
+ protected _inactivation_date: OurDate;
3808
+ protected _tax_type: string;
3809
+ protected _withholding_tax_type: string;
3810
+ protected _due_date: number;
3811
+ protected _revenue_code: string;
3812
+ protected _due_date_adjustment: DueDateAdjustmentEnum;
3813
+ protected _is_cumulative: boolean;
3814
+ protected _profile_id: string;
3815
+ protected _created_at: Date;
3816
+ protected _updated_at: Date;
3817
+ protected _created_by_name: string;
3818
+ protected _created_by_email: string;
3819
+ protected _updated_by_name: string;
3820
+ protected _updated_by_email: string;
3821
+ set id(id: string);
3822
+ set tenantid(tenantid: string);
3823
+ set active(active: boolean);
3824
+ set inactivation_date(inactivation_date: OurDate);
3825
+ set tax_type(tax_type: string);
3826
+ set withholding_tax_type(withholding_tax_type: string);
3827
+ set due_date(due_date: number);
3828
+ set revenue_code(revenue_code: string);
3829
+ set due_date_adjustment(due_date_adjustment: DueDateAdjustmentEnum);
3830
+ set is_cumulative(is_cumulative: boolean);
3831
+ set profile_id(profile_id: string);
3832
+ set created_at(created_at: Date);
3833
+ set updated_at(updated_at: Date);
3834
+ set created_by_name(created_by_name: string);
3835
+ set created_by_email(created_by_email: string);
3836
+ set updated_by_name(updated_by_name: string);
3837
+ set updated_by_email(updated_by_email: string);
3838
+ get id(): string;
3839
+ get tenantid(): string;
3840
+ get active(): boolean;
3841
+ get inactivation_date(): OurDate;
3842
+ get tax_type(): string;
3843
+ get withholding_tax_type(): string;
3844
+ get due_date(): number;
3845
+ get revenue_code(): string;
3846
+ get due_date_adjustment(): DueDateAdjustmentEnum;
3847
+ get is_cumulative(): boolean;
3848
+ get created_at(): Date;
3849
+ get updated_at(): Date;
3850
+ get created_by_name(): string;
3851
+ get created_by_email(): string;
3852
+ get updated_by_name(): string;
3853
+ get updated_by_email(): string;
3854
+ }
3855
+
3775
3856
  interface IReinfAdditionalFields {
3776
3857
  id: string;
3777
3858
  tenantid: string;
@@ -4096,6 +4177,7 @@ declare class Profile {
4096
4177
  private _ecdSpecializedProfile;
4097
4178
  private _ecfSpecializedProfile;
4098
4179
  private _startingCreditBalance;
4180
+ private _federalCollectionSettings;
4099
4181
  set id(id: string);
4100
4182
  set active(active: boolean);
4101
4183
  set tenantid(tenantid: string);
@@ -4129,6 +4211,11 @@ declare class Profile {
4129
4211
  set setEcfSpecializedProfile(ecfSpecializedProfile: EcfSpecializedProfile);
4130
4212
  get startingCreditBalance(): StartingCreditBalance[];
4131
4213
  set startingCreditBalance(startingCreditBalance: StartingCreditBalance[]);
4214
+ get federalCollectionSettings(): FederalCollectionSettings[];
4215
+ set collectionSettings(collectionsSettings: ICollectionSettings[]);
4216
+ private isFederalCollectionSetting;
4217
+ private mapDataToFederalCollectionSettings;
4218
+ private mapDataToStateCollectionSettings;
4132
4219
  }
4133
4220
 
4134
4221
  interface IProfileRepository {
@@ -4136,7 +4223,39 @@ interface IProfileRepository {
4136
4223
  }
4137
4224
 
4138
4225
  interface IStateCollectionSettingsRepository {
4139
- getStateCollectionSettings(establishment_id: string, tenantid: string): Promise<StateCollectionSettings[]>;
4226
+ getCollectionSettingsByProfileId(tenantid: string, profile_id: string): Promise<ICollectionSettings[]>;
4227
+ }
4228
+ interface ICollectionSettings {
4229
+ id: string;
4230
+ tenantid: string;
4231
+ active: boolean;
4232
+ inactivation_date: OurDate;
4233
+ tax_type: TaxTypeEnum;
4234
+ config_type?: string;
4235
+ obligation_code?: string;
4236
+ due_date: number;
4237
+ revenue_code: string;
4238
+ uf?: string;
4239
+ config_fcp: boolean;
4240
+ obligation_code_fcp?: string;
4241
+ due_date_fcp?: number;
4242
+ revenue_code_fcp?: string;
4243
+ tax_collection_type?: string;
4244
+ is_cumulative?: boolean;
4245
+ due_date_adjustment?: DueDateAdjustmentEnum;
4246
+ withholding_tax_type?: TaxTypeEnum;
4247
+ establishment_id?: string;
4248
+ profile_id: string;
4249
+ judicial_process_id?: string;
4250
+ judicial_process_number?: string;
4251
+ judicial_process_description?: string;
4252
+ judicial_process_origin_indicator?: string;
4253
+ created_at: Date;
4254
+ updated_at: Date;
4255
+ created_by_name: string;
4256
+ created_by_email: string;
4257
+ updated_by_name: string;
4258
+ updated_by_email: string;
4140
4259
  }
4141
4260
 
4142
4261
  interface IProfile {
@@ -4256,7 +4375,7 @@ declare class ProfileRestRepository implements IProfileRepository {
4256
4375
  private readonly masterDataRepository;
4257
4376
  constructor(urls: IProfileServiceUrls, stateSettingsRepository: IStateCollectionSettingsRepository, masterDataRepository?: Repository);
4258
4377
  getProfileById(profile_id: string, tenantid: string, period?: any): Promise<Profile>;
4259
- private getStateCollectionSettings;
4378
+ private getCollectionSettingsByProfileId;
4260
4379
  getProfileRestById(profile_id: string, tenantid: string): Promise<IProfile>;
4261
4380
  getStartingCreditByProfileId(profile_id: string, tenantid: string): Promise<StartingCreditBalance[]>;
4262
4381
  private mapDataToStartingCreditBalance;
@@ -4347,7 +4466,7 @@ declare class PostgresRepository implements IStateCollectionSettingsRepository {
4347
4466
  private isConnected;
4348
4467
  connect(): Promise<Pool>;
4349
4468
  close(): Promise<void>;
4350
- getStateCollectionSettings(establishment_id: string, tenantid: string): Promise<StateCollectionSettings[]>;
4469
+ getCollectionSettingsByProfileId(profile_id: string, tenantid: string): Promise<ICollectionSettings[]>;
4351
4470
  }
4352
4471
 
4353
4472
  interface ProfileDbRepositoryConfig {
@@ -4758,4 +4877,72 @@ declare function toSafeNumber(value: unknown, fallback?: number): number;
4758
4877
 
4759
4878
  declare function validationValue(field: any): any;
4760
4879
 
4761
- export { AccountingDocument, ActionTypeEnum, Addition, Address, type AllowedCfopsCreditConfig, Alphanumeric, type AuditTaxCollectionDetails, type AuditTaxCollectionInfo, type AuthTokenExpiredParams, type AuthUnauthorizedParams, Block, BuilderAccountingDocument, BuilderAddition, BuilderAddress, BuilderConversionFactor, BuilderDocument, BuilderImportDeclaration, BuilderItem, BuilderPerson, BuilderTax, CNPJ, CPF, CST, CalculationBasisNatureSetting, 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, 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 IAccountingDocumentMongo, 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 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, 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, ZERO_PIS_COFINS_BY_CST, ZfmPresumedCreditTypeEnum, buildMongoFilter, buildMongoFilterToRetainedTax, calculate_bases_values, cleanData, formatMessage, isEmptyObject, keyCompositionMetadata, logWithContext, newRegisterEventData, normalizeServiceCode, onDuplicationStrategyMetadata, parseState, toSafeNumber, validationValue };
4880
+ declare enum DayOfWeek {
4881
+ SUNDAY = 0,
4882
+ MONDAY = 1,
4883
+ TUESDAY = 2,
4884
+ WEDNESDAY = 3,
4885
+ THURSDAY = 4,
4886
+ FRIDAY = 5,
4887
+ SATURDAY = 6
4888
+ }
4889
+ declare const WEEKDAYS: DayOfWeek[];
4890
+ type HolidayScope = 'COUNTRY' | 'STATE' | 'CITY';
4891
+ type HolidayLocation = {
4892
+ country: string;
4893
+ state?: string;
4894
+ city?: string;
4895
+ };
4896
+ type HolidayDefinition = {
4897
+ id: string;
4898
+ name: string;
4899
+ scope: HolidayScope;
4900
+ country: string;
4901
+ state?: string;
4902
+ city?: string;
4903
+ validFromYear?: number;
4904
+ validToYear?: number;
4905
+ } & ({
4906
+ type: 'fixed';
4907
+ month: number;
4908
+ day: number;
4909
+ } | {
4910
+ type: 'easter-offset';
4911
+ offsetDays: number;
4912
+ });
4913
+ type ResolvedHoliday = {
4914
+ id: string;
4915
+ name: string;
4916
+ date: string;
4917
+ scope: HolidayScope;
4918
+ };
4919
+
4920
+ declare class EasterCalculator {
4921
+ static getEasterSunday(year: number): Date;
4922
+ static getEasterBasedDate(year: number, offsetDays: number): Date;
4923
+ }
4924
+
4925
+ declare class Calendar {
4926
+ private definitions;
4927
+ private workingDays;
4928
+ private cache;
4929
+ constructor(definitions: HolidayDefinition[], workingDays?: DayOfWeek[]);
4930
+ private resolveDate;
4931
+ private matchesLocation;
4932
+ private isValidForYear;
4933
+ private getResolved;
4934
+ private static pad;
4935
+ private static toDateString;
4936
+ isHoliday(date: Date, location: HolidayLocation): boolean;
4937
+ getHoliday(date: Date, location: HolidayLocation): ResolvedHoliday | undefined;
4938
+ isBusinessDay(date: Date, location: HolidayLocation): boolean;
4939
+ nextBusinessDay(date: Date, location: HolidayLocation): Date;
4940
+ previousBusinessDay(date: Date, location: HolidayLocation): Date;
4941
+ adjustDueDate(date: Date, adjustment: DueDateAdjustmentEnum, location: HolidayLocation): Date;
4942
+ addBusinessDays(date: Date, days: number, location: HolidayLocation): Date;
4943
+ static forBrazil(extraHolidays?: HolidayDefinition[], workingDays?: DayOfWeek[]): Calendar;
4944
+ }
4945
+
4946
+ declare const BRAZIL_HOLIDAYS: HolidayDefinition[];
4947
+
4948
+ 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, FreightTypeCodeEnum, 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 };