@nfets/client 0.0.0
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/LICENSE +21 -0
- package/dist/index.cjs +209 -0
- package/dist/index.d.cts +1536 -0
- package/dist/index.d.ts +1536 -0
- package/dist/index.js +198 -0
- package/package.json +34 -0
package/dist/index.d.cts
ADDED
|
@@ -0,0 +1,1536 @@
|
|
|
1
|
+
interface AccessKey {
|
|
2
|
+
cUF: string | number;
|
|
3
|
+
year: string | number;
|
|
4
|
+
month: string | number;
|
|
5
|
+
identification?: string;
|
|
6
|
+
mod: string | number;
|
|
7
|
+
serie: string | number;
|
|
8
|
+
nNF: string | number;
|
|
9
|
+
tpEmis: string | number;
|
|
10
|
+
cNF?: string | number;
|
|
11
|
+
}
|
|
12
|
+
interface VerifiedAccessKey extends AccessKey {
|
|
13
|
+
vd: string;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
declare class AccessKeyBuilder {
|
|
17
|
+
compile(payload: AccessKey): string;
|
|
18
|
+
decompile(accessKey: string): VerifiedAccessKey | undefined;
|
|
19
|
+
private code;
|
|
20
|
+
private isCodeValid;
|
|
21
|
+
private verifyingDigit;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
type DecimalValue = string | number | bigint;
|
|
25
|
+
|
|
26
|
+
declare const StateCodes: {
|
|
27
|
+
readonly AC: "12";
|
|
28
|
+
readonly AL: "27";
|
|
29
|
+
readonly AM: "13";
|
|
30
|
+
readonly AP: "16";
|
|
31
|
+
readonly BA: "29";
|
|
32
|
+
readonly CE: "23";
|
|
33
|
+
readonly DF: "53";
|
|
34
|
+
readonly ES: "32";
|
|
35
|
+
readonly GO: "52";
|
|
36
|
+
readonly MA: "21";
|
|
37
|
+
readonly MG: "31";
|
|
38
|
+
readonly MS: "50";
|
|
39
|
+
readonly MT: "51";
|
|
40
|
+
readonly PA: "15";
|
|
41
|
+
readonly PB: "25";
|
|
42
|
+
readonly PE: "26";
|
|
43
|
+
readonly PI: "22";
|
|
44
|
+
readonly PR: "41";
|
|
45
|
+
readonly RJ: "33";
|
|
46
|
+
readonly RN: "24";
|
|
47
|
+
readonly RO: "11";
|
|
48
|
+
readonly RR: "14";
|
|
49
|
+
readonly RS: "43";
|
|
50
|
+
readonly SC: "42";
|
|
51
|
+
readonly SE: "28";
|
|
52
|
+
readonly SP: "35";
|
|
53
|
+
readonly TO: "17";
|
|
54
|
+
};
|
|
55
|
+
declare const StateAcronyms: StateAcronym[];
|
|
56
|
+
type StateCode = (typeof StateCodes)[keyof typeof StateCodes];
|
|
57
|
+
type StateAcronym = keyof typeof StateCodes;
|
|
58
|
+
|
|
59
|
+
declare const Environment: {
|
|
60
|
+
readonly Production: "1";
|
|
61
|
+
readonly Homolog: "2";
|
|
62
|
+
};
|
|
63
|
+
type EnvironmentCode = (typeof Environment)[keyof typeof Environment];
|
|
64
|
+
|
|
65
|
+
declare const SignatureNamespace: "http://www.w3.org/2000/09/xmldsig#";
|
|
66
|
+
declare const CanonicalizationMethod$1: "http://www.w3.org/TR/2001/REC-xml-c14n-20010315";
|
|
67
|
+
declare enum SignatureMethod$1 {
|
|
68
|
+
RSA_SHA1 = "http://www.w3.org/2000/09/xmldsig#rsa-sha1",
|
|
69
|
+
RSA_SHA256 = "http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"
|
|
70
|
+
}
|
|
71
|
+
declare enum SignatureAlgorithm {
|
|
72
|
+
SHA1 = "sha1",
|
|
73
|
+
SHA256 = "sha256"
|
|
74
|
+
}
|
|
75
|
+
declare enum DigestAlgorithm {
|
|
76
|
+
SHA1 = "http://www.w3.org/2000/09/xmldsig#sha1",
|
|
77
|
+
SHA256 = "http://www.w3.org/2001/04/xmlenc#sha256"
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
type Namespaced<T extends object = object> = T & {
|
|
81
|
+
$?: {
|
|
82
|
+
xmlns: string;
|
|
83
|
+
};
|
|
84
|
+
};
|
|
85
|
+
interface SignedInfo {
|
|
86
|
+
CanonicalizationMethod: CanonicalizationMethod;
|
|
87
|
+
SignatureMethod: SignatureMethod;
|
|
88
|
+
Reference: Reference;
|
|
89
|
+
}
|
|
90
|
+
interface CanonicalizationMethod {
|
|
91
|
+
$: {
|
|
92
|
+
Algorithm: 'http://www.w3.org/TR/2001/REC-xml-c14n-20010315';
|
|
93
|
+
};
|
|
94
|
+
}
|
|
95
|
+
interface SignatureMethod {
|
|
96
|
+
$: {
|
|
97
|
+
Algorithm: `${SignatureMethod$1}`;
|
|
98
|
+
};
|
|
99
|
+
}
|
|
100
|
+
interface Reference {
|
|
101
|
+
Transforms: Transforms;
|
|
102
|
+
DigestMethod: DigestMethod;
|
|
103
|
+
DigestValue: string;
|
|
104
|
+
$: {
|
|
105
|
+
URI: string;
|
|
106
|
+
};
|
|
107
|
+
}
|
|
108
|
+
interface Transforms {
|
|
109
|
+
Transform: [
|
|
110
|
+
Transform<'http://www.w3.org/2000/09/xmldsig#enveloped-signature'>,
|
|
111
|
+
Transform<'http://www.w3.org/TR/2001/REC-xml-c14n-20010315'>
|
|
112
|
+
];
|
|
113
|
+
}
|
|
114
|
+
interface Transform<T extends string> {
|
|
115
|
+
$: {
|
|
116
|
+
Algorithm: T;
|
|
117
|
+
};
|
|
118
|
+
}
|
|
119
|
+
interface DigestMethod {
|
|
120
|
+
$: {
|
|
121
|
+
Algorithm: DigestAlgorithm;
|
|
122
|
+
};
|
|
123
|
+
}
|
|
124
|
+
interface KeyInfo {
|
|
125
|
+
X509Data: X509Data;
|
|
126
|
+
}
|
|
127
|
+
interface X509Data {
|
|
128
|
+
X509Certificate: string;
|
|
129
|
+
}
|
|
130
|
+
interface Signature {
|
|
131
|
+
$: {
|
|
132
|
+
xmlns: typeof SignatureNamespace;
|
|
133
|
+
};
|
|
134
|
+
SignedInfo: SignedInfo;
|
|
135
|
+
SignatureValue: string;
|
|
136
|
+
KeyInfo: KeyInfo;
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
declare enum TpEmis {
|
|
140
|
+
Normal = "1",
|
|
141
|
+
EPEC = "4",
|
|
142
|
+
SVCAN = "6",
|
|
143
|
+
SVCRS = "7",
|
|
144
|
+
OFFLINE = "9"
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
interface RefNF {
|
|
148
|
+
cUF: string;
|
|
149
|
+
AAMM: string;
|
|
150
|
+
CNPJ: string;
|
|
151
|
+
mod: string;
|
|
152
|
+
serie: string;
|
|
153
|
+
nNF: string;
|
|
154
|
+
}
|
|
155
|
+
interface RefNFP {
|
|
156
|
+
cUF: string;
|
|
157
|
+
AAMM: string;
|
|
158
|
+
CNPJ?: string;
|
|
159
|
+
CPF?: string;
|
|
160
|
+
IE: string;
|
|
161
|
+
mod: string;
|
|
162
|
+
serie: string;
|
|
163
|
+
nNF: string;
|
|
164
|
+
}
|
|
165
|
+
interface RefECF {
|
|
166
|
+
mod: string;
|
|
167
|
+
nECF: string;
|
|
168
|
+
nCOO: string;
|
|
169
|
+
}
|
|
170
|
+
interface NFref {
|
|
171
|
+
refNFe?: string;
|
|
172
|
+
refNFeSig?: string;
|
|
173
|
+
refNF?: RefNF;
|
|
174
|
+
refNFP?: RefNFP;
|
|
175
|
+
refCTe?: string;
|
|
176
|
+
refECF?: RefECF;
|
|
177
|
+
}
|
|
178
|
+
interface CompraGov {
|
|
179
|
+
tpEnteGov: string;
|
|
180
|
+
pRedutor: DecimalValue;
|
|
181
|
+
tpOperGov: string;
|
|
182
|
+
refDFeAnt?: string;
|
|
183
|
+
}
|
|
184
|
+
interface PagAntecipado {
|
|
185
|
+
refNFe: string[];
|
|
186
|
+
}
|
|
187
|
+
interface Ide {
|
|
188
|
+
cUF: StateCode;
|
|
189
|
+
cNF: string;
|
|
190
|
+
natOp: string;
|
|
191
|
+
mod: string;
|
|
192
|
+
serie: string;
|
|
193
|
+
nNF: string;
|
|
194
|
+
dhEmi: string;
|
|
195
|
+
dhSaiEnt?: string;
|
|
196
|
+
dPrevEntrega?: string;
|
|
197
|
+
tpNF: string;
|
|
198
|
+
idDest: string;
|
|
199
|
+
cMunFG: string;
|
|
200
|
+
cMunFGIBS?: string;
|
|
201
|
+
tpImp: string;
|
|
202
|
+
tpEmis: TpEmis;
|
|
203
|
+
cDV?: string;
|
|
204
|
+
tpAmb: EnvironmentCode;
|
|
205
|
+
finNFe: string;
|
|
206
|
+
tpNFDebito?: string;
|
|
207
|
+
tpNFCredito?: string;
|
|
208
|
+
indFinal: string;
|
|
209
|
+
indPres: string;
|
|
210
|
+
indIntermed?: string;
|
|
211
|
+
cIndOp?: string;
|
|
212
|
+
procEmi: string;
|
|
213
|
+
verProc: string;
|
|
214
|
+
dhCont?: string;
|
|
215
|
+
xJust?: string;
|
|
216
|
+
NFref?: NFref[];
|
|
217
|
+
gCompraGov?: CompraGov;
|
|
218
|
+
gPagAntecipado?: PagAntecipado;
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
interface EnderEmit {
|
|
222
|
+
xLgr: string;
|
|
223
|
+
nro: string;
|
|
224
|
+
xCpl?: string;
|
|
225
|
+
xBairro: string;
|
|
226
|
+
cMun: string;
|
|
227
|
+
xMun: string;
|
|
228
|
+
UF: string;
|
|
229
|
+
CEP: string;
|
|
230
|
+
cPais?: string;
|
|
231
|
+
xPais?: string;
|
|
232
|
+
fone?: string;
|
|
233
|
+
}
|
|
234
|
+
interface Emit {
|
|
235
|
+
CNPJ?: string;
|
|
236
|
+
CPF?: string;
|
|
237
|
+
xNome: string;
|
|
238
|
+
xFant?: string;
|
|
239
|
+
enderEmit: EnderEmit;
|
|
240
|
+
IE: string;
|
|
241
|
+
IEST?: string;
|
|
242
|
+
IM?: string;
|
|
243
|
+
CNAE?: string;
|
|
244
|
+
CRT: string;
|
|
245
|
+
ISUFEmit?: string;
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
interface Avulsa {
|
|
249
|
+
CNPJ: string;
|
|
250
|
+
xOrgao: string;
|
|
251
|
+
matr: string;
|
|
252
|
+
xAgente: string;
|
|
253
|
+
fone?: string;
|
|
254
|
+
UF: string;
|
|
255
|
+
nDAR?: string;
|
|
256
|
+
dEmi?: Date;
|
|
257
|
+
vDAR?: DecimalValue;
|
|
258
|
+
repEmi?: string;
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
interface EnderDest {
|
|
262
|
+
xLgr?: string;
|
|
263
|
+
nro?: string;
|
|
264
|
+
xCpl?: string;
|
|
265
|
+
xBairro?: string;
|
|
266
|
+
cMun?: string;
|
|
267
|
+
xMun?: string;
|
|
268
|
+
UF?: string;
|
|
269
|
+
CEP?: string;
|
|
270
|
+
cPais?: string;
|
|
271
|
+
xPais?: string;
|
|
272
|
+
fone?: string;
|
|
273
|
+
}
|
|
274
|
+
interface Dest {
|
|
275
|
+
CNPJ?: string;
|
|
276
|
+
CPF?: string;
|
|
277
|
+
idEstrangeiro?: string;
|
|
278
|
+
xNome?: string;
|
|
279
|
+
enderDest?: EnderDest;
|
|
280
|
+
indIEDest: string;
|
|
281
|
+
IE?: string;
|
|
282
|
+
ISUF?: string;
|
|
283
|
+
IM?: string;
|
|
284
|
+
email?: string;
|
|
285
|
+
}
|
|
286
|
+
|
|
287
|
+
interface Local {
|
|
288
|
+
CNPJ?: string;
|
|
289
|
+
CPF?: string;
|
|
290
|
+
xNome?: string;
|
|
291
|
+
xLgr: string;
|
|
292
|
+
nro: string;
|
|
293
|
+
xCpl?: string;
|
|
294
|
+
xBairro: string;
|
|
295
|
+
cMun: string;
|
|
296
|
+
xMun: string;
|
|
297
|
+
UF: string;
|
|
298
|
+
CEP?: string;
|
|
299
|
+
cPais?: string;
|
|
300
|
+
xPais?: string;
|
|
301
|
+
fone?: string;
|
|
302
|
+
email?: string;
|
|
303
|
+
IE?: string;
|
|
304
|
+
}
|
|
305
|
+
|
|
306
|
+
interface AutXML {
|
|
307
|
+
CNPJ?: string;
|
|
308
|
+
CPF?: string;
|
|
309
|
+
}
|
|
310
|
+
|
|
311
|
+
interface InfIntermed {
|
|
312
|
+
CNPJ: string;
|
|
313
|
+
idCadIntTran?: string;
|
|
314
|
+
}
|
|
315
|
+
|
|
316
|
+
interface Exporta {
|
|
317
|
+
UFSaidaPais: string;
|
|
318
|
+
xLocExporta?: string;
|
|
319
|
+
xLocDespacho?: string;
|
|
320
|
+
}
|
|
321
|
+
|
|
322
|
+
interface Compra {
|
|
323
|
+
xNEmp?: string;
|
|
324
|
+
xPed?: string;
|
|
325
|
+
xCont?: string;
|
|
326
|
+
}
|
|
327
|
+
|
|
328
|
+
interface InfRespTec {
|
|
329
|
+
CNPJ: string;
|
|
330
|
+
xContato: string;
|
|
331
|
+
email: string;
|
|
332
|
+
fone: string;
|
|
333
|
+
idCSRT?: string;
|
|
334
|
+
hashCSRT?: string;
|
|
335
|
+
}
|
|
336
|
+
|
|
337
|
+
interface Adi {
|
|
338
|
+
nAdicao: string;
|
|
339
|
+
nSeqAdic: string;
|
|
340
|
+
cFabricante: string;
|
|
341
|
+
vDescDI: DecimalValue;
|
|
342
|
+
nDraw?: string;
|
|
343
|
+
}
|
|
344
|
+
interface DI {
|
|
345
|
+
nDI: string;
|
|
346
|
+
dDI: string;
|
|
347
|
+
xLocDesemb: string;
|
|
348
|
+
UFDesemb: string;
|
|
349
|
+
dDesemb: string;
|
|
350
|
+
tpViaTransp: string;
|
|
351
|
+
vAFRMM?: DecimalValue;
|
|
352
|
+
tpIntermedio: string;
|
|
353
|
+
CNPJ?: string;
|
|
354
|
+
CPF?: string;
|
|
355
|
+
UFTerceiro?: string;
|
|
356
|
+
adi: [Adi, ...Adi[]];
|
|
357
|
+
}
|
|
358
|
+
|
|
359
|
+
interface ExportInd {
|
|
360
|
+
nRE: string;
|
|
361
|
+
chNFe: string;
|
|
362
|
+
qExport: DecimalValue;
|
|
363
|
+
}
|
|
364
|
+
interface DetExport {
|
|
365
|
+
nDraw?: string;
|
|
366
|
+
exportInd?: ExportInd;
|
|
367
|
+
}
|
|
368
|
+
|
|
369
|
+
interface Rastro {
|
|
370
|
+
nLote: string;
|
|
371
|
+
qLote: DecimalValue;
|
|
372
|
+
dFab: string;
|
|
373
|
+
dVal: string;
|
|
374
|
+
cAgreg?: string;
|
|
375
|
+
}
|
|
376
|
+
|
|
377
|
+
interface InfProdNFF {
|
|
378
|
+
cProdFisco: string;
|
|
379
|
+
cOperNFF: string;
|
|
380
|
+
}
|
|
381
|
+
|
|
382
|
+
interface InfProdEmb {
|
|
383
|
+
xEmb: string;
|
|
384
|
+
qVolEmb: DecimalValue;
|
|
385
|
+
uEmb: string;
|
|
386
|
+
}
|
|
387
|
+
|
|
388
|
+
interface VeicProd {
|
|
389
|
+
tpOp: string;
|
|
390
|
+
chassi: string;
|
|
391
|
+
cCor: string;
|
|
392
|
+
xCor: string;
|
|
393
|
+
pot: string;
|
|
394
|
+
cilin: string;
|
|
395
|
+
pesoL: string;
|
|
396
|
+
pesoB: string;
|
|
397
|
+
nSerie?: string;
|
|
398
|
+
tpComb: string;
|
|
399
|
+
nMotor: string;
|
|
400
|
+
CMT: string;
|
|
401
|
+
dist: string;
|
|
402
|
+
anoMod: string;
|
|
403
|
+
anoFab: string;
|
|
404
|
+
tpPint: string;
|
|
405
|
+
tpVeic: string;
|
|
406
|
+
espVeic: string;
|
|
407
|
+
VIN: string;
|
|
408
|
+
condVeic: string;
|
|
409
|
+
cMod: string;
|
|
410
|
+
cCorDENATRAN: string;
|
|
411
|
+
lota: string;
|
|
412
|
+
tpRest: string;
|
|
413
|
+
}
|
|
414
|
+
|
|
415
|
+
interface Med {
|
|
416
|
+
cProdANVISA: string;
|
|
417
|
+
xMotivoIsencao: string;
|
|
418
|
+
vPMC: DecimalValue;
|
|
419
|
+
}
|
|
420
|
+
|
|
421
|
+
interface Arma {
|
|
422
|
+
tpArma: string;
|
|
423
|
+
nSerie: string;
|
|
424
|
+
nCano: string;
|
|
425
|
+
descr: string;
|
|
426
|
+
}
|
|
427
|
+
|
|
428
|
+
interface OrigComb {
|
|
429
|
+
indImport: string;
|
|
430
|
+
cUFOrig: string;
|
|
431
|
+
pOrig: DecimalValue;
|
|
432
|
+
}
|
|
433
|
+
interface CIDE {
|
|
434
|
+
qBCProd: DecimalValue;
|
|
435
|
+
vAliqProd: DecimalValue;
|
|
436
|
+
vCIDE: DecimalValue;
|
|
437
|
+
}
|
|
438
|
+
interface Encerrante {
|
|
439
|
+
nBico: string;
|
|
440
|
+
nBomba?: string;
|
|
441
|
+
nTanque: string;
|
|
442
|
+
vEncIni: DecimalValue;
|
|
443
|
+
vEncFin: DecimalValue;
|
|
444
|
+
}
|
|
445
|
+
interface Comb {
|
|
446
|
+
cProdANP: string;
|
|
447
|
+
descANP: string;
|
|
448
|
+
pGLP?: DecimalValue;
|
|
449
|
+
pGNn?: DecimalValue;
|
|
450
|
+
pGNi?: DecimalValue;
|
|
451
|
+
vPart?: DecimalValue;
|
|
452
|
+
CODIF?: string;
|
|
453
|
+
qTemp?: DecimalValue;
|
|
454
|
+
UFCons: string;
|
|
455
|
+
CIDE?: CIDE;
|
|
456
|
+
encerrante?: Encerrante;
|
|
457
|
+
pBio?: DecimalValue;
|
|
458
|
+
origComb?: OrigComb[];
|
|
459
|
+
}
|
|
460
|
+
|
|
461
|
+
interface GCred {
|
|
462
|
+
cCredPresumido: string;
|
|
463
|
+
pCredPresumido: DecimalValue;
|
|
464
|
+
vCredPresumido: DecimalValue;
|
|
465
|
+
}
|
|
466
|
+
|
|
467
|
+
interface Prod {
|
|
468
|
+
cProd: string;
|
|
469
|
+
cEAN?: string;
|
|
470
|
+
cBarra?: string;
|
|
471
|
+
xProd: string;
|
|
472
|
+
NCM: string;
|
|
473
|
+
NVE?: string[];
|
|
474
|
+
CEST?: string;
|
|
475
|
+
indEscala?: string;
|
|
476
|
+
CNPJFab?: string;
|
|
477
|
+
cBenef?: string;
|
|
478
|
+
gCred?: GCred[];
|
|
479
|
+
tpCredPresIBSZFM?: string;
|
|
480
|
+
EXTIPI?: string;
|
|
481
|
+
CFOP: string;
|
|
482
|
+
uCom: string;
|
|
483
|
+
qCom: DecimalValue;
|
|
484
|
+
vUnCom: DecimalValue;
|
|
485
|
+
vProd: DecimalValue;
|
|
486
|
+
cEANTrib?: string;
|
|
487
|
+
cBarraTrib?: string;
|
|
488
|
+
uTrib: string;
|
|
489
|
+
qTrib: DecimalValue;
|
|
490
|
+
vUnTrib: DecimalValue;
|
|
491
|
+
vFrete?: DecimalValue;
|
|
492
|
+
vSeg?: DecimalValue;
|
|
493
|
+
vDesc?: DecimalValue;
|
|
494
|
+
vOutro?: DecimalValue;
|
|
495
|
+
indTot?: string;
|
|
496
|
+
indBemMovelUsado?: string;
|
|
497
|
+
DI?: DI[];
|
|
498
|
+
detExport?: DetExport[];
|
|
499
|
+
xPed?: string;
|
|
500
|
+
nItemPed?: string;
|
|
501
|
+
nFCI?: string;
|
|
502
|
+
rastro?: Rastro[];
|
|
503
|
+
infProdNFF?: InfProdNFF;
|
|
504
|
+
infProdEmb?: InfProdEmb;
|
|
505
|
+
veicProd?: VeicProd;
|
|
506
|
+
med?: Med;
|
|
507
|
+
arma?: Arma[];
|
|
508
|
+
comb?: Comb;
|
|
509
|
+
nRECOPI?: string;
|
|
510
|
+
}
|
|
511
|
+
|
|
512
|
+
interface Devol {
|
|
513
|
+
pDevol: string;
|
|
514
|
+
IPI?: IpiDevol;
|
|
515
|
+
}
|
|
516
|
+
interface IpiDevol {
|
|
517
|
+
vIPIDevol: string;
|
|
518
|
+
}
|
|
519
|
+
|
|
520
|
+
type ICMSStandard = Pick<ICMS, 'ICMS00' | 'ICMS02' | 'ICMS10' | 'ICMS15' | 'ICMS20' | 'ICMS30' | 'ICMS40' | 'ICMS51' | 'ICMS53' | 'ICMS60' | 'ICMS61' | 'ICMS70' | 'ICMS90'>;
|
|
521
|
+
type ICMSSN = Pick<ICMS, 'ICMSSN101' | 'ICMSSN102' | 'ICMSSN201' | 'ICMSSN202' | 'ICMSSN500' | 'ICMSSN900'>;
|
|
522
|
+
interface ICMS {
|
|
523
|
+
ICMS00?: ICMS00;
|
|
524
|
+
ICMS02?: ICMS02;
|
|
525
|
+
ICMS10?: ICMS10;
|
|
526
|
+
ICMS15?: ICMS15;
|
|
527
|
+
ICMS20?: ICMS20;
|
|
528
|
+
ICMS30?: ICMS30;
|
|
529
|
+
ICMS40?: ICMS40;
|
|
530
|
+
ICMS51?: ICMS51;
|
|
531
|
+
ICMS53?: ICMS53;
|
|
532
|
+
ICMS60?: ICMS60;
|
|
533
|
+
ICMS61?: ICMS61;
|
|
534
|
+
ICMS70?: ICMS70;
|
|
535
|
+
ICMS90?: ICMS90;
|
|
536
|
+
ICMSPart?: ICMSPart;
|
|
537
|
+
ICMSST?: ICMSST;
|
|
538
|
+
ICMSSN101?: ICMSSN101;
|
|
539
|
+
ICMSSN102?: ICMSSN102;
|
|
540
|
+
ICMSSN201?: ICMSSN201;
|
|
541
|
+
ICMSSN202?: ICMSSN202;
|
|
542
|
+
ICMSSN500?: ICMSSN500;
|
|
543
|
+
ICMSSN900?: ICMSSN900;
|
|
544
|
+
}
|
|
545
|
+
interface ICMS00 {
|
|
546
|
+
orig: string;
|
|
547
|
+
CST: string;
|
|
548
|
+
modBC?: string;
|
|
549
|
+
vBC?: DecimalValue;
|
|
550
|
+
pICMS?: DecimalValue;
|
|
551
|
+
vICMS?: DecimalValue;
|
|
552
|
+
vBCFCP?: DecimalValue;
|
|
553
|
+
pFCP?: DecimalValue;
|
|
554
|
+
vFCP?: DecimalValue;
|
|
555
|
+
}
|
|
556
|
+
interface ICMS02 {
|
|
557
|
+
orig: string;
|
|
558
|
+
CST: string;
|
|
559
|
+
qBCMono?: DecimalValue;
|
|
560
|
+
adRemICMS: DecimalValue;
|
|
561
|
+
vICMSMono: DecimalValue;
|
|
562
|
+
}
|
|
563
|
+
interface ICMS10 {
|
|
564
|
+
orig: string;
|
|
565
|
+
CST: string;
|
|
566
|
+
modBC?: string;
|
|
567
|
+
vBC?: DecimalValue;
|
|
568
|
+
pICMS?: DecimalValue;
|
|
569
|
+
vICMS?: DecimalValue;
|
|
570
|
+
vBCFCP?: DecimalValue;
|
|
571
|
+
pFCP?: DecimalValue;
|
|
572
|
+
vFCP?: DecimalValue;
|
|
573
|
+
modBCST?: string;
|
|
574
|
+
pMVAST?: DecimalValue;
|
|
575
|
+
pRedBCST?: DecimalValue;
|
|
576
|
+
vBCST?: DecimalValue;
|
|
577
|
+
pICMSST?: DecimalValue;
|
|
578
|
+
vICMSST?: DecimalValue;
|
|
579
|
+
vBCFCPST?: DecimalValue;
|
|
580
|
+
pFCPST?: DecimalValue;
|
|
581
|
+
vFCPST?: DecimalValue;
|
|
582
|
+
}
|
|
583
|
+
interface ICMS15 {
|
|
584
|
+
orig: string;
|
|
585
|
+
CST: string;
|
|
586
|
+
qBCMono?: DecimalValue;
|
|
587
|
+
adRemICMS: DecimalValue;
|
|
588
|
+
vICMSMono: DecimalValue;
|
|
589
|
+
qBCMonoReten?: DecimalValue;
|
|
590
|
+
adRemICMSReten: DecimalValue;
|
|
591
|
+
vICMSMonoReten: DecimalValue;
|
|
592
|
+
pRedAdRem?: DecimalValue;
|
|
593
|
+
motRedAdRem?: string;
|
|
594
|
+
}
|
|
595
|
+
interface ICMS20 {
|
|
596
|
+
orig: string;
|
|
597
|
+
CST: string;
|
|
598
|
+
modBC?: string;
|
|
599
|
+
pRedBC?: DecimalValue;
|
|
600
|
+
vBC?: DecimalValue;
|
|
601
|
+
pICMS?: DecimalValue;
|
|
602
|
+
vICMS?: DecimalValue;
|
|
603
|
+
vBCFCP?: DecimalValue;
|
|
604
|
+
pFCP?: DecimalValue;
|
|
605
|
+
vFCP?: DecimalValue;
|
|
606
|
+
vICMSDeson?: DecimalValue;
|
|
607
|
+
motDesICMS?: string;
|
|
608
|
+
indDeduzDeson?: string;
|
|
609
|
+
}
|
|
610
|
+
interface ICMS30 {
|
|
611
|
+
orig: string;
|
|
612
|
+
CST: string;
|
|
613
|
+
modBCST?: string;
|
|
614
|
+
pMVAST?: DecimalValue;
|
|
615
|
+
pRedBCST?: DecimalValue;
|
|
616
|
+
vBCST?: DecimalValue;
|
|
617
|
+
pICMSST?: DecimalValue;
|
|
618
|
+
vICMSST?: DecimalValue;
|
|
619
|
+
vBCFCPST?: DecimalValue;
|
|
620
|
+
pFCPST?: DecimalValue;
|
|
621
|
+
vFCPST?: DecimalValue;
|
|
622
|
+
vICMSDeson?: DecimalValue;
|
|
623
|
+
motDesICMS?: string;
|
|
624
|
+
indDeduzDeson?: string;
|
|
625
|
+
}
|
|
626
|
+
interface ICMS40 {
|
|
627
|
+
orig: string;
|
|
628
|
+
CST: string;
|
|
629
|
+
vICMSDeson?: DecimalValue;
|
|
630
|
+
motDesICMS?: string;
|
|
631
|
+
indDeduzDeson?: string;
|
|
632
|
+
}
|
|
633
|
+
interface ICMS51 {
|
|
634
|
+
orig: string;
|
|
635
|
+
CST: string;
|
|
636
|
+
modBC?: string;
|
|
637
|
+
pRedBC?: DecimalValue;
|
|
638
|
+
vBC?: DecimalValue;
|
|
639
|
+
pICMS?: DecimalValue;
|
|
640
|
+
vICMS?: DecimalValue;
|
|
641
|
+
pDif?: DecimalValue;
|
|
642
|
+
vICMSDif?: DecimalValue;
|
|
643
|
+
}
|
|
644
|
+
interface ICMS53 {
|
|
645
|
+
orig: string;
|
|
646
|
+
CST: string;
|
|
647
|
+
qBCMono?: DecimalValue;
|
|
648
|
+
adRemICMS?: DecimalValue;
|
|
649
|
+
vICMSMonoOp?: DecimalValue;
|
|
650
|
+
pDif?: DecimalValue;
|
|
651
|
+
vICMSMonoDif?: DecimalValue;
|
|
652
|
+
vICMSMono?: DecimalValue;
|
|
653
|
+
qBCMonoDif?: DecimalValue;
|
|
654
|
+
adRemICMSDif?: DecimalValue;
|
|
655
|
+
}
|
|
656
|
+
interface ICMS60 {
|
|
657
|
+
orig: string;
|
|
658
|
+
CST: string;
|
|
659
|
+
vBCSTRet?: DecimalValue;
|
|
660
|
+
pST?: DecimalValue;
|
|
661
|
+
vICMSSubstituto?: DecimalValue;
|
|
662
|
+
vICMSSTRet?: DecimalValue;
|
|
663
|
+
vBCFCPSTRet?: DecimalValue;
|
|
664
|
+
pFCPSTRet?: DecimalValue;
|
|
665
|
+
vFCPSTRet?: DecimalValue;
|
|
666
|
+
pRedBCEfet?: DecimalValue;
|
|
667
|
+
vBCEfet?: DecimalValue;
|
|
668
|
+
pICMSEfet?: DecimalValue;
|
|
669
|
+
vICMSEfet?: DecimalValue;
|
|
670
|
+
}
|
|
671
|
+
interface ICMS61 {
|
|
672
|
+
orig: string;
|
|
673
|
+
CST: string;
|
|
674
|
+
qBCMonoRet?: DecimalValue;
|
|
675
|
+
adRemICMSRet: DecimalValue;
|
|
676
|
+
vICMSMonoRet: DecimalValue;
|
|
677
|
+
}
|
|
678
|
+
interface ICMS70 {
|
|
679
|
+
orig: string;
|
|
680
|
+
CST: string;
|
|
681
|
+
modBC?: string;
|
|
682
|
+
pRedBC?: DecimalValue;
|
|
683
|
+
vBC?: DecimalValue;
|
|
684
|
+
pICMS?: DecimalValue;
|
|
685
|
+
vICMS?: DecimalValue;
|
|
686
|
+
vBCFCP?: DecimalValue;
|
|
687
|
+
pFCP?: DecimalValue;
|
|
688
|
+
vFCP?: DecimalValue;
|
|
689
|
+
vICMSDeson?: DecimalValue;
|
|
690
|
+
motDesICMS?: string;
|
|
691
|
+
modBCST?: string;
|
|
692
|
+
pMVAST?: DecimalValue;
|
|
693
|
+
pRedBCST?: DecimalValue;
|
|
694
|
+
vBCST?: DecimalValue;
|
|
695
|
+
pICMSST?: DecimalValue;
|
|
696
|
+
vICMSST?: DecimalValue;
|
|
697
|
+
vBCFCPST?: DecimalValue;
|
|
698
|
+
pFCPST?: DecimalValue;
|
|
699
|
+
vFCPST?: DecimalValue;
|
|
700
|
+
indDeduzDeson?: string;
|
|
701
|
+
}
|
|
702
|
+
interface ICMS90 {
|
|
703
|
+
orig: string;
|
|
704
|
+
CST: string;
|
|
705
|
+
modBC?: string;
|
|
706
|
+
pRedBC?: DecimalValue;
|
|
707
|
+
vBC?: DecimalValue;
|
|
708
|
+
pICMS?: DecimalValue;
|
|
709
|
+
vICMS?: DecimalValue;
|
|
710
|
+
vBCFCP?: DecimalValue;
|
|
711
|
+
pFCP?: DecimalValue;
|
|
712
|
+
vFCP?: DecimalValue;
|
|
713
|
+
vICMSDeson?: DecimalValue;
|
|
714
|
+
motDesICMS?: string;
|
|
715
|
+
modBCST?: string;
|
|
716
|
+
pMVAST?: DecimalValue;
|
|
717
|
+
pRedBCST?: DecimalValue;
|
|
718
|
+
vBCST?: DecimalValue;
|
|
719
|
+
pICMSST?: DecimalValue;
|
|
720
|
+
vICMSST?: DecimalValue;
|
|
721
|
+
vBCFCPST?: DecimalValue;
|
|
722
|
+
pFCPST?: DecimalValue;
|
|
723
|
+
vFCPST?: DecimalValue;
|
|
724
|
+
indDeduzDeson?: string;
|
|
725
|
+
}
|
|
726
|
+
interface ICMSSN101 {
|
|
727
|
+
orig: string;
|
|
728
|
+
CSOSN: string;
|
|
729
|
+
pCredSN?: DecimalValue;
|
|
730
|
+
vCredICMSSN?: DecimalValue;
|
|
731
|
+
}
|
|
732
|
+
interface ICMSSN102 {
|
|
733
|
+
orig: string;
|
|
734
|
+
CSOSN: string;
|
|
735
|
+
}
|
|
736
|
+
interface ICMSSN201 {
|
|
737
|
+
orig: string;
|
|
738
|
+
CSOSN: string;
|
|
739
|
+
modBCST?: DecimalValue;
|
|
740
|
+
vBCST?: DecimalValue;
|
|
741
|
+
pICMSST?: DecimalValue;
|
|
742
|
+
vICMSST?: DecimalValue;
|
|
743
|
+
pCredSN?: DecimalValue;
|
|
744
|
+
vCredICMSSN?: DecimalValue;
|
|
745
|
+
}
|
|
746
|
+
interface ICMSSN202 {
|
|
747
|
+
orig: string;
|
|
748
|
+
CSOSN: string;
|
|
749
|
+
modBCST?: string;
|
|
750
|
+
vBCST?: DecimalValue;
|
|
751
|
+
pICMSST?: DecimalValue;
|
|
752
|
+
vICMSST?: DecimalValue;
|
|
753
|
+
}
|
|
754
|
+
interface ICMSSN500 {
|
|
755
|
+
orig: string;
|
|
756
|
+
CSOSN: string;
|
|
757
|
+
vBCSTRet?: DecimalValue;
|
|
758
|
+
pST?: DecimalValue;
|
|
759
|
+
vICMSSubstituto?: DecimalValue;
|
|
760
|
+
vICMSSTRet?: DecimalValue;
|
|
761
|
+
}
|
|
762
|
+
interface ICMSSN900 {
|
|
763
|
+
orig: string;
|
|
764
|
+
CSOSN: string;
|
|
765
|
+
modBC?: DecimalValue;
|
|
766
|
+
vBC?: DecimalValue;
|
|
767
|
+
pRedBC?: DecimalValue;
|
|
768
|
+
pICMS?: DecimalValue;
|
|
769
|
+
vICMS?: DecimalValue;
|
|
770
|
+
modBCST?: string;
|
|
771
|
+
vBCST?: DecimalValue;
|
|
772
|
+
pICMSST?: DecimalValue;
|
|
773
|
+
vICMSST?: DecimalValue;
|
|
774
|
+
pCredSN?: DecimalValue;
|
|
775
|
+
vCredICMSSN?: DecimalValue;
|
|
776
|
+
}
|
|
777
|
+
interface ICMSPart {
|
|
778
|
+
orig: string;
|
|
779
|
+
CST: string;
|
|
780
|
+
modBC?: string;
|
|
781
|
+
vBC?: DecimalValue;
|
|
782
|
+
pRedBC?: DecimalValue;
|
|
783
|
+
pICMS?: DecimalValue;
|
|
784
|
+
vICMS?: DecimalValue;
|
|
785
|
+
modBCST?: string;
|
|
786
|
+
pMVAST?: DecimalValue;
|
|
787
|
+
pRedBCST?: DecimalValue;
|
|
788
|
+
vBCST?: DecimalValue;
|
|
789
|
+
pICMSST?: DecimalValue;
|
|
790
|
+
vICMSST?: DecimalValue;
|
|
791
|
+
pBCOp?: DecimalValue;
|
|
792
|
+
UFST?: string;
|
|
793
|
+
}
|
|
794
|
+
interface ICMSST {
|
|
795
|
+
orig: string;
|
|
796
|
+
CST: string;
|
|
797
|
+
vBCSTRet?: DecimalValue;
|
|
798
|
+
pST?: DecimalValue;
|
|
799
|
+
vICMSSubstituto?: DecimalValue;
|
|
800
|
+
vICMSSTRet?: DecimalValue;
|
|
801
|
+
}
|
|
802
|
+
|
|
803
|
+
interface IPI {
|
|
804
|
+
CNPJProd?: string;
|
|
805
|
+
cSelo?: string;
|
|
806
|
+
qSelo?: string;
|
|
807
|
+
cEnq: string;
|
|
808
|
+
IPITrib?: IPITrib;
|
|
809
|
+
IPINT?: IPINT;
|
|
810
|
+
}
|
|
811
|
+
interface IPITrib {
|
|
812
|
+
CST: string;
|
|
813
|
+
vBC?: string;
|
|
814
|
+
pIPI?: string;
|
|
815
|
+
qUnid?: string;
|
|
816
|
+
vUnid?: string;
|
|
817
|
+
vIPI?: string;
|
|
818
|
+
}
|
|
819
|
+
interface IPINT {
|
|
820
|
+
CST: string;
|
|
821
|
+
}
|
|
822
|
+
|
|
823
|
+
interface II {
|
|
824
|
+
vBC?: string;
|
|
825
|
+
vDespAdu?: string;
|
|
826
|
+
vII?: string;
|
|
827
|
+
vIOF?: string;
|
|
828
|
+
}
|
|
829
|
+
|
|
830
|
+
interface ISSQN {
|
|
831
|
+
vBC: DecimalValue;
|
|
832
|
+
vAliq: DecimalValue;
|
|
833
|
+
vISSQN: DecimalValue;
|
|
834
|
+
cMunFG: string;
|
|
835
|
+
cListServ: string;
|
|
836
|
+
vDeducao?: DecimalValue;
|
|
837
|
+
vOutro?: DecimalValue;
|
|
838
|
+
vDescIncond?: DecimalValue;
|
|
839
|
+
vDescCond?: DecimalValue;
|
|
840
|
+
vISSRet?: DecimalValue;
|
|
841
|
+
indISS: string;
|
|
842
|
+
cServico?: string;
|
|
843
|
+
cMun?: string;
|
|
844
|
+
cPais?: string;
|
|
845
|
+
nProcesso?: string;
|
|
846
|
+
indIncentivo: string;
|
|
847
|
+
}
|
|
848
|
+
|
|
849
|
+
interface PIS {
|
|
850
|
+
PISAliq?: PISAliq;
|
|
851
|
+
PISQtde?: PISQtde;
|
|
852
|
+
PISNT?: PISNT;
|
|
853
|
+
PISOutr?: PISOutr;
|
|
854
|
+
}
|
|
855
|
+
interface PISST {
|
|
856
|
+
vBC?: string;
|
|
857
|
+
pPIS?: string;
|
|
858
|
+
qBCProd?: string;
|
|
859
|
+
vAliqProd?: string;
|
|
860
|
+
vPIS?: string;
|
|
861
|
+
}
|
|
862
|
+
interface PISAliq {
|
|
863
|
+
CST: string;
|
|
864
|
+
vBC?: string;
|
|
865
|
+
pPIS?: string;
|
|
866
|
+
vPIS?: string;
|
|
867
|
+
}
|
|
868
|
+
interface PISQtde {
|
|
869
|
+
CST: string;
|
|
870
|
+
qBCProd?: string;
|
|
871
|
+
vAliqProd?: string;
|
|
872
|
+
vPIS?: string;
|
|
873
|
+
}
|
|
874
|
+
interface PISNT {
|
|
875
|
+
CST: string;
|
|
876
|
+
}
|
|
877
|
+
interface PISOutr {
|
|
878
|
+
CST: string;
|
|
879
|
+
vBC?: string;
|
|
880
|
+
pPIS?: string;
|
|
881
|
+
qBCProd?: string;
|
|
882
|
+
vAliqProd?: string;
|
|
883
|
+
vPIS?: string;
|
|
884
|
+
}
|
|
885
|
+
|
|
886
|
+
interface COFINS {
|
|
887
|
+
COFINSAliq?: COFINSAliq;
|
|
888
|
+
COFINSQtde?: COFINSQtde;
|
|
889
|
+
COFINSNT?: COFINSNT;
|
|
890
|
+
COFINSOutr?: COFINSOutr;
|
|
891
|
+
}
|
|
892
|
+
interface COFINSAliq {
|
|
893
|
+
CST: string;
|
|
894
|
+
vBC?: string;
|
|
895
|
+
pCOFINS?: string;
|
|
896
|
+
vCOFINS?: string;
|
|
897
|
+
}
|
|
898
|
+
interface COFINSQtde {
|
|
899
|
+
CST: string;
|
|
900
|
+
qBCProd?: string;
|
|
901
|
+
vAliqProd?: string;
|
|
902
|
+
vCOFINS?: string;
|
|
903
|
+
}
|
|
904
|
+
interface COFINSNT {
|
|
905
|
+
CST: string;
|
|
906
|
+
}
|
|
907
|
+
interface COFINSOutr {
|
|
908
|
+
CST: string;
|
|
909
|
+
vBC?: string;
|
|
910
|
+
pCOFINS?: string;
|
|
911
|
+
qBCProd?: string;
|
|
912
|
+
vAliqProd?: string;
|
|
913
|
+
vCOFINS?: string;
|
|
914
|
+
}
|
|
915
|
+
interface COFINSST {
|
|
916
|
+
vBC?: string;
|
|
917
|
+
pCOFINS?: string;
|
|
918
|
+
qBCProd?: string;
|
|
919
|
+
vAliqProd?: string;
|
|
920
|
+
vCOFINS?: string;
|
|
921
|
+
}
|
|
922
|
+
|
|
923
|
+
interface ICMSUFDest {
|
|
924
|
+
vBCUFDest?: string;
|
|
925
|
+
vBCFCPUFDest?: string;
|
|
926
|
+
pFCPUFDest?: string;
|
|
927
|
+
pICMSUFDest?: string;
|
|
928
|
+
pICMSInter?: string;
|
|
929
|
+
pICMSInterPart?: string;
|
|
930
|
+
vFCPUFDest?: string;
|
|
931
|
+
vICMSUFDest?: string;
|
|
932
|
+
vICMSUFRemet?: string;
|
|
933
|
+
}
|
|
934
|
+
|
|
935
|
+
interface TransferenciaCredito {
|
|
936
|
+
vIBS?: string;
|
|
937
|
+
vCBS?: string;
|
|
938
|
+
}
|
|
939
|
+
|
|
940
|
+
interface CredPresIBSZFM {
|
|
941
|
+
tpCredPresIBSZFM: string;
|
|
942
|
+
vCredPresIBSZFM: string;
|
|
943
|
+
competApur: string;
|
|
944
|
+
}
|
|
945
|
+
|
|
946
|
+
interface CredPresOper {
|
|
947
|
+
gIBSCredPres?: IBSCredPres;
|
|
948
|
+
gCBSCredPres?: CBSCredPres;
|
|
949
|
+
vBCCredPres: string;
|
|
950
|
+
cCredPres: string;
|
|
951
|
+
}
|
|
952
|
+
interface IBSCredPres {
|
|
953
|
+
vCredPresCondSus: string;
|
|
954
|
+
pCredPres: string;
|
|
955
|
+
vCredPres: string;
|
|
956
|
+
}
|
|
957
|
+
interface CBSCredPres {
|
|
958
|
+
vCredPresCondSus: string;
|
|
959
|
+
pCredPres: string;
|
|
960
|
+
vCredPres: string;
|
|
961
|
+
}
|
|
962
|
+
|
|
963
|
+
interface EstornoCred {
|
|
964
|
+
vIBSEstCred: string;
|
|
965
|
+
vCBSEstCred: string;
|
|
966
|
+
}
|
|
967
|
+
|
|
968
|
+
interface AjusteCompet {
|
|
969
|
+
competApur: string;
|
|
970
|
+
vCBS: string;
|
|
971
|
+
vIBS: string;
|
|
972
|
+
}
|
|
973
|
+
|
|
974
|
+
interface MonoPadrao {
|
|
975
|
+
qBCMono: DecimalValue;
|
|
976
|
+
adRemIBS: DecimalValue;
|
|
977
|
+
adRemCBS: DecimalValue;
|
|
978
|
+
vIBSMono: DecimalValue;
|
|
979
|
+
vCBSMono: DecimalValue;
|
|
980
|
+
}
|
|
981
|
+
interface MonoReten {
|
|
982
|
+
qBCMonoReten: DecimalValue;
|
|
983
|
+
adRemIBSReten: DecimalValue;
|
|
984
|
+
vIBSMonoReten: DecimalValue;
|
|
985
|
+
adRemCBSReten: DecimalValue;
|
|
986
|
+
vCBSMonoReten: DecimalValue;
|
|
987
|
+
}
|
|
988
|
+
interface MonoRet {
|
|
989
|
+
qBCMonoRet: DecimalValue;
|
|
990
|
+
adRemIBSRet: DecimalValue;
|
|
991
|
+
vIBSMonoRet: DecimalValue;
|
|
992
|
+
adRemCBSRet: DecimalValue;
|
|
993
|
+
vCBSMonoRet: DecimalValue;
|
|
994
|
+
}
|
|
995
|
+
interface MonoDif {
|
|
996
|
+
pDifIBS: DecimalValue;
|
|
997
|
+
vIBSMonoDif: DecimalValue;
|
|
998
|
+
pDifCBS: DecimalValue;
|
|
999
|
+
vCBSMonoDif: DecimalValue;
|
|
1000
|
+
}
|
|
1001
|
+
interface IBSCBSMono {
|
|
1002
|
+
gMonoPadrao?: MonoPadrao;
|
|
1003
|
+
gMonoReten?: MonoReten;
|
|
1004
|
+
gMonoRet?: MonoRet;
|
|
1005
|
+
gMonoDif?: MonoDif;
|
|
1006
|
+
vTotIBSMonoItem: DecimalValue;
|
|
1007
|
+
vTotCBSMonoItem: DecimalValue;
|
|
1008
|
+
}
|
|
1009
|
+
|
|
1010
|
+
interface TribRegular {
|
|
1011
|
+
CSTReg: string;
|
|
1012
|
+
cClassTribReg: string;
|
|
1013
|
+
pAliqEfetRegIBSUF: DecimalValue;
|
|
1014
|
+
vTribRegIBSUF: DecimalValue;
|
|
1015
|
+
pAliqEfetRegIBSMun: DecimalValue;
|
|
1016
|
+
vTribRegIBSMun: DecimalValue;
|
|
1017
|
+
pAliqEfetRegCBS: DecimalValue;
|
|
1018
|
+
vTribRegCBS: DecimalValue;
|
|
1019
|
+
}
|
|
1020
|
+
|
|
1021
|
+
interface TribCompraGov {
|
|
1022
|
+
pAliqIBSUF: DecimalValue;
|
|
1023
|
+
vTribIBSUF: DecimalValue;
|
|
1024
|
+
pAliqIBSMun: DecimalValue;
|
|
1025
|
+
vTribIBSMun: DecimalValue;
|
|
1026
|
+
pAliqCBS: DecimalValue;
|
|
1027
|
+
vTribCBS: DecimalValue;
|
|
1028
|
+
}
|
|
1029
|
+
|
|
1030
|
+
interface DevTrib {
|
|
1031
|
+
pDevTrib?: DecimalValue;
|
|
1032
|
+
vDevTrib: DecimalValue;
|
|
1033
|
+
}
|
|
1034
|
+
|
|
1035
|
+
interface Dif {
|
|
1036
|
+
pDif: DecimalValue;
|
|
1037
|
+
vDif: DecimalValue;
|
|
1038
|
+
}
|
|
1039
|
+
|
|
1040
|
+
interface Red {
|
|
1041
|
+
pRedAliq: DecimalValue;
|
|
1042
|
+
pAliqEfet: DecimalValue;
|
|
1043
|
+
}
|
|
1044
|
+
|
|
1045
|
+
interface IBSMun {
|
|
1046
|
+
pIBSMun: DecimalValue;
|
|
1047
|
+
gDif?: Dif;
|
|
1048
|
+
gDevTrib?: DevTrib;
|
|
1049
|
+
gRed?: Red;
|
|
1050
|
+
vIBSMun: DecimalValue;
|
|
1051
|
+
}
|
|
1052
|
+
|
|
1053
|
+
interface IBSUF {
|
|
1054
|
+
pIBSUF: DecimalValue;
|
|
1055
|
+
gDif?: Dif;
|
|
1056
|
+
gDevTrib?: DevTrib;
|
|
1057
|
+
gRed?: Red;
|
|
1058
|
+
vIBSUF: DecimalValue;
|
|
1059
|
+
}
|
|
1060
|
+
|
|
1061
|
+
interface ALCZFMCBS {
|
|
1062
|
+
tpALCZFMCBS: string;
|
|
1063
|
+
nProcSuframa?: string;
|
|
1064
|
+
pAliqEfetRegCBS: DecimalValue;
|
|
1065
|
+
vTribRegCBS: DecimalValue;
|
|
1066
|
+
}
|
|
1067
|
+
|
|
1068
|
+
interface CBS {
|
|
1069
|
+
pCBS: DecimalValue;
|
|
1070
|
+
gDif?: Dif;
|
|
1071
|
+
gDevTrib?: DevTrib;
|
|
1072
|
+
gRed?: Red;
|
|
1073
|
+
gALCZFMCBS?: ALCZFMCBS;
|
|
1074
|
+
vCBS: DecimalValue;
|
|
1075
|
+
}
|
|
1076
|
+
|
|
1077
|
+
interface GIBSCBS {
|
|
1078
|
+
vBC: DecimalValue;
|
|
1079
|
+
gIBSUF?: IBSUF;
|
|
1080
|
+
gIBSMun?: IBSMun;
|
|
1081
|
+
vIBS: DecimalValue;
|
|
1082
|
+
gCBS?: CBS;
|
|
1083
|
+
gTribRegular?: TribRegular;
|
|
1084
|
+
gTribCompraGov?: TribCompraGov;
|
|
1085
|
+
}
|
|
1086
|
+
|
|
1087
|
+
interface IBSCBS {
|
|
1088
|
+
gTransfCred?: TransferenciaCredito;
|
|
1089
|
+
gCredPresIBSZFM?: CredPresIBSZFM;
|
|
1090
|
+
gCredPresOper?: CredPresOper;
|
|
1091
|
+
gAjusteCompet?: AjusteCompet;
|
|
1092
|
+
gEstornoCred?: EstornoCred;
|
|
1093
|
+
gIBSCBSMono?: IBSCBSMono;
|
|
1094
|
+
cClassTrib?: string;
|
|
1095
|
+
indDoacao?: string;
|
|
1096
|
+
gIBSCBS?: GIBSCBS;
|
|
1097
|
+
CST?: string;
|
|
1098
|
+
}
|
|
1099
|
+
|
|
1100
|
+
interface IS {
|
|
1101
|
+
CSTIS: string;
|
|
1102
|
+
cClassTribIS: string;
|
|
1103
|
+
vBCIS?: DecimalValue;
|
|
1104
|
+
pIS?: DecimalValue;
|
|
1105
|
+
adRemIS?: DecimalValue;
|
|
1106
|
+
uTrib?: string;
|
|
1107
|
+
qTrib?: DecimalValue;
|
|
1108
|
+
vIS?: DecimalValue;
|
|
1109
|
+
}
|
|
1110
|
+
|
|
1111
|
+
interface Imposto {
|
|
1112
|
+
vTotTrib?: DecimalValue;
|
|
1113
|
+
ICMS?: ICMS;
|
|
1114
|
+
IPI?: IPI;
|
|
1115
|
+
II?: II;
|
|
1116
|
+
ISSQN?: ISSQN;
|
|
1117
|
+
PIS?: PIS;
|
|
1118
|
+
PISST?: PISST;
|
|
1119
|
+
COFINS?: COFINS;
|
|
1120
|
+
COFINSST?: COFINSST;
|
|
1121
|
+
ICMSUFDest?: ICMSUFDest;
|
|
1122
|
+
IS?: IS;
|
|
1123
|
+
IBSCBS?: IBSCBS;
|
|
1124
|
+
}
|
|
1125
|
+
|
|
1126
|
+
interface Observation {
|
|
1127
|
+
xCampo: string;
|
|
1128
|
+
xTexto: string;
|
|
1129
|
+
}
|
|
1130
|
+
interface ObsItem {
|
|
1131
|
+
obsCont?: Observation;
|
|
1132
|
+
obsFisco?: Observation;
|
|
1133
|
+
}
|
|
1134
|
+
|
|
1135
|
+
interface DFeReferenciado {
|
|
1136
|
+
chaveAcesso: string;
|
|
1137
|
+
nItem?: string;
|
|
1138
|
+
}
|
|
1139
|
+
|
|
1140
|
+
interface DetAttributes {
|
|
1141
|
+
nItem: string;
|
|
1142
|
+
}
|
|
1143
|
+
interface Det {
|
|
1144
|
+
$: DetAttributes;
|
|
1145
|
+
prod: Prod;
|
|
1146
|
+
imposto?: Imposto;
|
|
1147
|
+
impostoDevol?: Devol;
|
|
1148
|
+
infAdProd?: string;
|
|
1149
|
+
obsItem?: ObsItem;
|
|
1150
|
+
vItem?: DecimalValue;
|
|
1151
|
+
DFeReferenciado?: DFeReferenciado;
|
|
1152
|
+
}
|
|
1153
|
+
|
|
1154
|
+
interface ICMSTot {
|
|
1155
|
+
vBC: DecimalValue;
|
|
1156
|
+
vICMS: DecimalValue;
|
|
1157
|
+
vICMSDeson: DecimalValue;
|
|
1158
|
+
vFCPUFDest?: DecimalValue;
|
|
1159
|
+
vICMSUFDest?: DecimalValue;
|
|
1160
|
+
vICMSUFRemet?: DecimalValue;
|
|
1161
|
+
vFCP: DecimalValue;
|
|
1162
|
+
vBCST: DecimalValue;
|
|
1163
|
+
vST: DecimalValue;
|
|
1164
|
+
vFCPST: DecimalValue;
|
|
1165
|
+
vFCPSTRet: DecimalValue;
|
|
1166
|
+
qBCMono?: DecimalValue;
|
|
1167
|
+
vICMSMono?: DecimalValue;
|
|
1168
|
+
qBCMonoReten?: DecimalValue;
|
|
1169
|
+
vICMSMonoReten?: DecimalValue;
|
|
1170
|
+
qBCMonoRet?: DecimalValue;
|
|
1171
|
+
vICMSMonoRet?: DecimalValue;
|
|
1172
|
+
vProd: DecimalValue;
|
|
1173
|
+
vFrete: DecimalValue;
|
|
1174
|
+
vSeg: DecimalValue;
|
|
1175
|
+
vDesc: DecimalValue;
|
|
1176
|
+
vII: DecimalValue;
|
|
1177
|
+
vIPI: DecimalValue;
|
|
1178
|
+
vIPIDevol: DecimalValue;
|
|
1179
|
+
vPIS: DecimalValue;
|
|
1180
|
+
vCOFINS: DecimalValue;
|
|
1181
|
+
vOutro: DecimalValue;
|
|
1182
|
+
vNF: DecimalValue;
|
|
1183
|
+
vTotTrib?: DecimalValue;
|
|
1184
|
+
}
|
|
1185
|
+
interface ISSQNtot {
|
|
1186
|
+
vServ?: DecimalValue;
|
|
1187
|
+
vBC?: DecimalValue;
|
|
1188
|
+
vISS?: DecimalValue;
|
|
1189
|
+
vPIS?: DecimalValue;
|
|
1190
|
+
vCOFINS?: DecimalValue;
|
|
1191
|
+
dCompet: string;
|
|
1192
|
+
vDeducao?: DecimalValue;
|
|
1193
|
+
vOutro?: DecimalValue;
|
|
1194
|
+
vDescIncond?: DecimalValue;
|
|
1195
|
+
vDescCond?: DecimalValue;
|
|
1196
|
+
vISSRet?: DecimalValue;
|
|
1197
|
+
cRegTrib?: string;
|
|
1198
|
+
}
|
|
1199
|
+
interface RetTrib {
|
|
1200
|
+
vRetPIS?: DecimalValue;
|
|
1201
|
+
vRetCOFINS?: DecimalValue;
|
|
1202
|
+
vRetCSLL?: DecimalValue;
|
|
1203
|
+
vBCIRRF?: DecimalValue;
|
|
1204
|
+
vIRRF?: DecimalValue;
|
|
1205
|
+
vBCRetPrev?: DecimalValue;
|
|
1206
|
+
vRetPrev?: DecimalValue;
|
|
1207
|
+
}
|
|
1208
|
+
interface ISTot {
|
|
1209
|
+
vIS?: DecimalValue;
|
|
1210
|
+
}
|
|
1211
|
+
interface Total {
|
|
1212
|
+
ICMSTot: ICMSTot;
|
|
1213
|
+
ISSQNtot?: ISSQNtot;
|
|
1214
|
+
retTrib?: RetTrib;
|
|
1215
|
+
ISTot?: ISTot;
|
|
1216
|
+
IBSCBSTot?: IBSCBSTot;
|
|
1217
|
+
vNFTot?: DecimalValue;
|
|
1218
|
+
}
|
|
1219
|
+
interface IBSCBSTot {
|
|
1220
|
+
vBCIBSCBS?: DecimalValue;
|
|
1221
|
+
gIBS?: IBSTot;
|
|
1222
|
+
gCBS?: CBSTot;
|
|
1223
|
+
gMono?: IBSMonoTot;
|
|
1224
|
+
gEstornoCred?: EstornoCredTot;
|
|
1225
|
+
}
|
|
1226
|
+
type EstornoCredTot = {
|
|
1227
|
+
vIBSEstCred?: DecimalValue;
|
|
1228
|
+
vCBSEstCred?: DecimalValue;
|
|
1229
|
+
};
|
|
1230
|
+
type IBSTot = {
|
|
1231
|
+
gIBSUF?: IBSUFTot;
|
|
1232
|
+
gIBSMun?: IBSMunTot;
|
|
1233
|
+
vIBS?: DecimalValue;
|
|
1234
|
+
vCredPres?: DecimalValue;
|
|
1235
|
+
vCredPresCondSus?: DecimalValue;
|
|
1236
|
+
};
|
|
1237
|
+
type IBSUFTot = {
|
|
1238
|
+
vDif?: DecimalValue;
|
|
1239
|
+
vDevTrib?: DecimalValue;
|
|
1240
|
+
vIBSUF?: DecimalValue;
|
|
1241
|
+
};
|
|
1242
|
+
type IBSMunTot = {
|
|
1243
|
+
vDif?: DecimalValue;
|
|
1244
|
+
vDevTrib?: DecimalValue;
|
|
1245
|
+
vIBSMun?: DecimalValue;
|
|
1246
|
+
};
|
|
1247
|
+
type CBSTot = {
|
|
1248
|
+
vDif?: DecimalValue;
|
|
1249
|
+
vDevTrib?: DecimalValue;
|
|
1250
|
+
vCBS?: DecimalValue;
|
|
1251
|
+
vCredPres?: DecimalValue;
|
|
1252
|
+
vCredPresCondSus?: DecimalValue;
|
|
1253
|
+
};
|
|
1254
|
+
type IBSMonoTot = {
|
|
1255
|
+
vIBSMono?: DecimalValue;
|
|
1256
|
+
vCBSMono?: DecimalValue;
|
|
1257
|
+
vIBSMonoReten?: DecimalValue;
|
|
1258
|
+
vCBSMonoReten?: DecimalValue;
|
|
1259
|
+
vIBSMonoRet?: DecimalValue;
|
|
1260
|
+
vCBSMonoRet?: DecimalValue;
|
|
1261
|
+
};
|
|
1262
|
+
|
|
1263
|
+
interface Transporta {
|
|
1264
|
+
CNPJ?: string;
|
|
1265
|
+
CPF?: string;
|
|
1266
|
+
xNome?: string;
|
|
1267
|
+
IE?: string;
|
|
1268
|
+
xEnder?: string;
|
|
1269
|
+
xMun?: string;
|
|
1270
|
+
UF?: string;
|
|
1271
|
+
}
|
|
1272
|
+
interface RetTransp {
|
|
1273
|
+
vServ?: DecimalValue;
|
|
1274
|
+
vBCRet?: DecimalValue;
|
|
1275
|
+
pICMSRet?: DecimalValue;
|
|
1276
|
+
vICMSRet?: DecimalValue;
|
|
1277
|
+
CFOP?: string;
|
|
1278
|
+
cMunFG?: string;
|
|
1279
|
+
}
|
|
1280
|
+
interface VeicTransp {
|
|
1281
|
+
placa?: string;
|
|
1282
|
+
UF?: string;
|
|
1283
|
+
RNTC?: string;
|
|
1284
|
+
}
|
|
1285
|
+
interface Reboque {
|
|
1286
|
+
placa?: string;
|
|
1287
|
+
UF?: string;
|
|
1288
|
+
RNTC?: string;
|
|
1289
|
+
}
|
|
1290
|
+
interface Vol {
|
|
1291
|
+
qVol?: string;
|
|
1292
|
+
esp?: string;
|
|
1293
|
+
marca?: string;
|
|
1294
|
+
nVol?: string;
|
|
1295
|
+
pesoL?: DecimalValue;
|
|
1296
|
+
pesoB?: DecimalValue;
|
|
1297
|
+
}
|
|
1298
|
+
interface Transp {
|
|
1299
|
+
modFrete: string;
|
|
1300
|
+
transporta?: Transporta;
|
|
1301
|
+
retTransp?: RetTransp;
|
|
1302
|
+
veicTransp?: VeicTransp;
|
|
1303
|
+
reboque?: Reboque[];
|
|
1304
|
+
vagao?: string;
|
|
1305
|
+
balsa?: string;
|
|
1306
|
+
vol?: Vol[];
|
|
1307
|
+
}
|
|
1308
|
+
|
|
1309
|
+
interface Fat {
|
|
1310
|
+
nFat?: string;
|
|
1311
|
+
vOrig?: DecimalValue;
|
|
1312
|
+
vDesc?: DecimalValue;
|
|
1313
|
+
vLiq?: DecimalValue;
|
|
1314
|
+
}
|
|
1315
|
+
interface Dup {
|
|
1316
|
+
nDup?: string;
|
|
1317
|
+
dVenc?: string;
|
|
1318
|
+
vDup?: DecimalValue;
|
|
1319
|
+
}
|
|
1320
|
+
interface Cobr {
|
|
1321
|
+
fat?: Fat;
|
|
1322
|
+
dup?: Dup[];
|
|
1323
|
+
}
|
|
1324
|
+
|
|
1325
|
+
declare const TPags: {
|
|
1326
|
+
readonly Dinheiro: "01";
|
|
1327
|
+
readonly Cheque: "02";
|
|
1328
|
+
readonly CartaoDeCredito: "03";
|
|
1329
|
+
readonly CartaoDeDebito: "04";
|
|
1330
|
+
readonly CartaoDaLoja: "05";
|
|
1331
|
+
readonly ValeAlimentacao: "10";
|
|
1332
|
+
readonly ValeRefeicao: "11";
|
|
1333
|
+
readonly ValePresente: "12";
|
|
1334
|
+
readonly ValeCombustivel: "13";
|
|
1335
|
+
readonly BoletoBancario: "15";
|
|
1336
|
+
readonly DepositoBancario: "16";
|
|
1337
|
+
readonly PIXDinamico: "17";
|
|
1338
|
+
readonly TransferenciaBancaria: "18";
|
|
1339
|
+
readonly ProgramaFidelidade: "19";
|
|
1340
|
+
readonly PIXEstatico: "20";
|
|
1341
|
+
readonly CreditoEmLoja: "21";
|
|
1342
|
+
readonly PagamentoNaoInformado: "22";
|
|
1343
|
+
readonly SemPagamento: "90";
|
|
1344
|
+
readonly PagamentoPosterior: "91";
|
|
1345
|
+
readonly Outros: "99";
|
|
1346
|
+
};
|
|
1347
|
+
type TPag = (typeof TPags)[keyof typeof TPags];
|
|
1348
|
+
|
|
1349
|
+
interface Card {
|
|
1350
|
+
CNPJ?: string;
|
|
1351
|
+
tBand?: string;
|
|
1352
|
+
cAut?: string;
|
|
1353
|
+
tpIntegra?: string;
|
|
1354
|
+
CNPJReceb?: string;
|
|
1355
|
+
idTermPag?: string;
|
|
1356
|
+
}
|
|
1357
|
+
interface DetPag {
|
|
1358
|
+
indPag?: string;
|
|
1359
|
+
tPag: TPag;
|
|
1360
|
+
xPag?: string;
|
|
1361
|
+
vPag: DecimalValue;
|
|
1362
|
+
dPag?: string;
|
|
1363
|
+
CNPJPag?: string;
|
|
1364
|
+
UFPag?: string;
|
|
1365
|
+
card?: Card;
|
|
1366
|
+
}
|
|
1367
|
+
interface Pag {
|
|
1368
|
+
detPag: [DetPag, ...DetPag[]];
|
|
1369
|
+
vTroco?: DecimalValue;
|
|
1370
|
+
}
|
|
1371
|
+
|
|
1372
|
+
interface InfAdicObs {
|
|
1373
|
+
xCampo: string;
|
|
1374
|
+
xTexto: string;
|
|
1375
|
+
}
|
|
1376
|
+
interface ProcRef {
|
|
1377
|
+
nProc?: string;
|
|
1378
|
+
indProc?: string;
|
|
1379
|
+
}
|
|
1380
|
+
interface InfAdic {
|
|
1381
|
+
infAdFisco?: string;
|
|
1382
|
+
infCpl?: string;
|
|
1383
|
+
obsCont?: InfAdicObs[];
|
|
1384
|
+
obsFisco?: InfAdicObs[];
|
|
1385
|
+
procRef?: ProcRef[];
|
|
1386
|
+
}
|
|
1387
|
+
|
|
1388
|
+
interface ForDiaAttributes {
|
|
1389
|
+
dia: string;
|
|
1390
|
+
}
|
|
1391
|
+
interface ForDia {
|
|
1392
|
+
$: ForDiaAttributes;
|
|
1393
|
+
qtde: DecimalValue;
|
|
1394
|
+
}
|
|
1395
|
+
interface Deduc {
|
|
1396
|
+
xDed: string;
|
|
1397
|
+
vDed: DecimalValue;
|
|
1398
|
+
}
|
|
1399
|
+
interface Cana {
|
|
1400
|
+
safra: string;
|
|
1401
|
+
ref: string;
|
|
1402
|
+
forDia: [ForDia, ...ForDia[]];
|
|
1403
|
+
qTotMes?: DecimalValue;
|
|
1404
|
+
qTotAnt?: DecimalValue;
|
|
1405
|
+
qTotGer?: DecimalValue;
|
|
1406
|
+
deduc?: Deduc[];
|
|
1407
|
+
vFor?: DecimalValue;
|
|
1408
|
+
vTotDed?: DecimalValue;
|
|
1409
|
+
vLiqFor?: DecimalValue;
|
|
1410
|
+
}
|
|
1411
|
+
|
|
1412
|
+
interface InfSolicNFF {
|
|
1413
|
+
xSolic: string;
|
|
1414
|
+
}
|
|
1415
|
+
|
|
1416
|
+
interface Defensivo {
|
|
1417
|
+
nReceituario: string;
|
|
1418
|
+
CPFRespTec: string;
|
|
1419
|
+
}
|
|
1420
|
+
interface GuiaTransito {
|
|
1421
|
+
tpGuia: string;
|
|
1422
|
+
UFGuia: string;
|
|
1423
|
+
serieGuia?: string;
|
|
1424
|
+
nGuia: string;
|
|
1425
|
+
}
|
|
1426
|
+
interface Agropecuario {
|
|
1427
|
+
defensivo?: Defensivo[];
|
|
1428
|
+
guiaTransito?: GuiaTransito;
|
|
1429
|
+
}
|
|
1430
|
+
|
|
1431
|
+
interface RSAKeyValue {
|
|
1432
|
+
Modulus: string;
|
|
1433
|
+
Exponent: string;
|
|
1434
|
+
}
|
|
1435
|
+
interface PAASignature {
|
|
1436
|
+
SignatureValue: string;
|
|
1437
|
+
RSAKeyValue: RSAKeyValue;
|
|
1438
|
+
}
|
|
1439
|
+
interface InfPAA {
|
|
1440
|
+
CNPJPAA: string;
|
|
1441
|
+
PAASignature: PAASignature;
|
|
1442
|
+
}
|
|
1443
|
+
|
|
1444
|
+
interface InfNFeAttributes {
|
|
1445
|
+
Id?: string;
|
|
1446
|
+
versao?: string;
|
|
1447
|
+
}
|
|
1448
|
+
interface InfNFe {
|
|
1449
|
+
$: InfNFeAttributes;
|
|
1450
|
+
ide: Ide;
|
|
1451
|
+
emit: Emit;
|
|
1452
|
+
avulsa?: Avulsa;
|
|
1453
|
+
dest?: Dest;
|
|
1454
|
+
retirada?: Local;
|
|
1455
|
+
entrega?: Local;
|
|
1456
|
+
autXML?: AutXML[];
|
|
1457
|
+
det: [Det, ...Det[]];
|
|
1458
|
+
total: Total;
|
|
1459
|
+
transp: Transp;
|
|
1460
|
+
cobr?: Cobr;
|
|
1461
|
+
pag: Pag;
|
|
1462
|
+
infIntermed?: InfIntermed;
|
|
1463
|
+
infAdic?: InfAdic;
|
|
1464
|
+
exporta?: Exporta;
|
|
1465
|
+
compra?: Compra;
|
|
1466
|
+
cana?: Cana;
|
|
1467
|
+
infRespTec?: InfRespTec;
|
|
1468
|
+
infSolicNFF?: InfSolicNFF;
|
|
1469
|
+
agropecuario?: Agropecuario;
|
|
1470
|
+
infPAA?: InfPAA;
|
|
1471
|
+
}
|
|
1472
|
+
|
|
1473
|
+
interface InfNFeSupl {
|
|
1474
|
+
qrCode: string;
|
|
1475
|
+
urlChave: string;
|
|
1476
|
+
}
|
|
1477
|
+
|
|
1478
|
+
interface ProtNFeAttributes {
|
|
1479
|
+
versao: string;
|
|
1480
|
+
}
|
|
1481
|
+
interface InfProt {
|
|
1482
|
+
tpAmb: string;
|
|
1483
|
+
verAplic: string;
|
|
1484
|
+
chNFe: string;
|
|
1485
|
+
dhRecbto: string;
|
|
1486
|
+
nProt: string;
|
|
1487
|
+
digVal: string;
|
|
1488
|
+
cStat: NfeCstatToProtocol | string;
|
|
1489
|
+
xMotivo: string;
|
|
1490
|
+
cMsg?: string;
|
|
1491
|
+
xMsg?: string;
|
|
1492
|
+
}
|
|
1493
|
+
interface ProtNFe {
|
|
1494
|
+
$: ProtNFeAttributes;
|
|
1495
|
+
infProt: InfProt;
|
|
1496
|
+
}
|
|
1497
|
+
|
|
1498
|
+
interface NFeAttributes {
|
|
1499
|
+
xmlns: 'http://www.portalfiscal.inf.br/nfe';
|
|
1500
|
+
}
|
|
1501
|
+
interface NFe {
|
|
1502
|
+
$: NFeAttributes;
|
|
1503
|
+
infNFe: InfNFe;
|
|
1504
|
+
infNFeSupl?: InfNFeSupl;
|
|
1505
|
+
Signature?: Signature;
|
|
1506
|
+
}
|
|
1507
|
+
interface NFeProcAttributes {
|
|
1508
|
+
xmlns: 'http://www.portalfiscal.inf.br/nfe';
|
|
1509
|
+
versao: string;
|
|
1510
|
+
}
|
|
1511
|
+
interface NFeProc<T extends object = NFe> {
|
|
1512
|
+
NFe: T;
|
|
1513
|
+
$: NFeProcAttributes;
|
|
1514
|
+
protNFe: ProtNFe;
|
|
1515
|
+
}
|
|
1516
|
+
declare enum NfeCstatToProtocol {
|
|
1517
|
+
Autorizada = "100",
|
|
1518
|
+
AutorizadaForaDoPrazo = "150",
|
|
1519
|
+
UsoDenegado = "110",
|
|
1520
|
+
NfeDenegada = "205",
|
|
1521
|
+
DenegadaIrregularidadeEmissor = "301",
|
|
1522
|
+
DenegadaIrregularidadeDestinatario = "302",
|
|
1523
|
+
DenegadaNaoHabilitadaNaUf = "303"
|
|
1524
|
+
}
|
|
1525
|
+
|
|
1526
|
+
type NFCe = NFe;
|
|
1527
|
+
interface NFCeProc {
|
|
1528
|
+
NFe: NFCe;
|
|
1529
|
+
protNFe: ProtNFe;
|
|
1530
|
+
}
|
|
1531
|
+
|
|
1532
|
+
interface VItem {
|
|
1533
|
+
vItem: DecimalValue;
|
|
1534
|
+
}
|
|
1535
|
+
|
|
1536
|
+
export { type ALCZFMCBS, type AccessKey, AccessKeyBuilder, type Adi, type Agropecuario, type AjusteCompet, type Arma, type AutXML, type Avulsa, type CBS, type CBSCredPres, type CBSTot, type CIDE, type COFINS, type COFINSAliq, type COFINSNT, type COFINSOutr, type COFINSQtde, type COFINSST, type Cana, CanonicalizationMethod$1 as CanonicalizationMethod, type Card, type Cobr, type Comb, type Compra, type CompraGov, type CredPresIBSZFM, type CredPresOper, type DFeReferenciado, type DI, type DecimalValue, type Deduc, type Defensivo, type Dest, type Det, type DetAttributes, type DetExport, type DetPag, type DevTrib, type Devol, type Dif, DigestAlgorithm, type Dup, type Emit, type Encerrante, type EnderDest, type EnderEmit, Environment, type EnvironmentCode, type EstornoCred, type EstornoCredTot, type ExportInd, type Exporta, type Fat, type ForDia, type ForDiaAttributes, type GCred, type GIBSCBS, type GuiaTransito, type IBSCBS, type IBSCBSMono, type IBSCBSTot, type IBSCredPres, type IBSMonoTot, type IBSMun, type IBSMunTot, type IBSTot, type IBSUF, type IBSUFTot, 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 ICMSTot, type ICMSUFDest, type II, type IPI, type IPINT, type IPITrib, type IS, type ISSQN, type ISSQNtot, type ISTot, type Ide, type Imposto, type InfAdic, type InfAdicObs, type InfIntermed, type InfNFe, type InfNFeAttributes, type InfNFeSupl, type InfPAA, type InfProdEmb, type InfProdNFF, type InfProt, type InfRespTec, type InfSolicNFF, type IpiDevol, type Local, type Med, type MonoDif, type MonoPadrao, type MonoRet, type MonoReten, type NFCe, type NFCeProc, type NFe, type NFeAttributes, type NFeProc, type NFeProcAttributes, type NFref, type Namespaced, NfeCstatToProtocol, type ObsItem, type Observation, type OrigComb, type PAASignature, type PIS, type PISAliq, type PISNT, type PISOutr, type PISQtde, type PISST, type Pag, type PagAntecipado, type ProcRef, type Prod, type ProtNFe, type ProtNFeAttributes, type RSAKeyValue, type Rastro, type Reboque, type Red, type RefECF, type RefNF, type RefNFP, type RetTransp, type RetTrib, type Signature, SignatureAlgorithm, SignatureMethod$1 as SignatureMethod, SignatureNamespace, type SignedInfo, type StateAcronym, StateAcronyms, type StateCode, StateCodes, type Total, type TransferenciaCredito, type Transforms, type Transp, type Transporta, type TribCompraGov, type TribRegular, type VItem, type VeicProd, type VeicTransp, type VerifiedAccessKey, type Vol };
|