nfets 0.0.113 → 0.0.115

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.
@@ -326,8 +326,8 @@ interface Comb {
326
326
  CODIF?: string;
327
327
  qTemp?: DecimalValue;
328
328
  UFCons: string;
329
- CIDE: CIDE;
330
- encerrante: Encerrante;
329
+ CIDE?: CIDE;
330
+ encerrante?: Encerrante;
331
331
  pBio?: DecimalValue;
332
332
  origComb?: OrigComb[];
333
333
  }
@@ -379,16 +379,20 @@ interface IpiDevol {
379
379
  vIPIDevol: string;
380
380
  }
381
381
 
382
- type ICMSStandard = Pick<ICMS, 'ICMS00' | 'ICMS10' | 'ICMS20' | 'ICMS30' | 'ICMS40' | 'ICMS51' | 'ICMS60' | 'ICMS70' | 'ICMS90'>;
382
+ type ICMSStandard = Pick<ICMS, 'ICMS00' | 'ICMS02' | 'ICMS10' | 'ICMS15' | 'ICMS20' | 'ICMS30' | 'ICMS40' | 'ICMS51' | 'ICMS53' | 'ICMS60' | 'ICMS61' | 'ICMS70' | 'ICMS90'>;
383
383
  type ICMSSN = Pick<ICMS, 'ICMSSN101' | 'ICMSSN102' | 'ICMSSN201' | 'ICMSSN202' | 'ICMSSN500' | 'ICMSSN900'>;
384
384
  interface ICMS {
385
385
  ICMS00?: ICMS00;
386
+ ICMS02?: ICMS02;
386
387
  ICMS10?: ICMS10;
388
+ ICMS15?: ICMS15;
387
389
  ICMS20?: ICMS20;
388
390
  ICMS30?: ICMS30;
389
391
  ICMS40?: ICMS40;
390
392
  ICMS51?: ICMS51;
393
+ ICMS53?: ICMS53;
391
394
  ICMS60?: ICMS60;
395
+ ICMS61?: ICMS61;
392
396
  ICMS70?: ICMS70;
393
397
  ICMS90?: ICMS90;
394
398
  ICMSPart?: ICMSPart;
@@ -407,6 +411,16 @@ interface ICMS00 {
407
411
  vBC?: DecimalValue;
408
412
  pICMS?: DecimalValue;
409
413
  vICMS?: DecimalValue;
414
+ vBCFCP?: DecimalValue;
415
+ pFCP?: DecimalValue;
416
+ vFCP?: DecimalValue;
417
+ }
418
+ interface ICMS02 {
419
+ orig: string;
420
+ CST: string;
421
+ qBCMono?: DecimalValue;
422
+ adRemICMS: DecimalValue;
423
+ vICMSMono: DecimalValue;
410
424
  }
411
425
  interface ICMS10 {
412
426
  orig: string;
@@ -415,10 +429,30 @@ interface ICMS10 {
415
429
  vBC?: DecimalValue;
416
430
  pICMS?: DecimalValue;
417
431
  vICMS?: DecimalValue;
432
+ vBCFCP?: DecimalValue;
433
+ pFCP?: DecimalValue;
434
+ vFCP?: DecimalValue;
418
435
  modBCST?: string;
436
+ pMVAST?: DecimalValue;
437
+ pRedBCST?: DecimalValue;
419
438
  vBCST?: DecimalValue;
420
439
  pICMSST?: DecimalValue;
421
440
  vICMSST?: DecimalValue;
441
+ vBCFCPST?: DecimalValue;
442
+ pFCPST?: DecimalValue;
443
+ vFCPST?: DecimalValue;
444
+ }
445
+ interface ICMS15 {
446
+ orig: string;
447
+ CST: string;
448
+ qBCMono?: DecimalValue;
449
+ adRemICMS: DecimalValue;
450
+ vICMSMono: DecimalValue;
451
+ qBCMonoReten?: DecimalValue;
452
+ adRemICMSReten: DecimalValue;
453
+ vICMSMonoReten: DecimalValue;
454
+ pRedAdRem?: DecimalValue;
455
+ motRedAdRem?: string;
422
456
  }
423
457
  interface ICMS20 {
424
458
  orig: string;
@@ -428,20 +462,35 @@ interface ICMS20 {
428
462
  vBC?: DecimalValue;
429
463
  pICMS?: DecimalValue;
430
464
  vICMS?: DecimalValue;
465
+ vBCFCP?: DecimalValue;
466
+ pFCP?: DecimalValue;
467
+ vFCP?: DecimalValue;
468
+ vICMSDeson?: DecimalValue;
469
+ motDesICMS?: string;
470
+ indDeduzDeson?: string;
431
471
  }
432
472
  interface ICMS30 {
433
473
  orig: string;
434
474
  CST: string;
435
475
  modBCST?: string;
476
+ pMVAST?: DecimalValue;
477
+ pRedBCST?: DecimalValue;
436
478
  vBCST?: DecimalValue;
437
479
  pICMSST?: DecimalValue;
438
480
  vICMSST?: DecimalValue;
481
+ vBCFCPST?: DecimalValue;
482
+ pFCPST?: DecimalValue;
483
+ vFCPST?: DecimalValue;
484
+ vICMSDeson?: DecimalValue;
485
+ motDesICMS?: string;
486
+ indDeduzDeson?: string;
439
487
  }
440
488
  interface ICMS40 {
441
489
  orig: string;
442
490
  CST: string;
443
491
  vICMSDeson?: DecimalValue;
444
492
  motDesICMS?: string;
493
+ indDeduzDeson?: string;
445
494
  }
446
495
  interface ICMS51 {
447
496
  orig: string;
@@ -454,6 +503,18 @@ interface ICMS51 {
454
503
  pDif?: DecimalValue;
455
504
  vICMSDif?: DecimalValue;
456
505
  }
506
+ interface ICMS53 {
507
+ orig: string;
508
+ CST: string;
509
+ qBCMono?: DecimalValue;
510
+ adRemICMS?: DecimalValue;
511
+ vICMSMonoOp?: DecimalValue;
512
+ pDif?: DecimalValue;
513
+ vICMSMonoDif?: DecimalValue;
514
+ vICMSMono?: DecimalValue;
515
+ qBCMonoDif?: DecimalValue;
516
+ adRemICMSDif?: DecimalValue;
517
+ }
457
518
  interface ICMS60 {
458
519
  orig: string;
459
520
  CST: string;
@@ -461,6 +522,20 @@ interface ICMS60 {
461
522
  pST?: DecimalValue;
462
523
  vICMSSubstituto?: DecimalValue;
463
524
  vICMSSTRet?: DecimalValue;
525
+ vBCFCPSTRet?: DecimalValue;
526
+ pFCPSTRet?: DecimalValue;
527
+ vFCPSTRet?: DecimalValue;
528
+ pRedBCEfet?: DecimalValue;
529
+ vBCEfet?: DecimalValue;
530
+ pICMSEfet?: DecimalValue;
531
+ vICMSEfet?: DecimalValue;
532
+ }
533
+ interface ICMS61 {
534
+ orig: string;
535
+ CST: string;
536
+ qBCMonoRet?: DecimalValue;
537
+ adRemICMSRet: DecimalValue;
538
+ vICMSMonoRet: DecimalValue;
464
539
  }
465
540
  interface ICMS70 {
466
541
  orig: string;
@@ -470,10 +545,21 @@ interface ICMS70 {
470
545
  vBC?: DecimalValue;
471
546
  pICMS?: DecimalValue;
472
547
  vICMS?: DecimalValue;
548
+ vBCFCP?: DecimalValue;
549
+ pFCP?: DecimalValue;
550
+ vFCP?: DecimalValue;
551
+ vICMSDeson?: DecimalValue;
552
+ motDesICMS?: string;
473
553
  modBCST?: string;
554
+ pMVAST?: DecimalValue;
555
+ pRedBCST?: DecimalValue;
474
556
  vBCST?: DecimalValue;
475
557
  pICMSST?: DecimalValue;
476
558
  vICMSST?: DecimalValue;
559
+ vBCFCPST?: DecimalValue;
560
+ pFCPST?: DecimalValue;
561
+ vFCPST?: DecimalValue;
562
+ indDeduzDeson?: string;
477
563
  }
478
564
  interface ICMS90 {
479
565
  orig: string;
@@ -483,10 +569,21 @@ interface ICMS90 {
483
569
  vBC?: DecimalValue;
484
570
  pICMS?: DecimalValue;
485
571
  vICMS?: DecimalValue;
572
+ vBCFCP?: DecimalValue;
573
+ pFCP?: DecimalValue;
574
+ vFCP?: DecimalValue;
575
+ vICMSDeson?: DecimalValue;
576
+ motDesICMS?: string;
486
577
  modBCST?: string;
578
+ pMVAST?: DecimalValue;
579
+ pRedBCST?: DecimalValue;
487
580
  vBCST?: DecimalValue;
488
581
  pICMSST?: DecimalValue;
489
582
  vICMSST?: DecimalValue;
583
+ vBCFCPST?: DecimalValue;
584
+ pFCPST?: DecimalValue;
585
+ vFCPST?: DecimalValue;
586
+ indDeduzDeson?: string;
490
587
  }
491
588
  interface ICMSSN101 {
492
589
  orig: string;
@@ -1624,25 +1721,28 @@ type UfMap = typeof StateCodes;
1624
1721
  type StateAcronymFromCode<S extends StateCode> = {
1625
1722
  [K in keyof UfMap]: S extends UfMap[K] ? Extract<K, StateAcronym> : never;
1626
1723
  }[keyof UfMap];
1627
- interface Webservice {
1724
+ interface Webservice<M extends string = string> {
1628
1725
  url: string;
1629
- method: string;
1726
+ method: M;
1630
1727
  operation: string;
1631
1728
  version: string;
1632
1729
  }
1730
+ type LookupService<O extends Record<string, unknown>, Group extends string, E extends EnvironmentCode, K extends string> = Group extends keyof O ? E extends keyof O[Group] ? K extends keyof O[Group][E] ? O[Group][E][K] : never : never : never;
1731
+ type WebserviceConfigOf<WS extends Record<string, unknown>, O extends Record<string, unknown>, S extends StateCode, E extends EnvironmentCode, K extends string> = LookupService<O, WebserviceForState<WS, S> & string, E, K> | LookupService<O, StateAcronymFromCode<S> & string, E, K>;
1732
+ type AsWebservice<C> = C extends {
1733
+ readonly method: infer M extends string;
1734
+ } ? Webservice<M> & Omit<C, 'method'> : never;
1633
1735
  type GroupServicesForState<WS extends Record<string, unknown>, O extends Record<string, unknown>, S extends StateCode, E extends EnvironmentCode> = WebserviceForState<WS, S> extends keyof O ? E extends keyof O[WebserviceForState<WS, S>] ? keyof O[WebserviceForState<WS, S>][E] : never : never;
1634
1736
  type StateServicesForState<O extends Record<string, unknown>, S extends StateCode, E extends EnvironmentCode> = StateAcronymFromCode<S> extends keyof O ? E extends keyof O[StateAcronymFromCode<S>] ? keyof O[StateAcronymFromCode<S>][E] : never : never;
1635
1737
  type ServicesForState<WS extends Record<string, unknown>, O extends Record<string, unknown>, S extends StateCode, E extends EnvironmentCode> = GroupServicesForState<WS, O, S, E> | StateServicesForState<O, S, E>;
1636
- type ServiceOptions<WS extends Record<string, unknown>, O extends Record<string, unknown>, S extends StateCode = StateCode, E extends EnvironmentCode = EnvironmentCode> = {
1738
+ type ServiceName<WS extends Record<string, unknown>, O extends Record<string, unknown>, S extends StateCode, E extends EnvironmentCode> = Extract<ServicesForState<WS, O, S, E>, string>;
1739
+ type WebserviceForService<WS extends Record<string, unknown>, O extends Record<string, unknown>, S extends StateCode, E extends EnvironmentCode, K extends ServiceName<WS, O, S, E>> = AsWebservice<WebserviceConfigOf<WS, O, S, E, K>>;
1740
+ type ServiceOptions<WS extends Record<string, unknown>, O extends Record<string, unknown>, S extends StateCode = StateCode, E extends EnvironmentCode = EnvironmentCode, K extends ServiceName<WS, O, S, E> = ServiceName<WS, O, S, E>> = {
1637
1741
  cUF?: S;
1638
1742
  tpAmb?: E;
1639
- service: ServicesForState<WS, O, S, E>;
1743
+ service: K;
1640
1744
  };
1641
1745
 
1642
- interface Service {
1643
- url: string;
1644
- version: string;
1645
- }
1646
1746
  interface ContingencyOptions {
1647
1747
  xJust: string;
1648
1748
  dhCont: string;
@@ -1655,7 +1755,7 @@ interface NfeTransmitterOptions extends TransmitterOptions {
1655
1755
  timeout?: number;
1656
1756
  }
1657
1757
  interface NfeTransmitter extends Transmitter<NfeRemoteClient> {
1658
- service<WS extends Record<string, unknown>, O extends Record<string, unknown>, S extends StateCode, E extends EnvironmentCode>(options: ServiceOptions<WS, O, S, E>): Service;
1758
+ service<WS extends Record<string, unknown>, O extends Record<string, unknown>, S extends StateCode, E extends EnvironmentCode, K extends ServiceOptions<WS, O, S, E>['service']>(options: ServiceOptions<WS, O, S, E, K>): WebserviceForService<WS, O, S, E, K>;
1659
1759
  configure(options: NfeTransmitterOptions): NfeTransmitter;
1660
1760
  consultStatus(payload: ConsultStatusPayload): Promise<Either<NFeTsError, ConsultStatusResponse>>;
1661
1761
  inutilizacao(payload: InutilizacaoPayload): Promise<Either<NFeTsError, InutilizacaoResponse>>;
@@ -1668,11 +1768,19 @@ interface NfeTransmitter extends Transmitter<NfeRemoteClient> {
1668
1768
  interface NfeRemoteClient extends Client {
1669
1769
  nfeStatusServicoNF(args: ConsultStatusRequest, opt?: RequestConfig): Promise<ConsultStatusResponse>;
1670
1770
  nfeInutilizacaoNF(args: InutilizacaoRequest, opt?: RequestConfig): Promise<InutilizacaoResponse>;
1771
+ NFeInutilizacao(args: InutilizacaoRequest, opt?: RequestConfig): Promise<InutilizacaoResponse>;
1671
1772
  nfeConsultaNF(args: ConsultaProtocoloRequest, opt?: RequestConfig): Promise<ConsultaProtocoloResponse>;
1773
+ NFeConsultaNF(args: ConsultaProtocoloRequest, opt?: RequestConfig): Promise<ConsultaProtocoloResponse>;
1672
1774
  nfeAutorizacaoLote<E extends NFe$1, T extends SignedEntity<E> | SignedEntity<E>[]>(args: AutorizacaoRequest<E, T>, opt?: RequestConfig): Promise<AutorizacaoResponse>;
1775
+ NFeAutorizacaoLote<E extends NFe$1, T extends SignedEntity<E> | SignedEntity<E>[]>(args: AutorizacaoRequest<E, T>, opt?: RequestConfig): Promise<AutorizacaoResponse>;
1673
1776
  nfeRetAutorizacaoLote(args: RetAutorizacaoRequest, opt?: RequestConfig): Promise<RetAutorizacaoResponse>;
1777
+ nfeRetAutorizacao(args: RetAutorizacaoRequest, opt?: RequestConfig): Promise<RetAutorizacaoResponse>;
1674
1778
  nfeRecepcaoEvento<T>(args: EventoRequest<T>, opt?: RequestConfig): Promise<EventoResponse>;
1779
+ nfeRecepcaoEventoNF<T>(args: EventoRequest<T>, opt?: RequestConfig): Promise<EventoResponse>;
1780
+ NFeRecepcaoEvento<T>(args: EventoRequest<T>, opt?: RequestConfig): Promise<EventoResponse>;
1675
1781
  consultaCadastro(args: ConsultaCadastroRequest, opt?: RequestConfig): Promise<ConsultaCadastroResponse>;
1782
+ consultaCadastro4(args: ConsultaCadastroRequest, opt?: RequestConfig): Promise<ConsultaCadastroResponse>;
1783
+ ConsultaCadastro(args: ConsultaCadastroRequest, opt?: RequestConfig): Promise<ConsultaCadastroResponse>;
1676
1784
  }
1677
1785
 
1678
1786
  interface NfceQrcodeOptionsBase {
@@ -1853,15 +1961,25 @@ interface DetBuilderAggregator {
1853
1961
  icms(payload: ICMS): void;
1854
1962
  pis(payload: PIS): void;
1855
1963
  cofins(payload: COFINS): void;
1964
+ imposto(payload: Imposto): void;
1965
+ ii(payload: II): void;
1966
+ ipi(payload: IPI): void;
1967
+ impostoDevol(payload: Devol): void;
1856
1968
  }
1857
1969
  declare class DefaultDetBuilderAggregator<T extends object> implements DetBuilderAggregator {
1858
1970
  private readonly builder;
1971
+ private readonly zero;
1859
1972
  constructor(builder: INfeXmlBuilder<T>);
1860
1973
  prod(payload: Prod): void;
1861
1974
  issqn(payload: ISSQN): void;
1862
1975
  cofins(payload: COFINS): void;
1863
1976
  pis(payload: PIS): void;
1864
1977
  icms(payload: ICMS): void;
1978
+ imposto(payload: Imposto): void;
1979
+ ii(payload: II): void;
1980
+ ipi(payload: IPI): void;
1981
+ impostoDevol(payload: Devol): void;
1982
+ private sum;
1865
1983
  }
1866
1984
 
1867
1985
  interface TotalBuilderAggregator {
@@ -1871,6 +1989,7 @@ declare class DefaultTotalBuilderAggregator<T extends object> implements TotalBu
1871
1989
  private readonly builder;
1872
1990
  constructor(builder: INfeXmlBuilder<T>);
1873
1991
  aggregate(): void;
1992
+ private resolveDeductibleVICMSDeson;
1874
1993
  }
1875
1994
 
1876
1995
  declare abstract class Pipeline {
@@ -1979,7 +2098,7 @@ declare const _default$1: {
1979
2098
  readonly AN: {
1980
2099
  readonly "2": {
1981
2100
  readonly RecepcaoEvento: {
1982
- readonly method: "nfeRecepcaoEvento";
2101
+ readonly method: "nfeRecepcaoEventoNF";
1983
2102
  readonly operation: "NFeRecepcaoEvento4";
1984
2103
  readonly version: "1.00";
1985
2104
  readonly url: "https://hom1.nfe.fazenda.gov.br/NFeRecepcaoEvento4/NFeRecepcaoEvento4.asmx";
@@ -2011,7 +2130,7 @@ declare const _default$1: {
2011
2130
  };
2012
2131
  readonly "1": {
2013
2132
  readonly RecepcaoEvento: {
2014
- readonly method: "nfeRecepcaoEvento";
2133
+ readonly method: "nfeRecepcaoEventoNF";
2015
2134
  readonly operation: "NFeRecepcaoEvento4";
2016
2135
  readonly version: "1.00";
2017
2136
  readonly url: "https://www.nfe.fazenda.gov.br/NFeRecepcaoEvento4/NFeRecepcaoEvento4.asmx";
@@ -2051,19 +2170,19 @@ declare const _default$1: {
2051
2170
  readonly url: "https://hnfe.sefaz.ba.gov.br/webservices/NFeStatusServico4/NFeStatusServico4.asmx";
2052
2171
  };
2053
2172
  readonly NfeAutorizacao: {
2054
- readonly method: "nfeAutorizacaoLote";
2173
+ readonly method: "NFeAutorizacaoLote";
2055
2174
  readonly operation: "NFeAutorizacao4";
2056
2175
  readonly version: "4.00";
2057
2176
  readonly url: "https://hnfe.sefaz.ba.gov.br/webservices/NFeAutorizacao4/NFeAutorizacao4.asmx";
2058
2177
  };
2059
2178
  readonly NfeConsultaProtocolo: {
2060
- readonly method: "nfeConsultaNF";
2179
+ readonly method: "NFeConsultaNF";
2061
2180
  readonly operation: "NFeConsultaProtocolo4";
2062
2181
  readonly version: "4.00";
2063
2182
  readonly url: "https://hnfe.sefaz.ba.gov.br/webservices/NFeConsultaProtocolo4/NFeConsultaProtocolo4.asmx";
2064
2183
  };
2065
2184
  readonly NfeInutilizacao: {
2066
- readonly method: "nfeInutilizacaoNF";
2185
+ readonly method: "NFeInutilizacao";
2067
2186
  readonly operation: "NFeInutilizacao4";
2068
2187
  readonly version: "4.00";
2069
2188
  readonly url: "https://hnfe.sefaz.ba.gov.br/webservices/NFeInutilizacao4/NFeInutilizacao4.asmx";
@@ -2075,13 +2194,13 @@ declare const _default$1: {
2075
2194
  readonly url: "https://hnfe.sefaz.ba.gov.br/webservices/NFeRetAutorizacao4/NFeRetAutorizacao4.asmx";
2076
2195
  };
2077
2196
  readonly RecepcaoEvento: {
2078
- readonly method: "nfeRecepcaoEvento";
2197
+ readonly method: "NFeRecepcaoEvento";
2079
2198
  readonly operation: "NFeRecepcaoEvento4";
2080
2199
  readonly version: "1.00";
2081
2200
  readonly url: "https://hnfe.sefaz.ba.gov.br/webservices/NFeRecepcaoEvento4/NFeRecepcaoEvento4.asmx";
2082
2201
  };
2083
2202
  readonly NfeConsultaCadastro: {
2084
- readonly method: "consultaCadastro";
2203
+ readonly method: "ConsultaCadastro";
2085
2204
  readonly operation: "CadConsultaCadastro4";
2086
2205
  readonly version: "2.00";
2087
2206
  readonly url: "https://hnfe.sefaz.ba.gov.br/webservices/CadConsultaCadastro4/CadConsultaCadastro4.asmx";
@@ -2095,19 +2214,19 @@ declare const _default$1: {
2095
2214
  readonly url: "https://nfe.sefaz.ba.gov.br/webservices/NFeStatusServico4/NFeStatusServico4.asmx";
2096
2215
  };
2097
2216
  readonly NfeAutorizacao: {
2098
- readonly method: "nfeAutorizacaoLote";
2217
+ readonly method: "NFeAutorizacaoLote";
2099
2218
  readonly operation: "NFeAutorizacao4";
2100
2219
  readonly version: "4.00";
2101
2220
  readonly url: "https://nfe.sefaz.ba.gov.br/webservices/NFeAutorizacao4/NFeAutorizacao4.asmx";
2102
2221
  };
2103
2222
  readonly NfeConsultaProtocolo: {
2104
- readonly method: "nfeConsultaNF";
2223
+ readonly method: "NFeConsultaNF";
2105
2224
  readonly operation: "NFeConsultaProtocolo4";
2106
2225
  readonly version: "4.00";
2107
2226
  readonly url: "https://nfe.sefaz.ba.gov.br/webservices/NFeConsultaProtocolo4/NFeConsultaProtocolo4.asmx";
2108
2227
  };
2109
2228
  readonly NfeInutilizacao: {
2110
- readonly method: "nfeInutilizacaoNF";
2229
+ readonly method: "NFeInutilizacao";
2111
2230
  readonly operation: "NFeInutilizacao4";
2112
2231
  readonly version: "4.00";
2113
2232
  readonly url: "https://nfe.sefaz.ba.gov.br/webservices/NFeInutilizacao4/NFeInutilizacao4.asmx";
@@ -2119,13 +2238,13 @@ declare const _default$1: {
2119
2238
  readonly url: "https://nfe.sefaz.ba.gov.br/webservices/NFeRetAutorizacao4/NFeRetAutorizacao4.asmx";
2120
2239
  };
2121
2240
  readonly RecepcaoEvento: {
2122
- readonly method: "nfeRecepcaoEvento";
2241
+ readonly method: "NFeRecepcaoEvento";
2123
2242
  readonly operation: "NFeRecepcaoEvento4";
2124
2243
  readonly version: "1.00";
2125
2244
  readonly url: "https://nfe.sefaz.ba.gov.br/webservices/NFeRecepcaoEvento4/NFeRecepcaoEvento4.asmx";
2126
2245
  };
2127
2246
  readonly NfeConsultaCadastro: {
2128
- readonly method: "consultaCadastro";
2247
+ readonly method: "ConsultaCadastro";
2129
2248
  readonly operation: "CadConsultaCadastro4";
2130
2249
  readonly version: "2.00";
2131
2250
  readonly url: "https://nfe.sefaz.ba.gov.br/webservices/CadConsultaCadastro4/CadConsultaCadastro4.asmx";
@@ -2261,7 +2380,7 @@ declare const _default$1: {
2261
2380
  readonly url: "https://hnfe.fazenda.mg.gov.br/nfe2/services/NFeRecepcaoEvento4";
2262
2381
  };
2263
2382
  readonly NfeConsultaCadastro: {
2264
- readonly method: "consultaCadastro4";
2383
+ readonly method: "consultaCadastro";
2265
2384
  readonly operation: "CadConsultaCadastro4";
2266
2385
  readonly version: "2.00";
2267
2386
  readonly url: "https://hnfe.fazenda.mg.gov.br/nfe2/services/CadConsultaCadastro4";
@@ -2305,7 +2424,7 @@ declare const _default$1: {
2305
2424
  readonly url: "https://nfe.fazenda.mg.gov.br/nfe2/services/NFeRecepcaoEvento4";
2306
2425
  };
2307
2426
  readonly NfeConsultaCadastro: {
2308
- readonly method: "consultaCadastro4";
2427
+ readonly method: "consultaCadastro";
2309
2428
  readonly operation: "CadConsultaCadastro4";
2310
2429
  readonly version: "2.00";
2311
2430
  readonly url: "https://nfe.fazenda.mg.gov.br/nfe2/services/CadConsultaCadastro4";
@@ -2531,7 +2650,7 @@ declare const _default$1: {
2531
2650
  readonly url: "https://nfehomolog.sefaz.pe.gov.br/nfe-service/services/NFeRecepcaoEvento4";
2532
2651
  };
2533
2652
  readonly NfeConsultaCadastro: {
2534
- readonly method: "consultaCadastro4";
2653
+ readonly method: "consultaCadastro";
2535
2654
  readonly operation: "CadConsultaCadastro4";
2536
2655
  readonly version: "2.00";
2537
2656
  readonly url: "https://nfehomolog.sefaz.pe.gov.br/nfe-service/services/CadConsultaCadastro4";
@@ -2575,7 +2694,7 @@ declare const _default$1: {
2575
2694
  readonly url: "https://nfe.sefaz.pe.gov.br/nfe-service/services/NFeRecepcaoEvento4";
2576
2695
  };
2577
2696
  readonly NfeConsultaCadastro: {
2578
- readonly method: "consultaCadastro4";
2697
+ readonly method: "consultaCadastro";
2579
2698
  readonly operation: "CadConsultaCadastro4";
2580
2699
  readonly version: "2.00";
2581
2700
  readonly url: "https://nfe.sefaz.pe.gov.br/nfe-service/services/CadConsultaCadastro4";
@@ -2609,19 +2728,19 @@ declare const _default$1: {
2609
2728
  readonly url: "https://homologacao.nfe.sefa.pr.gov.br/nfe/NFeInutilizacao4";
2610
2729
  };
2611
2730
  readonly NfeRetAutorizacao: {
2612
- readonly method: "nfeRetAutorizacao";
2731
+ readonly method: "nfeRetAutorizacaoLote";
2613
2732
  readonly operation: "NFeRetAutorizacao4";
2614
2733
  readonly version: "4.00";
2615
2734
  readonly url: "https://homologacao.nfe.sefa.pr.gov.br/nfe/NFeRetAutorizacao4";
2616
2735
  };
2617
2736
  readonly RecepcaoEvento: {
2618
- readonly method: "nfeRecepcaoEvento";
2737
+ readonly method: "nfeRecepcaoEventoNF";
2619
2738
  readonly operation: "NFeRecepcaoEvento4";
2620
2739
  readonly version: "1.00";
2621
2740
  readonly url: "https://homologacao.nfe.sefa.pr.gov.br/nfe/NFeRecepcaoEvento4";
2622
2741
  };
2623
2742
  readonly NfeConsultaCadastro: {
2624
- readonly method: "consultaCadastro4";
2743
+ readonly method: "consultaCadastro";
2625
2744
  readonly operation: "CadConsultaCadastro4";
2626
2745
  readonly version: "2.00";
2627
2746
  readonly url: "https://homologacao.nfe.sefa.pr.gov.br/nfe/CadConsultaCadastro4";
@@ -2653,19 +2772,19 @@ declare const _default$1: {
2653
2772
  readonly url: "https://nfe.sefa.pr.gov.br/nfe/NFeInutilizacao4";
2654
2773
  };
2655
2774
  readonly NfeRetAutorizacao: {
2656
- readonly method: "nfeRetAutorizacao";
2775
+ readonly method: "nfeRetAutorizacaoLote";
2657
2776
  readonly operation: "NFeRetAutorizacao4";
2658
2777
  readonly version: "4.00";
2659
2778
  readonly url: "https://nfe.sefa.pr.gov.br/nfe/NFeRetAutorizacao4";
2660
2779
  };
2661
2780
  readonly RecepcaoEvento: {
2662
- readonly method: "nfeRecepcaoEvento";
2781
+ readonly method: "nfeRecepcaoEventoNF";
2663
2782
  readonly operation: "NFeRecepcaoEvento4";
2664
2783
  readonly version: "1.00";
2665
2784
  readonly url: "https://nfe.sefa.pr.gov.br/nfe/NFeRecepcaoEvento4";
2666
2785
  };
2667
2786
  readonly NfeConsultaCadastro: {
2668
- readonly method: "consultaCadastro4";
2787
+ readonly method: "consultaCadastro";
2669
2788
  readonly operation: "CadConsultaCadastro4";
2670
2789
  readonly version: "2.00";
2671
2790
  readonly url: "https://nfe.sefa.pr.gov.br/nfe/CadConsultaCadastro4";
@@ -2711,7 +2830,7 @@ declare const _default$1: {
2711
2830
  readonly url: "https://nfe-homologacao.sefazrs.rs.gov.br/ws/recepcaoevento/recepcaoevento4.asmx";
2712
2831
  };
2713
2832
  readonly NfeConsultaCadastro: {
2714
- readonly method: "consultaCadastro4";
2833
+ readonly method: "consultaCadastro";
2715
2834
  readonly operation: "CadConsultaCadastro4";
2716
2835
  readonly version: "2.00";
2717
2836
  readonly url: "https://cad.svrs.rs.gov.br/ws/cadconsultacadastro/cadconsultacadastro4.asmx";
@@ -2755,7 +2874,7 @@ declare const _default$1: {
2755
2874
  readonly url: "https://nfe.sefazrs.rs.gov.br/ws/recepcaoevento/recepcaoevento4.asmx";
2756
2875
  };
2757
2876
  readonly NfeConsultaCadastro: {
2758
- readonly method: "consultaCadastro4";
2877
+ readonly method: "consultaCadastro";
2759
2878
  readonly operation: "CadConsultaCadastro4";
2760
2879
  readonly version: "2.00";
2761
2880
  readonly url: "https://cad.svrs.rs.gov.br/ws/cadconsultacadastro/cadconsultacadastro4.asmx";
@@ -3022,7 +3141,7 @@ declare const _default$1: {
3022
3141
  readonly url: "https://nfe.svrs.rs.gov.br/ws/recepcaoevento/recepcaoevento4.asmx";
3023
3142
  };
3024
3143
  readonly NfeConsultaCadastro: {
3025
- readonly method: "consultaCadastro4";
3144
+ readonly method: "consultaCadastro";
3026
3145
  readonly operation: "CadConsultaCadastro4";
3027
3146
  readonly version: "2.00";
3028
3147
  readonly url: "https://cad.svrs.rs.gov.br/ws/cadconsultacadastro/cadconsultacadastro4.asmx";
@@ -3199,7 +3318,7 @@ declare const _default$1: {
3199
3318
  readonly url: "https://nfe.svrs.rs.gov.br/ws/recepcaoevento/recepcaoevento4.asmx";
3200
3319
  };
3201
3320
  readonly NfeConsultaCadastro: {
3202
- readonly method: "consultaCadastro4";
3321
+ readonly method: "consultaCadastro";
3203
3322
  readonly operation: "CadConsultaCadastro4";
3204
3323
  readonly version: "2.00";
3205
3324
  readonly url: "https://cad.svrs.rs.gov.br/ws/cadconsultacadastro/cadconsultacadastro4.asmx";
@@ -3249,7 +3368,7 @@ declare class NfeRemoteTransmitter implements NfeTransmitter {
3249
3368
  protected readonly xmlns = "http://www.portalfiscal.inf.br/nfe";
3250
3369
  protected options: NfeTransmitterOptions;
3251
3370
  configure(options: NfeTransmitterOptions): this;
3252
- service<WS extends Record<string, unknown> = typeof webservices$1, O extends Record<string, unknown> = typeof _default$1, S extends StateCode = StateCode, E extends EnvironmentCode = EnvironmentCode>(options: ServiceOptions<WS, O, S, E>): Webservice;
3371
+ service<WS extends Record<string, unknown> = typeof webservices$1, O extends Record<string, unknown> = typeof _default$1, S extends StateCode = StateCode, E extends EnvironmentCode = EnvironmentCode, K extends ServiceOptions<WS, O, S, E>['service'] = ServiceOptions<WS, O, S, E>['service']>(options: ServiceOptions<WS, O, S, E, K>): WebserviceForService<WS, O, S, E, K>;
3253
3372
  protected errors(): string[] | undefined;
3254
3373
  protected validate<T extends object>(payload: T): Left<NFeTsError> | Right<T>;
3255
3374
  protected ns<T extends object>(payload: Namespaced<T>, version: string): T & {
@@ -3291,11 +3410,16 @@ declare class NFe implements NFe$1 {
3291
3410
  Signature?: Signature;
3292
3411
  }
3293
3412
 
3413
+ declare enum IndSinc {
3414
+ Asynchronous = "0",
3415
+ Synchronous = "1"
3416
+ }
3417
+
3294
3418
  interface NfeAuthorizerPayload<E extends string, T extends E | E[] = E | E[]> {
3295
3419
  cUF?: StateCode;
3296
3420
  tpAmb?: EnvironmentCode;
3297
3421
  idLote?: string;
3298
- indSinc?: '0' | '1';
3422
+ indSinc?: IndSinc;
3299
3423
  xml: T;
3300
3424
  }
3301
3425
  declare class NfeAuthorizerPipeline extends TransmissionPipeline {
@@ -3304,7 +3428,12 @@ declare class NfeAuthorizerPipeline extends TransmissionPipeline {
3304
3428
  protected response<E extends NFe, T extends E | E[]>(NFe: SignedEntity<NFe>[], response: SynchronousAutorizacaoResponse<T>): Promise<PipelineAuthorizerResponse<E, T>>;
3305
3429
  protected signNfe(certificate: ReadCertificateResponse, NFe: NFe): Promise<Either<NFeTsError, SignedEntity<NFe>>>;
3306
3430
  protected handleNfeBatch(certificate: ReadCertificateResponse, xml: string | string[]): Promise<Left<NFeTsError> | Right<SignedEntity<NFe>[]>>;
3431
+ protected isLotNotProcessed(response: AutorizacaoResponse, payload: NfeAuthorizerPayload<string>): boolean;
3432
+ protected handleLotNotProcessed(NFe: SignedEntity<NFe>[], response: AutorizacaoResponse): Promise<PipelineAuthorizerResponse<NFe>>;
3433
+ protected toRejectionSyncResponse(NFe: SignedEntity<NFe>[], response: AutorizacaoResponse): SynchronousAutorizacaoResponse<NFe>;
3434
+ protected buildRejectionProtNFe(NFe: NFe, retEnviNFe: AutorizacaoResponse['retEnviNFe']): ProtNFe;
3307
3435
  protected isSyncResponse<E extends NFe, T extends E | E[]>(response: AutorizacaoResponse<E, T>): response is SynchronousAutorizacaoResponse<T>;
3436
+ protected hasReceipt(response: AutorizacaoResponse): response is AsynchronousAutorizacaoResponse;
3308
3437
  protected handleAsyncResponse(NFe: SignedEntity<NFe>[], response: AsynchronousAutorizacaoResponse): Promise<Either<NFeTsError, PipelineAuthorizerResponse<NFe>>>;
3309
3438
  protected contingency(NFe: NFe): {
3310
3439
  dhCont: string;
@@ -4070,8 +4199,8 @@ declare const _default: {
4070
4199
  readonly url: "https://homologacao.nfce.sefa.pr.gov.br/nfce/NFeStatusServico4";
4071
4200
  };
4072
4201
  readonly RecepcaoEvento: {
4073
- readonly method: "nfeRecepcaoEvento";
4074
- readonly operation: "NFeRecepcaoEvento";
4202
+ readonly method: "nfeRecepcaoEventoNF";
4203
+ readonly operation: "NFeRecepcaoEvento4";
4075
4204
  readonly version: "1.00";
4076
4205
  readonly url: "https://homologacao.nfce.sefa.pr.gov.br/nfce/NFeRecepcaoEvento4";
4077
4206
  };
@@ -4090,7 +4219,7 @@ declare const _default: {
4090
4219
  readonly url: "https://nfce.sefa.pr.gov.br/nfce/NFeAutorizacao4";
4091
4220
  };
4092
4221
  readonly NfeRetAutorizacao: {
4093
- readonly method: "nfeRetAutorizacao";
4222
+ readonly method: "nfeRetAutorizacaoLote";
4094
4223
  readonly operation: "NFeRetAutorizacao4";
4095
4224
  readonly version: "4.00";
4096
4225
  readonly url: "https://nfce.sefa.pr.gov.br/nfce/NFeRetAutorizacao4";
@@ -4114,8 +4243,8 @@ declare const _default: {
4114
4243
  readonly url: "https://nfce.sefa.pr.gov.br/nfce/NFeStatusServico4";
4115
4244
  };
4116
4245
  readonly RecepcaoEvento: {
4117
- readonly method: "nfeRecepcaoEvento";
4118
- readonly operation: "NFeRecepcaoEvento";
4246
+ readonly method: "nfeRecepcaoEventoNF";
4247
+ readonly operation: "NFeRecepcaoEvento4";
4119
4248
  readonly version: "1.00";
4120
4249
  readonly url: "https://nfce.sefa.pr.gov.br/nfce/NFeRecepcaoEvento4";
4121
4250
  };
@@ -4358,7 +4487,7 @@ declare const _default: {
4358
4487
  readonly url: "https://homologacao.nfce.fazenda.sp.gov.br/ws/NFeStatusServico4.asmx";
4359
4488
  };
4360
4489
  readonly RecepcaoEvento: {
4361
- readonly method: "nfeRecepcaoEvento";
4490
+ readonly method: "nfeRecepcaoEventoNF";
4362
4491
  readonly operation: "NFeRecepcaoEvento4";
4363
4492
  readonly version: "1.00";
4364
4493
  readonly url: "https://homologacao.nfce.fazenda.sp.gov.br/ws/NFeRecepcaoEvento4.asmx";
@@ -4414,7 +4543,7 @@ declare const _default: {
4414
4543
  readonly url: "https://nfce.fazenda.sp.gov.br/ws/NFeStatusServico4.asmx";
4415
4544
  };
4416
4545
  readonly RecepcaoEvento: {
4417
- readonly method: "nfeRecepcaoEvento";
4546
+ readonly method: "nfeRecepcaoEventoNF";
4418
4547
  readonly operation: "NFeRecepcaoEvento4";
4419
4548
  readonly version: "1.00";
4420
4549
  readonly url: "https://nfce.fazenda.sp.gov.br/ws/NFeRecepcaoEvento4.asmx";
@@ -4578,277 +4707,7 @@ declare class NfceRemoteTransmitter extends NfeRemoteTransmitter implements Nfce
4578
4707
  protected options: NfceTransmitterOptions;
4579
4708
  constructor(remoteTransmissionRepository: RemoteTransmissionRepository<NfceRemoteClient>, qrCode: NfceQrcode);
4580
4709
  configure(options: NfceTransmitterOptions): this;
4581
- service<WS extends Record<string, unknown> = typeof webservices, O extends Record<string, unknown> = typeof _default, S extends StateCode = StateCode, E extends EnvironmentCode = EnvironmentCode>(options: ServiceOptions<WS, O, S, E>): Webservice | {
4582
- readonly method: "QR-CODE";
4583
- readonly operation: "NfeConsultaQR";
4584
- readonly version: "300";
4585
- readonly url: "http://www.hml.sefaznet.ac.gov.br/nfce/qrcode";
4586
- } | {
4587
- readonly method: "QR-CODE";
4588
- readonly operation: "NfeConsultaQR";
4589
- readonly version: "200";
4590
- readonly url: "http://www.sefaznet.ac.gov.br/nfce/qrcode";
4591
- } | {
4592
- readonly method: "QR-CODE";
4593
- readonly operation: "NfeConsultaQR";
4594
- readonly version: "300";
4595
- readonly url: "http://nfce.sefaz.al.gov.br/QRCode/consultarNFCe.jsp";
4596
- } | {
4597
- readonly method: "QR-CODE";
4598
- readonly operation: "NfeConsultaQR";
4599
- readonly version: "200";
4600
- readonly url: "http://nfce.sefaz.al.gov.br/QRCode/consultarNFCe.jsp";
4601
- } | {
4602
- readonly method: "QR-CODE";
4603
- readonly operation: "NfeConsultaQR";
4604
- readonly version: "300";
4605
- readonly url: "https://sistemas.sefaz.am.gov.br/nfceweb-hom/consultarNFCe.jsp";
4606
- } | {
4607
- readonly method: "QR-CODE";
4608
- readonly operation: "NfeConsultaQR";
4609
- readonly version: "200";
4610
- readonly url: "https://sistemas.sefaz.am.gov.br/nfceweb/consultarNFCe.jsp";
4611
- } | {
4612
- readonly method: "QR-CODE";
4613
- readonly operation: "NfeConsultaQR";
4614
- readonly version: "300";
4615
- readonly url: "https://www.sefaz.ap.gov.br/nfcehml/nfce.php";
4616
- } | {
4617
- readonly method: "QR-CODE";
4618
- readonly operation: "NfeConsultaQR";
4619
- readonly version: "200";
4620
- readonly url: "https://www.sefaz.ap.gov.br/nfce/nfcep.php";
4621
- } | {
4622
- readonly method: "QR-CODE";
4623
- readonly operation: "NfeConsultaQR";
4624
- readonly version: "300";
4625
- readonly url: "http://hnfe.sefaz.ba.gov.br/servicos/nfce/qrcode.aspx";
4626
- } | {
4627
- readonly method: "QR-CODE";
4628
- readonly operation: "NfeConsultaQR";
4629
- readonly version: "200";
4630
- readonly url: "http://nfe.sefaz.ba.gov.br/servicos/nfce/qrcode.aspx";
4631
- } | {
4632
- readonly method: "QR-CODE";
4633
- readonly operation: "NfeConsultaQR";
4634
- readonly version: "300";
4635
- readonly url: "http://nfceh.sefaz.ce.gov.br/pages/ShowNFCe.html";
4636
- } | {
4637
- readonly method: "QR-CODE";
4638
- readonly operation: "NfeConsultaQR";
4639
- readonly version: "200";
4640
- readonly url: "http://nfce.sefaz.ce.gov.br/pages/ShowNFCe.html";
4641
- } | {
4642
- readonly method: "QR-CODE";
4643
- readonly operation: "NfeConsultaQR";
4644
- readonly version: "300";
4645
- readonly url: "http://dec.fazenda.df.gov.br/ConsultarNFCe.aspx";
4646
- } | {
4647
- readonly method: "QR-CODE";
4648
- readonly operation: "NfeConsultaQR";
4649
- readonly version: "200";
4650
- readonly url: "http://www.fazenda.df.gov.br/nfce/qrcode";
4651
- } | {
4652
- readonly method: "QR-CODE";
4653
- readonly operation: "NfeConsultaQR";
4654
- readonly version: "300";
4655
- readonly url: "http://homologacao.sefaz.es.gov.br/ConsultaNFCe/qrcode.aspx";
4656
- } | {
4657
- readonly method: "QR-CODE";
4658
- readonly operation: "NfeConsultaQR";
4659
- readonly version: "200";
4660
- readonly url: "http://app.sefaz.es.gov.br/ConsultaNFCe/qrcode.aspx";
4661
- } | {
4662
- readonly method: "QR-CODE";
4663
- readonly operation: "NfeConsultaQR";
4664
- readonly version: "300";
4665
- readonly url: "https://nfewebhomolog.sefaz.go.gov.br/nfeweb/sites/nfce/danfeNFCe";
4666
- } | {
4667
- readonly method: "QR-CODE";
4668
- readonly operation: "NfeConsultaQR";
4669
- readonly version: "200";
4670
- readonly url: "https://nfeweb.sefaz.go.gov.br/nfeweb/sites/nfce/danfeNFCe";
4671
- } | {
4672
- readonly method: "QR-CODE";
4673
- readonly operation: "NfeConsultaQR";
4674
- readonly version: "300";
4675
- readonly url: "http://www.hom.nfce.sefaz.ma.gov.br/portal/consultarNFCe.jsp";
4676
- } | {
4677
- readonly method: "QR-CODE";
4678
- readonly operation: "NfeConsultaQR";
4679
- readonly version: "200";
4680
- readonly url: "http://www.nfce.sefaz.ma.gov.br/portal/consultarNFCe.jsp";
4681
- } | {
4682
- readonly method: "QR-CODE";
4683
- readonly operation: "NfeConsultaQR";
4684
- readonly version: "300";
4685
- readonly url: "https://portalsped.fazenda.mg.gov.br/portalnfce/sistema/qrcode.xhtml";
4686
- } | {
4687
- readonly method: "QR-CODE";
4688
- readonly operation: "NfeConsultaQR";
4689
- readonly version: "200";
4690
- readonly url: "https://portalsped.fazenda.mg.gov.br/portalnfce/sistema/qrcode.xhtml";
4691
- } | {
4692
- readonly method: "QR-CODE";
4693
- readonly operation: "NfeConsultaQR";
4694
- readonly version: "300";
4695
- readonly url: "http://homologacao.sefaz.mt.gov.br/nfce/consultanfce";
4696
- } | {
4697
- readonly method: "QR-CODE";
4698
- readonly operation: "NfeConsultaQR";
4699
- readonly version: "200";
4700
- readonly url: "http://www.sefaz.mt.gov.br/nfce/consultanfce";
4701
- } | {
4702
- readonly method: "QR-CODE";
4703
- readonly operation: "NfeConsultaQR";
4704
- readonly version: "300";
4705
- readonly url: "http://www.dfe.ms.gov.br/nfce/qrcode";
4706
- } | {
4707
- readonly method: "QR-CODE";
4708
- readonly operation: "NfeConsultaQR";
4709
- readonly version: "200";
4710
- readonly url: "http://www.dfe.ms.gov.br/nfce/qrcode";
4711
- } | {
4712
- readonly method: "QR-CODE";
4713
- readonly operation: "NfeConsultaQR";
4714
- readonly version: "300";
4715
- readonly url: "https://appnfc.sefa.pa.gov.br/portal-homologacao/view/consultas/nfce/nfceForm.seam";
4716
- } | {
4717
- readonly method: "QR-CODE";
4718
- readonly operation: "NfeConsultaQR";
4719
- readonly version: "200";
4720
- readonly url: "https://appnfc.sefa.pa.gov.br/portal/view/consultas/nfce/nfceForm.seam";
4721
- } | {
4722
- readonly method: "QR-CODE";
4723
- readonly operation: "NfeConsultaQR";
4724
- readonly version: "300";
4725
- readonly url: "http://www.sefaz.pb.gov.br/nfcehom";
4726
- } | {
4727
- readonly method: "QR-CODE";
4728
- readonly operation: "NfeConsultaQR";
4729
- readonly version: "200";
4730
- readonly url: "http://www.sefaz.pb.gov.br/nfce";
4731
- } | {
4732
- readonly method: "QR-CODE";
4733
- readonly operation: "NfeConsultaQR";
4734
- readonly version: "300";
4735
- readonly url: "http://nfcehomolog.sefaz.pe.gov.br/nfce/consulta";
4736
- } | {
4737
- readonly method: "QR-CODE";
4738
- readonly operation: "NfeConsultaQR";
4739
- readonly version: "200";
4740
- readonly url: "http://nfce.sefaz.pe.gov.br/nfce/consulta";
4741
- } | {
4742
- readonly method: "QR-CODE";
4743
- readonly operation: "NfeConsultaQR";
4744
- readonly version: "300";
4745
- readonly url: "http://www.sefaz.pi.gov.br/nfce/qrcode";
4746
- } | {
4747
- readonly method: "QR-CODE";
4748
- readonly operation: "NfeConsultaQR";
4749
- readonly version: "200";
4750
- readonly url: "http://www.sefaz.pi.gov.br/nfce/qrcode";
4751
- } | {
4752
- readonly method: "QR-CODE";
4753
- readonly operation: "NfeConsultaQR";
4754
- readonly version: "300";
4755
- readonly url: "http://www.fazenda.pr.gov.br/nfce/qrcode";
4756
- } | {
4757
- readonly method: "QR-CODE";
4758
- readonly operation: "NfeConsultaQR";
4759
- readonly version: "200";
4760
- readonly url: "http://www.fazenda.pr.gov.br/nfce/qrcode";
4761
- } | {
4762
- readonly method: "QR-CODE";
4763
- readonly operation: "NfeConsultaQR";
4764
- readonly version: "300";
4765
- readonly url: "http://www4.fazenda.rj.gov.br/consultaNFCe/QRCode";
4766
- } | {
4767
- readonly method: "QR-CODE";
4768
- readonly operation: "NfeConsultaQR";
4769
- readonly version: "200";
4770
- readonly url: "https://consultadfe.fazenda.rj.gov.br/consultaNFCe/QRCode";
4771
- } | {
4772
- readonly method: "QR-CODE";
4773
- readonly operation: "NfeConsultaQR";
4774
- readonly version: "300";
4775
- readonly url: "http://hom.nfce.set.rn.gov.br/consultarNFCe.aspx";
4776
- } | {
4777
- readonly method: "QR-CODE";
4778
- readonly operation: "NfeConsultaQR";
4779
- readonly version: "200";
4780
- readonly url: "http://nfce.set.rn.gov.br/consultarNFCe.aspx";
4781
- } | {
4782
- readonly method: "QR-CODE";
4783
- readonly operation: "NfeConsultaQR";
4784
- readonly version: "300";
4785
- readonly url: "http://www.nfce.sefin.ro.gov.br/consultanfce/consulta.jsp";
4786
- } | {
4787
- readonly method: "QR-CODE";
4788
- readonly operation: "NfeConsultaQR";
4789
- readonly version: "200";
4790
- readonly url: "http://www.nfce.sefin.ro.gov.br/consultanfce/consulta.jsp";
4791
- } | {
4792
- readonly method: "QR-CODE";
4793
- readonly operation: "NfeConsultaQR";
4794
- readonly version: "300";
4795
- readonly url: "http://200.174.88.103:8080/nfce/servlet/qrcode";
4796
- } | {
4797
- readonly method: "QR-CODE";
4798
- readonly operation: "NfeConsultaQR";
4799
- readonly version: "200";
4800
- readonly url: "https://www.sefaz.rr.gov.br/servlet/qrcode";
4801
- } | {
4802
- readonly method: "QR-CODE";
4803
- readonly operation: "NfeConsultaQR";
4804
- readonly version: "300";
4805
- readonly url: "https://www.sefaz.rs.gov.br/NFCE/NFCE-COM.aspx";
4806
- } | {
4807
- readonly method: "QR-CODE";
4808
- readonly operation: "NfeConsultaQR";
4809
- readonly version: "200";
4810
- readonly url: "https://www.sefaz.rs.gov.br/NFCE/NFCE-COM.aspx";
4811
- } | {
4812
- readonly method: "QR-CODE";
4813
- readonly operation: "NfeConsultaQR";
4814
- readonly version: "300";
4815
- readonly url: "https://hom.sat.sef.sc.gov.br/nfce/consulta";
4816
- } | {
4817
- readonly method: "QR-CODE";
4818
- readonly operation: "NfeConsultaQR";
4819
- readonly version: "200";
4820
- readonly url: "https://sat.sef.sc.gov.br/nfce/consulta";
4821
- } | {
4822
- readonly method: "QR-CODE";
4823
- readonly operation: "NfeConsultaQR";
4824
- readonly version: "300";
4825
- readonly url: "http://www.hom.nfe.se.gov.br/nfce/qrcode";
4826
- } | {
4827
- readonly method: "QR-CODE";
4828
- readonly operation: "NfeConsultaQR";
4829
- readonly version: "200";
4830
- readonly url: "http://www.nfce.se.gov.br/nfce/qrcode";
4831
- } | {
4832
- readonly method: "QR-CODE";
4833
- readonly operation: "NfeConsultaQR";
4834
- readonly version: "300";
4835
- readonly url: "https://www.homologacao.nfce.fazenda.sp.gov.br/qrcode";
4836
- } | {
4837
- readonly method: "QR-CODE";
4838
- readonly operation: "NfeConsultaQR";
4839
- readonly version: "200";
4840
- readonly url: "https://www.nfce.fazenda.sp.gov.br/qrcode";
4841
- } | {
4842
- readonly method: "QR-CODE";
4843
- readonly operation: "NfeConsultaQR";
4844
- readonly version: "300";
4845
- readonly url: "http://homologacao.sefaz.to.gov.br/nfce/qrcode";
4846
- } | {
4847
- readonly method: "QR-CODE";
4848
- readonly operation: "NfeConsultaQR";
4849
- readonly version: "200";
4850
- readonly url: "http://www.sefaz.to.gov.br/nfce/qrcode";
4851
- };
4710
+ service<WS extends Record<string, unknown> = typeof webservices, O extends Record<string, unknown> = typeof _default, S extends StateCode = StateCode, E extends EnvironmentCode = EnvironmentCode, K extends ServiceOptions<WS, O, S, E>['service'] = ServiceOptions<WS, O, S, E>['service']>(options: ServiceOptions<WS, O, S, E, K>): WebserviceForService<WS, O, S, E, K>;
4852
4711
  getUrlConsult(NFe: NFCe$1): "http://homologacao.sefaz.mt.gov.br/nfce/consultanfce" | "http://www.sefaz.mt.gov.br/nfce/consultanfce" | "https://hom.sat.sef.sc.gov.br/nfce/consulta" | "https://sat.sef.sc.gov.br/nfce/consulta" | "www.sefaznet.ac.gov.br/nfce/consulta" | "www.sefaz.al.gov.br/nfce/consulta" | "www.sefaz.ap.gov.br/nfce/consulta" | "www.sefaz.am.gov.br/nfce/consulta" | "http://hinternet.sefaz.ba.gov.br/nfce/consulta" | "www.sefaz.ce.gov.br/nfce/consulta" | "www.fazenda.df.gov.br/nfce/consulta" | "www.sefaz.es.gov.br/nfce/consulta" | "www.nfce.go.gov.br/post/ver/214413/consulta-nfc-e-homologacao" | "www.sefaz.ma.gov.br/nfce/consulta" | "https://hportalsped.fazenda.mg.gov.br/portalnfce" | "http://www.dfe.ms.gov.br/nfce/consulta" | "www.sefa.pa.gov.br/nfce/consulta" | "www.sefaz.pb.gov.br/nfcehom" | "nfce.sefaz.pe.gov.br/nfce/consulta" | "http://www.fazenda.pr.gov.br/nfce/consulta" | "www.sefaz.pi.gov.br/nfce/consulta" | "www.fazenda.rj.gov.br/nfce/consulta" | "www.set.rn.gov.br/nfce/consulta" | "www.sefin.ro.gov.br/nfce/consulta" | "www.sefaz.rr.gov.br/nfce/consulta" | "www.sefaz.rs.gov.br/nfce/consulta" | "http://www.hom.nfe.se.gov.br/nfce/consulta" | "https://www.homologacao.nfce.fazenda.sp.gov.br/NFCeConsultaPublica" | "http://homologacao.sefaz.to.gov.br/nfce/consulta.jsf" | "http://www.sefaz.ba.gov.br/nfce/consulta" | "www.sefaz.go.gov.br/nfce/consulta" | "https://portalsped.fazenda.mg.gov.br/portalnfce" | "http://www.nfce.se.gov.br/nfce/consulta" | "https://www.nfce.fazenda.sp.gov.br/NFCeConsultaPublica" | "www.sefaz.to.gov.br/nfce/consulta" | "www.sefaz.pb.gov.br/nfce/consulta";
4853
4712
  autorizacao<E extends NFCe$1, T extends SignedEntity<E> | SignedEntity<E>[]>(payload: AutorizacaoPayload<E, T>): Promise<Either<NFeTsError, AutorizacaoResponse>>;
4854
4713
  }
@@ -5191,4 +5050,4 @@ declare class NFCe implements NFCe$1 {
5191
5050
  Signature?: Signature;
5192
5051
  }
5193
5052
 
5194
- export { type AccessKey, AccessKeyBuilder, type AssembleDetXmlBuilder, type AssembleNfeBuilder, type AsynchronousAutorizacaoResponse, type AutXMLBuilder, type AutorizacaoPayload, type AutorizacaoRequest, type AutorizacaoResponse, type AvulsaBuilder, type Builder, type CanaBuilder, type CobrBuilder, type CofinsBuilder, type CofinsStBuilder, type CompraBuilder, type ConsultStatusPayload, type ConsultStatusRequest, type ConsultStatusResponse, type ConsultaCadastroPayload, type ConsultaCadastroRequest, type ConsultaCadastroResponse, type ConsultaProtocoloPayload, type ConsultaProtocoloRequest, type ConsultaProtocoloResponse, type ContingencyOptions, DanfceDefaultPdfDocument, DanfceReducedPdfDocument, DefaultDetBuilderAggregator, DefaultTotalBuilderAggregator, type DestBuilder, type DetBuilder, type DetBuilderAggregator, type DetEventoCancelamento, type DetGroupBuilder, type EmitBuilder, type EntregaBuilder, type EventoCancelamento, type EventoItem, type EventoItemAttributes, type EventoLotePayload, type EventoLoteResponse, type EventoPayload, type EventoRequest, type EventoResponse, type ExportaBuilder, type ICMS, type ICMS00, type ICMS10, type ICMS20, type ICMS30, type ICMS40, type ICMS51, type ICMS60, type ICMS70, type ICMS90, type ICMSPart, type ICMSSN, type ICMSSN101, type ICMSSN102, type ICMSSN201, type ICMSSN202, type ICMSSN500, type ICMSSN900, type ICMSST, type ICMSStandard, type IIBuilder, type INfeDetXmlBuilder, type INfeXmlBuilder, type IbscbsBuilder, type IcmsBuilder, type IcmsIpiBuilder, type IcmsOrIssQnBuilder, type IcmsufdestBuilder, type IdeBuilder, type ImpostoBuilder, type InfAdicBuilder, type InfEvento, type InfEventoAttributes, type InfIntermedBuilder, type InfInut, type InfInutAttributes, type InfNFeBuilder, type InfRespTecBuilder, type InfSolicNFFBuilder, type InutNFeAttributes, type InutilizacaoPayload, type InutilizacaoRequest, type InutilizacaoResponse, type IssIpiBuilder, type IssQnBuilder, type NFCe$1 as NFCe, NFCe as NFCeDto, type NFCeProc, type NFe$1 as NFe, type NFeAttributes, NFe as NFeDto, type NFeProc, type NFeProcAttributes, NfceAuthorizerPipeline, NfceCancelPipeline, NfceConsultProtocoloPipeline, NfceConsultStatusPipeline, NfceContingencyXmlAuthorizerPipeline, NfceQrcode, type NfceQrcodeOptions, type NfceQrcodeOptions200, type NfceQrcodeOptions300, type NfceQrcodeOptionsBase, type NfceRemoteClient, NfceRemoteTransmitter, type NfceTransmitter, type NfceTransmitterOptions, NfceVoidRangePipeline, NfceXmlBuilder, NfceXmlBuilderPipeline, NfeAuthorizationResponsePipeline, type NfeAuthorizerPayload, NfeAuthorizerPipeline, NfeCancelPipeline, NfeConsultProtocoloPipeline, NfeConsultStatusPipeline, NfeCstatToProtocol, NfeDetXmlBuilder, type NfeRemoteClient, NfeRemoteTransmitter, type NfeTransmitter, type NfeTransmitterOptions, NfeVoidRangePipeline, NfeXmlBuilder, NfeXmlBuilderPipeline, type OptionalSharedImpostoBuilder, type PagBuilder, type PipelineAuthorizerResponse, type PisBuilder, type PisStBuilder, type ProcEventoNFe, type ProdBuilder, type RetAutorizacaoPayload, type RetAutorizacaoRequest, type RetAutorizacaoResponse, type RetCancNFe, type RetEvento, type RetEventoItem, type RetiradaBuilder, type Schema, type SynchronousAutorizacaoResponse, type TotalBuilder, type TotalBuilderAggregator, TpEmis, TpEvent, type TranspBuilder, type VerifiedAccessKey, type VoidRangePayload, XmlValidationError, schemas, type vItemBuilder };
5053
+ export { type AccessKey, AccessKeyBuilder, type AssembleDetXmlBuilder, type AssembleNfeBuilder, type AsynchronousAutorizacaoResponse, type AutXMLBuilder, type AutorizacaoPayload, type AutorizacaoRequest, type AutorizacaoResponse, type AvulsaBuilder, type Builder, type CanaBuilder, type CobrBuilder, type CofinsBuilder, type CofinsStBuilder, type CompraBuilder, type ConsultStatusPayload, type ConsultStatusRequest, type ConsultStatusResponse, type ConsultaCadastroPayload, type ConsultaCadastroRequest, type ConsultaCadastroResponse, type ConsultaProtocoloPayload, type ConsultaProtocoloRequest, type ConsultaProtocoloResponse, type ContingencyOptions, DanfceDefaultPdfDocument, DanfceReducedPdfDocument, DefaultDetBuilderAggregator, DefaultTotalBuilderAggregator, type DestBuilder, type DetBuilder, type DetBuilderAggregator, type DetEventoCancelamento, type DetGroupBuilder, type EmitBuilder, type EntregaBuilder, type EventoCancelamento, type EventoItem, type EventoItemAttributes, type EventoLotePayload, type EventoLoteResponse, type EventoPayload, type EventoRequest, type EventoResponse, type ExportaBuilder, type ICMS, type ICMS00, type ICMS02, type ICMS10, type ICMS15, type ICMS20, type ICMS30, type ICMS40, type ICMS51, type ICMS53, type ICMS60, type ICMS61, type ICMS70, type ICMS90, type ICMSPart, type ICMSSN, type ICMSSN101, type ICMSSN102, type ICMSSN201, type ICMSSN202, type ICMSSN500, type ICMSSN900, type ICMSST, type ICMSStandard, type IIBuilder, type INfeDetXmlBuilder, type INfeXmlBuilder, type IbscbsBuilder, type IcmsBuilder, type IcmsIpiBuilder, type IcmsOrIssQnBuilder, type IcmsufdestBuilder, type IdeBuilder, type ImpostoBuilder, type InfAdicBuilder, type InfEvento, type InfEventoAttributes, type InfIntermedBuilder, type InfInut, type InfInutAttributes, type InfNFeBuilder, type InfRespTecBuilder, type InfSolicNFFBuilder, type InutNFeAttributes, type InutilizacaoPayload, type InutilizacaoRequest, type InutilizacaoResponse, type IssIpiBuilder, type IssQnBuilder, type NFCe$1 as NFCe, NFCe as NFCeDto, type NFCeProc, type NFe$1 as NFe, type NFeAttributes, NFe as NFeDto, type NFeProc, type NFeProcAttributes, NfceAuthorizerPipeline, NfceCancelPipeline, NfceConsultProtocoloPipeline, NfceConsultStatusPipeline, NfceContingencyXmlAuthorizerPipeline, NfceQrcode, type NfceQrcodeOptions, type NfceQrcodeOptions200, type NfceQrcodeOptions300, type NfceQrcodeOptionsBase, type NfceRemoteClient, NfceRemoteTransmitter, type NfceTransmitter, type NfceTransmitterOptions, NfceVoidRangePipeline, NfceXmlBuilder, NfceXmlBuilderPipeline, NfeAuthorizationResponsePipeline, type NfeAuthorizerPayload, NfeAuthorizerPipeline, NfeCancelPipeline, NfeConsultProtocoloPipeline, NfeConsultStatusPipeline, NfeCstatToProtocol, NfeDetXmlBuilder, type NfeRemoteClient, NfeRemoteTransmitter, type NfeTransmitter, type NfeTransmitterOptions, NfeVoidRangePipeline, NfeXmlBuilder, NfeXmlBuilderPipeline, type OptionalSharedImpostoBuilder, type PagBuilder, type PipelineAuthorizerResponse, type PisBuilder, type PisStBuilder, type ProcEventoNFe, type ProdBuilder, type RetAutorizacaoPayload, type RetAutorizacaoRequest, type RetAutorizacaoResponse, type RetCancNFe, type RetEvento, type RetEventoItem, type RetiradaBuilder, type Schema, type SynchronousAutorizacaoResponse, type TotalBuilder, type TotalBuilderAggregator, TpEmis, TpEvent, type TranspBuilder, type VerifiedAccessKey, type VoidRangePayload, XmlValidationError, schemas, type vItemBuilder };