cosmemilton-acbr-node 0.0.0-stage → 0.1.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.
Files changed (51) hide show
  1. package/LICENSE +502 -0
  2. package/NOTICE +8 -0
  3. package/README.md +105 -2
  4. package/acbr.config.json +16 -0
  5. package/acbr.lock.json +3475 -0
  6. package/dist/cli.js +1652 -0
  7. package/dist/cli.js.map +7 -0
  8. package/dist/index.cjs +3349 -0
  9. package/dist/index.cjs.map +7 -0
  10. package/dist/index.js +3100 -0
  11. package/dist/index.js.map +7 -0
  12. package/dist/runtime.cjs +350 -0
  13. package/dist/runtime.cjs.map +7 -0
  14. package/dist/runtime.js +312 -0
  15. package/dist/runtime.js.map +7 -0
  16. package/dist/types/generated/acbr/index.d.ts +14 -0
  17. package/dist/types/generated/acbr/models.d.ts +3007 -0
  18. package/dist/types/src/cli.d.ts +20 -0
  19. package/dist/types/src/config.d.ts +30 -0
  20. package/dist/types/src/generator.d.ts +93 -0
  21. package/dist/types/src/index.d.ts +16 -0
  22. package/dist/types/src/native-build.d.ts +25 -0
  23. package/dist/types/src/offline-check.d.ts +10 -0
  24. package/dist/types/src/offline-fixture.d.ts +104 -0
  25. package/dist/types/src/runtime.d.ts +26 -0
  26. package/dist/types/src/source.d.ts +31 -0
  27. package/dist/types/src/types.d.ts +103 -0
  28. package/docs/API.md +32 -0
  29. package/docs/ARQUITETURA.md +15 -0
  30. package/docs/CI.md +54 -0
  31. package/docs/CLI.md +32 -0
  32. package/docs/DEPENDENCIAS-NATIVAS.md +93 -0
  33. package/docs/VALIDACAO.md +65 -0
  34. package/docs/licenses/fpc/COPYING.FPC +25 -0
  35. package/docs/licenses/fpc/COPYING.GPL.txt +340 -0
  36. package/docs/licenses/fpc/COPYING.LGPL.txt +504 -0
  37. package/docs/licenses/fpc/ORIGIN.json +21 -0
  38. package/docs/licenses/lazarus/COPYING.LGPL.txt +481 -0
  39. package/docs/licenses/lazarus/COPYING.modifiedLGPL.txt +26 -0
  40. package/docs/licenses/lazarus/COPYING.txt +46 -0
  41. package/docs/licenses/lazarus/ORIGIN.json +1 -0
  42. package/native/NativeErrors.pas +14 -0
  43. package/native/NativeMotor.pas +220 -0
  44. package/native/NativeParent.pas +61 -0
  45. package/native/NativeProtocol.pas +64 -0
  46. package/native/NativeTLS.pas +70 -0
  47. package/native/acbr-worker.lpr +26 -0
  48. package/native/generated/AcbrModels.pas +4287 -0
  49. package/package.json +72 -4
  50. package/scripts/build-native-deps.mjs +237 -0
  51. package/tools/extract-model.lpr +119 -0
package/dist/index.js ADDED
@@ -0,0 +1,3100 @@
1
+ // src/runtime.ts
2
+ import { spawn } from "node:child_process";
3
+ import { readFile, stat } from "node:fs/promises";
4
+ import path from "node:path";
5
+ import { createRequire } from "node:module";
6
+ import { createHash, randomUUID } from "node:crypto";
7
+ import { TextDecoder } from "node:util";
8
+
9
+ // src/types.ts
10
+ var PROTOCOL_VERSION = 1;
11
+ var ErroAcbrNode = class extends Error {
12
+ constructor(codigo, mensagem, resultadoDesconhecido = false, xmlBase64) {
13
+ super(mensagem);
14
+ this.codigo = codigo;
15
+ this.resultadoDesconhecido = resultadoDesconhecido;
16
+ this.xmlBase64 = xmlBase64;
17
+ }
18
+ name = "ErroAcbrNode";
19
+ };
20
+
21
+ // src/runtime.ts
22
+ var STATES = /* @__PURE__ */ new Set(["DENEGADO", "XML_GERADO", "VALIDADO", "ASSINADO", "AUTORIZADO", "REJEITADO", "PENDENTE", "INDETERMINADO", "CONSULTADO", "CANCELADO", "EVENTO_REGISTRADO", "INUTILIZADO", "ERRO"]);
23
+ var UFS = new Set("AC AL AP AM BA CE DF ES GO MA MT MS MG PA PB PR PE PI RJ RN RS RO RR SC SP SE TO".split(" "));
24
+ var MAX_BYTES = 8 * 1024 * 1024;
25
+ var plain = (v) => v !== null && typeof v === "object" && !Array.isArray(v);
26
+ var validContract = (v) => plain(v) && Number.isInteger(v.sourceRevision) && Number(v.sourceRevision) > 0 && typeof v.contractHash === "string" && /^[a-f0-9]{64}$/.test(v.contractHash);
27
+ var fail = (code, message, req, unknown = false) => new ErroAcbrNode(code, message, unknown, req?.comando === "transmitir" ? req.xmlBase64 : void 0);
28
+ function confined(root, relative) {
29
+ const file = path.resolve(root, relative), part = path.relative(root, file);
30
+ if (!relative || path.isAbsolute(relative) || part === ".." || part.startsWith(".." + path.sep)) throw fail("RUNTIME_INVALIDO", "Caminho inv\xE1lido no runtime.");
31
+ return file;
32
+ }
33
+ async function resolveRuntime(directory, contract) {
34
+ if (!validContract(contract)) throw fail("CONTRATO_INVALIDO", "Contrato gerado inv\xE1lido.");
35
+ let root = directory;
36
+ if (!root) {
37
+ if (!["linux", "win32"].includes(process.platform) || process.arch !== "x64") throw fail("PLATAFORMA_NAO_SUPORTADA", "Esta vers\xE3o exige Linux ou Windows x64.");
38
+ try {
39
+ const require2 = createRequire(typeof __filename !== "undefined" ? __filename : import.meta.url);
40
+ root = path.join(path.dirname(require2.resolve("cosmemilton-acbr-node-" + process.platform + "-x64/package.json")), "runtime");
41
+ } catch {
42
+ throw fail("RUNTIME_AUSENTE", "Instale o pacote de runtime da plataforma ou informe runtimeDirectory.");
43
+ }
44
+ }
45
+ root = path.resolve(root);
46
+ let m;
47
+ try {
48
+ m = JSON.parse(await readFile(path.join(root, "manifest.json"), "utf8"));
49
+ } catch {
50
+ throw fail("RUNTIME_AUSENTE", "Manifesto do runtime n\xE3o encontrado.");
51
+ }
52
+ if (!validContract(m) || m.formatVersion !== 1 || !plain(m.files) || typeof m.executable !== "string" || m.platform !== process.platform || m.arch !== process.arch) throw fail("RUNTIME_INVALIDO", "Manifesto ou plataforma do runtime inv\xE1lidos.");
53
+ if (m.sourceRevision !== contract.sourceRevision || m.contractHash !== contract.contractHash) throw fail("CONTRATO_DIVERGENTE", "Cliente e motor foram gerados de contratos diferentes; regenere e recompile.");
54
+ for (const [name, hash] of Object.entries(m.files)) {
55
+ if (typeof hash !== "string" || !/^[a-f0-9]{64}$/.test(hash)) throw fail("RUNTIME_INVALIDO", "Hash inv\xE1lido no runtime.");
56
+ const file = confined(root, name);
57
+ let data;
58
+ try {
59
+ if (!(await stat(file)).isFile()) throw Error();
60
+ data = await readFile(file);
61
+ } catch {
62
+ throw fail("RUNTIME_INCOMPLETO", "Arquivo do runtime ausente.");
63
+ }
64
+ if (createHash("sha256").update(data).digest("hex") !== hash) throw fail("RUNTIME_ALTERADO", "O runtime n\xE3o corresponde ao manifesto distribu\xEDdo.");
65
+ }
66
+ if (!m.files[m.executable]) throw fail("RUNTIME_INVALIDO", "O execut\xE1vel n\xE3o consta no invent\xE1rio.");
67
+ return { directory: root, executable: confined(root, m.executable) };
68
+ }
69
+ function criarEmissor(options) {
70
+ if (!/^\d{14}$/.test(options.cnpj) || !UFS.has(options.uf) || ![55, 65].includes(options.modelo) || ![1, 2].includes(options.ambiente)) throw fail("CONFIGURACAO_INVALIDA", "Informe CNPJ, UF, modelo e ambiente v\xE1lidos.");
71
+ if (!validContract(options.contrato)) throw fail("CONTRATO_INVALIDO", "Contrato gerado inv\xE1lido.");
72
+ const cert = options.certificado;
73
+ if (cert && (typeof cert.senha !== "string" || !!cert.pfx === !!cert.arquivo || cert.pfx && !(cert.pfx instanceof Uint8Array))) throw fail("CERTIFICADO_INVALIDO", "Informe A1 em pfx ou arquivo e sua senha.");
74
+ if (options.csc && (!/^\d{1,6}$/.test(options.csc.id) || typeof options.csc.valor !== "string" || !options.csc.valor || options.csc.valor.length > 256)) throw fail("CSC_INVALIDO", "CSC inv\xE1lido.");
75
+ const cfg = { cnpj: options.cnpj, uf: options.uf, modelo: options.modelo, ambiente: options.ambiente, csc: options.csc ? { ...options.csc } : void 0 };
76
+ const certificate = cert ? { ...cert, pfx: cert.pfx ? Buffer.from(cert.pfx) : void 0 } : void 0;
77
+ const contract = { ...options.contrato };
78
+ const timeout = options.timeoutMs ?? 12e4, capacity = options.limiteFila ?? 32, bytesLimit = options.limiteBytes ?? MAX_BYTES;
79
+ if (!Number.isInteger(timeout) || timeout < 1 || timeout > 12e4 || !Number.isInteger(capacity) || capacity < 0 || capacity > 1e3 || !Number.isInteger(bytesLimit) || bytesLimit < 256 || bytesLimit > MAX_BYTES) throw fail("CONFIGURACAO_INVALIDA", "Limites de execu\xE7\xE3o inv\xE1lidos.");
80
+ const launch = options.criaProcesso ?? ((exe, args, config) => spawn(exe, args, { ...config, stdio: ["pipe", "pipe", "pipe"] }));
81
+ let runtimePromise, closed = false, current;
82
+ const queue = [];
83
+ async function execute(item) {
84
+ if (closed || item.signal?.aborted) throw fail("OPERACAO_CANCELADA", "Opera\xE7\xE3o cancelada antes da execu\xE7\xE3o.");
85
+ const runtime = await (runtimePromise ??= resolveRuntime(options.runtimeDirectory, contract));
86
+ if (closed || item.signal?.aborted) throw fail("OPERACAO_CANCELADA", "Opera\xE7\xE3o cancelada antes da execu\xE7\xE3o.");
87
+ await new Promise((done) => {
88
+ let stopError;
89
+ let child, finished = false, started = false, sending = false, total = 0, rest = Buffer.alloc(0), result;
90
+ let finishCurrent;
91
+ const doneCurrent = new Promise((r) => {
92
+ finishCurrent = r;
93
+ });
94
+ const uncertain = () => ["transmitir", "cancelar", "cartaCorrecao", "inutilizar"].includes(item.req.comando) && started || sending;
95
+ const finish = (error) => {
96
+ if (finished) return;
97
+ finished = true;
98
+ clearTimeout(timer);
99
+ item.signal?.removeEventListener("abort", abort);
100
+ item.bytes.fill(0);
101
+ if (current?.done === doneCurrent) current = void 0;
102
+ finishCurrent();
103
+ error ? item.reject(error) : item.resolve(result);
104
+ done();
105
+ };
106
+ const stop = (code, message) => {
107
+ if (finished || stopError) return;
108
+ stopError = fail(code, message, item.req, uncertain());
109
+ if (child?.pid) child.kill("SIGKILL");
110
+ else finish(stopError);
111
+ };
112
+ const abort = () => stop("OPERACAO_CANCELADA", "Opera\xE7\xE3o cancelada; confira a situa\xE7\xE3o fiscal quando o envio foi iniciado.");
113
+ const timer = setTimeout(() => stop("TIMEOUT_MOTOR", "O motor excedeu o prazo; consulte a situa\xE7\xE3o antes de transmitir novamente."), timeout);
114
+ current = { stop: () => stop("EMISSOR_FECHADO", "Emissor encerrado."), done: doneCurrent };
115
+ const env = {};
116
+ for (const key of ["PATH", "Path", "SystemRoot", "WINDIR", "TEMP", "TMP", "HOME", "LANG", "LC_ALL"]) if (process.env[key] !== void 0) env[key] = process.env[key];
117
+ if (process.platform === "linux") env.LD_LIBRARY_PATH = path.join(runtime.directory, "lib");
118
+ if (process.platform === "win32") {
119
+ const inheritedPath = env.Path ?? env.PATH ?? "";
120
+ delete env.Path;
121
+ env.PATH = path.join(runtime.directory, "lib") + ";" + runtime.directory + ";" + inheritedPath;
122
+ }
123
+ const modules = path.join(runtime.directory, "ossl-modules");
124
+ env.OPENSSL_MODULES = modules;
125
+ env.OPENSSL_CONF = path.join(runtime.directory, "openssl.cnf");
126
+ try {
127
+ child = launch(runtime.executable, ["--parent-pid", String(process.pid)], { cwd: runtime.directory, env, windowsHide: true, shell: false, stdio: ["pipe", "pipe", "pipe"] });
128
+ started = typeof child.pid === "number";
129
+ } catch {
130
+ finish(fail("FALHA_INICIAR_MOTOR", "N\xE3o foi poss\xEDvel iniciar o motor.", item.req));
131
+ return;
132
+ }
133
+ item.signal?.addEventListener("abort", abort, { once: true });
134
+ child.on("spawn", () => {
135
+ started = true;
136
+ });
137
+ child.on("error", () => finish(fail("FALHA_INICIAR_MOTOR", "N\xE3o foi poss\xEDvel iniciar o motor.", item.req, uncertain())));
138
+ child.stdin.on("error", () => stop("FALHA_PIPE", "N\xE3o foi poss\xEDvel comunicar com o motor."));
139
+ child.stderr.on("data", () => {
140
+ });
141
+ child.stdout.on("data", (chunk) => {
142
+ if (finished || stopError) return;
143
+ total += chunk.length;
144
+ if (total > bytesLimit) {
145
+ stop("RESPOSTA_EXCESSIVA", "Resposta do motor excede o limite.");
146
+ return;
147
+ }
148
+ rest = Buffer.concat([rest, chunk]);
149
+ let end;
150
+ while ((end = rest.indexOf(10)) >= 0) {
151
+ const line = rest.subarray(0, end);
152
+ rest = rest.subarray(end + 1);
153
+ if (!line.length) continue;
154
+ try {
155
+ const frame = JSON.parse(new TextDecoder("utf-8", { fatal: true }).decode(line));
156
+ if (!plain(frame) || frame.id !== item.req.id) throw Error();
157
+ if (frame.tipo === "envioIniciado") {
158
+ sending = true;
159
+ continue;
160
+ }
161
+ if (result || frame.versao !== 1 || frame.sourceRevision !== contract.sourceRevision || frame.contractHash !== contract.contractHash || typeof frame.sucesso !== "boolean" || !STATES.has(String(frame.estado))) throw Error();
162
+ if (frame.xmlBase64 !== void 0 && (typeof frame.xmlBase64 !== "string" || !frame.xmlBase64.length || Buffer.from(frame.xmlBase64, "base64").toString("base64") !== frame.xmlBase64)) throw Error();
163
+ if (frame.cStat !== void 0 && (!Number.isInteger(frame.cStat) || Number(frame.cStat) < 1 || Number(frame.cStat) > 9999)) throw Error();
164
+ result = frame;
165
+ } catch {
166
+ stop("RESPOSTA_INVALIDA", "O motor retornou uma resposta inv\xE1lida.");
167
+ return;
168
+ }
169
+ }
170
+ });
171
+ child.on("close", (code) => {
172
+ if (finished) return;
173
+ if (stopError) {
174
+ finish(stopError);
175
+ return;
176
+ }
177
+ if (code !== 0 || rest.length || !result) {
178
+ finish(fail("FALHA_MOTOR", "O motor encerrou sem resposta fiscal v\xE1lida.", item.req, uncertain()));
179
+ return;
180
+ }
181
+ finish();
182
+ });
183
+ child.stdin.end(item.bytes);
184
+ if (item.signal?.aborted) abort();
185
+ });
186
+ }
187
+ let busy = false;
188
+ async function next() {
189
+ if (busy) return;
190
+ const item = queue.shift();
191
+ if (!item) return;
192
+ busy = true;
193
+ item.signal?.removeEventListener("abort", item.abort);
194
+ try {
195
+ await execute(item);
196
+ } catch (e) {
197
+ item.bytes.fill(0);
198
+ item.reject(e);
199
+ } finally {
200
+ busy = false;
201
+ void next();
202
+ }
203
+ }
204
+ async function request(command, data, operation = {}) {
205
+ if (closed) throw fail("EMISSOR_FECHADO", "Emissor encerrado.");
206
+ if (operation.signal?.aborted) throw fail("OPERACAO_CANCELADA", "Opera\xE7\xE3o cancelada antes da execu\xE7\xE3o.");
207
+ if (["assinar", "transmitir", "consultar", "cancelar", "cartaCorrecao", "inutilizar"].includes(command) && !certificate) throw fail("CERTIFICADO_AUSENTE", "A opera\xE7\xE3o exige um certificado A1.");
208
+ if (command === "gerarXml") options.validaDocumento?.(data.documento);
209
+ const config = { ...cfg };
210
+ if (certificate) {
211
+ let pfx;
212
+ try {
213
+ pfx = certificate.pfx ?? await readFile(certificate.arquivo);
214
+ } catch {
215
+ throw fail("CERTIFICADO_AUSENTE", "N\xE3o foi poss\xEDvel ler o A1 configurado.");
216
+ }
217
+ if (pfx.length > 2 * 1024 * 1024) throw fail("CERTIFICADO_EXCESSIVO", "Certificado excede o limite.");
218
+ config.certificado = { pfxBase64: pfx.toString("base64"), senha: certificate.senha };
219
+ }
220
+ let bytes, req;
221
+ try {
222
+ bytes = Buffer.from(JSON.stringify({ versao: 1, id: randomUUID(), ...contract, comando: command, config, ...data }) + "\n", "utf8");
223
+ if (bytes.length > bytesLimit) throw Error();
224
+ req = JSON.parse(bytes.toString("utf8"));
225
+ } catch {
226
+ throw fail("REQUISICAO_INVALIDA", "Dados da opera\xE7\xE3o inv\xE1lidos ou acima do limite.");
227
+ }
228
+ return new Promise((resolve, reject) => {
229
+ if (closed) {
230
+ bytes.fill(0);
231
+ reject(fail("EMISSOR_FECHADO", "Emissor encerrado."));
232
+ return;
233
+ }
234
+ if (busy && queue.length >= capacity) {
235
+ bytes.fill(0);
236
+ reject(fail("FILA_CHEIA", "A fila fiscal est\xE1 cheia."));
237
+ return;
238
+ }
239
+ const item = { req, bytes, signal: operation.signal, resolve, reject };
240
+ item.abort = () => {
241
+ const i = queue.indexOf(item);
242
+ if (i >= 0) {
243
+ queue.splice(i, 1);
244
+ bytes.fill(0);
245
+ operation.signal?.removeEventListener("abort", item.abort);
246
+ reject(fail("OPERACAO_CANCELADA", "Opera\xE7\xE3o cancelada antes da execu\xE7\xE3o."));
247
+ }
248
+ };
249
+ operation.signal?.addEventListener("abort", item.abort, { once: true });
250
+ queue.push(item);
251
+ if (operation.signal?.aborted) item.abort();
252
+ void next();
253
+ });
254
+ }
255
+ const xmlData = (xml) => {
256
+ if (typeof xml !== "string" || !xml.trim() || Buffer.byteLength(xml, "utf8") > 2 * 1024 * 1024) throw fail("XML_INVALIDO", "XML vazio ou acima do limite.");
257
+ return { xmlBase64: Buffer.from(xml, "utf8").toString("base64") };
258
+ };
259
+ const checkKey = (key) => {
260
+ if (!/^\d{44}$/.test(key)) throw fail("CHAVE_INVALIDA", "Chave fiscal inv\xE1lida.");
261
+ };
262
+ const reason = (value) => {
263
+ if (typeof value !== "string" || value.length < 15 || value.length > 255) throw fail("JUSTIFICATIVA_INVALIDA", "Justificativa deve ter de 15 a 255 caracteres.");
264
+ };
265
+ return {
266
+ gerarXml: (documento, op) => request("gerarXml", { documento }, op),
267
+ validar: (xml, op) => request("validar", xmlData(xml), op),
268
+ assinar: (xml, op) => request("assinar", xmlData(xml), op),
269
+ transmitir: (xml, op) => request("transmitir", xmlData(xml), op),
270
+ consultar: (consulta, op) => {
271
+ checkKey(consulta.chave);
272
+ if (consulta.recibo && !/^\d{15}$/.test(consulta.recibo)) throw fail("RECIBO_INVALIDO", "Recibo inv\xE1lido.");
273
+ return request("consultar", consulta, op);
274
+ },
275
+ cancelar: (data, op) => {
276
+ checkKey(data.chave);
277
+ reason(data.justificativa);
278
+ if (!/^\d{15}$/.test(data.protocolo)) throw fail("PROTOCOLO_INVALIDO", "Protocolo inv\xE1lido.");
279
+ return request("cancelar", data, op);
280
+ },
281
+ cartaCorrecao: (data, op) => {
282
+ if (cfg.modelo !== 55) throw fail("OPERACAO_NAO_SUPORTADA", "Carta de corre\xE7\xE3o exige NF-e modelo 55.");
283
+ checkKey(data.chave);
284
+ if (typeof data.correcao !== "string" || data.correcao.length < 15 || data.correcao.length > 1e3 || !Number.isInteger(data.sequenciaEvento ?? 1) || (data.sequenciaEvento ?? 1) < 1 || (data.sequenciaEvento ?? 1) > 20) throw fail("CORRECAO_INVALIDA", "Dados da carta de corre\xE7\xE3o inv\xE1lidos.");
285
+ return request("cartaCorrecao", { ...data, sequenciaEvento: data.sequenciaEvento ?? 1 }, op);
286
+ },
287
+ inutilizar: (data, op) => {
288
+ reason(data.justificativa);
289
+ if (!Number.isInteger(data.ano) || data.ano < 0 || data.ano > 99 || !Number.isInteger(data.serie) || data.serie < 0 || data.serie > 999 || !Number.isInteger(data.numeroInicial) || data.numeroInicial < 1 || !Number.isInteger(data.numeroFinal) || data.numeroFinal < data.numeroInicial || data.numeroFinal > 999999999) throw fail("INUTILIZACAO_INVALIDA", "Faixa de inutiliza\xE7\xE3o inv\xE1lida.");
290
+ return request("inutilizar", { inutilizacao: { ano: data.ano, serie: data.serie, numeroInicial: data.numeroInicial, numeroFinal: data.numeroFinal }, justificativa: data.justificativa }, op);
291
+ },
292
+ async fechar() {
293
+ if (closed) return;
294
+ closed = true;
295
+ for (const item of queue.splice(0)) {
296
+ item.signal?.removeEventListener("abort", item.abort);
297
+ item.bytes.fill(0);
298
+ item.reject(fail("EMISSOR_FECHADO", "Emissor encerrado."));
299
+ }
300
+ const running = current;
301
+ running?.stop();
302
+ if (running) await running.done;
303
+ certificate?.pfx?.fill(0);
304
+ }
305
+ };
306
+ }
307
+
308
+ // generated/acbr/models.ts
309
+ var ACBR_CONTRACT = { "sourceRevision": 48590, "contractHash": "e5a497cefe8e0e350a30da5cc04e88b35c38a98535893d52f878890260d1346d" };
310
+ var SOURCE_REVISION = ACBR_CONTRACT.sourceRevision;
311
+ var CONTRACT_HASH = ACBR_CONTRACT.contractHash;
312
+ var TACBrProcessoEmissao = Object.freeze({ "peAplicativoContribuinte": "peAplicativoContribuinte", "peAvulsaFisco": "peAvulsaFisco", "peAvulsaContribuinte": "peAvulsaContribuinte", "peContribuinteAplicativoFisco": "peContribuinteAplicativoFisco", "peProvedorAssinaturaAutorizacao": "peProvedorAssinaturaAutorizacao" });
313
+ var TACBrTipoAmbiente = Object.freeze({ "taProducao": "taProducao", "taHomologacao": "taHomologacao" });
314
+ var TACBrTipoEmissao = Object.freeze({ "teNormal": "teNormal", "teContingencia": "teContingencia", "teSCAN": "teSCAN", "teDPEC": "teDPEC", "teFSDA": "teFSDA", "teSVCAN": "teSVCAN", "teSVCRS": "teSVCRS", "teSVCSP": "teSVCSP", "teOffLine": "teOffLine" });
315
+ var TACBrTipoImpressao = Object.freeze({ "tiSemGeracao": "tiSemGeracao", "tiRetrato": "tiRetrato", "tiPaisagem": "tiPaisagem", "tiSimplificado": "tiSimplificado", "tiNFCe": "tiNFCe", "tiMsgEletronica": "tiMsgEletronica", "tiSimplificadoTipo2": "tiSimplificadoTipo2" });
316
+ var TAdiCollection = class extends Array {
317
+ New(input = {}) {
318
+ const item = new TAdiCollectionItem(input);
319
+ this.push(item);
320
+ return item;
321
+ }
322
+ };
323
+ var TAdiCollectionItem = class {
324
+ "cFabricante";
325
+ "nAdicao";
326
+ "nDraw";
327
+ "nSeqAdi";
328
+ "vDescDI";
329
+ constructor(input = {}) {
330
+ validateModel("TAdiCollectionItem", input);
331
+ if (input["cFabricante"] !== void 0) this["cFabricante"] = input["cFabricante"];
332
+ if (input["nAdicao"] !== void 0) this["nAdicao"] = input["nAdicao"];
333
+ if (input["nDraw"] !== void 0) this["nDraw"] = input["nDraw"];
334
+ if (input["nSeqAdi"] !== void 0) this["nSeqAdi"] = input["nSeqAdi"];
335
+ if (input["vDescDI"] !== void 0) this["vDescDI"] = input["vDescDI"];
336
+ }
337
+ };
338
+ var Tagropecuario = class {
339
+ "defensivo" = new TdefensivoCollection();
340
+ "guiaTransito" = new TguiaTransito();
341
+ constructor(input = {}) {
342
+ validateModel("Tagropecuario", input);
343
+ if (input["defensivo"] !== void 0) this["defensivo"] = Object.assign(new TdefensivoCollection(), input["defensivo"].map((v) => new TdefensivoCollectionItem(v)));
344
+ if (input["guiaTransito"] !== void 0) this["guiaTransito"] = new TguiaTransito(input["guiaTransito"]);
345
+ }
346
+ };
347
+ var TArmaCollection = class extends Array {
348
+ New(input = {}) {
349
+ const item = new TArmaCollectionItem(input);
350
+ this.push(item);
351
+ return item;
352
+ }
353
+ };
354
+ var TArmaCollectionItem = class {
355
+ "descr";
356
+ "nCano";
357
+ "nSerie";
358
+ /** Pascal streaming default: taUsoPermitido. Omission preserves the native constructor. */
359
+ "tpArma";
360
+ constructor(input = {}) {
361
+ validateModel("TArmaCollectionItem", input);
362
+ if (input["descr"] !== void 0) this["descr"] = input["descr"];
363
+ if (input["nCano"] !== void 0) this["nCano"] = input["nCano"];
364
+ if (input["nSerie"] !== void 0) this["nSerie"] = input["nSerie"];
365
+ if (input["tpArma"] !== void 0) this["tpArma"] = input["tpArma"];
366
+ }
367
+ };
368
+ var TautXMLCollection = class extends Array {
369
+ New(input = {}) {
370
+ const item = new TautXMLCollectionItem(input);
371
+ this.push(item);
372
+ return item;
373
+ }
374
+ };
375
+ var TautXMLCollectionItem = class {
376
+ "CNPJCPF";
377
+ constructor(input = {}) {
378
+ validateModel("TautXMLCollectionItem", input);
379
+ if (input["CNPJCPF"] !== void 0) this["CNPJCPF"] = input["CNPJCPF"];
380
+ }
381
+ };
382
+ var TAvulsa = class {
383
+ "CNPJ";
384
+ "dEmi";
385
+ "dPag";
386
+ "fone";
387
+ "matr";
388
+ "nDAR";
389
+ "repEmi";
390
+ "UF";
391
+ "vDAR";
392
+ "xAgente";
393
+ "xOrgao";
394
+ constructor(input = {}) {
395
+ validateModel("TAvulsa", input);
396
+ if (input["CNPJ"] !== void 0) this["CNPJ"] = input["CNPJ"];
397
+ if (input["dEmi"] !== void 0) this["dEmi"] = input["dEmi"];
398
+ if (input["dPag"] !== void 0) this["dPag"] = input["dPag"];
399
+ if (input["fone"] !== void 0) this["fone"] = input["fone"];
400
+ if (input["matr"] !== void 0) this["matr"] = input["matr"];
401
+ if (input["nDAR"] !== void 0) this["nDAR"] = input["nDAR"];
402
+ if (input["repEmi"] !== void 0) this["repEmi"] = input["repEmi"];
403
+ if (input["UF"] !== void 0) this["UF"] = input["UF"];
404
+ if (input["vDAR"] !== void 0) this["vDAR"] = input["vDAR"];
405
+ if (input["xAgente"] !== void 0) this["xAgente"] = input["xAgente"];
406
+ if (input["xOrgao"] !== void 0) this["xOrgao"] = input["xOrgao"];
407
+ }
408
+ };
409
+ var Tcana = class {
410
+ "deduc" = new TDeducCollection();
411
+ "fordia" = new TForDiaCollection();
412
+ "qTotAnt";
413
+ "qTotGer";
414
+ "qTotMes";
415
+ "ref";
416
+ "safra";
417
+ "vFor";
418
+ "vLiqFor";
419
+ "vTotDed";
420
+ constructor(input = {}) {
421
+ validateModel("Tcana", input);
422
+ if (input["deduc"] !== void 0) this["deduc"] = Object.assign(new TDeducCollection(), input["deduc"].map((v) => new TDeducCollectionItem(v)));
423
+ if (input["fordia"] !== void 0) this["fordia"] = Object.assign(new TForDiaCollection(), input["fordia"].map((v) => new TForDiaCollectionItem(v)));
424
+ if (input["qTotAnt"] !== void 0) this["qTotAnt"] = input["qTotAnt"];
425
+ if (input["qTotGer"] !== void 0) this["qTotGer"] = input["qTotGer"];
426
+ if (input["qTotMes"] !== void 0) this["qTotMes"] = input["qTotMes"];
427
+ if (input["ref"] !== void 0) this["ref"] = input["ref"];
428
+ if (input["safra"] !== void 0) this["safra"] = input["safra"];
429
+ if (input["vFor"] !== void 0) this["vFor"] = input["vFor"];
430
+ if (input["vLiqFor"] !== void 0) this["vLiqFor"] = input["vLiqFor"];
431
+ if (input["vTotDed"] !== void 0) this["vTotDed"] = input["vTotDed"];
432
+ }
433
+ };
434
+ var TcCredPres = Object.freeze({ "cpNenhum": "cpNenhum", "cp01": "cp01", "cp02": "cp02", "cp03": "cp03", "cp04": "cp04", "cp05": "cp05", "cp06": "cp06", "cp07": "cp07", "cp08": "cp08", "cp09": "cp09", "cp10": "cp10", "cp11": "cp11", "cp12": "cp12", "cp13": "cp13" });
435
+ var TCIDE = class {
436
+ "qBCProd";
437
+ "vAliqProd";
438
+ "vCIDE";
439
+ constructor(input = {}) {
440
+ validateModel("TCIDE", input);
441
+ if (input["qBCProd"] !== void 0) this["qBCProd"] = input["qBCProd"];
442
+ if (input["vAliqProd"] !== void 0) this["vAliqProd"] = input["vAliqProd"];
443
+ if (input["vCIDE"] !== void 0) this["vCIDE"] = input["vCIDE"];
444
+ }
445
+ };
446
+ var TCobr = class {
447
+ "Dup" = new TDupCollection();
448
+ "Fat" = new TFat();
449
+ constructor(input = {}) {
450
+ validateModel("TCobr", input);
451
+ if (input["Dup"] !== void 0) this["Dup"] = Object.assign(new TDupCollection(), input["Dup"].map((v) => new TDupCollectionItem(v)));
452
+ if (input["Fat"] !== void 0) this["Fat"] = new TFat(input["Fat"]);
453
+ }
454
+ };
455
+ var TCOFINS = class {
456
+ /** Pascal streaming default: cof01. Omission preserves the native constructor. */
457
+ "CST";
458
+ "pCOFINS";
459
+ "qBCProd";
460
+ "vAliqProd";
461
+ "vBC";
462
+ "vBCProd";
463
+ "vCOFINS";
464
+ constructor(input = {}) {
465
+ validateModel("TCOFINS", input);
466
+ if (input["CST"] !== void 0) this["CST"] = input["CST"];
467
+ if (input["pCOFINS"] !== void 0) this["pCOFINS"] = input["pCOFINS"];
468
+ if (input["qBCProd"] !== void 0) this["qBCProd"] = input["qBCProd"];
469
+ if (input["vAliqProd"] !== void 0) this["vAliqProd"] = input["vAliqProd"];
470
+ if (input["vBC"] !== void 0) this["vBC"] = input["vBC"];
471
+ if (input["vBCProd"] !== void 0) this["vBCProd"] = input["vBCProd"];
472
+ if (input["vCOFINS"] !== void 0) this["vCOFINS"] = input["vCOFINS"];
473
+ }
474
+ };
475
+ var TCOFINSST = class {
476
+ "indSomaCOFINSST";
477
+ "pCOFINS";
478
+ "qBCProd";
479
+ "vAliqProd";
480
+ "vBC";
481
+ "vCOFINS";
482
+ constructor(input = {}) {
483
+ validateModel("TCOFINSST", input);
484
+ if (input["indSomaCOFINSST"] !== void 0) this["indSomaCOFINSST"] = input["indSomaCOFINSST"];
485
+ if (input["pCOFINS"] !== void 0) this["pCOFINS"] = input["pCOFINS"];
486
+ if (input["qBCProd"] !== void 0) this["qBCProd"] = input["qBCProd"];
487
+ if (input["vAliqProd"] !== void 0) this["vAliqProd"] = input["vAliqProd"];
488
+ if (input["vBC"] !== void 0) this["vBC"] = input["vBC"];
489
+ if (input["vCOFINS"] !== void 0) this["vCOFINS"] = input["vCOFINS"];
490
+ }
491
+ };
492
+ var TComb = class {
493
+ "CIDE" = new TCIDE();
494
+ "CODIF";
495
+ "cProdANP";
496
+ "descANP";
497
+ "encerrante" = new Tencerrante();
498
+ "ICMS" = new TICMSComb();
499
+ "ICMSCons" = new TICMSCons();
500
+ "ICMSInter" = new TICMSInter();
501
+ "origComb" = new TorigCombCollection();
502
+ "pBio";
503
+ "pGLP";
504
+ "pGNi";
505
+ "pGNn";
506
+ "pMixGN";
507
+ "qTemp";
508
+ "UFcons";
509
+ "vPart";
510
+ constructor(input = {}) {
511
+ validateModel("TComb", input);
512
+ if (input["CIDE"] !== void 0) this["CIDE"] = new TCIDE(input["CIDE"]);
513
+ if (input["CODIF"] !== void 0) this["CODIF"] = input["CODIF"];
514
+ if (input["cProdANP"] !== void 0) this["cProdANP"] = input["cProdANP"];
515
+ if (input["descANP"] !== void 0) this["descANP"] = input["descANP"];
516
+ if (input["encerrante"] !== void 0) this["encerrante"] = new Tencerrante(input["encerrante"]);
517
+ if (input["ICMS"] !== void 0) this["ICMS"] = new TICMSComb(input["ICMS"]);
518
+ if (input["ICMSCons"] !== void 0) this["ICMSCons"] = new TICMSCons(input["ICMSCons"]);
519
+ if (input["ICMSInter"] !== void 0) this["ICMSInter"] = new TICMSInter(input["ICMSInter"]);
520
+ if (input["origComb"] !== void 0) this["origComb"] = Object.assign(new TorigCombCollection(), input["origComb"].map((v) => new TorigCombCollectionItem(v)));
521
+ if (input["pBio"] !== void 0) this["pBio"] = input["pBio"];
522
+ if (input["pGLP"] !== void 0) this["pGLP"] = input["pGLP"];
523
+ if (input["pGNi"] !== void 0) this["pGNi"] = input["pGNi"];
524
+ if (input["pGNn"] !== void 0) this["pGNn"] = input["pGNn"];
525
+ if (input["pMixGN"] !== void 0) this["pMixGN"] = input["pMixGN"];
526
+ if (input["qTemp"] !== void 0) this["qTemp"] = input["qTemp"];
527
+ if (input["UFcons"] !== void 0) this["UFcons"] = input["UFcons"];
528
+ if (input["vPart"] !== void 0) this["vPart"] = input["vPart"];
529
+ }
530
+ };
531
+ var TCompra = class {
532
+ "xCont";
533
+ "xNEmp";
534
+ "xPed";
535
+ constructor(input = {}) {
536
+ validateModel("TCompra", input);
537
+ if (input["xCont"] !== void 0) this["xCont"] = input["xCont"];
538
+ if (input["xNEmp"] !== void 0) this["xNEmp"] = input["xNEmp"];
539
+ if (input["xPed"] !== void 0) this["xPed"] = input["xPed"];
540
+ }
541
+ };
542
+ var TCredPresIBSZFM = class {
543
+ "competApur";
544
+ "tpCredPresIBSZFM";
545
+ "vCredPresIBSZFM";
546
+ constructor(input = {}) {
547
+ validateModel("TCredPresIBSZFM", input);
548
+ if (input["competApur"] !== void 0) this["competApur"] = input["competApur"];
549
+ if (input["tpCredPresIBSZFM"] !== void 0) this["tpCredPresIBSZFM"] = input["tpCredPresIBSZFM"];
550
+ if (input["vCredPresIBSZFM"] !== void 0) this["vCredPresIBSZFM"] = input["vCredPresIBSZFM"];
551
+ }
552
+ };
553
+ var TCredPresumidoCollection = class extends Array {
554
+ New(input = {}) {
555
+ const item = new TCredPresumidoCollectionItem(input);
556
+ this.push(item);
557
+ return item;
558
+ }
559
+ };
560
+ var TCredPresumidoCollectionItem = class {
561
+ "cCredPresumido";
562
+ "pCredPresumido";
563
+ "vCredPresumido";
564
+ constructor(input = {}) {
565
+ validateModel("TCredPresumidoCollectionItem", input);
566
+ if (input["cCredPresumido"] !== void 0) this["cCredPresumido"] = input["cCredPresumido"];
567
+ if (input["pCredPresumido"] !== void 0) this["pCredPresumido"] = input["pCredPresumido"];
568
+ if (input["vCredPresumido"] !== void 0) this["vCredPresumido"] = input["vCredPresumido"];
569
+ }
570
+ };
571
+ var TCSOSNIcms = Object.freeze({ "csosnVazio": "csosnVazio", "csosn101": "csosn101", "csosn102": "csosn102", "csosn103": "csosn103", "csosn201": "csosn201", "csosn202": "csosn202", "csosn203": "csosn203", "csosn300": "csosn300", "csosn400": "csosn400", "csosn500": "csosn500", "csosn900": "csosn900" });
572
+ var TCSTCofins = Object.freeze({ "cof01": "cof01", "cof02": "cof02", "cof03": "cof03", "cof04": "cof04", "cof05": "cof05", "cof06": "cof06", "cof07": "cof07", "cof08": "cof08", "cof09": "cof09", "cof49": "cof49", "cof50": "cof50", "cof51": "cof51", "cof52": "cof52", "cof53": "cof53", "cof54": "cof54", "cof55": "cof55", "cof56": "cof56", "cof60": "cof60", "cof61": "cof61", "cof62": "cof62", "cof63": "cof63", "cof64": "cof64", "cof65": "cof65", "cof66": "cof66", "cof67": "cof67", "cof70": "cof70", "cof71": "cof71", "cof72": "cof72", "cof73": "cof73", "cof74": "cof74", "cof75": "cof75", "cof98": "cof98", "cof99": "cof99" });
573
+ var TCSTIBSCBS = Object.freeze({ "cstNenhum": "cstNenhum", "cst000": "cst000", "cst010": "cst010", "cst011": "cst011", "cst200": "cst200", "cst220": "cst220", "cst221": "cst221", "cst222": "cst222", "cst400": "cst400", "cst410": "cst410", "cst510": "cst510", "cst515": "cst515", "cst550": "cst550", "cst620": "cst620", "cst800": "cst800", "cst810": "cst810", "cst811": "cst811", "cst820": "cst820", "cst830": "cst830" });
574
+ var TCSTIcms = Object.freeze({ "cstVazio": "cstVazio", "cst00": "cst00", "cst10": "cst10", "cst20": "cst20", "cst30": "cst30", "cst40": "cst40", "cst41": "cst41", "cst45": "cst45", "cst50": "cst50", "cst51": "cst51", "cst60": "cst60", "cst70": "cst70", "cst80": "cst80", "cst81": "cst81", "cst90": "cst90", "cstICMSOutraUF": "cstICMSOutraUF", "cstICMSSN": "cstICMSSN", "cstPart10": "cstPart10", "cstPart90": "cstPart90", "cstRep41": "cstRep41", "cstRep60": "cstRep60", "cst02": "cst02", "cst15": "cst15", "cst53": "cst53", "cst61": "cst61", "cst01": "cst01", "cst12": "cst12", "cst13": "cst13", "cst14": "cst14", "cst21": "cst21", "cst72": "cst72", "cst73": "cst73", "cst74": "cst74", "cstPart20": "cstPart20" });
575
+ var TCSTPis = Object.freeze({ "pis01": "pis01", "pis02": "pis02", "pis03": "pis03", "pis04": "pis04", "pis05": "pis05", "pis06": "pis06", "pis07": "pis07", "pis08": "pis08", "pis09": "pis09", "pis49": "pis49", "pis50": "pis50", "pis51": "pis51", "pis52": "pis52", "pis53": "pis53", "pis54": "pis54", "pis55": "pis55", "pis56": "pis56", "pis60": "pis60", "pis61": "pis61", "pis62": "pis62", "pis63": "pis63", "pis64": "pis64", "pis65": "pis65", "pis66": "pis66", "pis67": "pis67", "pis70": "pis70", "pis71": "pis71", "pis72": "pis72", "pis73": "pis73", "pis74": "pis74", "pis75": "pis75", "pis98": "pis98", "pis99": "pis99" });
576
+ var TDeducCollection = class extends Array {
577
+ New(input = {}) {
578
+ const item = new TDeducCollectionItem(input);
579
+ this.push(item);
580
+ return item;
581
+ }
582
+ };
583
+ var TDeducCollectionItem = class {
584
+ "vDed";
585
+ "xDed";
586
+ constructor(input = {}) {
587
+ validateModel("TDeducCollectionItem", input);
588
+ if (input["vDed"] !== void 0) this["vDed"] = input["vDed"];
589
+ if (input["xDed"] !== void 0) this["xDed"] = input["xDed"];
590
+ }
591
+ };
592
+ var TdefensivoCollection = class extends Array {
593
+ New(input = {}) {
594
+ const item = new TdefensivoCollectionItem(input);
595
+ this.push(item);
596
+ return item;
597
+ }
598
+ };
599
+ var TdefensivoCollectionItem = class {
600
+ "CPFRespTec";
601
+ "nReceituario";
602
+ constructor(input = {}) {
603
+ validateModel("TdefensivoCollectionItem", input);
604
+ if (input["CPFRespTec"] !== void 0) this["CPFRespTec"] = input["CPFRespTec"];
605
+ if (input["nReceituario"] !== void 0) this["nReceituario"] = input["nReceituario"];
606
+ }
607
+ };
608
+ var TDest = class {
609
+ "CNPJCPF";
610
+ "Email";
611
+ "EnderDest" = new TEnderDest();
612
+ "idEstrangeiro";
613
+ "IE";
614
+ "IM";
615
+ "indIEDest";
616
+ "ISUF";
617
+ "xNome";
618
+ constructor(input = {}) {
619
+ validateModel("TDest", input);
620
+ if (input["CNPJCPF"] !== void 0) this["CNPJCPF"] = input["CNPJCPF"];
621
+ if (input["Email"] !== void 0) this["Email"] = input["Email"];
622
+ if (input["EnderDest"] !== void 0) this["EnderDest"] = new TEnderDest(input["EnderDest"]);
623
+ if (input["idEstrangeiro"] !== void 0) this["idEstrangeiro"] = input["idEstrangeiro"];
624
+ if (input["IE"] !== void 0) this["IE"] = input["IE"];
625
+ if (input["IM"] !== void 0) this["IM"] = input["IM"];
626
+ if (input["indIEDest"] !== void 0) this["indIEDest"] = input["indIEDest"];
627
+ if (input["ISUF"] !== void 0) this["ISUF"] = input["ISUF"];
628
+ if (input["xNome"] !== void 0) this["xNome"] = input["xNome"];
629
+ }
630
+ };
631
+ var TDetCollection = class extends Array {
632
+ New(input = {}) {
633
+ const item = new TDetCollectionItem(input);
634
+ this.push(item);
635
+ return item;
636
+ }
637
+ };
638
+ var TDetCollectionItem = class {
639
+ "DFeReferenciado" = new TDFeReferenciado();
640
+ "Imposto" = new TImposto();
641
+ "infAdProd";
642
+ "obsCont" = new TobsItem();
643
+ "obsFisco" = new TobsItem();
644
+ "pDevol";
645
+ "Prod" = new TProd();
646
+ "vIPIDevol";
647
+ "vItem";
648
+ constructor(input = {}) {
649
+ validateModel("TDetCollectionItem", input);
650
+ if (input["DFeReferenciado"] !== void 0) this["DFeReferenciado"] = new TDFeReferenciado(input["DFeReferenciado"]);
651
+ if (input["Imposto"] !== void 0) this["Imposto"] = new TImposto(input["Imposto"]);
652
+ if (input["infAdProd"] !== void 0) this["infAdProd"] = input["infAdProd"];
653
+ if (input["obsCont"] !== void 0) this["obsCont"] = new TobsItem(input["obsCont"]);
654
+ if (input["obsFisco"] !== void 0) this["obsFisco"] = new TobsItem(input["obsFisco"]);
655
+ if (input["pDevol"] !== void 0) this["pDevol"] = input["pDevol"];
656
+ if (input["Prod"] !== void 0) this["Prod"] = new TProd(input["Prod"]);
657
+ if (input["vIPIDevol"] !== void 0) this["vIPIDevol"] = input["vIPIDevol"];
658
+ if (input["vItem"] !== void 0) this["vItem"] = input["vItem"];
659
+ }
660
+ };
661
+ var TdetExportCollection = class extends Array {
662
+ New(input = {}) {
663
+ const item = new TdetExportCollectionItem(input);
664
+ this.push(item);
665
+ return item;
666
+ }
667
+ };
668
+ var TdetExportCollectionItem = class {
669
+ "chNFe";
670
+ "nDraw";
671
+ "nRE";
672
+ "qExport";
673
+ constructor(input = {}) {
674
+ validateModel("TdetExportCollectionItem", input);
675
+ if (input["chNFe"] !== void 0) this["chNFe"] = input["chNFe"];
676
+ if (input["nDraw"] !== void 0) this["nDraw"] = input["nDraw"];
677
+ if (input["nRE"] !== void 0) this["nRE"] = input["nRE"];
678
+ if (input["qExport"] !== void 0) this["qExport"] = input["qExport"];
679
+ }
680
+ };
681
+ var TDFErefCollection = class extends Array {
682
+ New(input = {}) {
683
+ const item = new TDFErefCollectionItem(input);
684
+ this.push(item);
685
+ return item;
686
+ }
687
+ };
688
+ var TDFErefCollectionItem = class {
689
+ "refDFeChave";
690
+ constructor(input = {}) {
691
+ validateModel("TDFErefCollectionItem", input);
692
+ if (input["refDFeChave"] !== void 0) this["refDFeChave"] = input["refDFeChave"];
693
+ }
694
+ };
695
+ var TDFeReferenciado = class {
696
+ "chaveAcesso";
697
+ "nItem";
698
+ constructor(input = {}) {
699
+ validateModel("TDFeReferenciado", input);
700
+ if (input["chaveAcesso"] !== void 0) this["chaveAcesso"] = input["chaveAcesso"];
701
+ if (input["nItem"] !== void 0) this["nItem"] = input["nItem"];
702
+ }
703
+ };
704
+ var TDICollection = class extends Array {
705
+ New(input = {}) {
706
+ const item = new TDICollectionItem(input);
707
+ this.push(item);
708
+ return item;
709
+ }
710
+ };
711
+ var TDICollectionItem = class {
712
+ "adi" = new TAdiCollection();
713
+ "cExportador";
714
+ "CNPJ";
715
+ "dDesemb";
716
+ "dDi";
717
+ "nDi";
718
+ "tpIntermedio";
719
+ "tpViaTransp";
720
+ "UFDesemb";
721
+ "UFTerceiro";
722
+ "vAFRMM";
723
+ "xLocDesemb";
724
+ constructor(input = {}) {
725
+ validateModel("TDICollectionItem", input);
726
+ if (input["adi"] !== void 0) this["adi"] = Object.assign(new TAdiCollection(), input["adi"].map((v) => new TAdiCollectionItem(v)));
727
+ if (input["cExportador"] !== void 0) this["cExportador"] = input["cExportador"];
728
+ if (input["CNPJ"] !== void 0) this["CNPJ"] = input["CNPJ"];
729
+ if (input["dDesemb"] !== void 0) this["dDesemb"] = input["dDesemb"];
730
+ if (input["dDi"] !== void 0) this["dDi"] = input["dDi"];
731
+ if (input["nDi"] !== void 0) this["nDi"] = input["nDi"];
732
+ if (input["tpIntermedio"] !== void 0) this["tpIntermedio"] = input["tpIntermedio"];
733
+ if (input["tpViaTransp"] !== void 0) this["tpViaTransp"] = input["tpViaTransp"];
734
+ if (input["UFDesemb"] !== void 0) this["UFDesemb"] = input["UFDesemb"];
735
+ if (input["UFTerceiro"] !== void 0) this["UFTerceiro"] = input["UFTerceiro"];
736
+ if (input["vAFRMM"] !== void 0) this["vAFRMM"] = input["vAFRMM"];
737
+ if (input["xLocDesemb"] !== void 0) this["xLocDesemb"] = input["xLocDesemb"];
738
+ }
739
+ };
740
+ var TDupCollection = class extends Array {
741
+ New(input = {}) {
742
+ const item = new TDupCollectionItem(input);
743
+ this.push(item);
744
+ return item;
745
+ }
746
+ };
747
+ var TDupCollectionItem = class {
748
+ "dVenc";
749
+ "nDup";
750
+ "vDup";
751
+ constructor(input = {}) {
752
+ validateModel("TDupCollectionItem", input);
753
+ if (input["dVenc"] !== void 0) this["dVenc"] = input["dVenc"];
754
+ if (input["nDup"] !== void 0) this["nDup"] = input["nDup"];
755
+ if (input["vDup"] !== void 0) this["vDup"] = input["vDup"];
756
+ }
757
+ };
758
+ var TEmit = class {
759
+ "CNAE";
760
+ "CNPJCPF";
761
+ "CRT";
762
+ "EnderEmit" = new TenderEmit();
763
+ "IE";
764
+ "IEST";
765
+ "IM";
766
+ "ISUFEmit";
767
+ "xFant";
768
+ "xNome";
769
+ constructor(input = {}) {
770
+ validateModel("TEmit", input);
771
+ if (input["CNAE"] !== void 0) this["CNAE"] = input["CNAE"];
772
+ if (input["CNPJCPF"] !== void 0) this["CNPJCPF"] = input["CNPJCPF"];
773
+ if (input["CRT"] !== void 0) this["CRT"] = input["CRT"];
774
+ if (input["EnderEmit"] !== void 0) this["EnderEmit"] = new TenderEmit(input["EnderEmit"]);
775
+ if (input["IE"] !== void 0) this["IE"] = input["IE"];
776
+ if (input["IEST"] !== void 0) this["IEST"] = input["IEST"];
777
+ if (input["IM"] !== void 0) this["IM"] = input["IM"];
778
+ if (input["ISUFEmit"] !== void 0) this["ISUFEmit"] = input["ISUFEmit"];
779
+ if (input["xFant"] !== void 0) this["xFant"] = input["xFant"];
780
+ if (input["xNome"] !== void 0) this["xNome"] = input["xNome"];
781
+ }
782
+ };
783
+ var Tencerrante = class {
784
+ "nBico";
785
+ "nBomba";
786
+ "nTanque";
787
+ "vEncFin";
788
+ "vEncIni";
789
+ constructor(input = {}) {
790
+ validateModel("Tencerrante", input);
791
+ if (input["nBico"] !== void 0) this["nBico"] = input["nBico"];
792
+ if (input["nBomba"] !== void 0) this["nBomba"] = input["nBomba"];
793
+ if (input["nTanque"] !== void 0) this["nTanque"] = input["nTanque"];
794
+ if (input["vEncFin"] !== void 0) this["vEncFin"] = input["vEncFin"];
795
+ if (input["vEncIni"] !== void 0) this["vEncIni"] = input["vEncIni"];
796
+ }
797
+ };
798
+ var TEnderDest = class {
799
+ "CEP";
800
+ "cMun";
801
+ "cPais";
802
+ "fone";
803
+ "nro";
804
+ "UF";
805
+ "xBairro";
806
+ "xCpl";
807
+ "xLgr";
808
+ "xMun";
809
+ "xPais";
810
+ constructor(input = {}) {
811
+ validateModel("TEnderDest", input);
812
+ if (input["CEP"] !== void 0) this["CEP"] = input["CEP"];
813
+ if (input["cMun"] !== void 0) this["cMun"] = input["cMun"];
814
+ if (input["cPais"] !== void 0) this["cPais"] = input["cPais"];
815
+ if (input["fone"] !== void 0) this["fone"] = input["fone"];
816
+ if (input["nro"] !== void 0) this["nro"] = input["nro"];
817
+ if (input["UF"] !== void 0) this["UF"] = input["UF"];
818
+ if (input["xBairro"] !== void 0) this["xBairro"] = input["xBairro"];
819
+ if (input["xCpl"] !== void 0) this["xCpl"] = input["xCpl"];
820
+ if (input["xLgr"] !== void 0) this["xLgr"] = input["xLgr"];
821
+ if (input["xMun"] !== void 0) this["xMun"] = input["xMun"];
822
+ if (input["xPais"] !== void 0) this["xPais"] = input["xPais"];
823
+ }
824
+ };
825
+ var TenderEmit = class {
826
+ "CEP";
827
+ "cMun";
828
+ "cPais";
829
+ "fone";
830
+ "nro";
831
+ "UF";
832
+ "xBairro";
833
+ "xCpl";
834
+ "xLgr";
835
+ "xMun";
836
+ "xPais";
837
+ constructor(input = {}) {
838
+ validateModel("TenderEmit", input);
839
+ if (input["CEP"] !== void 0) this["CEP"] = input["CEP"];
840
+ if (input["cMun"] !== void 0) this["cMun"] = input["cMun"];
841
+ if (input["cPais"] !== void 0) this["cPais"] = input["cPais"];
842
+ if (input["fone"] !== void 0) this["fone"] = input["fone"];
843
+ if (input["nro"] !== void 0) this["nro"] = input["nro"];
844
+ if (input["UF"] !== void 0) this["UF"] = input["UF"];
845
+ if (input["xBairro"] !== void 0) this["xBairro"] = input["xBairro"];
846
+ if (input["xCpl"] !== void 0) this["xCpl"] = input["xCpl"];
847
+ if (input["xLgr"] !== void 0) this["xLgr"] = input["xLgr"];
848
+ if (input["xMun"] !== void 0) this["xMun"] = input["xMun"];
849
+ if (input["xPais"] !== void 0) this["xPais"] = input["xPais"];
850
+ }
851
+ };
852
+ var TEntrega = class {
853
+ "CEP";
854
+ "cMun";
855
+ "CNPJCPF";
856
+ "cPais";
857
+ "Email";
858
+ "fone";
859
+ "IE";
860
+ "nro";
861
+ "UF";
862
+ "xBairro";
863
+ "xCpl";
864
+ "xLgr";
865
+ "xMun";
866
+ "xNome";
867
+ "xPais";
868
+ constructor(input = {}) {
869
+ validateModel("TEntrega", input);
870
+ if (input["CEP"] !== void 0) this["CEP"] = input["CEP"];
871
+ if (input["cMun"] !== void 0) this["cMun"] = input["cMun"];
872
+ if (input["CNPJCPF"] !== void 0) this["CNPJCPF"] = input["CNPJCPF"];
873
+ if (input["cPais"] !== void 0) this["cPais"] = input["cPais"];
874
+ if (input["Email"] !== void 0) this["Email"] = input["Email"];
875
+ if (input["fone"] !== void 0) this["fone"] = input["fone"];
876
+ if (input["IE"] !== void 0) this["IE"] = input["IE"];
877
+ if (input["nro"] !== void 0) this["nro"] = input["nro"];
878
+ if (input["UF"] !== void 0) this["UF"] = input["UF"];
879
+ if (input["xBairro"] !== void 0) this["xBairro"] = input["xBairro"];
880
+ if (input["xCpl"] !== void 0) this["xCpl"] = input["xCpl"];
881
+ if (input["xLgr"] !== void 0) this["xLgr"] = input["xLgr"];
882
+ if (input["xMun"] !== void 0) this["xMun"] = input["xMun"];
883
+ if (input["xNome"] !== void 0) this["xNome"] = input["xNome"];
884
+ if (input["xPais"] !== void 0) this["xPais"] = input["xPais"];
885
+ }
886
+ };
887
+ var TExporta = class {
888
+ "UFembarq";
889
+ "UFSaidaPais";
890
+ "xLocDespacho";
891
+ "xLocEmbarq";
892
+ "xLocExporta";
893
+ constructor(input = {}) {
894
+ validateModel("TExporta", input);
895
+ if (input["UFembarq"] !== void 0) this["UFembarq"] = input["UFembarq"];
896
+ if (input["UFSaidaPais"] !== void 0) this["UFSaidaPais"] = input["UFSaidaPais"];
897
+ if (input["xLocDespacho"] !== void 0) this["xLocDespacho"] = input["xLocDespacho"];
898
+ if (input["xLocEmbarq"] !== void 0) this["xLocEmbarq"] = input["xLocEmbarq"];
899
+ if (input["xLocExporta"] !== void 0) this["xLocExporta"] = input["xLocExporta"];
900
+ }
901
+ };
902
+ var TFat = class {
903
+ "nFat";
904
+ "vDesc";
905
+ "vLiq";
906
+ "vOrig";
907
+ constructor(input = {}) {
908
+ validateModel("TFat", input);
909
+ if (input["nFat"] !== void 0) this["nFat"] = input["nFat"];
910
+ if (input["vDesc"] !== void 0) this["vDesc"] = input["vDesc"];
911
+ if (input["vLiq"] !== void 0) this["vLiq"] = input["vLiq"];
912
+ if (input["vOrig"] !== void 0) this["vOrig"] = input["vOrig"];
913
+ }
914
+ };
915
+ var TForDiaCollection = class extends Array {
916
+ New(input = {}) {
917
+ const item = new TForDiaCollectionItem(input);
918
+ this.push(item);
919
+ return item;
920
+ }
921
+ };
922
+ var TForDiaCollectionItem = class {
923
+ "dia";
924
+ "qtde";
925
+ constructor(input = {}) {
926
+ validateModel("TForDiaCollectionItem", input);
927
+ if (input["dia"] !== void 0) this["dia"] = input["dia"];
928
+ if (input["qtde"] !== void 0) this["qtde"] = input["qtde"];
929
+ }
930
+ };
931
+ var TgAjusteCompet = class {
932
+ "competApur";
933
+ "vCBS";
934
+ "vIBS";
935
+ constructor(input = {}) {
936
+ validateModel("TgAjusteCompet", input);
937
+ if (input["competApur"] !== void 0) this["competApur"] = input["competApur"];
938
+ if (input["vCBS"] !== void 0) this["vCBS"] = input["vCBS"];
939
+ if (input["vIBS"] !== void 0) this["vIBS"] = input["vIBS"];
940
+ }
941
+ };
942
+ var TgALCZFMCBS = class {
943
+ "nProcSuframa";
944
+ "pAliqEfetRegCBS";
945
+ "tpALCZFMCBS";
946
+ "vTribRegCBS";
947
+ constructor(input = {}) {
948
+ validateModel("TgALCZFMCBS", input);
949
+ if (input["nProcSuframa"] !== void 0) this["nProcSuframa"] = input["nProcSuframa"];
950
+ if (input["pAliqEfetRegCBS"] !== void 0) this["pAliqEfetRegCBS"] = input["pAliqEfetRegCBS"];
951
+ if (input["tpALCZFMCBS"] !== void 0) this["tpALCZFMCBS"] = input["tpALCZFMCBS"];
952
+ if (input["vTribRegCBS"] !== void 0) this["vTribRegCBS"] = input["vTribRegCBS"];
953
+ }
954
+ };
955
+ var TgCBS = class {
956
+ "vCBS";
957
+ "vCredPres";
958
+ "vCredPresCondSus";
959
+ "vDevTrib";
960
+ "vDif";
961
+ constructor(input = {}) {
962
+ validateModel("TgCBS", input);
963
+ if (input["vCBS"] !== void 0) this["vCBS"] = input["vCBS"];
964
+ if (input["vCredPres"] !== void 0) this["vCredPres"] = input["vCredPres"];
965
+ if (input["vCredPresCondSus"] !== void 0) this["vCredPresCondSus"] = input["vCredPresCondSus"];
966
+ if (input["vDevTrib"] !== void 0) this["vDevTrib"] = input["vDevTrib"];
967
+ if (input["vDif"] !== void 0) this["vDif"] = input["vDif"];
968
+ }
969
+ };
970
+ var TgCBSMonoAdRem = class {
971
+ "gMonoPadrao" = new TgMonoPadraoCBSQtde();
972
+ "gMonoRet" = new TgMonoRetCBS();
973
+ "gMonoReten" = new TgMonoRetenCBSQtde();
974
+ "gpBioDiferenca" = new TgpBioDiferencaCBS();
975
+ constructor(input = {}) {
976
+ validateModel("TgCBSMonoAdRem", input);
977
+ if (input["gMonoPadrao"] !== void 0) this["gMonoPadrao"] = new TgMonoPadraoCBSQtde(input["gMonoPadrao"]);
978
+ if (input["gMonoRet"] !== void 0) this["gMonoRet"] = new TgMonoRetCBS(input["gMonoRet"]);
979
+ if (input["gMonoReten"] !== void 0) this["gMonoReten"] = new TgMonoRetenCBSQtde(input["gMonoReten"]);
980
+ if (input["gpBioDiferenca"] !== void 0) this["gpBioDiferenca"] = new TgpBioDiferencaCBS(input["gpBioDiferenca"]);
981
+ }
982
+ };
983
+ var TgCBSMonoAdValorem = class {
984
+ "gMonoPadrao" = new TgMonoPadraoCBSAliq();
985
+ "gMonoRet" = new TgMonoRetCBS();
986
+ "gMonoReten" = new TgMonoRetenCBSAliq();
987
+ "gpBioDiferenca" = new TgpBioDiferencaCBS();
988
+ constructor(input = {}) {
989
+ validateModel("TgCBSMonoAdValorem", input);
990
+ if (input["gMonoPadrao"] !== void 0) this["gMonoPadrao"] = new TgMonoPadraoCBSAliq(input["gMonoPadrao"]);
991
+ if (input["gMonoRet"] !== void 0) this["gMonoRet"] = new TgMonoRetCBS(input["gMonoRet"]);
992
+ if (input["gMonoReten"] !== void 0) this["gMonoReten"] = new TgMonoRetenCBSAliq(input["gMonoReten"]);
993
+ if (input["gpBioDiferenca"] !== void 0) this["gpBioDiferenca"] = new TgpBioDiferencaCBS(input["gpBioDiferenca"]);
994
+ }
995
+ };
996
+ var TgCBSValores = class {
997
+ "gALCZFMCBS" = new TgALCZFMCBS();
998
+ "gDevTrib" = new TgDevTrib();
999
+ "gDif" = new TgDif();
1000
+ "gRed" = new TgRed();
1001
+ "pCBS";
1002
+ "vCBS";
1003
+ constructor(input = {}) {
1004
+ validateModel("TgCBSValores", input);
1005
+ if (input["gALCZFMCBS"] !== void 0) this["gALCZFMCBS"] = new TgALCZFMCBS(input["gALCZFMCBS"]);
1006
+ if (input["gDevTrib"] !== void 0) this["gDevTrib"] = new TgDevTrib(input["gDevTrib"]);
1007
+ if (input["gDif"] !== void 0) this["gDif"] = new TgDif(input["gDif"]);
1008
+ if (input["gRed"] !== void 0) this["gRed"] = new TgRed(input["gRed"]);
1009
+ if (input["pCBS"] !== void 0) this["pCBS"] = input["pCBS"];
1010
+ if (input["vCBS"] !== void 0) this["vCBS"] = input["vCBS"];
1011
+ }
1012
+ };
1013
+ var TgCompraGov = class {
1014
+ "pRedutor";
1015
+ "refDFeAnt" = new TDFErefCollection();
1016
+ "tpEnteGov";
1017
+ "tpOperGov";
1018
+ constructor(input = {}) {
1019
+ validateModel("TgCompraGov", input);
1020
+ if (input["pRedutor"] !== void 0) this["pRedutor"] = input["pRedutor"];
1021
+ if (input["refDFeAnt"] !== void 0) this["refDFeAnt"] = Object.assign(new TDFErefCollection(), input["refDFeAnt"].map((v) => new TDFErefCollectionItem(v)));
1022
+ if (input["tpEnteGov"] !== void 0) this["tpEnteGov"] = input["tpEnteGov"];
1023
+ if (input["tpOperGov"] !== void 0) this["tpOperGov"] = input["tpOperGov"];
1024
+ }
1025
+ };
1026
+ var TgCredPresOper = class {
1027
+ "cCredPres";
1028
+ "gCBSCredPres" = new TgIBSCBSCredPres();
1029
+ "gIBSCredPres" = new TgIBSCBSCredPres();
1030
+ "vBCCredPres";
1031
+ constructor(input = {}) {
1032
+ validateModel("TgCredPresOper", input);
1033
+ if (input["cCredPres"] !== void 0) this["cCredPres"] = input["cCredPres"];
1034
+ if (input["gCBSCredPres"] !== void 0) this["gCBSCredPres"] = new TgIBSCBSCredPres(input["gCBSCredPres"]);
1035
+ if (input["gIBSCredPres"] !== void 0) this["gIBSCredPres"] = new TgIBSCBSCredPres(input["gIBSCredPres"]);
1036
+ if (input["vBCCredPres"] !== void 0) this["vBCCredPres"] = input["vBCCredPres"];
1037
+ }
1038
+ };
1039
+ var TgDevTrib = class {
1040
+ "pDevTrib";
1041
+ "vDevTrib";
1042
+ constructor(input = {}) {
1043
+ validateModel("TgDevTrib", input);
1044
+ if (input["pDevTrib"] !== void 0) this["pDevTrib"] = input["pDevTrib"];
1045
+ if (input["vDevTrib"] !== void 0) this["vDevTrib"] = input["vDevTrib"];
1046
+ }
1047
+ };
1048
+ var TgDif = class {
1049
+ "pDif";
1050
+ "vDif";
1051
+ constructor(input = {}) {
1052
+ validateModel("TgDif", input);
1053
+ if (input["pDif"] !== void 0) this["pDif"] = input["pDif"];
1054
+ if (input["vDif"] !== void 0) this["vDif"] = input["vDif"];
1055
+ }
1056
+ };
1057
+ var TgEstornoCred = class {
1058
+ "vCBSEstCred";
1059
+ "vIBSEstCred";
1060
+ constructor(input = {}) {
1061
+ validateModel("TgEstornoCred", input);
1062
+ if (input["vCBSEstCred"] !== void 0) this["vCBSEstCred"] = input["vCBSEstCred"];
1063
+ if (input["vIBSEstCred"] !== void 0) this["vIBSEstCred"] = input["vIBSEstCred"];
1064
+ }
1065
+ };
1066
+ var TgIBS = class {
1067
+ "gIBSMunTot" = new TgIBSMunTot();
1068
+ "gIBSUFTot" = new TgIBSUFTot();
1069
+ "vCredPres";
1070
+ "vCredPresCondSus";
1071
+ "vIBS";
1072
+ constructor(input = {}) {
1073
+ validateModel("TgIBS", input);
1074
+ if (input["gIBSMunTot"] !== void 0) this["gIBSMunTot"] = new TgIBSMunTot(input["gIBSMunTot"]);
1075
+ if (input["gIBSUFTot"] !== void 0) this["gIBSUFTot"] = new TgIBSUFTot(input["gIBSUFTot"]);
1076
+ if (input["vCredPres"] !== void 0) this["vCredPres"] = input["vCredPres"];
1077
+ if (input["vCredPresCondSus"] !== void 0) this["vCredPresCondSus"] = input["vCredPresCondSus"];
1078
+ if (input["vIBS"] !== void 0) this["vIBS"] = input["vIBS"];
1079
+ }
1080
+ };
1081
+ var TgIBSCBS = class {
1082
+ "gCBS" = new TgCBSValores();
1083
+ "gIBSMun" = new TgIBSMunValores();
1084
+ "gIBSUF" = new TgIBSUFValores();
1085
+ "gTribCompraGov" = new TgTribCompraGov();
1086
+ "gTribRegular" = new TgTribRegular();
1087
+ "vBC";
1088
+ "vIBS";
1089
+ "vOperacIndiv";
1090
+ "vRedAjusteIndiv";
1091
+ "vRedSocialIndiv";
1092
+ "vTornaIndiv";
1093
+ constructor(input = {}) {
1094
+ validateModel("TgIBSCBS", input);
1095
+ if (input["gCBS"] !== void 0) this["gCBS"] = new TgCBSValores(input["gCBS"]);
1096
+ if (input["gIBSMun"] !== void 0) this["gIBSMun"] = new TgIBSMunValores(input["gIBSMun"]);
1097
+ if (input["gIBSUF"] !== void 0) this["gIBSUF"] = new TgIBSUFValores(input["gIBSUF"]);
1098
+ if (input["gTribCompraGov"] !== void 0) this["gTribCompraGov"] = new TgTribCompraGov(input["gTribCompraGov"]);
1099
+ if (input["gTribRegular"] !== void 0) this["gTribRegular"] = new TgTribRegular(input["gTribRegular"]);
1100
+ if (input["vBC"] !== void 0) this["vBC"] = input["vBC"];
1101
+ if (input["vIBS"] !== void 0) this["vIBS"] = input["vIBS"];
1102
+ if (input["vOperacIndiv"] !== void 0) this["vOperacIndiv"] = input["vOperacIndiv"];
1103
+ if (input["vRedAjusteIndiv"] !== void 0) this["vRedAjusteIndiv"] = input["vRedAjusteIndiv"];
1104
+ if (input["vRedSocialIndiv"] !== void 0) this["vRedSocialIndiv"] = input["vRedSocialIndiv"];
1105
+ if (input["vTornaIndiv"] !== void 0) this["vTornaIndiv"] = input["vTornaIndiv"];
1106
+ }
1107
+ };
1108
+ var TgIBSCBSCredPres = class {
1109
+ "pCredPres";
1110
+ "vCredPres";
1111
+ "vCredPresCondSus";
1112
+ constructor(input = {}) {
1113
+ validateModel("TgIBSCBSCredPres", input);
1114
+ if (input["pCredPres"] !== void 0) this["pCredPres"] = input["pCredPres"];
1115
+ if (input["vCredPres"] !== void 0) this["vCredPres"] = input["vCredPres"];
1116
+ if (input["vCredPresCondSus"] !== void 0) this["vCredPresCondSus"] = input["vCredPresCondSus"];
1117
+ }
1118
+ };
1119
+ var TgIBSCBSMono = class {
1120
+ "gCBSMonoAdRem" = new TgCBSMonoAdRem();
1121
+ "gCBSMonoAdValorem" = new TgCBSMonoAdValorem();
1122
+ "gIBSMonoAdRem" = new TgIBSMonoAdRem();
1123
+ "gIBSMonoAdValorem" = new TgIBSMonoAdValorem();
1124
+ "vTotCBSMonoItem";
1125
+ "vTotIBSMonoItem";
1126
+ constructor(input = {}) {
1127
+ validateModel("TgIBSCBSMono", input);
1128
+ if (input["gCBSMonoAdRem"] !== void 0) this["gCBSMonoAdRem"] = new TgCBSMonoAdRem(input["gCBSMonoAdRem"]);
1129
+ if (input["gCBSMonoAdValorem"] !== void 0) this["gCBSMonoAdValorem"] = new TgCBSMonoAdValorem(input["gCBSMonoAdValorem"]);
1130
+ if (input["gIBSMonoAdRem"] !== void 0) this["gIBSMonoAdRem"] = new TgIBSMonoAdRem(input["gIBSMonoAdRem"]);
1131
+ if (input["gIBSMonoAdValorem"] !== void 0) this["gIBSMonoAdValorem"] = new TgIBSMonoAdValorem(input["gIBSMonoAdValorem"]);
1132
+ if (input["vTotCBSMonoItem"] !== void 0) this["vTotCBSMonoItem"] = input["vTotCBSMonoItem"];
1133
+ if (input["vTotIBSMonoItem"] !== void 0) this["vTotIBSMonoItem"] = input["vTotIBSMonoItem"];
1134
+ }
1135
+ };
1136
+ var TgIBSMonoAdRem = class {
1137
+ "gMonoPadrao" = new TgMonoPadraoIBSQtde();
1138
+ "gMonoRet" = new TgMonoRetIBS();
1139
+ "gMonoReten" = new TgMonoRetenIBSQtde();
1140
+ "gpBioDiferenca" = new TgpBioDiferencaIBS();
1141
+ constructor(input = {}) {
1142
+ validateModel("TgIBSMonoAdRem", input);
1143
+ if (input["gMonoPadrao"] !== void 0) this["gMonoPadrao"] = new TgMonoPadraoIBSQtde(input["gMonoPadrao"]);
1144
+ if (input["gMonoRet"] !== void 0) this["gMonoRet"] = new TgMonoRetIBS(input["gMonoRet"]);
1145
+ if (input["gMonoReten"] !== void 0) this["gMonoReten"] = new TgMonoRetenIBSQtde(input["gMonoReten"]);
1146
+ if (input["gpBioDiferenca"] !== void 0) this["gpBioDiferenca"] = new TgpBioDiferencaIBS(input["gpBioDiferenca"]);
1147
+ }
1148
+ };
1149
+ var TgIBSMonoAdValorem = class {
1150
+ "gMonoPadrao" = new TgMonoPadraoIBSAliq();
1151
+ "gMonoRet" = new TgMonoRetIBS();
1152
+ "gMonoReten" = new TgMonoRetenIBSAliq();
1153
+ "gpBioDiferenca" = new TgpBioDiferencaIBS();
1154
+ constructor(input = {}) {
1155
+ validateModel("TgIBSMonoAdValorem", input);
1156
+ if (input["gMonoPadrao"] !== void 0) this["gMonoPadrao"] = new TgMonoPadraoIBSAliq(input["gMonoPadrao"]);
1157
+ if (input["gMonoRet"] !== void 0) this["gMonoRet"] = new TgMonoRetIBS(input["gMonoRet"]);
1158
+ if (input["gMonoReten"] !== void 0) this["gMonoReten"] = new TgMonoRetenIBSAliq(input["gMonoReten"]);
1159
+ if (input["gpBioDiferenca"] !== void 0) this["gpBioDiferenca"] = new TgpBioDiferencaIBS(input["gpBioDiferenca"]);
1160
+ }
1161
+ };
1162
+ var TgIBSMunTot = class {
1163
+ "vDevTrib";
1164
+ "vDif";
1165
+ "vIBSMun";
1166
+ constructor(input = {}) {
1167
+ validateModel("TgIBSMunTot", input);
1168
+ if (input["vDevTrib"] !== void 0) this["vDevTrib"] = input["vDevTrib"];
1169
+ if (input["vDif"] !== void 0) this["vDif"] = input["vDif"];
1170
+ if (input["vIBSMun"] !== void 0) this["vIBSMun"] = input["vIBSMun"];
1171
+ }
1172
+ };
1173
+ var TgIBSMunValores = class {
1174
+ "gDevTrib" = new TgDevTrib();
1175
+ "gDif" = new TgDif();
1176
+ "gRed" = new TgRed();
1177
+ "pIBSMun";
1178
+ "vIBSMun";
1179
+ constructor(input = {}) {
1180
+ validateModel("TgIBSMunValores", input);
1181
+ if (input["gDevTrib"] !== void 0) this["gDevTrib"] = new TgDevTrib(input["gDevTrib"]);
1182
+ if (input["gDif"] !== void 0) this["gDif"] = new TgDif(input["gDif"]);
1183
+ if (input["gRed"] !== void 0) this["gRed"] = new TgRed(input["gRed"]);
1184
+ if (input["pIBSMun"] !== void 0) this["pIBSMun"] = input["pIBSMun"];
1185
+ if (input["vIBSMun"] !== void 0) this["vIBSMun"] = input["vIBSMun"];
1186
+ }
1187
+ };
1188
+ var TgIBSUFTot = class {
1189
+ "vDevTrib";
1190
+ "vDif";
1191
+ "vIBSUF";
1192
+ constructor(input = {}) {
1193
+ validateModel("TgIBSUFTot", input);
1194
+ if (input["vDevTrib"] !== void 0) this["vDevTrib"] = input["vDevTrib"];
1195
+ if (input["vDif"] !== void 0) this["vDif"] = input["vDif"];
1196
+ if (input["vIBSUF"] !== void 0) this["vIBSUF"] = input["vIBSUF"];
1197
+ }
1198
+ };
1199
+ var TgIBSUFValores = class {
1200
+ "gDevTrib" = new TgDevTrib();
1201
+ "gDif" = new TgDif();
1202
+ "gRed" = new TgRed();
1203
+ "pIBSUF";
1204
+ "vIBSUF";
1205
+ constructor(input = {}) {
1206
+ validateModel("TgIBSUFValores", input);
1207
+ if (input["gDevTrib"] !== void 0) this["gDevTrib"] = new TgDevTrib(input["gDevTrib"]);
1208
+ if (input["gDif"] !== void 0) this["gDif"] = new TgDif(input["gDif"]);
1209
+ if (input["gRed"] !== void 0) this["gRed"] = new TgRed(input["gRed"]);
1210
+ if (input["pIBSUF"] !== void 0) this["pIBSUF"] = input["pIBSUF"];
1211
+ if (input["vIBSUF"] !== void 0) this["vIBSUF"] = input["vIBSUF"];
1212
+ }
1213
+ };
1214
+ var TgIS = class {
1215
+ "adRemIS";
1216
+ "cClassTribIS";
1217
+ "CSTIS";
1218
+ "pIS";
1219
+ "qTrib";
1220
+ "uTrib";
1221
+ "vBCIS";
1222
+ "vIS";
1223
+ constructor(input = {}) {
1224
+ validateModel("TgIS", input);
1225
+ if (input["adRemIS"] !== void 0) this["adRemIS"] = input["adRemIS"];
1226
+ if (input["cClassTribIS"] !== void 0) this["cClassTribIS"] = input["cClassTribIS"];
1227
+ if (input["CSTIS"] !== void 0) this["CSTIS"] = input["CSTIS"];
1228
+ if (input["pIS"] !== void 0) this["pIS"] = input["pIS"];
1229
+ if (input["qTrib"] !== void 0) this["qTrib"] = input["qTrib"];
1230
+ if (input["uTrib"] !== void 0) this["uTrib"] = input["uTrib"];
1231
+ if (input["vBCIS"] !== void 0) this["vBCIS"] = input["vBCIS"];
1232
+ if (input["vIS"] !== void 0) this["vIS"] = input["vIS"];
1233
+ }
1234
+ };
1235
+ var TgMono = class {
1236
+ "vCBSMono";
1237
+ "vCBSMonoRet";
1238
+ "vCBSMonoReten";
1239
+ "vIBSMono";
1240
+ "vIBSMonoRet";
1241
+ "vIBSMonoReten";
1242
+ constructor(input = {}) {
1243
+ validateModel("TgMono", input);
1244
+ if (input["vCBSMono"] !== void 0) this["vCBSMono"] = input["vCBSMono"];
1245
+ if (input["vCBSMonoRet"] !== void 0) this["vCBSMonoRet"] = input["vCBSMonoRet"];
1246
+ if (input["vCBSMonoReten"] !== void 0) this["vCBSMonoReten"] = input["vCBSMonoReten"];
1247
+ if (input["vIBSMono"] !== void 0) this["vIBSMono"] = input["vIBSMono"];
1248
+ if (input["vIBSMonoRet"] !== void 0) this["vIBSMonoRet"] = input["vIBSMonoRet"];
1249
+ if (input["vIBSMonoReten"] !== void 0) this["vIBSMonoReten"] = input["vIBSMonoReten"];
1250
+ }
1251
+ };
1252
+ var TgMonoPadraoCBSAliq = class {
1253
+ "pAliqMonoCBS";
1254
+ "vBCMono";
1255
+ "vCBSMono";
1256
+ constructor(input = {}) {
1257
+ validateModel("TgMonoPadraoCBSAliq", input);
1258
+ if (input["pAliqMonoCBS"] !== void 0) this["pAliqMonoCBS"] = input["pAliqMonoCBS"];
1259
+ if (input["vBCMono"] !== void 0) this["vBCMono"] = input["vBCMono"];
1260
+ if (input["vCBSMono"] !== void 0) this["vCBSMono"] = input["vCBSMono"];
1261
+ }
1262
+ };
1263
+ var TgMonoPadraoCBSQtde = class {
1264
+ "adRemCBS";
1265
+ "qBCMono";
1266
+ "vCBSMono";
1267
+ constructor(input = {}) {
1268
+ validateModel("TgMonoPadraoCBSQtde", input);
1269
+ if (input["adRemCBS"] !== void 0) this["adRemCBS"] = input["adRemCBS"];
1270
+ if (input["qBCMono"] !== void 0) this["qBCMono"] = input["qBCMono"];
1271
+ if (input["vCBSMono"] !== void 0) this["vCBSMono"] = input["vCBSMono"];
1272
+ }
1273
+ };
1274
+ var TgMonoPadraoIBSAliq = class {
1275
+ "pAliqMonoMun";
1276
+ "pAliqMonoUF";
1277
+ "vBCMono";
1278
+ "vIBSMono";
1279
+ "vIBSMonoMun";
1280
+ "vIBSMonoUF";
1281
+ constructor(input = {}) {
1282
+ validateModel("TgMonoPadraoIBSAliq", input);
1283
+ if (input["pAliqMonoMun"] !== void 0) this["pAliqMonoMun"] = input["pAliqMonoMun"];
1284
+ if (input["pAliqMonoUF"] !== void 0) this["pAliqMonoUF"] = input["pAliqMonoUF"];
1285
+ if (input["vBCMono"] !== void 0) this["vBCMono"] = input["vBCMono"];
1286
+ if (input["vIBSMono"] !== void 0) this["vIBSMono"] = input["vIBSMono"];
1287
+ if (input["vIBSMonoMun"] !== void 0) this["vIBSMonoMun"] = input["vIBSMonoMun"];
1288
+ if (input["vIBSMonoUF"] !== void 0) this["vIBSMonoUF"] = input["vIBSMonoUF"];
1289
+ }
1290
+ };
1291
+ var TgMonoPadraoIBSQtde = class {
1292
+ "adRemIBS";
1293
+ "qBCMono";
1294
+ "vIBSMono";
1295
+ constructor(input = {}) {
1296
+ validateModel("TgMonoPadraoIBSQtde", input);
1297
+ if (input["adRemIBS"] !== void 0) this["adRemIBS"] = input["adRemIBS"];
1298
+ if (input["qBCMono"] !== void 0) this["qBCMono"] = input["qBCMono"];
1299
+ if (input["vIBSMono"] !== void 0) this["vIBSMono"] = input["vIBSMono"];
1300
+ }
1301
+ };
1302
+ var TgMonoRetCBS = class {
1303
+ "vCBSMonoRet";
1304
+ constructor(input = {}) {
1305
+ validateModel("TgMonoRetCBS", input);
1306
+ if (input["vCBSMonoRet"] !== void 0) this["vCBSMonoRet"] = input["vCBSMonoRet"];
1307
+ }
1308
+ };
1309
+ var TgMonoRetenCBSAliq = class {
1310
+ "pAliqMonoReten";
1311
+ "vBCMonoReten";
1312
+ "vCBSMonoReten";
1313
+ constructor(input = {}) {
1314
+ validateModel("TgMonoRetenCBSAliq", input);
1315
+ if (input["pAliqMonoReten"] !== void 0) this["pAliqMonoReten"] = input["pAliqMonoReten"];
1316
+ if (input["vBCMonoReten"] !== void 0) this["vBCMonoReten"] = input["vBCMonoReten"];
1317
+ if (input["vCBSMonoReten"] !== void 0) this["vCBSMonoReten"] = input["vCBSMonoReten"];
1318
+ }
1319
+ };
1320
+ var TgMonoRetenCBSQtde = class {
1321
+ "adRemCBSReten";
1322
+ "qBCMonoReten";
1323
+ "vCBSMonoReten";
1324
+ constructor(input = {}) {
1325
+ validateModel("TgMonoRetenCBSQtde", input);
1326
+ if (input["adRemCBSReten"] !== void 0) this["adRemCBSReten"] = input["adRemCBSReten"];
1327
+ if (input["qBCMonoReten"] !== void 0) this["qBCMonoReten"] = input["qBCMonoReten"];
1328
+ if (input["vCBSMonoReten"] !== void 0) this["vCBSMonoReten"] = input["vCBSMonoReten"];
1329
+ }
1330
+ };
1331
+ var TgMonoRetenIBSAliq = class {
1332
+ "pAliqMonoReten";
1333
+ "vBCMonoReten";
1334
+ "vIBSMonoReten";
1335
+ constructor(input = {}) {
1336
+ validateModel("TgMonoRetenIBSAliq", input);
1337
+ if (input["pAliqMonoReten"] !== void 0) this["pAliqMonoReten"] = input["pAliqMonoReten"];
1338
+ if (input["vBCMonoReten"] !== void 0) this["vBCMonoReten"] = input["vBCMonoReten"];
1339
+ if (input["vIBSMonoReten"] !== void 0) this["vIBSMonoReten"] = input["vIBSMonoReten"];
1340
+ }
1341
+ };
1342
+ var TgMonoRetenIBSQtde = class {
1343
+ "adRemIBSReten";
1344
+ "qBCMonoReten";
1345
+ "vIBSMonoReten";
1346
+ constructor(input = {}) {
1347
+ validateModel("TgMonoRetenIBSQtde", input);
1348
+ if (input["adRemIBSReten"] !== void 0) this["adRemIBSReten"] = input["adRemIBSReten"];
1349
+ if (input["qBCMonoReten"] !== void 0) this["qBCMonoReten"] = input["qBCMonoReten"];
1350
+ if (input["vIBSMonoReten"] !== void 0) this["vIBSMonoReten"] = input["vIBSMonoReten"];
1351
+ }
1352
+ };
1353
+ var TgMonoRetIBS = class {
1354
+ "vIBSMonoRet";
1355
+ constructor(input = {}) {
1356
+ validateModel("TgMonoRetIBS", input);
1357
+ if (input["vIBSMonoRet"] !== void 0) this["vIBSMonoRet"] = input["vIBSMonoRet"];
1358
+ }
1359
+ };
1360
+ var TgPagAntecipado = class {
1361
+ "refNFe" = new TrefDFePagAntCollection();
1362
+ constructor(input = {}) {
1363
+ validateModel("TgPagAntecipado", input);
1364
+ if (input["refNFe"] !== void 0) this["refNFe"] = Object.assign(new TrefDFePagAntCollection(), input["refNFe"].map((v) => new TrefDFePagAntCollectionItem(v)));
1365
+ }
1366
+ };
1367
+ var TgpBioDiferencaCBS = class {
1368
+ "qBCBioComb";
1369
+ "vCBSDiferenca";
1370
+ constructor(input = {}) {
1371
+ validateModel("TgpBioDiferencaCBS", input);
1372
+ if (input["qBCBioComb"] !== void 0) this["qBCBioComb"] = input["qBCBioComb"];
1373
+ if (input["vCBSDiferenca"] !== void 0) this["vCBSDiferenca"] = input["vCBSDiferenca"];
1374
+ }
1375
+ };
1376
+ var TgpBioDiferencaIBS = class {
1377
+ "qBCBioComb";
1378
+ "vIBSDiferenca";
1379
+ constructor(input = {}) {
1380
+ validateModel("TgpBioDiferencaIBS", input);
1381
+ if (input["qBCBioComb"] !== void 0) this["qBCBioComb"] = input["qBCBioComb"];
1382
+ if (input["vIBSDiferenca"] !== void 0) this["vIBSDiferenca"] = input["vIBSDiferenca"];
1383
+ }
1384
+ };
1385
+ var TgRed = class {
1386
+ "pAliqEfet";
1387
+ "pRedAliq";
1388
+ constructor(input = {}) {
1389
+ validateModel("TgRed", input);
1390
+ if (input["pAliqEfet"] !== void 0) this["pAliqEfet"] = input["pAliqEfet"];
1391
+ if (input["pRedAliq"] !== void 0) this["pRedAliq"] = input["pRedAliq"];
1392
+ }
1393
+ };
1394
+ var TgTransfCred = class {
1395
+ "vCBS";
1396
+ "vIBS";
1397
+ constructor(input = {}) {
1398
+ validateModel("TgTransfCred", input);
1399
+ if (input["vCBS"] !== void 0) this["vCBS"] = input["vCBS"];
1400
+ if (input["vIBS"] !== void 0) this["vIBS"] = input["vIBS"];
1401
+ }
1402
+ };
1403
+ var TgTribCompraGov = class {
1404
+ "pAliqCBS";
1405
+ "pAliqIBSMun";
1406
+ "pAliqIBSUF";
1407
+ "vTribCBS";
1408
+ "vTribIBSMun";
1409
+ "vTribIBSUF";
1410
+ constructor(input = {}) {
1411
+ validateModel("TgTribCompraGov", input);
1412
+ if (input["pAliqCBS"] !== void 0) this["pAliqCBS"] = input["pAliqCBS"];
1413
+ if (input["pAliqIBSMun"] !== void 0) this["pAliqIBSMun"] = input["pAliqIBSMun"];
1414
+ if (input["pAliqIBSUF"] !== void 0) this["pAliqIBSUF"] = input["pAliqIBSUF"];
1415
+ if (input["vTribCBS"] !== void 0) this["vTribCBS"] = input["vTribCBS"];
1416
+ if (input["vTribIBSMun"] !== void 0) this["vTribIBSMun"] = input["vTribIBSMun"];
1417
+ if (input["vTribIBSUF"] !== void 0) this["vTribIBSUF"] = input["vTribIBSUF"];
1418
+ }
1419
+ };
1420
+ var TgTribRegular = class {
1421
+ "cClassTribReg";
1422
+ "CSTReg";
1423
+ "pAliqEfetRegCBS";
1424
+ "pAliqEfetRegIBSMun";
1425
+ "pAliqEfetRegIBSUF";
1426
+ "vTribRegCBS";
1427
+ "vTribRegIBSMun";
1428
+ "vTribRegIBSUF";
1429
+ constructor(input = {}) {
1430
+ validateModel("TgTribRegular", input);
1431
+ if (input["cClassTribReg"] !== void 0) this["cClassTribReg"] = input["cClassTribReg"];
1432
+ if (input["CSTReg"] !== void 0) this["CSTReg"] = input["CSTReg"];
1433
+ if (input["pAliqEfetRegCBS"] !== void 0) this["pAliqEfetRegCBS"] = input["pAliqEfetRegCBS"];
1434
+ if (input["pAliqEfetRegIBSMun"] !== void 0) this["pAliqEfetRegIBSMun"] = input["pAliqEfetRegIBSMun"];
1435
+ if (input["pAliqEfetRegIBSUF"] !== void 0) this["pAliqEfetRegIBSUF"] = input["pAliqEfetRegIBSUF"];
1436
+ if (input["vTribRegCBS"] !== void 0) this["vTribRegCBS"] = input["vTribRegCBS"];
1437
+ if (input["vTribRegIBSMun"] !== void 0) this["vTribRegIBSMun"] = input["vTribRegIBSMun"];
1438
+ if (input["vTribRegIBSUF"] !== void 0) this["vTribRegIBSUF"] = input["vTribRegIBSUF"];
1439
+ }
1440
+ };
1441
+ var TguiaTransito = class {
1442
+ "nGuia";
1443
+ "serieGuia";
1444
+ "tpGuia";
1445
+ "UFGuia";
1446
+ constructor(input = {}) {
1447
+ validateModel("TguiaTransito", input);
1448
+ if (input["nGuia"] !== void 0) this["nGuia"] = input["nGuia"];
1449
+ if (input["serieGuia"] !== void 0) this["serieGuia"] = input["serieGuia"];
1450
+ if (input["tpGuia"] !== void 0) this["tpGuia"] = input["tpGuia"];
1451
+ if (input["UFGuia"] !== void 0) this["UFGuia"] = input["UFGuia"];
1452
+ }
1453
+ };
1454
+ var TIBSCBS = class {
1455
+ "cClassTrib";
1456
+ "CST";
1457
+ "gAjusteCompet" = new TgAjusteCompet();
1458
+ "gCredPresIBSZFM" = new TCredPresIBSZFM();
1459
+ "gCredPresOper" = new TgCredPresOper();
1460
+ "gEstornoCred" = new TgEstornoCred();
1461
+ "gIBSCBS" = new TgIBSCBS();
1462
+ "gIBSCBSMono" = new TgIBSCBSMono();
1463
+ "gTransfCred" = new TgTransfCred();
1464
+ "indDoacao";
1465
+ constructor(input = {}) {
1466
+ validateModel("TIBSCBS", input);
1467
+ if (input["cClassTrib"] !== void 0) this["cClassTrib"] = input["cClassTrib"];
1468
+ if (input["CST"] !== void 0) this["CST"] = input["CST"];
1469
+ if (input["gAjusteCompet"] !== void 0) this["gAjusteCompet"] = new TgAjusteCompet(input["gAjusteCompet"]);
1470
+ if (input["gCredPresIBSZFM"] !== void 0) this["gCredPresIBSZFM"] = new TCredPresIBSZFM(input["gCredPresIBSZFM"]);
1471
+ if (input["gCredPresOper"] !== void 0) this["gCredPresOper"] = new TgCredPresOper(input["gCredPresOper"]);
1472
+ if (input["gEstornoCred"] !== void 0) this["gEstornoCred"] = new TgEstornoCred(input["gEstornoCred"]);
1473
+ if (input["gIBSCBS"] !== void 0) this["gIBSCBS"] = new TgIBSCBS(input["gIBSCBS"]);
1474
+ if (input["gIBSCBSMono"] !== void 0) this["gIBSCBSMono"] = new TgIBSCBSMono(input["gIBSCBSMono"]);
1475
+ if (input["gTransfCred"] !== void 0) this["gTransfCred"] = new TgTransfCred(input["gTransfCred"]);
1476
+ if (input["indDoacao"] !== void 0) this["indDoacao"] = input["indDoacao"];
1477
+ }
1478
+ };
1479
+ var TIBSCBSTot = class {
1480
+ "gCBS" = new TgCBS();
1481
+ "gEstornoCred" = new TgEstornoCred();
1482
+ "gIBS" = new TgIBS();
1483
+ "gMono" = new TgMono();
1484
+ "vBCIBSCBS";
1485
+ constructor(input = {}) {
1486
+ validateModel("TIBSCBSTot", input);
1487
+ if (input["gCBS"] !== void 0) this["gCBS"] = new TgCBS(input["gCBS"]);
1488
+ if (input["gEstornoCred"] !== void 0) this["gEstornoCred"] = new TgEstornoCred(input["gEstornoCred"]);
1489
+ if (input["gIBS"] !== void 0) this["gIBS"] = new TgIBS(input["gIBS"]);
1490
+ if (input["gMono"] !== void 0) this["gMono"] = new TgMono(input["gMono"]);
1491
+ if (input["vBCIBSCBS"] !== void 0) this["vBCIBSCBS"] = input["vBCIBSCBS"];
1492
+ }
1493
+ };
1494
+ var TICMS = class {
1495
+ "adRemICMS";
1496
+ "adRemICMSDif";
1497
+ "adRemICMSRet";
1498
+ "adRemICMSReten";
1499
+ "cBenefRBC";
1500
+ "CSOSN";
1501
+ /** Pascal streaming default: cst00. Omission preserves the native constructor. */
1502
+ "CST";
1503
+ /** Pascal streaming default: tieNenhum. Omission preserves the native constructor. */
1504
+ "indDeduzDeson";
1505
+ /** Pascal streaming default: dbiMargemValorAgregado. Omission preserves the native constructor. */
1506
+ "modBC";
1507
+ /** Pascal streaming default: dbisPrecoTabelado. Omission preserves the native constructor. */
1508
+ "modBCST";
1509
+ "motDesICMS";
1510
+ "motDesICMSST";
1511
+ "motRedAdRem";
1512
+ /** Pascal streaming default: oeNacional. Omission preserves the native constructor. */
1513
+ "orig";
1514
+ "pBCOp";
1515
+ "pCredSN";
1516
+ "pDif";
1517
+ "pFCP";
1518
+ "pFCPDif";
1519
+ "pFCPST";
1520
+ "pFCPSTRet";
1521
+ "pICMS";
1522
+ "pICMSEfet";
1523
+ "pICMSST";
1524
+ "pMVAST";
1525
+ "pRedAdRem";
1526
+ "pRedBC";
1527
+ "pRedBCEfet";
1528
+ "pRedBCST";
1529
+ "pST";
1530
+ "qBCMono";
1531
+ "qBCMonoDif";
1532
+ "qBCMonoRet";
1533
+ "qBCMonoReten";
1534
+ "UFST";
1535
+ "vBC";
1536
+ "vBCEfet";
1537
+ "vBCFCP";
1538
+ "vBCFCPST";
1539
+ "vBCFCPSTRet";
1540
+ "vBCST";
1541
+ "vBCSTDest";
1542
+ "vBCSTRet";
1543
+ "vCredICMSSN";
1544
+ "vFCP";
1545
+ "vFCPDif";
1546
+ "vFCPEfet";
1547
+ "vFCPST";
1548
+ "vFCPSTRet";
1549
+ "vICMS";
1550
+ "vICMSDeson";
1551
+ "vICMSDif";
1552
+ "vICMSEfet";
1553
+ "vICMSMono";
1554
+ "vICMSMonoDif";
1555
+ "vICMSMonoOp";
1556
+ "vICMSMonoRet";
1557
+ "vICMSMonoReten";
1558
+ "vICMSOp";
1559
+ "vICMSST";
1560
+ "vICMSSTDeson";
1561
+ "vICMSSTDest";
1562
+ "vICMSSTRet";
1563
+ "vICMSSubstituto";
1564
+ constructor(input = {}) {
1565
+ validateModel("TICMS", input);
1566
+ if (input["adRemICMS"] !== void 0) this["adRemICMS"] = input["adRemICMS"];
1567
+ if (input["adRemICMSDif"] !== void 0) this["adRemICMSDif"] = input["adRemICMSDif"];
1568
+ if (input["adRemICMSRet"] !== void 0) this["adRemICMSRet"] = input["adRemICMSRet"];
1569
+ if (input["adRemICMSReten"] !== void 0) this["adRemICMSReten"] = input["adRemICMSReten"];
1570
+ if (input["cBenefRBC"] !== void 0) this["cBenefRBC"] = input["cBenefRBC"];
1571
+ if (input["CSOSN"] !== void 0) this["CSOSN"] = input["CSOSN"];
1572
+ if (input["CST"] !== void 0) this["CST"] = input["CST"];
1573
+ if (input["indDeduzDeson"] !== void 0) this["indDeduzDeson"] = input["indDeduzDeson"];
1574
+ if (input["modBC"] !== void 0) this["modBC"] = input["modBC"];
1575
+ if (input["modBCST"] !== void 0) this["modBCST"] = input["modBCST"];
1576
+ if (input["motDesICMS"] !== void 0) this["motDesICMS"] = input["motDesICMS"];
1577
+ if (input["motDesICMSST"] !== void 0) this["motDesICMSST"] = input["motDesICMSST"];
1578
+ if (input["motRedAdRem"] !== void 0) this["motRedAdRem"] = input["motRedAdRem"];
1579
+ if (input["orig"] !== void 0) this["orig"] = input["orig"];
1580
+ if (input["pBCOp"] !== void 0) this["pBCOp"] = input["pBCOp"];
1581
+ if (input["pCredSN"] !== void 0) this["pCredSN"] = input["pCredSN"];
1582
+ if (input["pDif"] !== void 0) this["pDif"] = input["pDif"];
1583
+ if (input["pFCP"] !== void 0) this["pFCP"] = input["pFCP"];
1584
+ if (input["pFCPDif"] !== void 0) this["pFCPDif"] = input["pFCPDif"];
1585
+ if (input["pFCPST"] !== void 0) this["pFCPST"] = input["pFCPST"];
1586
+ if (input["pFCPSTRet"] !== void 0) this["pFCPSTRet"] = input["pFCPSTRet"];
1587
+ if (input["pICMS"] !== void 0) this["pICMS"] = input["pICMS"];
1588
+ if (input["pICMSEfet"] !== void 0) this["pICMSEfet"] = input["pICMSEfet"];
1589
+ if (input["pICMSST"] !== void 0) this["pICMSST"] = input["pICMSST"];
1590
+ if (input["pMVAST"] !== void 0) this["pMVAST"] = input["pMVAST"];
1591
+ if (input["pRedAdRem"] !== void 0) this["pRedAdRem"] = input["pRedAdRem"];
1592
+ if (input["pRedBC"] !== void 0) this["pRedBC"] = input["pRedBC"];
1593
+ if (input["pRedBCEfet"] !== void 0) this["pRedBCEfet"] = input["pRedBCEfet"];
1594
+ if (input["pRedBCST"] !== void 0) this["pRedBCST"] = input["pRedBCST"];
1595
+ if (input["pST"] !== void 0) this["pST"] = input["pST"];
1596
+ if (input["qBCMono"] !== void 0) this["qBCMono"] = input["qBCMono"];
1597
+ if (input["qBCMonoDif"] !== void 0) this["qBCMonoDif"] = input["qBCMonoDif"];
1598
+ if (input["qBCMonoRet"] !== void 0) this["qBCMonoRet"] = input["qBCMonoRet"];
1599
+ if (input["qBCMonoReten"] !== void 0) this["qBCMonoReten"] = input["qBCMonoReten"];
1600
+ if (input["UFST"] !== void 0) this["UFST"] = input["UFST"];
1601
+ if (input["vBC"] !== void 0) this["vBC"] = input["vBC"];
1602
+ if (input["vBCEfet"] !== void 0) this["vBCEfet"] = input["vBCEfet"];
1603
+ if (input["vBCFCP"] !== void 0) this["vBCFCP"] = input["vBCFCP"];
1604
+ if (input["vBCFCPST"] !== void 0) this["vBCFCPST"] = input["vBCFCPST"];
1605
+ if (input["vBCFCPSTRet"] !== void 0) this["vBCFCPSTRet"] = input["vBCFCPSTRet"];
1606
+ if (input["vBCST"] !== void 0) this["vBCST"] = input["vBCST"];
1607
+ if (input["vBCSTDest"] !== void 0) this["vBCSTDest"] = input["vBCSTDest"];
1608
+ if (input["vBCSTRet"] !== void 0) this["vBCSTRet"] = input["vBCSTRet"];
1609
+ if (input["vCredICMSSN"] !== void 0) this["vCredICMSSN"] = input["vCredICMSSN"];
1610
+ if (input["vFCP"] !== void 0) this["vFCP"] = input["vFCP"];
1611
+ if (input["vFCPDif"] !== void 0) this["vFCPDif"] = input["vFCPDif"];
1612
+ if (input["vFCPEfet"] !== void 0) this["vFCPEfet"] = input["vFCPEfet"];
1613
+ if (input["vFCPST"] !== void 0) this["vFCPST"] = input["vFCPST"];
1614
+ if (input["vFCPSTRet"] !== void 0) this["vFCPSTRet"] = input["vFCPSTRet"];
1615
+ if (input["vICMS"] !== void 0) this["vICMS"] = input["vICMS"];
1616
+ if (input["vICMSDeson"] !== void 0) this["vICMSDeson"] = input["vICMSDeson"];
1617
+ if (input["vICMSDif"] !== void 0) this["vICMSDif"] = input["vICMSDif"];
1618
+ if (input["vICMSEfet"] !== void 0) this["vICMSEfet"] = input["vICMSEfet"];
1619
+ if (input["vICMSMono"] !== void 0) this["vICMSMono"] = input["vICMSMono"];
1620
+ if (input["vICMSMonoDif"] !== void 0) this["vICMSMonoDif"] = input["vICMSMonoDif"];
1621
+ if (input["vICMSMonoOp"] !== void 0) this["vICMSMonoOp"] = input["vICMSMonoOp"];
1622
+ if (input["vICMSMonoRet"] !== void 0) this["vICMSMonoRet"] = input["vICMSMonoRet"];
1623
+ if (input["vICMSMonoReten"] !== void 0) this["vICMSMonoReten"] = input["vICMSMonoReten"];
1624
+ if (input["vICMSOp"] !== void 0) this["vICMSOp"] = input["vICMSOp"];
1625
+ if (input["vICMSST"] !== void 0) this["vICMSST"] = input["vICMSST"];
1626
+ if (input["vICMSSTDeson"] !== void 0) this["vICMSSTDeson"] = input["vICMSSTDeson"];
1627
+ if (input["vICMSSTDest"] !== void 0) this["vICMSSTDest"] = input["vICMSSTDest"];
1628
+ if (input["vICMSSTRet"] !== void 0) this["vICMSSTRet"] = input["vICMSSTRet"];
1629
+ if (input["vICMSSubstituto"] !== void 0) this["vICMSSubstituto"] = input["vICMSSubstituto"];
1630
+ }
1631
+ };
1632
+ var TICMSComb = class {
1633
+ "vBCICMS";
1634
+ "vBCICMSST";
1635
+ "vICMS";
1636
+ "vICMSST";
1637
+ constructor(input = {}) {
1638
+ validateModel("TICMSComb", input);
1639
+ if (input["vBCICMS"] !== void 0) this["vBCICMS"] = input["vBCICMS"];
1640
+ if (input["vBCICMSST"] !== void 0) this["vBCICMSST"] = input["vBCICMSST"];
1641
+ if (input["vICMS"] !== void 0) this["vICMS"] = input["vICMS"];
1642
+ if (input["vICMSST"] !== void 0) this["vICMSST"] = input["vICMSST"];
1643
+ }
1644
+ };
1645
+ var TICMSCons = class {
1646
+ "UFcons";
1647
+ "vBCICMSSTCons";
1648
+ "vICMSSTCons";
1649
+ constructor(input = {}) {
1650
+ validateModel("TICMSCons", input);
1651
+ if (input["UFcons"] !== void 0) this["UFcons"] = input["UFcons"];
1652
+ if (input["vBCICMSSTCons"] !== void 0) this["vBCICMSSTCons"] = input["vBCICMSSTCons"];
1653
+ if (input["vICMSSTCons"] !== void 0) this["vICMSSTCons"] = input["vICMSSTCons"];
1654
+ }
1655
+ };
1656
+ var TICMSInter = class {
1657
+ "vBCICMSSTDest";
1658
+ "vICMSSTDest";
1659
+ constructor(input = {}) {
1660
+ validateModel("TICMSInter", input);
1661
+ if (input["vBCICMSSTDest"] !== void 0) this["vBCICMSSTDest"] = input["vBCICMSSTDest"];
1662
+ if (input["vICMSSTDest"] !== void 0) this["vICMSSTDest"] = input["vICMSSTDest"];
1663
+ }
1664
+ };
1665
+ var TICMSTot = class {
1666
+ "qBCMono";
1667
+ "qBCMonoRet";
1668
+ "qBCMonoReten";
1669
+ "vBC";
1670
+ "vBCST";
1671
+ "vCOFINS";
1672
+ "vDesc";
1673
+ "vFCP";
1674
+ "vFCPST";
1675
+ "vFCPSTRet";
1676
+ "vFCPUFDest";
1677
+ "vFrete";
1678
+ "vICMS";
1679
+ "vICMSDeson";
1680
+ "vICMSMono";
1681
+ "vICMSMonoRet";
1682
+ "vICMSMonoReten";
1683
+ "vICMSUFDest";
1684
+ "vICMSUFRemet";
1685
+ "vII";
1686
+ "vIPI";
1687
+ "vIPIDevol";
1688
+ "vNF";
1689
+ "vOutro";
1690
+ "vPIS";
1691
+ "vProd";
1692
+ "vSeg";
1693
+ "vST";
1694
+ "vTotTrib";
1695
+ constructor(input = {}) {
1696
+ validateModel("TICMSTot", input);
1697
+ if (input["qBCMono"] !== void 0) this["qBCMono"] = input["qBCMono"];
1698
+ if (input["qBCMonoRet"] !== void 0) this["qBCMonoRet"] = input["qBCMonoRet"];
1699
+ if (input["qBCMonoReten"] !== void 0) this["qBCMonoReten"] = input["qBCMonoReten"];
1700
+ if (input["vBC"] !== void 0) this["vBC"] = input["vBC"];
1701
+ if (input["vBCST"] !== void 0) this["vBCST"] = input["vBCST"];
1702
+ if (input["vCOFINS"] !== void 0) this["vCOFINS"] = input["vCOFINS"];
1703
+ if (input["vDesc"] !== void 0) this["vDesc"] = input["vDesc"];
1704
+ if (input["vFCP"] !== void 0) this["vFCP"] = input["vFCP"];
1705
+ if (input["vFCPST"] !== void 0) this["vFCPST"] = input["vFCPST"];
1706
+ if (input["vFCPSTRet"] !== void 0) this["vFCPSTRet"] = input["vFCPSTRet"];
1707
+ if (input["vFCPUFDest"] !== void 0) this["vFCPUFDest"] = input["vFCPUFDest"];
1708
+ if (input["vFrete"] !== void 0) this["vFrete"] = input["vFrete"];
1709
+ if (input["vICMS"] !== void 0) this["vICMS"] = input["vICMS"];
1710
+ if (input["vICMSDeson"] !== void 0) this["vICMSDeson"] = input["vICMSDeson"];
1711
+ if (input["vICMSMono"] !== void 0) this["vICMSMono"] = input["vICMSMono"];
1712
+ if (input["vICMSMonoRet"] !== void 0) this["vICMSMonoRet"] = input["vICMSMonoRet"];
1713
+ if (input["vICMSMonoReten"] !== void 0) this["vICMSMonoReten"] = input["vICMSMonoReten"];
1714
+ if (input["vICMSUFDest"] !== void 0) this["vICMSUFDest"] = input["vICMSUFDest"];
1715
+ if (input["vICMSUFRemet"] !== void 0) this["vICMSUFRemet"] = input["vICMSUFRemet"];
1716
+ if (input["vII"] !== void 0) this["vII"] = input["vII"];
1717
+ if (input["vIPI"] !== void 0) this["vIPI"] = input["vIPI"];
1718
+ if (input["vIPIDevol"] !== void 0) this["vIPIDevol"] = input["vIPIDevol"];
1719
+ if (input["vNF"] !== void 0) this["vNF"] = input["vNF"];
1720
+ if (input["vOutro"] !== void 0) this["vOutro"] = input["vOutro"];
1721
+ if (input["vPIS"] !== void 0) this["vPIS"] = input["vPIS"];
1722
+ if (input["vProd"] !== void 0) this["vProd"] = input["vProd"];
1723
+ if (input["vSeg"] !== void 0) this["vSeg"] = input["vSeg"];
1724
+ if (input["vST"] !== void 0) this["vST"] = input["vST"];
1725
+ if (input["vTotTrib"] !== void 0) this["vTotTrib"] = input["vTotTrib"];
1726
+ }
1727
+ };
1728
+ var TICMSUFDest = class {
1729
+ "pFCPUFDest";
1730
+ "pICMSInter";
1731
+ "pICMSInterPart";
1732
+ "pICMSUFDest";
1733
+ "vBCFCPUFDest";
1734
+ "vBCUFDest";
1735
+ "vFCPUFDest";
1736
+ "vICMSUFDest";
1737
+ "vICMSUFRemet";
1738
+ constructor(input = {}) {
1739
+ validateModel("TICMSUFDest", input);
1740
+ if (input["pFCPUFDest"] !== void 0) this["pFCPUFDest"] = input["pFCPUFDest"];
1741
+ if (input["pICMSInter"] !== void 0) this["pICMSInter"] = input["pICMSInter"];
1742
+ if (input["pICMSInterPart"] !== void 0) this["pICMSInterPart"] = input["pICMSInterPart"];
1743
+ if (input["pICMSUFDest"] !== void 0) this["pICMSUFDest"] = input["pICMSUFDest"];
1744
+ if (input["vBCFCPUFDest"] !== void 0) this["vBCFCPUFDest"] = input["vBCFCPUFDest"];
1745
+ if (input["vBCUFDest"] !== void 0) this["vBCUFDest"] = input["vBCUFDest"];
1746
+ if (input["vFCPUFDest"] !== void 0) this["vFCPUFDest"] = input["vFCPUFDest"];
1747
+ if (input["vICMSUFDest"] !== void 0) this["vICMSUFDest"] = input["vICMSUFDest"];
1748
+ if (input["vICMSUFRemet"] !== void 0) this["vICMSUFRemet"] = input["vICMSUFRemet"];
1749
+ }
1750
+ };
1751
+ var TIde = class {
1752
+ "cDV";
1753
+ "cIndOp";
1754
+ "cMunFG";
1755
+ "cMunFGIBS";
1756
+ "cNF";
1757
+ "cUF";
1758
+ "dEmi";
1759
+ "dhCont";
1760
+ "dPrevEntrega";
1761
+ "dSaiEnt";
1762
+ /** Pascal streaming default: fnNormal. Omission preserves the native constructor. */
1763
+ "finNFe";
1764
+ "gCompraGov" = new TgCompraGov();
1765
+ "gPagAntecipado" = new TgPagAntecipado();
1766
+ "hSaiEnt";
1767
+ "idDest";
1768
+ "indFinal";
1769
+ "indIntermed";
1770
+ /** Pascal streaming default: ipPrazo. Omission preserves the native constructor. */
1771
+ "indPag";
1772
+ "indPres";
1773
+ "modelo";
1774
+ "natOp";
1775
+ "NFref" = new TNFrefCollection();
1776
+ "nNF";
1777
+ /** Pascal streaming default: peAplicativoContribuinte. Omission preserves the native constructor. */
1778
+ "procEmi";
1779
+ "serie";
1780
+ /** Pascal streaming default: taHomologacao. Omission preserves the native constructor. */
1781
+ "tpAmb";
1782
+ /** Pascal streaming default: teNormal. Omission preserves the native constructor. */
1783
+ "tpEmis";
1784
+ /** Pascal streaming default: tiPaisagem. Omission preserves the native constructor. */
1785
+ "tpImp";
1786
+ /** Pascal streaming default: tnSaida. Omission preserves the native constructor. */
1787
+ "tpNF";
1788
+ "tpNFCredito";
1789
+ "tpNFDebito";
1790
+ "verProc";
1791
+ "xJust";
1792
+ constructor(input = {}) {
1793
+ validateModel("TIde", input);
1794
+ if (input["cDV"] !== void 0) this["cDV"] = input["cDV"];
1795
+ if (input["cIndOp"] !== void 0) this["cIndOp"] = input["cIndOp"];
1796
+ if (input["cMunFG"] !== void 0) this["cMunFG"] = input["cMunFG"];
1797
+ if (input["cMunFGIBS"] !== void 0) this["cMunFGIBS"] = input["cMunFGIBS"];
1798
+ if (input["cNF"] !== void 0) this["cNF"] = input["cNF"];
1799
+ if (input["cUF"] !== void 0) this["cUF"] = input["cUF"];
1800
+ if (input["dEmi"] !== void 0) this["dEmi"] = input["dEmi"];
1801
+ if (input["dhCont"] !== void 0) this["dhCont"] = input["dhCont"];
1802
+ if (input["dPrevEntrega"] !== void 0) this["dPrevEntrega"] = input["dPrevEntrega"];
1803
+ if (input["dSaiEnt"] !== void 0) this["dSaiEnt"] = input["dSaiEnt"];
1804
+ if (input["finNFe"] !== void 0) this["finNFe"] = input["finNFe"];
1805
+ if (input["gCompraGov"] !== void 0) this["gCompraGov"] = new TgCompraGov(input["gCompraGov"]);
1806
+ if (input["gPagAntecipado"] !== void 0) this["gPagAntecipado"] = new TgPagAntecipado(input["gPagAntecipado"]);
1807
+ if (input["hSaiEnt"] !== void 0) this["hSaiEnt"] = input["hSaiEnt"];
1808
+ if (input["idDest"] !== void 0) this["idDest"] = input["idDest"];
1809
+ if (input["indFinal"] !== void 0) this["indFinal"] = input["indFinal"];
1810
+ if (input["indIntermed"] !== void 0) this["indIntermed"] = input["indIntermed"];
1811
+ if (input["indPag"] !== void 0) this["indPag"] = input["indPag"];
1812
+ if (input["indPres"] !== void 0) this["indPres"] = input["indPres"];
1813
+ if (input["modelo"] !== void 0) this["modelo"] = input["modelo"];
1814
+ if (input["natOp"] !== void 0) this["natOp"] = input["natOp"];
1815
+ if (input["NFref"] !== void 0) this["NFref"] = Object.assign(new TNFrefCollection(), input["NFref"].map((v) => new TNFrefCollectionItem(v)));
1816
+ if (input["nNF"] !== void 0) this["nNF"] = input["nNF"];
1817
+ if (input["procEmi"] !== void 0) this["procEmi"] = input["procEmi"];
1818
+ if (input["serie"] !== void 0) this["serie"] = input["serie"];
1819
+ if (input["tpAmb"] !== void 0) this["tpAmb"] = input["tpAmb"];
1820
+ if (input["tpEmis"] !== void 0) this["tpEmis"] = input["tpEmis"];
1821
+ if (input["tpImp"] !== void 0) this["tpImp"] = input["tpImp"];
1822
+ if (input["tpNF"] !== void 0) this["tpNF"] = input["tpNF"];
1823
+ if (input["tpNFCredito"] !== void 0) this["tpNFCredito"] = input["tpNFCredito"];
1824
+ if (input["tpNFDebito"] !== void 0) this["tpNFDebito"] = input["tpNFDebito"];
1825
+ if (input["verProc"] !== void 0) this["verProc"] = input["verProc"];
1826
+ if (input["xJust"] !== void 0) this["xJust"] = input["xJust"];
1827
+ }
1828
+ };
1829
+ var TII = class {
1830
+ "vBc";
1831
+ "vDespAdu";
1832
+ "vII";
1833
+ "vIOF";
1834
+ constructor(input = {}) {
1835
+ validateModel("TII", input);
1836
+ if (input["vBc"] !== void 0) this["vBc"] = input["vBc"];
1837
+ if (input["vDespAdu"] !== void 0) this["vDespAdu"] = input["vDespAdu"];
1838
+ if (input["vII"] !== void 0) this["vII"] = input["vII"];
1839
+ if (input["vIOF"] !== void 0) this["vIOF"] = input["vIOF"];
1840
+ }
1841
+ };
1842
+ var TImposto = class {
1843
+ "COFINS" = new TCOFINS();
1844
+ "COFINSST" = new TCOFINSST();
1845
+ "IBSCBS" = new TIBSCBS();
1846
+ "ICMS" = new TICMS();
1847
+ "ICMSUFDest" = new TICMSUFDest();
1848
+ "II" = new TII();
1849
+ "IPI" = new TIPI();
1850
+ "ISel" = new TgIS();
1851
+ "ISSQN" = new TISSQN();
1852
+ "PIS" = new TPIS();
1853
+ "PISST" = new TPISST();
1854
+ "vTotTrib";
1855
+ constructor(input = {}) {
1856
+ validateModel("TImposto", input);
1857
+ if (input["COFINS"] !== void 0) this["COFINS"] = new TCOFINS(input["COFINS"]);
1858
+ if (input["COFINSST"] !== void 0) this["COFINSST"] = new TCOFINSST(input["COFINSST"]);
1859
+ if (input["IBSCBS"] !== void 0) this["IBSCBS"] = new TIBSCBS(input["IBSCBS"]);
1860
+ if (input["ICMS"] !== void 0) this["ICMS"] = new TICMS(input["ICMS"]);
1861
+ if (input["ICMSUFDest"] !== void 0) this["ICMSUFDest"] = new TICMSUFDest(input["ICMSUFDest"]);
1862
+ if (input["II"] !== void 0) this["II"] = new TII(input["II"]);
1863
+ if (input["IPI"] !== void 0) this["IPI"] = new TIPI(input["IPI"]);
1864
+ if (input["ISel"] !== void 0) this["ISel"] = new TgIS(input["ISel"]);
1865
+ if (input["ISSQN"] !== void 0) this["ISSQN"] = new TISSQN(input["ISSQN"]);
1866
+ if (input["PIS"] !== void 0) this["PIS"] = new TPIS(input["PIS"]);
1867
+ if (input["PISST"] !== void 0) this["PISST"] = new TPISST(input["PISST"]);
1868
+ if (input["vTotTrib"] !== void 0) this["vTotTrib"] = input["vTotTrib"];
1869
+ }
1870
+ };
1871
+ var TIndicadorEx = Object.freeze({ "tieNenhum": "tieNenhum", "tieSim": "tieSim", "tieNao": "tieNao" });
1872
+ var TindIEDest = Object.freeze({ "inContribuinte": "inContribuinte", "inIsento": "inIsento", "inNaoContribuinte": "inNaoContribuinte" });
1873
+ var TindImport = Object.freeze({ "iiNacional": "iiNacional", "iiImportado": "iiImportado" });
1874
+ var TindIncentivo = Object.freeze({ "iiSim": "iiSim", "iiNao": "iiNao" });
1875
+ var TindIntermed = Object.freeze({ "iiSemOperacao": "iiSemOperacao", "iiOperacaoSemIntermediador": "iiOperacaoSemIntermediador", "iiOperacaoComIntermediador": "iiOperacaoComIntermediador" });
1876
+ var TIndSomaCOFINSST = Object.freeze({ "iscNenhum": "iscNenhum", "iscCOFINSSTNaoCompoe": "iscCOFINSSTNaoCompoe", "iscCOFINSSTCompoe": "iscCOFINSSTCompoe" });
1877
+ var TIndSomaPISST = Object.freeze({ "ispNenhum": "ispNenhum", "ispPISSTNaoCompoe": "ispPISSTNaoCompoe", "ispPISSTCompoe": "ispPISSTCompoe" });
1878
+ var TInfAdic = class {
1879
+ "infAdFisco";
1880
+ "infCpl";
1881
+ "obsCont" = new TobsContCollection();
1882
+ "obsFisco" = new TobsFiscoCollection();
1883
+ "procRef" = new TprocRefCollection();
1884
+ constructor(input = {}) {
1885
+ validateModel("TInfAdic", input);
1886
+ if (input["infAdFisco"] !== void 0) this["infAdFisco"] = input["infAdFisco"];
1887
+ if (input["infCpl"] !== void 0) this["infCpl"] = input["infCpl"];
1888
+ if (input["obsCont"] !== void 0) this["obsCont"] = Object.assign(new TobsContCollection(), input["obsCont"].map((v) => new TobsContCollectionItem(v)));
1889
+ if (input["obsFisco"] !== void 0) this["obsFisco"] = Object.assign(new TobsFiscoCollection(), input["obsFisco"].map((v) => new TobsFiscoCollectionItem(v)));
1890
+ if (input["procRef"] !== void 0) this["procRef"] = Object.assign(new TprocRefCollection(), input["procRef"].map((v) => new TprocRefCollectionItem(v)));
1891
+ }
1892
+ };
1893
+ var TinfIntermed = class {
1894
+ "CNPJ";
1895
+ "idCadIntTran";
1896
+ constructor(input = {}) {
1897
+ validateModel("TinfIntermed", input);
1898
+ if (input["CNPJ"] !== void 0) this["CNPJ"] = input["CNPJ"];
1899
+ if (input["idCadIntTran"] !== void 0) this["idCadIntTran"] = input["idCadIntTran"];
1900
+ }
1901
+ };
1902
+ var TinfNFe = class {
1903
+ "ID";
1904
+ "Versao";
1905
+ constructor(input = {}) {
1906
+ validateModel("TinfNFe", input);
1907
+ if (input["ID"] !== void 0) this["ID"] = input["ID"];
1908
+ if (input["Versao"] !== void 0) this["Versao"] = input["Versao"];
1909
+ }
1910
+ };
1911
+ var TinfNFeSupl = class {
1912
+ "qrCode";
1913
+ "urlChave";
1914
+ constructor(input = {}) {
1915
+ validateModel("TinfNFeSupl", input);
1916
+ if (input["qrCode"] !== void 0) this["qrCode"] = input["qrCode"];
1917
+ if (input["urlChave"] !== void 0) this["urlChave"] = input["urlChave"];
1918
+ }
1919
+ };
1920
+ var TinfPAA = class {
1921
+ "CNPJPAA";
1922
+ "Exponent";
1923
+ "Modulus";
1924
+ "SignatureValue";
1925
+ constructor(input = {}) {
1926
+ validateModel("TinfPAA", input);
1927
+ if (input["CNPJPAA"] !== void 0) this["CNPJPAA"] = input["CNPJPAA"];
1928
+ if (input["Exponent"] !== void 0) this["Exponent"] = input["Exponent"];
1929
+ if (input["Modulus"] !== void 0) this["Modulus"] = input["Modulus"];
1930
+ if (input["SignatureValue"] !== void 0) this["SignatureValue"] = input["SignatureValue"];
1931
+ }
1932
+ };
1933
+ var TinfRespTec = class {
1934
+ "CNPJ";
1935
+ "email";
1936
+ "fone";
1937
+ "hashCSRT";
1938
+ "idCSRT";
1939
+ "xContato";
1940
+ constructor(input = {}) {
1941
+ validateModel("TinfRespTec", input);
1942
+ if (input["CNPJ"] !== void 0) this["CNPJ"] = input["CNPJ"];
1943
+ if (input["email"] !== void 0) this["email"] = input["email"];
1944
+ if (input["fone"] !== void 0) this["fone"] = input["fone"];
1945
+ if (input["hashCSRT"] !== void 0) this["hashCSRT"] = input["hashCSRT"];
1946
+ if (input["idCSRT"] !== void 0) this["idCSRT"] = input["idCSRT"];
1947
+ if (input["xContato"] !== void 0) this["xContato"] = input["xContato"];
1948
+ }
1949
+ };
1950
+ var TIPI = class {
1951
+ "cEnq";
1952
+ "clEnq";
1953
+ "CNPJProd";
1954
+ "cSelo";
1955
+ /** Pascal streaming default: ipi00. Omission preserves the native constructor. */
1956
+ "CST";
1957
+ "pIPI";
1958
+ "qSelo";
1959
+ "qUnid";
1960
+ "vBC";
1961
+ "vIPI";
1962
+ "vUnid";
1963
+ constructor(input = {}) {
1964
+ validateModel("TIPI", input);
1965
+ if (input["cEnq"] !== void 0) this["cEnq"] = input["cEnq"];
1966
+ if (input["clEnq"] !== void 0) this["clEnq"] = input["clEnq"];
1967
+ if (input["CNPJProd"] !== void 0) this["CNPJProd"] = input["CNPJProd"];
1968
+ if (input["cSelo"] !== void 0) this["cSelo"] = input["cSelo"];
1969
+ if (input["CST"] !== void 0) this["CST"] = input["CST"];
1970
+ if (input["pIPI"] !== void 0) this["pIPI"] = input["pIPI"];
1971
+ if (input["qSelo"] !== void 0) this["qSelo"] = input["qSelo"];
1972
+ if (input["qUnid"] !== void 0) this["qUnid"] = input["qUnid"];
1973
+ if (input["vBC"] !== void 0) this["vBC"] = input["vBC"];
1974
+ if (input["vIPI"] !== void 0) this["vIPI"] = input["vIPI"];
1975
+ if (input["vUnid"] !== void 0) this["vUnid"] = input["vUnid"];
1976
+ }
1977
+ };
1978
+ var TISSQN = class {
1979
+ "cListServ";
1980
+ "cMun";
1981
+ "cMunFG";
1982
+ "cPais";
1983
+ "cServico";
1984
+ /** Pascal streaming default: ISSQNcSitTribVazio. Omission preserves the native constructor. */
1985
+ "cSitTrib";
1986
+ "indIncentivo";
1987
+ "indISS";
1988
+ "indISSRet";
1989
+ "nProcesso";
1990
+ "vAliq";
1991
+ "vBC";
1992
+ "vDeducao";
1993
+ "vDescCond";
1994
+ "vDescIncond";
1995
+ "vISSQN";
1996
+ "vISSRet";
1997
+ "vOutro";
1998
+ constructor(input = {}) {
1999
+ validateModel("TISSQN", input);
2000
+ if (input["cListServ"] !== void 0) this["cListServ"] = input["cListServ"];
2001
+ if (input["cMun"] !== void 0) this["cMun"] = input["cMun"];
2002
+ if (input["cMunFG"] !== void 0) this["cMunFG"] = input["cMunFG"];
2003
+ if (input["cPais"] !== void 0) this["cPais"] = input["cPais"];
2004
+ if (input["cServico"] !== void 0) this["cServico"] = input["cServico"];
2005
+ if (input["cSitTrib"] !== void 0) this["cSitTrib"] = input["cSitTrib"];
2006
+ if (input["indIncentivo"] !== void 0) this["indIncentivo"] = input["indIncentivo"];
2007
+ if (input["indISS"] !== void 0) this["indISS"] = input["indISS"];
2008
+ if (input["indISSRet"] !== void 0) this["indISSRet"] = input["indISSRet"];
2009
+ if (input["nProcesso"] !== void 0) this["nProcesso"] = input["nProcesso"];
2010
+ if (input["vAliq"] !== void 0) this["vAliq"] = input["vAliq"];
2011
+ if (input["vBC"] !== void 0) this["vBC"] = input["vBC"];
2012
+ if (input["vDeducao"] !== void 0) this["vDeducao"] = input["vDeducao"];
2013
+ if (input["vDescCond"] !== void 0) this["vDescCond"] = input["vDescCond"];
2014
+ if (input["vDescIncond"] !== void 0) this["vDescIncond"] = input["vDescIncond"];
2015
+ if (input["vISSQN"] !== void 0) this["vISSQN"] = input["vISSQN"];
2016
+ if (input["vISSRet"] !== void 0) this["vISSRet"] = input["vISSRet"];
2017
+ if (input["vOutro"] !== void 0) this["vOutro"] = input["vOutro"];
2018
+ }
2019
+ };
2020
+ var TISSQNtot = class {
2021
+ "cRegTrib";
2022
+ "dCompet";
2023
+ "vBC";
2024
+ "vCOFINS";
2025
+ "vDeducao";
2026
+ "vDescCond";
2027
+ "vDescIncond";
2028
+ "vISS";
2029
+ "vISSRet";
2030
+ "vOutro";
2031
+ "vPIS";
2032
+ "vServ";
2033
+ constructor(input = {}) {
2034
+ validateModel("TISSQNtot", input);
2035
+ if (input["cRegTrib"] !== void 0) this["cRegTrib"] = input["cRegTrib"];
2036
+ if (input["dCompet"] !== void 0) this["dCompet"] = input["dCompet"];
2037
+ if (input["vBC"] !== void 0) this["vBC"] = input["vBC"];
2038
+ if (input["vCOFINS"] !== void 0) this["vCOFINS"] = input["vCOFINS"];
2039
+ if (input["vDeducao"] !== void 0) this["vDeducao"] = input["vDeducao"];
2040
+ if (input["vDescCond"] !== void 0) this["vDescCond"] = input["vDescCond"];
2041
+ if (input["vDescIncond"] !== void 0) this["vDescIncond"] = input["vDescIncond"];
2042
+ if (input["vISS"] !== void 0) this["vISS"] = input["vISS"];
2043
+ if (input["vISSRet"] !== void 0) this["vISSRet"] = input["vISSRet"];
2044
+ if (input["vOutro"] !== void 0) this["vOutro"] = input["vOutro"];
2045
+ if (input["vPIS"] !== void 0) this["vPIS"] = input["vPIS"];
2046
+ if (input["vServ"] !== void 0) this["vServ"] = input["vServ"];
2047
+ }
2048
+ };
2049
+ var TISTot = class {
2050
+ "vIS";
2051
+ constructor(input = {}) {
2052
+ validateModel("TISTot", input);
2053
+ if (input["vIS"] !== void 0) this["vIS"] = input["vIS"];
2054
+ }
2055
+ };
2056
+ var TLacresCollection = class extends Array {
2057
+ New(input = {}) {
2058
+ const item = new TLacresCollectionItem(input);
2059
+ this.push(item);
2060
+ return item;
2061
+ }
2062
+ };
2063
+ var TLacresCollectionItem = class {
2064
+ "nLacre";
2065
+ constructor(input = {}) {
2066
+ validateModel("TLacresCollectionItem", input);
2067
+ if (input["nLacre"] !== void 0) this["nLacre"] = input["nLacre"];
2068
+ }
2069
+ };
2070
+ var TMedCollection = class extends Array {
2071
+ New(input = {}) {
2072
+ const item = new TMedCollectionItem(input);
2073
+ this.push(item);
2074
+ return item;
2075
+ }
2076
+ };
2077
+ var TMedCollectionItem = class {
2078
+ "cProdANVISA";
2079
+ "dFab";
2080
+ "dVal";
2081
+ "nLote";
2082
+ "qLote";
2083
+ "vPMC";
2084
+ "xMotivoIsencao";
2085
+ constructor(input = {}) {
2086
+ validateModel("TMedCollectionItem", input);
2087
+ if (input["cProdANVISA"] !== void 0) this["cProdANVISA"] = input["cProdANVISA"];
2088
+ if (input["dFab"] !== void 0) this["dFab"] = input["dFab"];
2089
+ if (input["dVal"] !== void 0) this["dVal"] = input["dVal"];
2090
+ if (input["nLote"] !== void 0) this["nLote"] = input["nLote"];
2091
+ if (input["qLote"] !== void 0) this["qLote"] = input["qLote"];
2092
+ if (input["vPMC"] !== void 0) this["vPMC"] = input["vPMC"];
2093
+ if (input["xMotivoIsencao"] !== void 0) this["xMotivoIsencao"] = input["xMotivoIsencao"];
2094
+ }
2095
+ };
2096
+ var TmotRedAdRem = Object.freeze({ "motTranspColetivo": "motTranspColetivo", "motOutros": "motOutros" });
2097
+ var TNFe = class {
2098
+ "agropecuario" = new Tagropecuario();
2099
+ "autXML" = new TautXMLCollection();
2100
+ "Avulsa" = new TAvulsa();
2101
+ "cana" = new Tcana();
2102
+ "Cobr" = new TCobr();
2103
+ "compra" = new TCompra();
2104
+ "Dest" = new TDest();
2105
+ "Det" = new TDetCollection();
2106
+ "Emit" = new TEmit();
2107
+ "Entrega" = new TEntrega();
2108
+ "exporta" = new TExporta();
2109
+ "Ide" = new TIde();
2110
+ "InfAdic" = new TInfAdic();
2111
+ "infIntermed" = new TinfIntermed();
2112
+ "infNFe" = new TinfNFe();
2113
+ "infNFeSupl";
2114
+ "infPAA" = new TinfPAA();
2115
+ "infRespTec" = new TinfRespTec();
2116
+ "pag" = new TpagCollection();
2117
+ "procNFe";
2118
+ "Retirada" = new TRetirada();
2119
+ "signature";
2120
+ "Total" = new TTotal();
2121
+ "Transp" = new TTransp();
2122
+ constructor(input = {}) {
2123
+ validateModel("TNFe", input);
2124
+ if (input["agropecuario"] !== void 0) this["agropecuario"] = new Tagropecuario(input["agropecuario"]);
2125
+ if (input["autXML"] !== void 0) this["autXML"] = Object.assign(new TautXMLCollection(), input["autXML"].map((v) => new TautXMLCollectionItem(v)));
2126
+ if (input["Avulsa"] !== void 0) this["Avulsa"] = new TAvulsa(input["Avulsa"]);
2127
+ if (input["cana"] !== void 0) this["cana"] = new Tcana(input["cana"]);
2128
+ if (input["Cobr"] !== void 0) this["Cobr"] = new TCobr(input["Cobr"]);
2129
+ if (input["compra"] !== void 0) this["compra"] = new TCompra(input["compra"]);
2130
+ if (input["Dest"] !== void 0) this["Dest"] = new TDest(input["Dest"]);
2131
+ if (input["Det"] !== void 0) this["Det"] = Object.assign(new TDetCollection(), input["Det"].map((v) => new TDetCollectionItem(v)));
2132
+ if (input["Emit"] !== void 0) this["Emit"] = new TEmit(input["Emit"]);
2133
+ if (input["Entrega"] !== void 0) this["Entrega"] = new TEntrega(input["Entrega"]);
2134
+ if (input["exporta"] !== void 0) this["exporta"] = new TExporta(input["exporta"]);
2135
+ if (input["Ide"] !== void 0) this["Ide"] = new TIde(input["Ide"]);
2136
+ if (input["InfAdic"] !== void 0) this["InfAdic"] = new TInfAdic(input["InfAdic"]);
2137
+ if (input["infIntermed"] !== void 0) this["infIntermed"] = new TinfIntermed(input["infIntermed"]);
2138
+ if (input["infNFe"] !== void 0) this["infNFe"] = new TinfNFe(input["infNFe"]);
2139
+ if (input["infPAA"] !== void 0) this["infPAA"] = new TinfPAA(input["infPAA"]);
2140
+ if (input["infRespTec"] !== void 0) this["infRespTec"] = new TinfRespTec(input["infRespTec"]);
2141
+ if (input["pag"] !== void 0) this["pag"] = Object.assign(new TpagCollection(), input["pag"].map((v) => new TpagCollectionItem(v)));
2142
+ if (input["Retirada"] !== void 0) this["Retirada"] = new TRetirada(input["Retirada"]);
2143
+ if (input["Total"] !== void 0) this["Total"] = new TTotal(input["Total"]);
2144
+ if (input["Transp"] !== void 0) this["Transp"] = new TTransp(input["Transp"]);
2145
+ }
2146
+ };
2147
+ var TNFrefCollection = class extends Array {
2148
+ New(input = {}) {
2149
+ const item = new TNFrefCollectionItem(input);
2150
+ this.push(item);
2151
+ return item;
2152
+ }
2153
+ };
2154
+ var TNFrefCollectionItem = class {
2155
+ "refCTe";
2156
+ "RefECF" = new TRefECF();
2157
+ "RefNF" = new TRefNF();
2158
+ "refNFe";
2159
+ "refNFeSig";
2160
+ "RefNFP" = new TRefNFP();
2161
+ constructor(input = {}) {
2162
+ validateModel("TNFrefCollectionItem", input);
2163
+ if (input["refCTe"] !== void 0) this["refCTe"] = input["refCTe"];
2164
+ if (input["RefECF"] !== void 0) this["RefECF"] = new TRefECF(input["RefECF"]);
2165
+ if (input["RefNF"] !== void 0) this["RefNF"] = new TRefNF(input["RefNF"]);
2166
+ if (input["refNFe"] !== void 0) this["refNFe"] = input["refNFe"];
2167
+ if (input["refNFeSig"] !== void 0) this["refNFeSig"] = input["refNFeSig"];
2168
+ if (input["RefNFP"] !== void 0) this["RefNFP"] = new TRefNFP(input["RefNFP"]);
2169
+ }
2170
+ };
2171
+ var TNVECollection = class extends Array {
2172
+ New(input = {}) {
2173
+ const item = new TNVECollectionItem(input);
2174
+ this.push(item);
2175
+ return item;
2176
+ }
2177
+ };
2178
+ var TNVECollectionItem = class {
2179
+ "NVE";
2180
+ constructor(input = {}) {
2181
+ validateModel("TNVECollectionItem", input);
2182
+ if (input["NVE"] !== void 0) this["NVE"] = input["NVE"];
2183
+ }
2184
+ };
2185
+ var TobsContCollection = class extends Array {
2186
+ New(input = {}) {
2187
+ const item = new TobsContCollectionItem(input);
2188
+ this.push(item);
2189
+ return item;
2190
+ }
2191
+ };
2192
+ var TobsContCollectionItem = class {
2193
+ "xCampo";
2194
+ "xTexto";
2195
+ constructor(input = {}) {
2196
+ validateModel("TobsContCollectionItem", input);
2197
+ if (input["xCampo"] !== void 0) this["xCampo"] = input["xCampo"];
2198
+ if (input["xTexto"] !== void 0) this["xTexto"] = input["xTexto"];
2199
+ }
2200
+ };
2201
+ var TobsFiscoCollection = class extends Array {
2202
+ New(input = {}) {
2203
+ const item = new TobsFiscoCollectionItem(input);
2204
+ this.push(item);
2205
+ return item;
2206
+ }
2207
+ };
2208
+ var TobsFiscoCollectionItem = class {
2209
+ "xCampo";
2210
+ "xTexto";
2211
+ constructor(input = {}) {
2212
+ validateModel("TobsFiscoCollectionItem", input);
2213
+ if (input["xCampo"] !== void 0) this["xCampo"] = input["xCampo"];
2214
+ if (input["xTexto"] !== void 0) this["xTexto"] = input["xTexto"];
2215
+ }
2216
+ };
2217
+ var TobsItem = class {
2218
+ "xCampo";
2219
+ "xTexto";
2220
+ constructor(input = {}) {
2221
+ validateModel("TobsItem", input);
2222
+ if (input["xCampo"] !== void 0) this["xCampo"] = input["xCampo"];
2223
+ if (input["xTexto"] !== void 0) this["xTexto"] = input["xTexto"];
2224
+ }
2225
+ };
2226
+ var TorigCombCollection = class extends Array {
2227
+ New(input = {}) {
2228
+ const item = new TorigCombCollectionItem(input);
2229
+ this.push(item);
2230
+ return item;
2231
+ }
2232
+ };
2233
+ var TorigCombCollectionItem = class {
2234
+ "cUFOrig";
2235
+ "indImport";
2236
+ "pOrig";
2237
+ constructor(input = {}) {
2238
+ validateModel("TorigCombCollectionItem", input);
2239
+ if (input["cUFOrig"] !== void 0) this["cUFOrig"] = input["cUFOrig"];
2240
+ if (input["indImport"] !== void 0) this["indImport"] = input["indImport"];
2241
+ if (input["pOrig"] !== void 0) this["pOrig"] = input["pOrig"];
2242
+ }
2243
+ };
2244
+ var TOrigemMercadoria = Object.freeze({ "oeNacional": "oeNacional", "oeEstrangeiraImportacaoDireta": "oeEstrangeiraImportacaoDireta", "oeEstrangeiraAdquiridaBrasil": "oeEstrangeiraAdquiridaBrasil", "oeNacionalConteudoImportacaoSuperior40": "oeNacionalConteudoImportacaoSuperior40", "oeNacionalProcessosBasicos": "oeNacionalProcessosBasicos", "oeNacionalConteudoImportacaoInferiorIgual40": "oeNacionalConteudoImportacaoInferiorIgual40", "oeEstrangeiraImportacaoDiretaSemSimilar": "oeEstrangeiraImportacaoDiretaSemSimilar", "oeEstrangeiraAdquiridaBrasilSemSimilar": "oeEstrangeiraAdquiridaBrasilSemSimilar", "oeNacionalConteudoImportacaoSuperior70": "oeNacionalConteudoImportacaoSuperior70", "oeReservadoParaUsoFuturo": "oeReservadoParaUsoFuturo", "oeVazio": "oeVazio" });
2245
+ var TpagCollection = class extends Array {
2246
+ New(input = {}) {
2247
+ const item = new TpagCollectionItem(input);
2248
+ this.push(item);
2249
+ return item;
2250
+ }
2251
+ };
2252
+ var TpagCollectionItem = class {
2253
+ "cAut";
2254
+ "CNPJ";
2255
+ "CNPJPag";
2256
+ "CNPJReceb";
2257
+ "dPag";
2258
+ "idTermPag";
2259
+ /** Pascal streaming default: ipNenhum. Omission preserves the native constructor. */
2260
+ "indPag";
2261
+ "tBand";
2262
+ "tPag";
2263
+ "tpIntegra";
2264
+ "UFPag";
2265
+ "vPag";
2266
+ "xPag";
2267
+ constructor(input = {}) {
2268
+ validateModel("TpagCollectionItem", input);
2269
+ if (input["cAut"] !== void 0) this["cAut"] = input["cAut"];
2270
+ if (input["CNPJ"] !== void 0) this["CNPJ"] = input["CNPJ"];
2271
+ if (input["CNPJPag"] !== void 0) this["CNPJPag"] = input["CNPJPag"];
2272
+ if (input["CNPJReceb"] !== void 0) this["CNPJReceb"] = input["CNPJReceb"];
2273
+ if (input["dPag"] !== void 0) this["dPag"] = input["dPag"];
2274
+ if (input["idTermPag"] !== void 0) this["idTermPag"] = input["idTermPag"];
2275
+ if (input["indPag"] !== void 0) this["indPag"] = input["indPag"];
2276
+ if (input["tBand"] !== void 0) this["tBand"] = input["tBand"];
2277
+ if (input["tPag"] !== void 0) this["tPag"] = input["tPag"];
2278
+ if (input["tpIntegra"] !== void 0) this["tpIntegra"] = input["tpIntegra"];
2279
+ if (input["UFPag"] !== void 0) this["UFPag"] = input["UFPag"];
2280
+ if (input["vPag"] !== void 0) this["vPag"] = input["vPag"];
2281
+ if (input["xPag"] !== void 0) this["xPag"] = input["xPag"];
2282
+ }
2283
+ };
2284
+ var TpcnBandeiraCartao = Object.freeze({ "bcVisa": "bcVisa", "bcMasterCard": "bcMasterCard", "bcAmericanExpress": "bcAmericanExpress", "bcSorocred": "bcSorocred", "bcDinersClub": "bcDinersClub", "bcElo": "bcElo", "bcHipercard": "bcHipercard", "bcAura": "bcAura", "bcCabal": "bcCabal", "bcAlelo": "bcAlelo", "bcBanesCard": "bcBanesCard", "bcCalCard": "bcCalCard", "bcCredz": "bcCredz", "bcDiscover": "bcDiscover", "bcGoodCard": "bcGoodCard", "bcGreenCard": "bcGreenCard", "bcHiper": "bcHiper", "bcJcB": "bcJcB", "bcMais": "bcMais", "bcMaxVan": "bcMaxVan", "bcPolicard": "bcPolicard", "bcRedeCompras": "bcRedeCompras", "bcSodexo": "bcSodexo", "bcValeCard": "bcValeCard", "bcVerocheque": "bcVerocheque", "bcVR": "bcVR", "bcTicket": "bcTicket", "bcOutros": "bcOutros" });
2285
+ var TpcnCondicaoVeiculo = Object.freeze({ "cvAcabado": "cvAcabado", "cvInacabado": "cvInacabado", "cvSemiAcabado": "cvSemiAcabado" });
2286
+ var TpcnConsumidorFinal = Object.freeze({ "cfNao": "cfNao", "cfConsumidorFinal": "cfConsumidorFinal" });
2287
+ var TpcnCRT = Object.freeze({ "crtSimplesNacional": "crtSimplesNacional", "crtSimplesExcessoReceita": "crtSimplesExcessoReceita", "crtRegimeNormal": "crtRegimeNormal", "crtMEI": "crtMEI" });
2288
+ var TpcnCstIpi = Object.freeze({ "ipi00": "ipi00", "ipi49": "ipi49", "ipi50": "ipi50", "ipi99": "ipi99", "ipi01": "ipi01", "ipi02": "ipi02", "ipi03": "ipi03", "ipi04": "ipi04", "ipi05": "ipi05", "ipi51": "ipi51", "ipi52": "ipi52", "ipi53": "ipi53", "ipi54": "ipi54", "ipi55": "ipi55" });
2289
+ var TpcnDestinoOperacao = Object.freeze({ "doInterna": "doInterna", "doInterestadual": "doInterestadual", "doExterior": "doExterior" });
2290
+ var TpcnDeterminacaoBaseIcms = Object.freeze({ "dbiMargemValorAgregado": "dbiMargemValorAgregado", "dbiPauta": "dbiPauta", "dbiPrecoTabelado": "dbiPrecoTabelado", "dbiValorOperacao": "dbiValorOperacao", "dbiNenhum": "dbiNenhum" });
2291
+ var TpcnDeterminacaoBaseIcmsST = Object.freeze({ "dbisPrecoTabelado": "dbisPrecoTabelado", "dbisListaNegativa": "dbisListaNegativa", "dbisListaPositiva": "dbisListaPositiva", "dbisListaNeutra": "dbisListaNeutra", "dbisMargemValorAgregado": "dbisMargemValorAgregado", "dbisPauta": "dbisPauta", "dbisValordaOperacao": "dbisValordaOperacao" });
2292
+ var TpcnECFModRef = Object.freeze({ "ECFModRefVazio": "ECFModRefVazio", "ECFModRef2B": "ECFModRef2B", "ECFModRef2C": "ECFModRef2C", "ECFModRef2D": "ECFModRef2D" });
2293
+ var TpcnFinalidadeNFe = Object.freeze({ "fnNormal": "fnNormal", "fnComplementar": "fnComplementar", "fnAjuste": "fnAjuste", "fnDevolucao": "fnDevolucao", "fnCredito": "fnCredito", "fnDebito": "fnDebito" });
2294
+ var TpcnFormaPagamento = Object.freeze({ "fpDinheiro": "fpDinheiro", "fpCheque": "fpCheque", "fpCartaoCredito": "fpCartaoCredito", "fpCartaoDebito": "fpCartaoDebito", "fpCreditoLoja": "fpCreditoLoja", "fpValeAlimentacao": "fpValeAlimentacao", "fpValeRefeicao": "fpValeRefeicao", "fpValePresente": "fpValePresente", "fpValeCombustivel": "fpValeCombustivel", "fpDuplicataMercantil": "fpDuplicataMercantil", "fpBoletoBancario": "fpBoletoBancario", "fpDepositoBancario": "fpDepositoBancario", "fpPagamentoInstantaneo": "fpPagamentoInstantaneo", "fpTransfBancario": "fpTransfBancario", "fpProgramaFidelidade": "fpProgramaFidelidade", "fpSemPagamento": "fpSemPagamento", "fpRegimeEspecial": "fpRegimeEspecial", "fpOutro": "fpOutro", "fpPagamentoInstantaneoEstatico": "fpPagamentoInstantaneoEstatico", "fpCreditoEmLojaPorDevolucao": "fpCreditoEmLojaPorDevolucao", "fpFalhaHardware": "fpFalhaHardware", "fpPagamentoPosterior": "fpPagamentoPosterior", "fpPagInstantaneoPIXAutomatico": "fpPagInstantaneoPIXAutomatico", "fpTEFBookTransfer": "fpTEFBookTransfer" });
2295
+ var TpcnIndEscala = Object.freeze({ "ieRelevante": "ieRelevante", "ieNaoRelevante": "ieNaoRelevante", "ieNenhum": "ieNenhum" });
2296
+ var TpcnIndicadorPagamento = Object.freeze({ "ipVista": "ipVista", "ipPrazo": "ipPrazo", "ipOutras": "ipOutras", "ipNenhum": "ipNenhum" });
2297
+ var TpcnIndicadorProcesso = Object.freeze({ "ipSEFAZ": "ipSEFAZ", "ipJusticaFederal": "ipJusticaFederal", "ipJusticaEstadual": "ipJusticaEstadual", "ipSecexRFB": "ipSecexRFB", "ipCONFAZ": "ipCONFAZ", "ipOutros": "ipOutros" });
2298
+ var TpcnIndicadorTotal = Object.freeze({ "itSomaTotalNFe": "itSomaTotalNFe", "itNaoSomaTotalNFe": "itNaoSomaTotalNFe" });
2299
+ var TpcnindISS = Object.freeze({ "iiExigivel": "iiExigivel", "iiNaoIncidencia": "iiNaoIncidencia", "iiIsencao": "iiIsencao", "iiExportacao": "iiExportacao", "iiImunidade": "iiImunidade", "iiExigSuspDecisaoJudicial": "iiExigSuspDecisaoJudicial", "iiExigSuspProcessoAdm": "iiExigSuspProcessoAdm" });
2300
+ var TpcnindISSRet = Object.freeze({ "iirSim": "iirSim", "iirNao": "iirNao" });
2301
+ var TpcnISSQNcSitTrib = Object.freeze({ "ISSQNcSitTribVazio": "ISSQNcSitTribVazio", "ISSQNcSitTribNORMAL": "ISSQNcSitTribNORMAL", "ISSQNcSitTribRETIDA": "ISSQNcSitTribRETIDA", "ISSQNcSitTribSUBSTITUTA": "ISSQNcSitTribSUBSTITUTA", "ISSQNcSitTribISENTA": "ISSQNcSitTribISENTA" });
2302
+ var TpcnModalidadeFrete = Object.freeze({ "mfContaEmitente": "mfContaEmitente", "mfContaDestinatario": "mfContaDestinatario", "mfContaTerceiros": "mfContaTerceiros", "mfProprioRemetente": "mfProprioRemetente", "mfProprioDestinatario": "mfProprioDestinatario", "mfSemFrete": "mfSemFrete" });
2303
+ var TpcnMotivoDesoneracaoICMS = Object.freeze({ "mdiTaxi": "mdiTaxi", "mdiDeficienteFisico": "mdiDeficienteFisico", "mdiProdutorAgropecuario": "mdiProdutorAgropecuario", "mdiFrotistaLocadora": "mdiFrotistaLocadora", "mdiDiplomaticoConsular": "mdiDiplomaticoConsular", "mdiAmazoniaLivreComercio": "mdiAmazoniaLivreComercio", "mdiSuframa": "mdiSuframa", "mdiVendaOrgaosPublicos": "mdiVendaOrgaosPublicos", "mdiOutros": "mdiOutros", "mdiDeficienteCondutor": "mdiDeficienteCondutor", "mdiDeficienteNaoCondutor": "mdiDeficienteNaoCondutor", "mdiOrgaoFomento": "mdiOrgaoFomento", "mdiOlimpiadaRio2016": "mdiOlimpiadaRio2016", "mdiSolicitadoFisco": "mdiSolicitadoFisco" });
2304
+ var TpcnPresencaComprador = Object.freeze({ "pcNao": "pcNao", "pcPresencial": "pcPresencial", "pcInternet": "pcInternet", "pcTeleatendimento": "pcTeleatendimento", "pcEntregaDomicilio": "pcEntregaDomicilio", "pcPresencialForaEstabelecimento": "pcPresencialForaEstabelecimento", "pcOutros": "pcOutros" });
2305
+ var TpcnTipoArma = Object.freeze({ "taUsoPermitido": "taUsoPermitido", "taUsoRestrito": "taUsoRestrito" });
2306
+ var TpcnTipoIntermedio = Object.freeze({ "tiContaPropria": "tiContaPropria", "tiContaOrdem": "tiContaOrdem", "tiEncomenda": "tiEncomenda" });
2307
+ var TpcnTipoOperacao = Object.freeze({ "toVendaConcessionaria": "toVendaConcessionaria", "toFaturamentoDireto": "toFaturamentoDireto", "toVendaDireta": "toVendaDireta", "toOutros": "toOutros" });
2308
+ var TpcnTipoViaTransp = Object.freeze({ "tvMaritima": "tvMaritima", "tvFluvial": "tvFluvial", "tvLacustre": "tvLacustre", "tvAerea": "tvAerea", "tvPostal": "tvPostal", "tvFerroviaria": "tvFerroviaria", "tvRodoviaria": "tvRodoviaria", "tvConduto": "tvConduto", "tvMeiosProprios": "tvMeiosProprios", "tvEntradaSaidaFicta": "tvEntradaSaidaFicta", "tvCourier": "tvCourier", "tvEmMaos": "tvEmMaos", "tvPorReboque": "tvPorReboque" });
2309
+ var TPIS = class {
2310
+ /** Pascal streaming default: pis01. Omission preserves the native constructor. */
2311
+ "CST";
2312
+ "pPIS";
2313
+ "qBCProd";
2314
+ "vAliqProd";
2315
+ "vBC";
2316
+ "vPIS";
2317
+ constructor(input = {}) {
2318
+ validateModel("TPIS", input);
2319
+ if (input["CST"] !== void 0) this["CST"] = input["CST"];
2320
+ if (input["pPIS"] !== void 0) this["pPIS"] = input["pPIS"];
2321
+ if (input["qBCProd"] !== void 0) this["qBCProd"] = input["qBCProd"];
2322
+ if (input["vAliqProd"] !== void 0) this["vAliqProd"] = input["vAliqProd"];
2323
+ if (input["vBC"] !== void 0) this["vBC"] = input["vBC"];
2324
+ if (input["vPIS"] !== void 0) this["vPIS"] = input["vPIS"];
2325
+ }
2326
+ };
2327
+ var TPISST = class {
2328
+ "indSomaPISST";
2329
+ "pPis";
2330
+ "qBCProd";
2331
+ "vAliqProd";
2332
+ "vBc";
2333
+ "vPIS";
2334
+ constructor(input = {}) {
2335
+ validateModel("TPISST", input);
2336
+ if (input["indSomaPISST"] !== void 0) this["indSomaPISST"] = input["indSomaPISST"];
2337
+ if (input["pPis"] !== void 0) this["pPis"] = input["pPis"];
2338
+ if (input["qBCProd"] !== void 0) this["qBCProd"] = input["qBCProd"];
2339
+ if (input["vAliqProd"] !== void 0) this["vAliqProd"] = input["vAliqProd"];
2340
+ if (input["vBc"] !== void 0) this["vBc"] = input["vBc"];
2341
+ if (input["vPIS"] !== void 0) this["vPIS"] = input["vPIS"];
2342
+ }
2343
+ };
2344
+ var TProcDFe = class {
2345
+ "chDFe";
2346
+ "cMsg";
2347
+ "cStat";
2348
+ "dhRecbto";
2349
+ "digVal";
2350
+ "Id";
2351
+ "nProt";
2352
+ "PathDFe";
2353
+ "PathRetConsReciDFe";
2354
+ "PathRetConsSitDFe";
2355
+ "tpAmb";
2356
+ "verAplic";
2357
+ "XML_DFe";
2358
+ "XML_prot";
2359
+ "xMotivo";
2360
+ "xMsg";
2361
+ constructor(input = {}) {
2362
+ validateModel("TProcDFe", input);
2363
+ if (input["chDFe"] !== void 0) this["chDFe"] = input["chDFe"];
2364
+ if (input["cMsg"] !== void 0) this["cMsg"] = input["cMsg"];
2365
+ if (input["cStat"] !== void 0) this["cStat"] = input["cStat"];
2366
+ if (input["dhRecbto"] !== void 0) this["dhRecbto"] = input["dhRecbto"];
2367
+ if (input["digVal"] !== void 0) this["digVal"] = input["digVal"];
2368
+ if (input["Id"] !== void 0) this["Id"] = input["Id"];
2369
+ if (input["nProt"] !== void 0) this["nProt"] = input["nProt"];
2370
+ if (input["PathDFe"] !== void 0) this["PathDFe"] = input["PathDFe"];
2371
+ if (input["PathRetConsReciDFe"] !== void 0) this["PathRetConsReciDFe"] = input["PathRetConsReciDFe"];
2372
+ if (input["PathRetConsSitDFe"] !== void 0) this["PathRetConsSitDFe"] = input["PathRetConsSitDFe"];
2373
+ if (input["tpAmb"] !== void 0) this["tpAmb"] = input["tpAmb"];
2374
+ if (input["verAplic"] !== void 0) this["verAplic"] = input["verAplic"];
2375
+ if (input["XML_DFe"] !== void 0) this["XML_DFe"] = input["XML_DFe"];
2376
+ if (input["XML_prot"] !== void 0) this["XML_prot"] = input["XML_prot"];
2377
+ if (input["xMotivo"] !== void 0) this["xMotivo"] = input["xMotivo"];
2378
+ if (input["xMsg"] !== void 0) this["xMsg"] = input["xMsg"];
2379
+ }
2380
+ };
2381
+ var TprocRefCollection = class extends Array {
2382
+ New(input = {}) {
2383
+ const item = new TprocRefCollectionItem(input);
2384
+ this.push(item);
2385
+ return item;
2386
+ }
2387
+ };
2388
+ var TprocRefCollectionItem = class {
2389
+ /** Pascal streaming default: ipSEFAZ. Omission preserves the native constructor. */
2390
+ "indProc";
2391
+ "nProc";
2392
+ "tpAto";
2393
+ constructor(input = {}) {
2394
+ validateModel("TprocRefCollectionItem", input);
2395
+ if (input["indProc"] !== void 0) this["indProc"] = input["indProc"];
2396
+ if (input["nProc"] !== void 0) this["nProc"] = input["nProc"];
2397
+ if (input["tpAto"] !== void 0) this["tpAto"] = input["tpAto"];
2398
+ }
2399
+ };
2400
+ var TProd = class {
2401
+ "arma" = new TArmaCollection();
2402
+ "cBarra";
2403
+ "cBarraTrib";
2404
+ "cBenef";
2405
+ "cEAN";
2406
+ "cEANTrib";
2407
+ "CEST";
2408
+ "CFOP";
2409
+ "CNPJFab";
2410
+ "comb" = new TComb();
2411
+ "cProd";
2412
+ "CredPresumido" = new TCredPresumidoCollection();
2413
+ "detExport" = new TdetExportCollection();
2414
+ "DI" = new TDICollection();
2415
+ "EXTIPI";
2416
+ /** Pascal streaming default: tieNenhum. Omission preserves the native constructor. */
2417
+ "indBemMovelUsado";
2418
+ /** Pascal streaming default: ieNenhum. Omission preserves the native constructor. */
2419
+ "indEscala";
2420
+ /** Pascal streaming default: itSomaTotalNFe. Omission preserves the native constructor. */
2421
+ "IndTot";
2422
+ "med" = new TMedCollection();
2423
+ "NCM";
2424
+ "nFCI";
2425
+ "nItem";
2426
+ "nItemPed";
2427
+ "nRECOPI";
2428
+ "NVE" = new TNVECollection();
2429
+ "qCom";
2430
+ "qTrib";
2431
+ "rastro" = new TRastroCollection();
2432
+ "tpCredPresIBSZFM";
2433
+ "uCom";
2434
+ "uTrib";
2435
+ "vDesc";
2436
+ "veicProd" = new TveicProd();
2437
+ "vFrete";
2438
+ "vOutro";
2439
+ "vProd";
2440
+ "vSeg";
2441
+ "vUnCom";
2442
+ "vUnTrib";
2443
+ "xPed";
2444
+ "xProd";
2445
+ constructor(input = {}) {
2446
+ validateModel("TProd", input);
2447
+ if (input["arma"] !== void 0) this["arma"] = Object.assign(new TArmaCollection(), input["arma"].map((v) => new TArmaCollectionItem(v)));
2448
+ if (input["cBarra"] !== void 0) this["cBarra"] = input["cBarra"];
2449
+ if (input["cBarraTrib"] !== void 0) this["cBarraTrib"] = input["cBarraTrib"];
2450
+ if (input["cBenef"] !== void 0) this["cBenef"] = input["cBenef"];
2451
+ if (input["cEAN"] !== void 0) this["cEAN"] = input["cEAN"];
2452
+ if (input["cEANTrib"] !== void 0) this["cEANTrib"] = input["cEANTrib"];
2453
+ if (input["CEST"] !== void 0) this["CEST"] = input["CEST"];
2454
+ if (input["CFOP"] !== void 0) this["CFOP"] = input["CFOP"];
2455
+ if (input["CNPJFab"] !== void 0) this["CNPJFab"] = input["CNPJFab"];
2456
+ if (input["comb"] !== void 0) this["comb"] = new TComb(input["comb"]);
2457
+ if (input["cProd"] !== void 0) this["cProd"] = input["cProd"];
2458
+ if (input["CredPresumido"] !== void 0) this["CredPresumido"] = Object.assign(new TCredPresumidoCollection(), input["CredPresumido"].map((v) => new TCredPresumidoCollectionItem(v)));
2459
+ if (input["detExport"] !== void 0) this["detExport"] = Object.assign(new TdetExportCollection(), input["detExport"].map((v) => new TdetExportCollectionItem(v)));
2460
+ if (input["DI"] !== void 0) this["DI"] = Object.assign(new TDICollection(), input["DI"].map((v) => new TDICollectionItem(v)));
2461
+ if (input["EXTIPI"] !== void 0) this["EXTIPI"] = input["EXTIPI"];
2462
+ if (input["indBemMovelUsado"] !== void 0) this["indBemMovelUsado"] = input["indBemMovelUsado"];
2463
+ if (input["indEscala"] !== void 0) this["indEscala"] = input["indEscala"];
2464
+ if (input["IndTot"] !== void 0) this["IndTot"] = input["IndTot"];
2465
+ if (input["med"] !== void 0) this["med"] = Object.assign(new TMedCollection(), input["med"].map((v) => new TMedCollectionItem(v)));
2466
+ if (input["NCM"] !== void 0) this["NCM"] = input["NCM"];
2467
+ if (input["nFCI"] !== void 0) this["nFCI"] = input["nFCI"];
2468
+ if (input["nItem"] !== void 0) this["nItem"] = input["nItem"];
2469
+ if (input["nItemPed"] !== void 0) this["nItemPed"] = input["nItemPed"];
2470
+ if (input["nRECOPI"] !== void 0) this["nRECOPI"] = input["nRECOPI"];
2471
+ if (input["NVE"] !== void 0) this["NVE"] = Object.assign(new TNVECollection(), input["NVE"].map((v) => new TNVECollectionItem(v)));
2472
+ if (input["qCom"] !== void 0) this["qCom"] = input["qCom"];
2473
+ if (input["qTrib"] !== void 0) this["qTrib"] = input["qTrib"];
2474
+ if (input["rastro"] !== void 0) this["rastro"] = Object.assign(new TRastroCollection(), input["rastro"].map((v) => new TRastroCollectionItem(v)));
2475
+ if (input["tpCredPresIBSZFM"] !== void 0) this["tpCredPresIBSZFM"] = input["tpCredPresIBSZFM"];
2476
+ if (input["uCom"] !== void 0) this["uCom"] = input["uCom"];
2477
+ if (input["uTrib"] !== void 0) this["uTrib"] = input["uTrib"];
2478
+ if (input["vDesc"] !== void 0) this["vDesc"] = input["vDesc"];
2479
+ if (input["veicProd"] !== void 0) this["veicProd"] = new TveicProd(input["veicProd"]);
2480
+ if (input["vFrete"] !== void 0) this["vFrete"] = input["vFrete"];
2481
+ if (input["vOutro"] !== void 0) this["vOutro"] = input["vOutro"];
2482
+ if (input["vProd"] !== void 0) this["vProd"] = input["vProd"];
2483
+ if (input["vSeg"] !== void 0) this["vSeg"] = input["vSeg"];
2484
+ if (input["vUnCom"] !== void 0) this["vUnCom"] = input["vUnCom"];
2485
+ if (input["vUnTrib"] !== void 0) this["vUnTrib"] = input["vUnTrib"];
2486
+ if (input["xPed"] !== void 0) this["xPed"] = input["xPed"];
2487
+ if (input["xProd"] !== void 0) this["xProd"] = input["xProd"];
2488
+ }
2489
+ };
2490
+ var TRastroCollection = class extends Array {
2491
+ New(input = {}) {
2492
+ const item = new TRastroCollectionItem(input);
2493
+ this.push(item);
2494
+ return item;
2495
+ }
2496
+ };
2497
+ var TRastroCollectionItem = class {
2498
+ "cAgreg";
2499
+ "dFab";
2500
+ "dVal";
2501
+ "nLote";
2502
+ "qLote";
2503
+ constructor(input = {}) {
2504
+ validateModel("TRastroCollectionItem", input);
2505
+ if (input["cAgreg"] !== void 0) this["cAgreg"] = input["cAgreg"];
2506
+ if (input["dFab"] !== void 0) this["dFab"] = input["dFab"];
2507
+ if (input["dVal"] !== void 0) this["dVal"] = input["dVal"];
2508
+ if (input["nLote"] !== void 0) this["nLote"] = input["nLote"];
2509
+ if (input["qLote"] !== void 0) this["qLote"] = input["qLote"];
2510
+ }
2511
+ };
2512
+ var TReboqueCollection = class extends Array {
2513
+ New(input = {}) {
2514
+ const item = new TReboqueCollectionItem(input);
2515
+ this.push(item);
2516
+ return item;
2517
+ }
2518
+ };
2519
+ var TReboqueCollectionItem = class {
2520
+ "placa";
2521
+ "RNTC";
2522
+ "UF";
2523
+ constructor(input = {}) {
2524
+ validateModel("TReboqueCollectionItem", input);
2525
+ if (input["placa"] !== void 0) this["placa"] = input["placa"];
2526
+ if (input["RNTC"] !== void 0) this["RNTC"] = input["RNTC"];
2527
+ if (input["UF"] !== void 0) this["UF"] = input["UF"];
2528
+ }
2529
+ };
2530
+ var TrefDFePagAntCollection = class extends Array {
2531
+ New(input = {}) {
2532
+ const item = new TrefDFePagAntCollectionItem(input);
2533
+ this.push(item);
2534
+ return item;
2535
+ }
2536
+ };
2537
+ var TrefDFePagAntCollectionItem = class {
2538
+ "refDFEChave";
2539
+ constructor(input = {}) {
2540
+ validateModel("TrefDFePagAntCollectionItem", input);
2541
+ if (input["refDFEChave"] !== void 0) this["refDFEChave"] = input["refDFEChave"];
2542
+ }
2543
+ };
2544
+ var TRefECF = class {
2545
+ /** Pascal streaming default: ECFModRefVazio. Omission preserves the native constructor. */
2546
+ "modelo";
2547
+ "nCOO";
2548
+ "nECF";
2549
+ constructor(input = {}) {
2550
+ validateModel("TRefECF", input);
2551
+ if (input["modelo"] !== void 0) this["modelo"] = input["modelo"];
2552
+ if (input["nCOO"] !== void 0) this["nCOO"] = input["nCOO"];
2553
+ if (input["nECF"] !== void 0) this["nECF"] = input["nECF"];
2554
+ }
2555
+ };
2556
+ var TRefNF = class {
2557
+ "AAMM";
2558
+ "CNPJ";
2559
+ "cUF";
2560
+ "modelo";
2561
+ "nNF";
2562
+ "serie";
2563
+ constructor(input = {}) {
2564
+ validateModel("TRefNF", input);
2565
+ if (input["AAMM"] !== void 0) this["AAMM"] = input["AAMM"];
2566
+ if (input["CNPJ"] !== void 0) this["CNPJ"] = input["CNPJ"];
2567
+ if (input["cUF"] !== void 0) this["cUF"] = input["cUF"];
2568
+ if (input["modelo"] !== void 0) this["modelo"] = input["modelo"];
2569
+ if (input["nNF"] !== void 0) this["nNF"] = input["nNF"];
2570
+ if (input["serie"] !== void 0) this["serie"] = input["serie"];
2571
+ }
2572
+ };
2573
+ var TRefNFP = class {
2574
+ "AAMM";
2575
+ "CNPJCPF";
2576
+ "cUF";
2577
+ "IE";
2578
+ "modelo";
2579
+ "nNF";
2580
+ "serie";
2581
+ constructor(input = {}) {
2582
+ validateModel("TRefNFP", input);
2583
+ if (input["AAMM"] !== void 0) this["AAMM"] = input["AAMM"];
2584
+ if (input["CNPJCPF"] !== void 0) this["CNPJCPF"] = input["CNPJCPF"];
2585
+ if (input["cUF"] !== void 0) this["cUF"] = input["cUF"];
2586
+ if (input["IE"] !== void 0) this["IE"] = input["IE"];
2587
+ if (input["modelo"] !== void 0) this["modelo"] = input["modelo"];
2588
+ if (input["nNF"] !== void 0) this["nNF"] = input["nNF"];
2589
+ if (input["serie"] !== void 0) this["serie"] = input["serie"];
2590
+ }
2591
+ };
2592
+ var TRegTribISSQN = Object.freeze({ "RTISSMicroempresaMunicipal": "RTISSMicroempresaMunicipal", "RTISSEstimativa": "RTISSEstimativa", "RTISSSociedadeProfissionais": "RTISSSociedadeProfissionais", "RTISSCooperativa": "RTISSCooperativa", "RTISSMEI": "RTISSMEI", "RTISSMEEPP": "RTISSMEEPP", "RTISSNenhum": "RTISSNenhum" });
2593
+ var TRetirada = class {
2594
+ "CEP";
2595
+ "cMun";
2596
+ "CNPJCPF";
2597
+ "cPais";
2598
+ "Email";
2599
+ "fone";
2600
+ "IE";
2601
+ "nro";
2602
+ "UF";
2603
+ "xBairro";
2604
+ "xCpl";
2605
+ "xLgr";
2606
+ "xMun";
2607
+ "xNome";
2608
+ "xPais";
2609
+ constructor(input = {}) {
2610
+ validateModel("TRetirada", input);
2611
+ if (input["CEP"] !== void 0) this["CEP"] = input["CEP"];
2612
+ if (input["cMun"] !== void 0) this["cMun"] = input["cMun"];
2613
+ if (input["CNPJCPF"] !== void 0) this["CNPJCPF"] = input["CNPJCPF"];
2614
+ if (input["cPais"] !== void 0) this["cPais"] = input["cPais"];
2615
+ if (input["Email"] !== void 0) this["Email"] = input["Email"];
2616
+ if (input["fone"] !== void 0) this["fone"] = input["fone"];
2617
+ if (input["IE"] !== void 0) this["IE"] = input["IE"];
2618
+ if (input["nro"] !== void 0) this["nro"] = input["nro"];
2619
+ if (input["UF"] !== void 0) this["UF"] = input["UF"];
2620
+ if (input["xBairro"] !== void 0) this["xBairro"] = input["xBairro"];
2621
+ if (input["xCpl"] !== void 0) this["xCpl"] = input["xCpl"];
2622
+ if (input["xLgr"] !== void 0) this["xLgr"] = input["xLgr"];
2623
+ if (input["xMun"] !== void 0) this["xMun"] = input["xMun"];
2624
+ if (input["xNome"] !== void 0) this["xNome"] = input["xNome"];
2625
+ if (input["xPais"] !== void 0) this["xPais"] = input["xPais"];
2626
+ }
2627
+ };
2628
+ var TretTransp = class {
2629
+ "CFOP";
2630
+ "cMunFG";
2631
+ "pICMSRet";
2632
+ "vBCRet";
2633
+ "vICMSRet";
2634
+ "vServ";
2635
+ constructor(input = {}) {
2636
+ validateModel("TretTransp", input);
2637
+ if (input["CFOP"] !== void 0) this["CFOP"] = input["CFOP"];
2638
+ if (input["cMunFG"] !== void 0) this["cMunFG"] = input["cMunFG"];
2639
+ if (input["pICMSRet"] !== void 0) this["pICMSRet"] = input["pICMSRet"];
2640
+ if (input["vBCRet"] !== void 0) this["vBCRet"] = input["vBCRet"];
2641
+ if (input["vICMSRet"] !== void 0) this["vICMSRet"] = input["vICMSRet"];
2642
+ if (input["vServ"] !== void 0) this["vServ"] = input["vServ"];
2643
+ }
2644
+ };
2645
+ var TretTrib = class {
2646
+ "vBCIRRF";
2647
+ "vBCRetPrev";
2648
+ "vIRRF";
2649
+ "vRetCOFINS";
2650
+ "vRetCSLL";
2651
+ "vRetPIS";
2652
+ "vRetPrev";
2653
+ constructor(input = {}) {
2654
+ validateModel("TretTrib", input);
2655
+ if (input["vBCIRRF"] !== void 0) this["vBCIRRF"] = input["vBCIRRF"];
2656
+ if (input["vBCRetPrev"] !== void 0) this["vBCRetPrev"] = input["vBCRetPrev"];
2657
+ if (input["vIRRF"] !== void 0) this["vIRRF"] = input["vIRRF"];
2658
+ if (input["vRetCOFINS"] !== void 0) this["vRetCOFINS"] = input["vRetCOFINS"];
2659
+ if (input["vRetCSLL"] !== void 0) this["vRetCSLL"] = input["vRetCSLL"];
2660
+ if (input["vRetPIS"] !== void 0) this["vRetPIS"] = input["vRetPIS"];
2661
+ if (input["vRetPrev"] !== void 0) this["vRetPrev"] = input["vRetPrev"];
2662
+ }
2663
+ };
2664
+ var TSignature = class {
2665
+ "DigestValue";
2666
+ "IdSignature";
2667
+ "IdSignatureValue";
2668
+ "SignatureValue";
2669
+ "URI";
2670
+ "X509Certificate";
2671
+ constructor(input = {}) {
2672
+ validateModel("TSignature", input);
2673
+ if (input["DigestValue"] !== void 0) this["DigestValue"] = input["DigestValue"];
2674
+ if (input["IdSignature"] !== void 0) this["IdSignature"] = input["IdSignature"];
2675
+ if (input["IdSignatureValue"] !== void 0) this["IdSignatureValue"] = input["IdSignatureValue"];
2676
+ if (input["SignatureValue"] !== void 0) this["SignatureValue"] = input["SignatureValue"];
2677
+ if (input["URI"] !== void 0) this["URI"] = input["URI"];
2678
+ if (input["X509Certificate"] !== void 0) this["X509Certificate"] = input["X509Certificate"];
2679
+ }
2680
+ };
2681
+ var TTipoNFe = Object.freeze({ "tnEntrada": "tnEntrada", "tnSaida": "tnSaida" });
2682
+ var TTotal = class {
2683
+ "IBSCBSTot" = new TIBSCBSTot();
2684
+ "ICMSTot" = new TICMSTot();
2685
+ "ISSQNtot" = new TISSQNtot();
2686
+ "ISTot" = new TISTot();
2687
+ "retTrib" = new TretTrib();
2688
+ "vNFTot";
2689
+ constructor(input = {}) {
2690
+ validateModel("TTotal", input);
2691
+ if (input["IBSCBSTot"] !== void 0) this["IBSCBSTot"] = new TIBSCBSTot(input["IBSCBSTot"]);
2692
+ if (input["ICMSTot"] !== void 0) this["ICMSTot"] = new TICMSTot(input["ICMSTot"]);
2693
+ if (input["ISSQNtot"] !== void 0) this["ISSQNtot"] = new TISSQNtot(input["ISSQNtot"]);
2694
+ if (input["ISTot"] !== void 0) this["ISTot"] = new TISTot(input["ISTot"]);
2695
+ if (input["retTrib"] !== void 0) this["retTrib"] = new TretTrib(input["retTrib"]);
2696
+ if (input["vNFTot"] !== void 0) this["vNFTot"] = input["vNFTot"];
2697
+ }
2698
+ };
2699
+ var TtpALCZFMCBS = Object.freeze({ "tpALCZFMCBSnOpInd": "tpALCZFMCBSnOpInd", "tpALCZFMCBSOpInd": "tpALCZFMCBSOpInd" });
2700
+ var TtpAto = Object.freeze({ "taNenhum": "taNenhum", "taTermoAcordo": "taTermoAcordo", "taRegimeEspecial": "taRegimeEspecial", "taAutorizacaoEspecifica": "taAutorizacaoEspecifica", "taAjusteSNIEF": "taAjusteSNIEF", "taConvenioICMS": "taConvenioICMS" });
2701
+ var TTpCredPresIBSZFM = Object.freeze({ "tcpNenhum": "tcpNenhum", "tcpSemCredito": "tcpSemCredito", "tcpBensConsumoFinal": "tcpBensConsumoFinal", "tcpBensCapital": "tcpBensCapital", "tcpBensIntermediarios": "tcpBensIntermediarios", "tcpBensInformaticaOutros": "tcpBensInformaticaOutros" });
2702
+ var TtpEnteGov = Object.freeze({ "tcgNenhum": "tcgNenhum", "tcgUniao": "tcgUniao", "tcgEstados": "tcgEstados", "tcgDistritoFederal": "tcgDistritoFederal", "tcgMunicipios": "tcgMunicipios", "tcgConsorcioPublico": "tcgConsorcioPublico", "tcgComiteGestorIBS": "tcgComiteGestorIBS" });
2703
+ var TtpGuia = Object.freeze({ "tpgNenhum": "tpgNenhum", "tpgGTA": "tpgGTA", "tpgTTA": "tpgTTA", "tpgDTA": "tpgDTA", "tpgATV": "tpgATV", "tpgPTV": "tpgPTV", "tpgGTV": "tpgGTV", "tpgGuiaFlorestal": "tpgGuiaFlorestal" });
2704
+ var TtpIntegra = Object.freeze({ "tiNaoInformado": "tiNaoInformado", "tiPagIntegrado": "tiPagIntegrado", "tiPagNaoIntegrado": "tiPagNaoIntegrado" });
2705
+ var TtpNFCredito = Object.freeze({ "tcNenhum": "tcNenhum", "tcMultaJuros": "tcMultaJuros", "tcApropriacaoCreditoPresumido": "tcApropriacaoCreditoPresumido", "tcRetorno": "tcRetorno", "tcReducaoValores": "tcReducaoValores", "tcTransferenciaCreditoSucessao": "tcTransferenciaCreditoSucessao", "tcRetornoRecusaParcial": "tcRetornoRecusaParcial" });
2706
+ var TtpNFDebito = Object.freeze({ "tdNenhum": "tdNenhum", "tdTransferenciaCreditoCooperativa": "tdTransferenciaCreditoCooperativa", "tdAnulacao": "tdAnulacao", "tdDebitosNaoProcessadas": "tdDebitosNaoProcessadas", "tdMultaJuros": "tdMultaJuros", "tdTransferenciaCreditoSucessao": "tdTransferenciaCreditoSucessao", "tdPagamentoAntecipado": "tdPagamentoAntecipado", "tdPerdaEmEstoque": "tdPerdaEmEstoque", "tdDesenquadramentodoSN": "tdDesenquadramentodoSN" });
2707
+ var TtpOperGov = Object.freeze({ "togNenhum": "togNenhum", "togFornecimento": "togFornecimento", "togRecebimentoPag": "togRecebimentoPag", "togFornecimentoPagRealizado": "togFornecimentoPagRealizado", "togRecebimentoPagFornecPosterior": "togRecebimentoPagFornecPosterior" });
2708
+ var TTransp = class {
2709
+ "balsa";
2710
+ "modFrete";
2711
+ "Reboque" = new TReboqueCollection();
2712
+ "retTransp" = new TretTransp();
2713
+ "Transporta" = new TTransporta();
2714
+ "vagao";
2715
+ "veicTransp" = new TveicTransp();
2716
+ "Vol" = new TVolCollection();
2717
+ constructor(input = {}) {
2718
+ validateModel("TTransp", input);
2719
+ if (input["balsa"] !== void 0) this["balsa"] = input["balsa"];
2720
+ if (input["modFrete"] !== void 0) this["modFrete"] = input["modFrete"];
2721
+ if (input["Reboque"] !== void 0) this["Reboque"] = Object.assign(new TReboqueCollection(), input["Reboque"].map((v) => new TReboqueCollectionItem(v)));
2722
+ if (input["retTransp"] !== void 0) this["retTransp"] = new TretTransp(input["retTransp"]);
2723
+ if (input["Transporta"] !== void 0) this["Transporta"] = new TTransporta(input["Transporta"]);
2724
+ if (input["vagao"] !== void 0) this["vagao"] = input["vagao"];
2725
+ if (input["veicTransp"] !== void 0) this["veicTransp"] = new TveicTransp(input["veicTransp"]);
2726
+ if (input["Vol"] !== void 0) this["Vol"] = Object.assign(new TVolCollection(), input["Vol"].map((v) => new TVolCollectionItem(v)));
2727
+ }
2728
+ };
2729
+ var TTransporta = class {
2730
+ "CNPJCPF";
2731
+ "IE";
2732
+ "UF";
2733
+ "xEnder";
2734
+ "xMun";
2735
+ "xNome";
2736
+ constructor(input = {}) {
2737
+ validateModel("TTransporta", input);
2738
+ if (input["CNPJCPF"] !== void 0) this["CNPJCPF"] = input["CNPJCPF"];
2739
+ if (input["IE"] !== void 0) this["IE"] = input["IE"];
2740
+ if (input["UF"] !== void 0) this["UF"] = input["UF"];
2741
+ if (input["xEnder"] !== void 0) this["xEnder"] = input["xEnder"];
2742
+ if (input["xMun"] !== void 0) this["xMun"] = input["xMun"];
2743
+ if (input["xNome"] !== void 0) this["xNome"] = input["xNome"];
2744
+ }
2745
+ };
2746
+ var TveicProd = class {
2747
+ "anoFab";
2748
+ "anoMod";
2749
+ "cCor";
2750
+ "cCorDENATRAN";
2751
+ "chassi";
2752
+ "Cilin";
2753
+ "cMod";
2754
+ "CMT";
2755
+ "CombDescricao";
2756
+ "condVeic";
2757
+ "dist";
2758
+ "espVeic";
2759
+ "lota";
2760
+ "nMotor";
2761
+ "nSerie";
2762
+ "pesoB";
2763
+ "pesoL";
2764
+ "pot";
2765
+ "tpComb";
2766
+ "tpOP";
2767
+ "tpPint";
2768
+ "tpRest";
2769
+ "tpVeic";
2770
+ "VIN";
2771
+ "xCor";
2772
+ constructor(input = {}) {
2773
+ validateModel("TveicProd", input);
2774
+ if (input["anoFab"] !== void 0) this["anoFab"] = input["anoFab"];
2775
+ if (input["anoMod"] !== void 0) this["anoMod"] = input["anoMod"];
2776
+ if (input["cCor"] !== void 0) this["cCor"] = input["cCor"];
2777
+ if (input["cCorDENATRAN"] !== void 0) this["cCorDENATRAN"] = input["cCorDENATRAN"];
2778
+ if (input["chassi"] !== void 0) this["chassi"] = input["chassi"];
2779
+ if (input["Cilin"] !== void 0) this["Cilin"] = input["Cilin"];
2780
+ if (input["cMod"] !== void 0) this["cMod"] = input["cMod"];
2781
+ if (input["CMT"] !== void 0) this["CMT"] = input["CMT"];
2782
+ if (input["condVeic"] !== void 0) this["condVeic"] = input["condVeic"];
2783
+ if (input["dist"] !== void 0) this["dist"] = input["dist"];
2784
+ if (input["espVeic"] !== void 0) this["espVeic"] = input["espVeic"];
2785
+ if (input["lota"] !== void 0) this["lota"] = input["lota"];
2786
+ if (input["nMotor"] !== void 0) this["nMotor"] = input["nMotor"];
2787
+ if (input["nSerie"] !== void 0) this["nSerie"] = input["nSerie"];
2788
+ if (input["pesoB"] !== void 0) this["pesoB"] = input["pesoB"];
2789
+ if (input["pesoL"] !== void 0) this["pesoL"] = input["pesoL"];
2790
+ if (input["pot"] !== void 0) this["pot"] = input["pot"];
2791
+ if (input["tpComb"] !== void 0) this["tpComb"] = input["tpComb"];
2792
+ if (input["tpOP"] !== void 0) this["tpOP"] = input["tpOP"];
2793
+ if (input["tpPint"] !== void 0) this["tpPint"] = input["tpPint"];
2794
+ if (input["tpRest"] !== void 0) this["tpRest"] = input["tpRest"];
2795
+ if (input["tpVeic"] !== void 0) this["tpVeic"] = input["tpVeic"];
2796
+ if (input["VIN"] !== void 0) this["VIN"] = input["VIN"];
2797
+ if (input["xCor"] !== void 0) this["xCor"] = input["xCor"];
2798
+ }
2799
+ };
2800
+ var TveicTransp = class {
2801
+ "placa";
2802
+ "RNTC";
2803
+ "UF";
2804
+ constructor(input = {}) {
2805
+ validateModel("TveicTransp", input);
2806
+ if (input["placa"] !== void 0) this["placa"] = input["placa"];
2807
+ if (input["RNTC"] !== void 0) this["RNTC"] = input["RNTC"];
2808
+ if (input["UF"] !== void 0) this["UF"] = input["UF"];
2809
+ }
2810
+ };
2811
+ var TVolCollection = class extends Array {
2812
+ New(input = {}) {
2813
+ const item = new TVolCollectionItem(input);
2814
+ this.push(item);
2815
+ return item;
2816
+ }
2817
+ };
2818
+ var TVolCollectionItem = class {
2819
+ "esp";
2820
+ "Lacres" = new TLacresCollection();
2821
+ "marca";
2822
+ "nVol";
2823
+ "pesoB";
2824
+ "pesoL";
2825
+ "qVol";
2826
+ constructor(input = {}) {
2827
+ validateModel("TVolCollectionItem", input);
2828
+ if (input["esp"] !== void 0) this["esp"] = input["esp"];
2829
+ if (input["Lacres"] !== void 0) this["Lacres"] = Object.assign(new TLacresCollection(), input["Lacres"].map((v) => new TLacresCollectionItem(v)));
2830
+ if (input["marca"] !== void 0) this["marca"] = input["marca"];
2831
+ if (input["nVol"] !== void 0) this["nVol"] = input["nVol"];
2832
+ if (input["pesoB"] !== void 0) this["pesoB"] = input["pesoB"];
2833
+ if (input["pesoL"] !== void 0) this["pesoL"] = input["pesoL"];
2834
+ if (input["qVol"] !== void 0) this["qVol"] = input["qVol"];
2835
+ }
2836
+ };
2837
+ var MODEL_SCHEMA = { "TACBrProcessoEmissao": { "name": "TACBrProcessoEmissao", "unit": "ACBrDFe.Conversao", "kind": "enum", "values": ["peAplicativoContribuinte", "peAvulsaFisco", "peAvulsaContribuinte", "peContribuinteAplicativoFisco", "peProvedorAssinaturaAutorizacao"] }, "TACBrTipoAmbiente": { "name": "TACBrTipoAmbiente", "unit": "ACBrDFe.Conversao", "kind": "enum", "values": ["taProducao", "taHomologacao"] }, "TACBrTipoEmissao": { "name": "TACBrTipoEmissao", "unit": "ACBrDFe.Conversao", "kind": "enum", "values": ["teNormal", "teContingencia", "teSCAN", "teDPEC", "teFSDA", "teSVCAN", "teSVCRS", "teSVCSP", "teOffLine"] }, "TACBrTipoImpressao": { "name": "TACBrTipoImpressao", "unit": "ACBrDFe.Conversao", "kind": "enum", "values": ["tiSemGeracao", "tiRetrato", "tiPaisagem", "tiSimplificado", "tiNFCe", "tiMsgEletronica", "tiSimplificadoTipo2"] }, "TAdiCollection": { "name": "TAdiCollection", "unit": "ACBrNFe.Classes", "kind": "list", "item": "TAdiCollectionItem", "factory": "New" }, "TAdiCollectionItem": { "name": "TAdiCollectionItem", "unit": "ACBrNFe.Classes", "kind": "object", "properties": [{ "name": "cFabricante", "type": "string", "kind": "string", "readonly": false }, { "name": "nAdicao", "type": "Integer", "kind": "integer", "min": -2147483648, "max": 2147483647, "readonly": false }, { "name": "nDraw", "type": "string", "kind": "string", "readonly": false }, { "name": "nSeqAdi", "type": "Integer", "kind": "integer", "min": -2147483648, "max": 2147483647, "readonly": false }, { "name": "vDescDI", "type": "Currency", "kind": "decimal", "scale": 4, "readonly": false }] }, "Tagropecuario": { "name": "Tagropecuario", "unit": "ACBrNFe.Classes", "kind": "object", "properties": [{ "name": "defensivo", "type": "TdefensivoCollection", "kind": "list", "ref": "TdefensivoCollection", "readonly": false }, { "name": "guiaTransito", "type": "TguiaTransito", "kind": "object", "ref": "TguiaTransito", "readonly": false }] }, "TArmaCollection": { "name": "TArmaCollection", "unit": "ACBrNFe.Classes", "kind": "list", "item": "TArmaCollectionItem", "factory": "New" }, "TArmaCollectionItem": { "name": "TArmaCollectionItem", "unit": "ACBrNFe.Classes", "kind": "object", "properties": [{ "name": "descr", "type": "string", "kind": "string", "readonly": false }, { "name": "nCano", "type": "string", "kind": "string", "readonly": false }, { "name": "nSerie", "type": "string", "kind": "string", "readonly": false }, { "name": "tpArma", "type": "TpcnTipoArma", "kind": "enum", "ref": "TpcnTipoArma", "readonly": false, "declaredDefault": "taUsoPermitido" }] }, "TautXMLCollection": { "name": "TautXMLCollection", "unit": "ACBrNFe.Classes", "kind": "list", "item": "TautXMLCollectionItem", "factory": "New" }, "TautXMLCollectionItem": { "name": "TautXMLCollectionItem", "unit": "ACBrNFe.Classes", "kind": "object", "properties": [{ "name": "CNPJCPF", "type": "string", "kind": "string", "readonly": false }] }, "TAvulsa": { "name": "TAvulsa", "unit": "ACBrNFe.Classes", "kind": "object", "properties": [{ "name": "CNPJ", "type": "string", "kind": "string", "readonly": false }, { "name": "dEmi", "type": "TDateTime", "kind": "datetime", "readonly": false }, { "name": "dPag", "type": "TDateTime", "kind": "datetime", "readonly": false }, { "name": "fone", "type": "string", "kind": "string", "readonly": false }, { "name": "matr", "type": "string", "kind": "string", "readonly": false }, { "name": "nDAR", "type": "string", "kind": "string", "readonly": false }, { "name": "repEmi", "type": "string", "kind": "string", "readonly": false }, { "name": "UF", "type": "string", "kind": "string", "readonly": false }, { "name": "vDAR", "type": "Currency", "kind": "decimal", "scale": 4, "readonly": false }, { "name": "xAgente", "type": "string", "kind": "string", "readonly": false }, { "name": "xOrgao", "type": "string", "kind": "string", "readonly": false }] }, "Tcana": { "name": "Tcana", "unit": "ACBrNFe.Classes", "kind": "object", "properties": [{ "name": "deduc", "type": "TDeducCollection", "kind": "list", "ref": "TDeducCollection", "readonly": false }, { "name": "fordia", "type": "TForDiaCollection", "kind": "list", "ref": "TForDiaCollection", "readonly": false }, { "name": "qTotAnt", "type": "Double", "kind": "decimal", "readonly": false }, { "name": "qTotGer", "type": "Double", "kind": "decimal", "readonly": false }, { "name": "qTotMes", "type": "Double", "kind": "decimal", "readonly": false }, { "name": "ref", "type": "string", "kind": "string", "readonly": false }, { "name": "safra", "type": "string", "kind": "string", "readonly": false }, { "name": "vFor", "type": "Currency", "kind": "decimal", "scale": 4, "readonly": false }, { "name": "vLiqFor", "type": "Currency", "kind": "decimal", "scale": 4, "readonly": false }, { "name": "vTotDed", "type": "Currency", "kind": "decimal", "scale": 4, "readonly": false }] }, "TcCredPres": { "name": "TcCredPres", "unit": "ACBrDFe.Conversao", "kind": "enum", "values": ["cpNenhum", "cp01", "cp02", "cp03", "cp04", "cp05", "cp06", "cp07", "cp08", "cp09", "cp10", "cp11", "cp12", "cp13"] }, "TCIDE": { "name": "TCIDE", "unit": "ACBrNFe.Classes", "kind": "object", "properties": [{ "name": "qBCProd", "type": "Currency", "kind": "decimal", "scale": 4, "readonly": false }, { "name": "vAliqProd", "type": "Currency", "kind": "decimal", "scale": 4, "readonly": false }, { "name": "vCIDE", "type": "Currency", "kind": "decimal", "scale": 4, "readonly": false }] }, "TCobr": { "name": "TCobr", "unit": "ACBrNFe.Classes", "kind": "object", "properties": [{ "name": "Dup", "type": "TDupCollection", "kind": "list", "ref": "TDupCollection", "readonly": false }, { "name": "Fat", "type": "TFat", "kind": "object", "ref": "TFat", "readonly": false }] }, "TCOFINS": { "name": "TCOFINS", "unit": "ACBrNFe.Classes", "kind": "object", "properties": [{ "name": "CST", "type": "TCstCofins", "kind": "enum", "ref": "TCSTCofins", "readonly": false, "declaredDefault": "cof01" }, { "name": "pCOFINS", "type": "Currency", "kind": "decimal", "scale": 4, "readonly": false }, { "name": "qBCProd", "type": "Currency", "kind": "decimal", "scale": 4, "readonly": false }, { "name": "vAliqProd", "type": "Currency", "kind": "decimal", "scale": 4, "readonly": false }, { "name": "vBC", "type": "Currency", "kind": "decimal", "scale": 4, "readonly": false }, { "name": "vBCProd", "type": "Currency", "kind": "decimal", "scale": 4, "readonly": false }, { "name": "vCOFINS", "type": "Currency", "kind": "decimal", "scale": 4, "readonly": false }] }, "TCOFINSST": { "name": "TCOFINSST", "unit": "ACBrNFe.Classes", "kind": "object", "properties": [{ "name": "indSomaCOFINSST", "type": "TIndSomaCOFINSST", "kind": "enum", "ref": "TIndSomaCOFINSST", "readonly": false }, { "name": "pCOFINS", "type": "Currency", "kind": "decimal", "scale": 4, "readonly": false }, { "name": "qBCProd", "type": "Currency", "kind": "decimal", "scale": 4, "readonly": false }, { "name": "vAliqProd", "type": "Currency", "kind": "decimal", "scale": 4, "readonly": false }, { "name": "vBC", "type": "Currency", "kind": "decimal", "scale": 4, "readonly": false }, { "name": "vCOFINS", "type": "Currency", "kind": "decimal", "scale": 4, "readonly": false }] }, "TComb": { "name": "TComb", "unit": "ACBrNFe.Classes", "kind": "object", "properties": [{ "name": "CIDE", "type": "TCIDE", "kind": "object", "ref": "TCIDE", "readonly": false }, { "name": "CODIF", "type": "string", "kind": "string", "readonly": false }, { "name": "cProdANP", "type": "Integer", "kind": "integer", "min": -2147483648, "max": 2147483647, "readonly": false }, { "name": "descANP", "type": "string", "kind": "string", "readonly": false }, { "name": "encerrante", "type": "Tencerrante", "kind": "object", "ref": "Tencerrante", "readonly": false }, { "name": "ICMS", "type": "TICMSComb", "kind": "object", "ref": "TICMSComb", "readonly": false }, { "name": "ICMSCons", "type": "TICMSCons", "kind": "object", "ref": "TICMSCons", "readonly": false }, { "name": "ICMSInter", "type": "TICMSInter", "kind": "object", "ref": "TICMSInter", "readonly": false }, { "name": "origComb", "type": "TorigCombCollection", "kind": "list", "ref": "TorigCombCollection", "readonly": false }, { "name": "pBio", "type": "Currency", "kind": "decimal", "scale": 4, "readonly": false }, { "name": "pGLP", "type": "Currency", "kind": "decimal", "scale": 4, "readonly": false }, { "name": "pGNi", "type": "Currency", "kind": "decimal", "scale": 4, "readonly": false }, { "name": "pGNn", "type": "Currency", "kind": "decimal", "scale": 4, "readonly": false }, { "name": "pMixGN", "type": "Currency", "kind": "decimal", "scale": 4, "readonly": false }, { "name": "qTemp", "type": "Currency", "kind": "decimal", "scale": 4, "readonly": false }, { "name": "UFcons", "type": "string", "kind": "string", "readonly": false }, { "name": "vPart", "type": "Currency", "kind": "decimal", "scale": 4, "readonly": false }] }, "TCompra": { "name": "TCompra", "unit": "ACBrNFe.Classes", "kind": "object", "properties": [{ "name": "xCont", "type": "string", "kind": "string", "readonly": false }, { "name": "xNEmp", "type": "string", "kind": "string", "readonly": false }, { "name": "xPed", "type": "string", "kind": "string", "readonly": false }] }, "TCredPresIBSZFM": { "name": "TCredPresIBSZFM", "unit": "ACBrDFe.RTC.Classes", "kind": "object", "properties": [{ "name": "competApur", "type": "TDateTime", "kind": "datetime", "readonly": false }, { "name": "tpCredPresIBSZFM", "type": "TTpCredPresIBSZFM", "kind": "enum", "ref": "TTpCredPresIBSZFM", "readonly": false }, { "name": "vCredPresIBSZFM", "type": "Double", "kind": "decimal", "readonly": false }] }, "TCredPresumidoCollection": { "name": "TCredPresumidoCollection", "unit": "ACBrNFe.Classes", "kind": "list", "item": "TCredPresumidoCollectionItem", "factory": "New" }, "TCredPresumidoCollectionItem": { "name": "TCredPresumidoCollectionItem", "unit": "ACBrNFe.Classes", "kind": "object", "properties": [{ "name": "cCredPresumido", "type": "string", "kind": "string", "readonly": false }, { "name": "pCredPresumido", "type": "Double", "kind": "decimal", "readonly": false }, { "name": "vCredPresumido", "type": "Double", "kind": "decimal", "readonly": false }] }, "TCSOSNIcms": { "name": "TCSOSNIcms", "unit": "ACBrDFe.Conversao", "kind": "enum", "values": ["csosnVazio", "csosn101", "csosn102", "csosn103", "csosn201", "csosn202", "csosn203", "csosn300", "csosn400", "csosn500", "csosn900"] }, "TCSTCofins": { "name": "TCSTCofins", "unit": "ACBrDFe.Conversao", "kind": "enum", "values": ["cof01", "cof02", "cof03", "cof04", "cof05", "cof06", "cof07", "cof08", "cof09", "cof49", "cof50", "cof51", "cof52", "cof53", "cof54", "cof55", "cof56", "cof60", "cof61", "cof62", "cof63", "cof64", "cof65", "cof66", "cof67", "cof70", "cof71", "cof72", "cof73", "cof74", "cof75", "cof98", "cof99"] }, "TCSTIBSCBS": { "name": "TCSTIBSCBS", "unit": "ACBrDFe.Conversao", "kind": "enum", "values": ["cstNenhum", "cst000", "cst010", "cst011", "cst200", "cst220", "cst221", "cst222", "cst400", "cst410", "cst510", "cst515", "cst550", "cst620", "cst800", "cst810", "cst811", "cst820", "cst830"] }, "TCSTIcms": { "name": "TCSTIcms", "unit": "ACBrDFe.Conversao", "kind": "enum", "values": ["cstVazio", "cst00", "cst10", "cst20", "cst30", "cst40", "cst41", "cst45", "cst50", "cst51", "cst60", "cst70", "cst80", "cst81", "cst90", "cstICMSOutraUF", "cstICMSSN", "cstPart10", "cstPart90", "cstRep41", "cstRep60", "cst02", "cst15", "cst53", "cst61", "cst01", "cst12", "cst13", "cst14", "cst21", "cst72", "cst73", "cst74", "cstPart20"] }, "TCSTPis": { "name": "TCSTPis", "unit": "ACBrDFe.Conversao", "kind": "enum", "values": ["pis01", "pis02", "pis03", "pis04", "pis05", "pis06", "pis07", "pis08", "pis09", "pis49", "pis50", "pis51", "pis52", "pis53", "pis54", "pis55", "pis56", "pis60", "pis61", "pis62", "pis63", "pis64", "pis65", "pis66", "pis67", "pis70", "pis71", "pis72", "pis73", "pis74", "pis75", "pis98", "pis99"] }, "TDeducCollection": { "name": "TDeducCollection", "unit": "ACBrNFe.Classes", "kind": "list", "item": "TDeducCollectionItem", "factory": "New" }, "TDeducCollectionItem": { "name": "TDeducCollectionItem", "unit": "ACBrNFe.Classes", "kind": "object", "properties": [{ "name": "vDed", "type": "Currency", "kind": "decimal", "scale": 4, "readonly": false }, { "name": "xDed", "type": "string", "kind": "string", "readonly": false }] }, "TdefensivoCollection": { "name": "TdefensivoCollection", "unit": "ACBrNFe.Classes", "kind": "list", "item": "TdefensivoCollectionItem", "factory": "New" }, "TdefensivoCollectionItem": { "name": "TdefensivoCollectionItem", "unit": "ACBrNFe.Classes", "kind": "object", "properties": [{ "name": "CPFRespTec", "type": "string", "kind": "string", "readonly": false }, { "name": "nReceituario", "type": "string", "kind": "string", "readonly": false }] }, "TDest": { "name": "TDest", "unit": "ACBrNFe.Classes", "kind": "object", "properties": [{ "name": "CNPJCPF", "type": "string", "kind": "string", "readonly": false }, { "name": "Email", "type": "string", "kind": "string", "readonly": false }, { "name": "EnderDest", "type": "TEnderDest", "kind": "object", "ref": "TEnderDest", "readonly": false }, { "name": "idEstrangeiro", "type": "string", "kind": "string", "readonly": false }, { "name": "IE", "type": "string", "kind": "string", "readonly": false }, { "name": "IM", "type": "string", "kind": "string", "readonly": false }, { "name": "indIEDest", "type": "TindIEDest", "kind": "enum", "ref": "TindIEDest", "readonly": false }, { "name": "ISUF", "type": "string", "kind": "string", "readonly": false }, { "name": "xNome", "type": "string", "kind": "string", "readonly": false }] }, "TDetCollection": { "name": "TDetCollection", "unit": "ACBrNFe.Classes", "kind": "list", "item": "TDetCollectionItem", "factory": "New" }, "TDetCollectionItem": { "name": "TDetCollectionItem", "unit": "ACBrNFe.Classes", "kind": "object", "properties": [{ "name": "DFeReferenciado", "type": "TDFeReferenciado", "kind": "object", "ref": "TDFeReferenciado", "readonly": false }, { "name": "Imposto", "type": "TImposto", "kind": "object", "ref": "TImposto", "readonly": false }, { "name": "infAdProd", "type": "string", "kind": "string", "readonly": false }, { "name": "obsCont", "type": "TobsItem", "kind": "object", "ref": "TobsItem", "readonly": false }, { "name": "obsFisco", "type": "TobsItem", "kind": "object", "ref": "TobsItem", "readonly": false }, { "name": "pDevol", "type": "Currency", "kind": "decimal", "scale": 4, "readonly": false }, { "name": "Prod", "type": "TProd", "kind": "object", "ref": "TProd", "readonly": false }, { "name": "vIPIDevol", "type": "Currency", "kind": "decimal", "scale": 4, "readonly": false }, { "name": "vItem", "type": "Currency", "kind": "decimal", "scale": 4, "readonly": false }] }, "TdetExportCollection": { "name": "TdetExportCollection", "unit": "ACBrNFe.Classes", "kind": "list", "item": "TdetExportCollectionItem", "factory": "New" }, "TdetExportCollectionItem": { "name": "TdetExportCollectionItem", "unit": "ACBrNFe.Classes", "kind": "object", "properties": [{ "name": "chNFe", "type": "string", "kind": "string", "readonly": false }, { "name": "nDraw", "type": "string", "kind": "string", "readonly": false }, { "name": "nRE", "type": "string", "kind": "string", "readonly": false }, { "name": "qExport", "type": "Currency", "kind": "decimal", "scale": 4, "readonly": false }] }, "TDFErefCollection": { "name": "TDFErefCollection", "unit": "ACBrDFe.RTC.Classes", "kind": "list", "item": "TDFErefCollectionItem", "factory": "New" }, "TDFErefCollectionItem": { "name": "TDFErefCollectionItem", "unit": "ACBrDFe.RTC.Classes", "kind": "object", "properties": [{ "name": "refDFeChave", "type": "string", "kind": "string", "readonly": false }] }, "TDFeReferenciado": { "name": "TDFeReferenciado", "unit": "ACBrDFe.RTC.Classes", "kind": "object", "properties": [{ "name": "chaveAcesso", "type": "string", "kind": "string", "readonly": false }, { "name": "nItem", "type": "Integer", "kind": "integer", "min": -2147483648, "max": 2147483647, "readonly": false }] }, "TDICollection": { "name": "TDICollection", "unit": "ACBrNFe.Classes", "kind": "list", "item": "TDICollectionItem", "factory": "New" }, "TDICollectionItem": { "name": "TDICollectionItem", "unit": "ACBrNFe.Classes", "kind": "object", "properties": [{ "name": "adi", "type": "TAdiCollection", "kind": "list", "ref": "TAdiCollection", "readonly": false }, { "name": "cExportador", "type": "string", "kind": "string", "readonly": false }, { "name": "CNPJ", "type": "string", "kind": "string", "readonly": false }, { "name": "dDesemb", "type": "TDateTime", "kind": "datetime", "readonly": false }, { "name": "dDi", "type": "TDateTime", "kind": "datetime", "readonly": false }, { "name": "nDi", "type": "string", "kind": "string", "readonly": false }, { "name": "tpIntermedio", "type": "TpcnTipoIntermedio", "kind": "enum", "ref": "TpcnTipoIntermedio", "readonly": false }, { "name": "tpViaTransp", "type": "TpcnTipoViaTransp", "kind": "enum", "ref": "TpcnTipoViaTransp", "readonly": false }, { "name": "UFDesemb", "type": "string", "kind": "string", "readonly": false }, { "name": "UFTerceiro", "type": "string", "kind": "string", "readonly": false }, { "name": "vAFRMM", "type": "Currency", "kind": "decimal", "scale": 4, "readonly": false }, { "name": "xLocDesemb", "type": "string", "kind": "string", "readonly": false }] }, "TDupCollection": { "name": "TDupCollection", "unit": "ACBrNFe.Classes", "kind": "list", "item": "TDupCollectionItem", "factory": "New" }, "TDupCollectionItem": { "name": "TDupCollectionItem", "unit": "ACBrNFe.Classes", "kind": "object", "properties": [{ "name": "dVenc", "type": "TDateTime", "kind": "datetime", "readonly": false }, { "name": "nDup", "type": "string", "kind": "string", "readonly": false }, { "name": "vDup", "type": "Currency", "kind": "decimal", "scale": 4, "readonly": false }] }, "TEmit": { "name": "TEmit", "unit": "ACBrNFe.Classes", "kind": "object", "properties": [{ "name": "CNAE", "type": "string", "kind": "string", "readonly": false }, { "name": "CNPJCPF", "type": "string", "kind": "string", "readonly": false }, { "name": "CRT", "type": "TpcnCRT", "kind": "enum", "ref": "TpcnCRT", "readonly": false }, { "name": "EnderEmit", "type": "TEnderEmit", "kind": "object", "ref": "TenderEmit", "readonly": false }, { "name": "IE", "type": "string", "kind": "string", "readonly": false }, { "name": "IEST", "type": "string", "kind": "string", "readonly": false }, { "name": "IM", "type": "string", "kind": "string", "readonly": false }, { "name": "ISUFEmit", "type": "string", "kind": "string", "readonly": false }, { "name": "xFant", "type": "string", "kind": "string", "readonly": false }, { "name": "xNome", "type": "string", "kind": "string", "readonly": false }] }, "Tencerrante": { "name": "Tencerrante", "unit": "ACBrNFe.Classes", "kind": "object", "properties": [{ "name": "nBico", "type": "Integer", "kind": "integer", "min": -2147483648, "max": 2147483647, "readonly": false }, { "name": "nBomba", "type": "Integer", "kind": "integer", "min": -2147483648, "max": 2147483647, "readonly": false }, { "name": "nTanque", "type": "Integer", "kind": "integer", "min": -2147483648, "max": 2147483647, "readonly": false }, { "name": "vEncFin", "type": "Currency", "kind": "decimal", "scale": 4, "readonly": false }, { "name": "vEncIni", "type": "Currency", "kind": "decimal", "scale": 4, "readonly": false }] }, "TEnderDest": { "name": "TEnderDest", "unit": "ACBrNFe.Classes", "kind": "object", "properties": [{ "name": "CEP", "type": "Integer", "kind": "integer", "min": -2147483648, "max": 2147483647, "readonly": false }, { "name": "cMun", "type": "Integer", "kind": "integer", "min": -2147483648, "max": 2147483647, "readonly": false }, { "name": "cPais", "type": "Integer", "kind": "integer", "min": -2147483648, "max": 2147483647, "readonly": false }, { "name": "fone", "type": "string", "kind": "string", "readonly": false }, { "name": "nro", "type": "string", "kind": "string", "readonly": false }, { "name": "UF", "type": "string", "kind": "string", "readonly": false }, { "name": "xBairro", "type": "string", "kind": "string", "readonly": false }, { "name": "xCpl", "type": "string", "kind": "string", "readonly": false }, { "name": "xLgr", "type": "string", "kind": "string", "readonly": false }, { "name": "xMun", "type": "string", "kind": "string", "readonly": false }, { "name": "xPais", "type": "string", "kind": "string", "readonly": false }] }, "TenderEmit": { "name": "TenderEmit", "unit": "ACBrNFe.Classes", "kind": "object", "properties": [{ "name": "CEP", "type": "Integer", "kind": "integer", "min": -2147483648, "max": 2147483647, "readonly": false }, { "name": "cMun", "type": "Integer", "kind": "integer", "min": -2147483648, "max": 2147483647, "readonly": false }, { "name": "cPais", "type": "Integer", "kind": "integer", "min": -2147483648, "max": 2147483647, "readonly": false }, { "name": "fone", "type": "string", "kind": "string", "readonly": false }, { "name": "nro", "type": "string", "kind": "string", "readonly": false }, { "name": "UF", "type": "string", "kind": "string", "readonly": false }, { "name": "xBairro", "type": "string", "kind": "string", "readonly": false }, { "name": "xCpl", "type": "string", "kind": "string", "readonly": false }, { "name": "xLgr", "type": "string", "kind": "string", "readonly": false }, { "name": "xMun", "type": "string", "kind": "string", "readonly": false }, { "name": "xPais", "type": "string", "kind": "string", "readonly": false }] }, "TEntrega": { "name": "TEntrega", "unit": "ACBrNFe.Classes", "kind": "object", "properties": [{ "name": "CEP", "type": "Integer", "kind": "integer", "min": -2147483648, "max": 2147483647, "readonly": false }, { "name": "cMun", "type": "Integer", "kind": "integer", "min": -2147483648, "max": 2147483647, "readonly": false }, { "name": "CNPJCPF", "type": "string", "kind": "string", "readonly": false }, { "name": "cPais", "type": "Integer", "kind": "integer", "min": -2147483648, "max": 2147483647, "readonly": false }, { "name": "Email", "type": "string", "kind": "string", "readonly": false }, { "name": "fone", "type": "string", "kind": "string", "readonly": false }, { "name": "IE", "type": "string", "kind": "string", "readonly": false }, { "name": "nro", "type": "string", "kind": "string", "readonly": false }, { "name": "UF", "type": "string", "kind": "string", "readonly": false }, { "name": "xBairro", "type": "string", "kind": "string", "readonly": false }, { "name": "xCpl", "type": "string", "kind": "string", "readonly": false }, { "name": "xLgr", "type": "string", "kind": "string", "readonly": false }, { "name": "xMun", "type": "string", "kind": "string", "readonly": false }, { "name": "xNome", "type": "string", "kind": "string", "readonly": false }, { "name": "xPais", "type": "string", "kind": "string", "readonly": false }] }, "TExporta": { "name": "TExporta", "unit": "ACBrNFe.Classes", "kind": "object", "properties": [{ "name": "UFembarq", "type": "string", "kind": "string", "readonly": false }, { "name": "UFSaidaPais", "type": "string", "kind": "string", "readonly": false }, { "name": "xLocDespacho", "type": "string", "kind": "string", "readonly": false }, { "name": "xLocEmbarq", "type": "string", "kind": "string", "readonly": false }, { "name": "xLocExporta", "type": "string", "kind": "string", "readonly": false }] }, "TFat": { "name": "TFat", "unit": "ACBrNFe.Classes", "kind": "object", "properties": [{ "name": "nFat", "type": "string", "kind": "string", "readonly": false }, { "name": "vDesc", "type": "Currency", "kind": "decimal", "scale": 4, "readonly": false }, { "name": "vLiq", "type": "Currency", "kind": "decimal", "scale": 4, "readonly": false }, { "name": "vOrig", "type": "Currency", "kind": "decimal", "scale": 4, "readonly": false }] }, "TForDiaCollection": { "name": "TForDiaCollection", "unit": "ACBrNFe.Classes", "kind": "list", "item": "TForDiaCollectionItem", "factory": "New" }, "TForDiaCollectionItem": { "name": "TForDiaCollectionItem", "unit": "ACBrNFe.Classes", "kind": "object", "properties": [{ "name": "dia", "type": "Integer", "kind": "integer", "min": -2147483648, "max": 2147483647, "readonly": false }, { "name": "qtde", "type": "Currency", "kind": "decimal", "scale": 4, "readonly": false }] }, "TgAjusteCompet": { "name": "TgAjusteCompet", "unit": "ACBrDFe.RTC.Classes", "kind": "object", "properties": [{ "name": "competApur", "type": "TDateTime", "kind": "datetime", "readonly": false }, { "name": "vCBS", "type": "Double", "kind": "decimal", "readonly": false }, { "name": "vIBS", "type": "Double", "kind": "decimal", "readonly": false }] }, "TgALCZFMCBS": { "name": "TgALCZFMCBS", "unit": "ACBrDFe.RTC.Classes", "kind": "object", "properties": [{ "name": "nProcSuframa", "type": "string", "kind": "string", "readonly": false }, { "name": "pAliqEfetRegCBS", "type": "Double", "kind": "decimal", "readonly": false }, { "name": "tpALCZFMCBS", "type": "TtpALCZFMCBS", "kind": "enum", "ref": "TtpALCZFMCBS", "readonly": false }, { "name": "vTribRegCBS", "type": "Double", "kind": "decimal", "readonly": false }] }, "TgCBS": { "name": "TgCBS", "unit": "ACBrDFe.RTC.Classes", "kind": "object", "properties": [{ "name": "vCBS", "type": "Double", "kind": "decimal", "readonly": false }, { "name": "vCredPres", "type": "Double", "kind": "decimal", "readonly": false }, { "name": "vCredPresCondSus", "type": "Double", "kind": "decimal", "readonly": false }, { "name": "vDevTrib", "type": "Double", "kind": "decimal", "readonly": false }, { "name": "vDif", "type": "Double", "kind": "decimal", "readonly": false }] }, "TgCBSMonoAdRem": { "name": "TgCBSMonoAdRem", "unit": "ACBrDFe.RTC.Classes", "kind": "object", "properties": [{ "name": "gMonoPadrao", "type": "TgMonoPadraoCBSQtde", "kind": "object", "ref": "TgMonoPadraoCBSQtde", "readonly": false }, { "name": "gMonoRet", "type": "TgMonoRetCBS", "kind": "object", "ref": "TgMonoRetCBS", "readonly": false }, { "name": "gMonoReten", "type": "TgMonoRetenCBSQtde", "kind": "object", "ref": "TgMonoRetenCBSQtde", "readonly": false }, { "name": "gpBioDiferenca", "type": "TgpBioDiferencaCBS", "kind": "object", "ref": "TgpBioDiferencaCBS", "readonly": false }] }, "TgCBSMonoAdValorem": { "name": "TgCBSMonoAdValorem", "unit": "ACBrDFe.RTC.Classes", "kind": "object", "properties": [{ "name": "gMonoPadrao", "type": "TgMonoPadraoCBSAliq", "kind": "object", "ref": "TgMonoPadraoCBSAliq", "readonly": false }, { "name": "gMonoRet", "type": "TgMonoRetCBS", "kind": "object", "ref": "TgMonoRetCBS", "readonly": false }, { "name": "gMonoReten", "type": "TgMonoRetenCBSAliq", "kind": "object", "ref": "TgMonoRetenCBSAliq", "readonly": false }, { "name": "gpBioDiferenca", "type": "TgpBioDiferencaCBS", "kind": "object", "ref": "TgpBioDiferencaCBS", "readonly": false }] }, "TgCBSValores": { "name": "TgCBSValores", "unit": "ACBrDFe.RTC.Classes", "kind": "object", "properties": [{ "name": "gALCZFMCBS", "type": "TgALCZFMCBS", "kind": "object", "ref": "TgALCZFMCBS", "readonly": false }, { "name": "gDevTrib", "type": "TgDevTrib", "kind": "object", "ref": "TgDevTrib", "readonly": false }, { "name": "gDif", "type": "TgDif", "kind": "object", "ref": "TgDif", "readonly": false }, { "name": "gRed", "type": "TgRed", "kind": "object", "ref": "TgRed", "readonly": false }, { "name": "pCBS", "type": "Double", "kind": "decimal", "readonly": false }, { "name": "vCBS", "type": "Double", "kind": "decimal", "readonly": false }] }, "TgCompraGov": { "name": "TgCompraGov", "unit": "ACBrDFe.RTC.Classes", "kind": "object", "properties": [{ "name": "pRedutor", "type": "Double", "kind": "decimal", "readonly": false }, { "name": "refDFeAnt", "type": "TDFerefCollection", "kind": "list", "ref": "TDFErefCollection", "readonly": false }, { "name": "tpEnteGov", "type": "TtpEnteGov", "kind": "enum", "ref": "TtpEnteGov", "readonly": false }, { "name": "tpOperGov", "type": "TtpOperGov", "kind": "enum", "ref": "TtpOperGov", "readonly": false }] }, "TgCredPresOper": { "name": "TgCredPresOper", "unit": "ACBrDFe.RTC.Classes", "kind": "object", "properties": [{ "name": "cCredPres", "type": "TcCredPres", "kind": "enum", "ref": "TcCredPres", "readonly": false }, { "name": "gCBSCredPres", "type": "TgIBSCBSCredPres", "kind": "object", "ref": "TgIBSCBSCredPres", "readonly": false }, { "name": "gIBSCredPres", "type": "TgIBSCBSCredPres", "kind": "object", "ref": "TgIBSCBSCredPres", "readonly": false }, { "name": "vBCCredPres", "type": "Double", "kind": "decimal", "readonly": false }] }, "TgDevTrib": { "name": "TgDevTrib", "unit": "ACBrDFe.RTC.Classes", "kind": "object", "properties": [{ "name": "pDevTrib", "type": "Double", "kind": "decimal", "readonly": false }, { "name": "vDevTrib", "type": "Double", "kind": "decimal", "readonly": false }] }, "TgDif": { "name": "TgDif", "unit": "ACBrDFe.RTC.Classes", "kind": "object", "properties": [{ "name": "pDif", "type": "Double", "kind": "decimal", "readonly": false }, { "name": "vDif", "type": "Double", "kind": "decimal", "readonly": false }] }, "TgEstornoCred": { "name": "TgEstornoCred", "unit": "ACBrDFe.RTC.Classes", "kind": "object", "properties": [{ "name": "vCBSEstCred", "type": "Double", "kind": "decimal", "readonly": false }, { "name": "vIBSEstCred", "type": "Double", "kind": "decimal", "readonly": false }] }, "TgIBS": { "name": "TgIBS", "unit": "ACBrDFe.RTC.Classes", "kind": "object", "properties": [{ "name": "gIBSMunTot", "type": "TgIBSMunTot", "kind": "object", "ref": "TgIBSMunTot", "readonly": false }, { "name": "gIBSUFTot", "type": "TgIBSUFTot", "kind": "object", "ref": "TgIBSUFTot", "readonly": false }, { "name": "vCredPres", "type": "Double", "kind": "decimal", "readonly": false }, { "name": "vCredPresCondSus", "type": "Double", "kind": "decimal", "readonly": false }, { "name": "vIBS", "type": "Double", "kind": "decimal", "readonly": false }] }, "TgIBSCBS": { "name": "TgIBSCBS", "unit": "ACBrDFe.RTC.Classes", "kind": "object", "properties": [{ "name": "gCBS", "type": "TgCBSValores", "kind": "object", "ref": "TgCBSValores", "readonly": false }, { "name": "gIBSMun", "type": "TgIBSMunValores", "kind": "object", "ref": "TgIBSMunValores", "readonly": false }, { "name": "gIBSUF", "type": "TgIBSUFValores", "kind": "object", "ref": "TgIBSUFValores", "readonly": false }, { "name": "gTribCompraGov", "type": "TgTribCompraGov", "kind": "object", "ref": "TgTribCompraGov", "readonly": false }, { "name": "gTribRegular", "type": "TgTribRegular", "kind": "object", "ref": "TgTribRegular", "readonly": false }, { "name": "vBC", "type": "Double", "kind": "decimal", "readonly": false }, { "name": "vIBS", "type": "Double", "kind": "decimal", "readonly": false }, { "name": "vOperacIndiv", "type": "Double", "kind": "decimal", "readonly": false }, { "name": "vRedAjusteIndiv", "type": "Double", "kind": "decimal", "readonly": false }, { "name": "vRedSocialIndiv", "type": "Double", "kind": "decimal", "readonly": false }, { "name": "vTornaIndiv", "type": "Double", "kind": "decimal", "readonly": false }] }, "TgIBSCBSCredPres": { "name": "TgIBSCBSCredPres", "unit": "ACBrDFe.RTC.Classes", "kind": "object", "properties": [{ "name": "pCredPres", "type": "Double", "kind": "decimal", "readonly": false }, { "name": "vCredPres", "type": "Double", "kind": "decimal", "readonly": false }, { "name": "vCredPresCondSus", "type": "Double", "kind": "decimal", "readonly": false }] }, "TgIBSCBSMono": { "name": "TgIBSCBSMono", "unit": "ACBrDFe.RTC.Classes", "kind": "object", "properties": [{ "name": "gCBSMonoAdRem", "type": "TgCBSMonoAdRem", "kind": "object", "ref": "TgCBSMonoAdRem", "readonly": false }, { "name": "gCBSMonoAdValorem", "type": "TgCBSMonoAdValorem", "kind": "object", "ref": "TgCBSMonoAdValorem", "readonly": false }, { "name": "gIBSMonoAdRem", "type": "TgIBSMonoAdRem", "kind": "object", "ref": "TgIBSMonoAdRem", "readonly": false }, { "name": "gIBSMonoAdValorem", "type": "TgIBSMonoAdValorem", "kind": "object", "ref": "TgIBSMonoAdValorem", "readonly": false }, { "name": "vTotCBSMonoItem", "type": "Double", "kind": "decimal", "readonly": false }, { "name": "vTotIBSMonoItem", "type": "Double", "kind": "decimal", "readonly": false }] }, "TgIBSMonoAdRem": { "name": "TgIBSMonoAdRem", "unit": "ACBrDFe.RTC.Classes", "kind": "object", "properties": [{ "name": "gMonoPadrao", "type": "TgMonoPadraoIBSQtde", "kind": "object", "ref": "TgMonoPadraoIBSQtde", "readonly": false }, { "name": "gMonoRet", "type": "TgMonoRetIBS", "kind": "object", "ref": "TgMonoRetIBS", "readonly": false }, { "name": "gMonoReten", "type": "TgMonoRetenIBSQtde", "kind": "object", "ref": "TgMonoRetenIBSQtde", "readonly": false }, { "name": "gpBioDiferenca", "type": "TgpBioDiferencaIBS", "kind": "object", "ref": "TgpBioDiferencaIBS", "readonly": false }] }, "TgIBSMonoAdValorem": { "name": "TgIBSMonoAdValorem", "unit": "ACBrDFe.RTC.Classes", "kind": "object", "properties": [{ "name": "gMonoPadrao", "type": "TgMonoPadraoIBSAliq", "kind": "object", "ref": "TgMonoPadraoIBSAliq", "readonly": false }, { "name": "gMonoRet", "type": "TgMonoRetIBS", "kind": "object", "ref": "TgMonoRetIBS", "readonly": false }, { "name": "gMonoReten", "type": "TgMonoRetenIBSAliq", "kind": "object", "ref": "TgMonoRetenIBSAliq", "readonly": false }, { "name": "gpBioDiferenca", "type": "TgpBioDiferencaIBS", "kind": "object", "ref": "TgpBioDiferencaIBS", "readonly": false }] }, "TgIBSMunTot": { "name": "TgIBSMunTot", "unit": "ACBrDFe.RTC.Classes", "kind": "object", "properties": [{ "name": "vDevTrib", "type": "Double", "kind": "decimal", "readonly": false }, { "name": "vDif", "type": "Double", "kind": "decimal", "readonly": false }, { "name": "vIBSMun", "type": "Double", "kind": "decimal", "readonly": false }] }, "TgIBSMunValores": { "name": "TgIBSMunValores", "unit": "ACBrDFe.RTC.Classes", "kind": "object", "properties": [{ "name": "gDevTrib", "type": "TgDevTrib", "kind": "object", "ref": "TgDevTrib", "readonly": false }, { "name": "gDif", "type": "TgDif", "kind": "object", "ref": "TgDif", "readonly": false }, { "name": "gRed", "type": "TgRed", "kind": "object", "ref": "TgRed", "readonly": false }, { "name": "pIBSMun", "type": "Double", "kind": "decimal", "readonly": false }, { "name": "vIBSMun", "type": "Double", "kind": "decimal", "readonly": false }] }, "TgIBSUFTot": { "name": "TgIBSUFTot", "unit": "ACBrDFe.RTC.Classes", "kind": "object", "properties": [{ "name": "vDevTrib", "type": "Double", "kind": "decimal", "readonly": false }, { "name": "vDif", "type": "Double", "kind": "decimal", "readonly": false }, { "name": "vIBSUF", "type": "Double", "kind": "decimal", "readonly": false }] }, "TgIBSUFValores": { "name": "TgIBSUFValores", "unit": "ACBrDFe.RTC.Classes", "kind": "object", "properties": [{ "name": "gDevTrib", "type": "TgDevTrib", "kind": "object", "ref": "TgDevTrib", "readonly": false }, { "name": "gDif", "type": "TgDif", "kind": "object", "ref": "TgDif", "readonly": false }, { "name": "gRed", "type": "TgRed", "kind": "object", "ref": "TgRed", "readonly": false }, { "name": "pIBSUF", "type": "Double", "kind": "decimal", "readonly": false }, { "name": "vIBSUF", "type": "Double", "kind": "decimal", "readonly": false }] }, "TgIS": { "name": "TgIS", "unit": "ACBrDFe.RTC.Classes", "kind": "object", "properties": [{ "name": "adRemIS", "type": "Double", "kind": "decimal", "readonly": false }, { "name": "cClassTribIS", "type": "string", "kind": "string", "readonly": false }, { "name": "CSTIS", "type": "string", "kind": "string", "readonly": false }, { "name": "pIS", "type": "Double", "kind": "decimal", "readonly": false }, { "name": "qTrib", "type": "Double", "kind": "decimal", "readonly": false }, { "name": "uTrib", "type": "string", "kind": "string", "readonly": false }, { "name": "vBCIS", "type": "Double", "kind": "decimal", "readonly": false }, { "name": "vIS", "type": "Double", "kind": "decimal", "readonly": false }] }, "TgMono": { "name": "TgMono", "unit": "ACBrDFe.RTC.Classes", "kind": "object", "properties": [{ "name": "vCBSMono", "type": "Double", "kind": "decimal", "readonly": false }, { "name": "vCBSMonoRet", "type": "Double", "kind": "decimal", "readonly": false }, { "name": "vCBSMonoReten", "type": "Double", "kind": "decimal", "readonly": false }, { "name": "vIBSMono", "type": "Double", "kind": "decimal", "readonly": false }, { "name": "vIBSMonoRet", "type": "Double", "kind": "decimal", "readonly": false }, { "name": "vIBSMonoReten", "type": "Double", "kind": "decimal", "readonly": false }] }, "TgMonoPadraoCBSAliq": { "name": "TgMonoPadraoCBSAliq", "unit": "ACBrDFe.RTC.Classes", "kind": "object", "properties": [{ "name": "pAliqMonoCBS", "type": "Double", "kind": "decimal", "readonly": false }, { "name": "vBCMono", "type": "Double", "kind": "decimal", "readonly": false }, { "name": "vCBSMono", "type": "Double", "kind": "decimal", "readonly": false }] }, "TgMonoPadraoCBSQtde": { "name": "TgMonoPadraoCBSQtde", "unit": "ACBrDFe.RTC.Classes", "kind": "object", "properties": [{ "name": "adRemCBS", "type": "Double", "kind": "decimal", "readonly": false }, { "name": "qBCMono", "type": "Double", "kind": "decimal", "readonly": false }, { "name": "vCBSMono", "type": "Double", "kind": "decimal", "readonly": false }] }, "TgMonoPadraoIBSAliq": { "name": "TgMonoPadraoIBSAliq", "unit": "ACBrDFe.RTC.Classes", "kind": "object", "properties": [{ "name": "pAliqMonoMun", "type": "Double", "kind": "decimal", "readonly": false }, { "name": "pAliqMonoUF", "type": "Double", "kind": "decimal", "readonly": false }, { "name": "vBCMono", "type": "Double", "kind": "decimal", "readonly": false }, { "name": "vIBSMono", "type": "Double", "kind": "decimal", "readonly": false }, { "name": "vIBSMonoMun", "type": "Double", "kind": "decimal", "readonly": false }, { "name": "vIBSMonoUF", "type": "Double", "kind": "decimal", "readonly": false }] }, "TgMonoPadraoIBSQtde": { "name": "TgMonoPadraoIBSQtde", "unit": "ACBrDFe.RTC.Classes", "kind": "object", "properties": [{ "name": "adRemIBS", "type": "Double", "kind": "decimal", "readonly": false }, { "name": "qBCMono", "type": "Double", "kind": "decimal", "readonly": false }, { "name": "vIBSMono", "type": "Double", "kind": "decimal", "readonly": false }] }, "TgMonoRetCBS": { "name": "TgMonoRetCBS", "unit": "ACBrDFe.RTC.Classes", "kind": "object", "properties": [{ "name": "vCBSMonoRet", "type": "Double", "kind": "decimal", "readonly": false }] }, "TgMonoRetenCBSAliq": { "name": "TgMonoRetenCBSAliq", "unit": "ACBrDFe.RTC.Classes", "kind": "object", "properties": [{ "name": "pAliqMonoReten", "type": "Double", "kind": "decimal", "readonly": false }, { "name": "vBCMonoReten", "type": "Double", "kind": "decimal", "readonly": false }, { "name": "vCBSMonoReten", "type": "Double", "kind": "decimal", "readonly": false }] }, "TgMonoRetenCBSQtde": { "name": "TgMonoRetenCBSQtde", "unit": "ACBrDFe.RTC.Classes", "kind": "object", "properties": [{ "name": "adRemCBSReten", "type": "Double", "kind": "decimal", "readonly": false }, { "name": "qBCMonoReten", "type": "Double", "kind": "decimal", "readonly": false }, { "name": "vCBSMonoReten", "type": "Double", "kind": "decimal", "readonly": false }] }, "TgMonoRetenIBSAliq": { "name": "TgMonoRetenIBSAliq", "unit": "ACBrDFe.RTC.Classes", "kind": "object", "properties": [{ "name": "pAliqMonoReten", "type": "Double", "kind": "decimal", "readonly": false }, { "name": "vBCMonoReten", "type": "Double", "kind": "decimal", "readonly": false }, { "name": "vIBSMonoReten", "type": "Double", "kind": "decimal", "readonly": false }] }, "TgMonoRetenIBSQtde": { "name": "TgMonoRetenIBSQtde", "unit": "ACBrDFe.RTC.Classes", "kind": "object", "properties": [{ "name": "adRemIBSReten", "type": "Double", "kind": "decimal", "readonly": false }, { "name": "qBCMonoReten", "type": "Double", "kind": "decimal", "readonly": false }, { "name": "vIBSMonoReten", "type": "Double", "kind": "decimal", "readonly": false }] }, "TgMonoRetIBS": { "name": "TgMonoRetIBS", "unit": "ACBrDFe.RTC.Classes", "kind": "object", "properties": [{ "name": "vIBSMonoRet", "type": "Double", "kind": "decimal", "readonly": false }] }, "TgPagAntecipado": { "name": "TgPagAntecipado", "unit": "ACBrDFe.RTC.Classes", "kind": "object", "properties": [{ "name": "refNFe", "type": "TrefDFePagAntCollection", "kind": "list", "ref": "TrefDFePagAntCollection", "readonly": false }] }, "TgpBioDiferencaCBS": { "name": "TgpBioDiferencaCBS", "unit": "ACBrDFe.RTC.Classes", "kind": "object", "properties": [{ "name": "qBCBioComb", "type": "Double", "kind": "decimal", "readonly": false }, { "name": "vCBSDiferenca", "type": "Double", "kind": "decimal", "readonly": false }] }, "TgpBioDiferencaIBS": { "name": "TgpBioDiferencaIBS", "unit": "ACBrDFe.RTC.Classes", "kind": "object", "properties": [{ "name": "qBCBioComb", "type": "Double", "kind": "decimal", "readonly": false }, { "name": "vIBSDiferenca", "type": "Double", "kind": "decimal", "readonly": false }] }, "TgRed": { "name": "TgRed", "unit": "ACBrDFe.RTC.Classes", "kind": "object", "properties": [{ "name": "pAliqEfet", "type": "Double", "kind": "decimal", "readonly": false }, { "name": "pRedAliq", "type": "Double", "kind": "decimal", "readonly": false }] }, "TgTransfCred": { "name": "TgTransfCred", "unit": "ACBrDFe.RTC.Classes", "kind": "object", "properties": [{ "name": "vCBS", "type": "Double", "kind": "decimal", "readonly": false }, { "name": "vIBS", "type": "Double", "kind": "decimal", "readonly": false }] }, "TgTribCompraGov": { "name": "TgTribCompraGov", "unit": "ACBrDFe.RTC.Classes", "kind": "object", "properties": [{ "name": "pAliqCBS", "type": "Double", "kind": "decimal", "readonly": false }, { "name": "pAliqIBSMun", "type": "Double", "kind": "decimal", "readonly": false }, { "name": "pAliqIBSUF", "type": "Double", "kind": "decimal", "readonly": false }, { "name": "vTribCBS", "type": "Double", "kind": "decimal", "readonly": false }, { "name": "vTribIBSMun", "type": "Double", "kind": "decimal", "readonly": false }, { "name": "vTribIBSUF", "type": "Double", "kind": "decimal", "readonly": false }] }, "TgTribRegular": { "name": "TgTribRegular", "unit": "ACBrDFe.RTC.Classes", "kind": "object", "properties": [{ "name": "cClassTribReg", "type": "string", "kind": "string", "readonly": false }, { "name": "CSTReg", "type": "TCSTIBSCBS", "kind": "enum", "ref": "TCSTIBSCBS", "readonly": false }, { "name": "pAliqEfetRegCBS", "type": "Double", "kind": "decimal", "readonly": false }, { "name": "pAliqEfetRegIBSMun", "type": "Double", "kind": "decimal", "readonly": false }, { "name": "pAliqEfetRegIBSUF", "type": "Double", "kind": "decimal", "readonly": false }, { "name": "vTribRegCBS", "type": "Double", "kind": "decimal", "readonly": false }, { "name": "vTribRegIBSMun", "type": "Double", "kind": "decimal", "readonly": false }, { "name": "vTribRegIBSUF", "type": "Double", "kind": "decimal", "readonly": false }] }, "TguiaTransito": { "name": "TguiaTransito", "unit": "ACBrNFe.Classes", "kind": "object", "properties": [{ "name": "nGuia", "type": "string", "kind": "string", "readonly": false }, { "name": "serieGuia", "type": "string", "kind": "string", "readonly": false }, { "name": "tpGuia", "type": "TtpGuia", "kind": "enum", "ref": "TtpGuia", "readonly": false }, { "name": "UFGuia", "type": "string", "kind": "string", "readonly": false }] }, "TIBSCBS": { "name": "TIBSCBS", "unit": "ACBrDFe.RTC.Classes", "kind": "object", "properties": [{ "name": "cClassTrib", "type": "string", "kind": "string", "readonly": false }, { "name": "CST", "type": "TCSTIBSCBS", "kind": "enum", "ref": "TCSTIBSCBS", "readonly": false }, { "name": "gAjusteCompet", "type": "TgAjusteCompet", "kind": "object", "ref": "TgAjusteCompet", "readonly": false }, { "name": "gCredPresIBSZFM", "type": "TCredPresIBSZFM", "kind": "object", "ref": "TCredPresIBSZFM", "readonly": false }, { "name": "gCredPresOper", "type": "TgCredPresOper", "kind": "object", "ref": "TgCredPresOper", "readonly": false }, { "name": "gEstornoCred", "type": "TgEstornoCred", "kind": "object", "ref": "TgEstornoCred", "readonly": false }, { "name": "gIBSCBS", "type": "TgIBSCBS", "kind": "object", "ref": "TgIBSCBS", "readonly": false }, { "name": "gIBSCBSMono", "type": "TgIBSCBSMono", "kind": "object", "ref": "TgIBSCBSMono", "readonly": false }, { "name": "gTransfCred", "type": "TgTransfCred", "kind": "object", "ref": "TgTransfCred", "readonly": false }, { "name": "indDoacao", "type": "TIndicadorEx", "kind": "enum", "ref": "TIndicadorEx", "readonly": false }] }, "TIBSCBSTot": { "name": "TIBSCBSTot", "unit": "ACBrDFe.RTC.Classes", "kind": "object", "properties": [{ "name": "gCBS", "type": "TgCBS", "kind": "object", "ref": "TgCBS", "readonly": false }, { "name": "gEstornoCred", "type": "TgEstornoCred", "kind": "object", "ref": "TgEstornoCred", "readonly": false }, { "name": "gIBS", "type": "TgIBS", "kind": "object", "ref": "TgIBS", "readonly": false }, { "name": "gMono", "type": "TgMono", "kind": "object", "ref": "TgMono", "readonly": false }, { "name": "vBCIBSCBS", "type": "Double", "kind": "decimal", "readonly": false }] }, "TICMS": { "name": "TICMS", "unit": "ACBrNFe.Classes", "kind": "object", "properties": [{ "name": "adRemICMS", "type": "Currency", "kind": "decimal", "scale": 4, "readonly": false }, { "name": "adRemICMSDif", "type": "Currency", "kind": "decimal", "scale": 4, "readonly": false }, { "name": "adRemICMSRet", "type": "Currency", "kind": "decimal", "scale": 4, "readonly": false }, { "name": "adRemICMSReten", "type": "Currency", "kind": "decimal", "scale": 4, "readonly": false }, { "name": "cBenefRBC", "type": "string", "kind": "string", "readonly": false }, { "name": "CSOSN", "type": "TCSOSNIcms", "kind": "enum", "ref": "TCSOSNIcms", "readonly": false }, { "name": "CST", "type": "TCSTIcms", "kind": "enum", "ref": "TCSTIcms", "readonly": false, "declaredDefault": "cst00" }, { "name": "indDeduzDeson", "type": "TIndicadorEx", "kind": "enum", "ref": "TIndicadorEx", "readonly": false, "declaredDefault": "tieNenhum" }, { "name": "modBC", "type": "TpcnDeterminacaoBaseIcms", "kind": "enum", "ref": "TpcnDeterminacaoBaseIcms", "readonly": false, "declaredDefault": "dbiMargemValorAgregado" }, { "name": "modBCST", "type": "TpcnDeterminacaoBaseIcmsST", "kind": "enum", "ref": "TpcnDeterminacaoBaseIcmsST", "readonly": false, "declaredDefault": "dbisPrecoTabelado" }, { "name": "motDesICMS", "type": "TpcnMotivoDesoneracaoICMS", "kind": "enum", "ref": "TpcnMotivoDesoneracaoICMS", "readonly": false }, { "name": "motDesICMSST", "type": "TpcnMotivoDesoneracaoICMS", "kind": "enum", "ref": "TpcnMotivoDesoneracaoICMS", "readonly": false }, { "name": "motRedAdRem", "type": "TmotRedAdRem", "kind": "enum", "ref": "TmotRedAdRem", "readonly": false }, { "name": "orig", "type": "TOrigemMercadoria", "kind": "enum", "ref": "TOrigemMercadoria", "readonly": false, "declaredDefault": "oeNacional" }, { "name": "pBCOp", "type": "Currency", "kind": "decimal", "scale": 4, "readonly": false }, { "name": "pCredSN", "type": "Currency", "kind": "decimal", "scale": 4, "readonly": false }, { "name": "pDif", "type": "Currency", "kind": "decimal", "scale": 4, "readonly": false }, { "name": "pFCP", "type": "Currency", "kind": "decimal", "scale": 4, "readonly": false }, { "name": "pFCPDif", "type": "Currency", "kind": "decimal", "scale": 4, "readonly": false }, { "name": "pFCPST", "type": "Currency", "kind": "decimal", "scale": 4, "readonly": false }, { "name": "pFCPSTRet", "type": "Currency", "kind": "decimal", "scale": 4, "readonly": false }, { "name": "pICMS", "type": "Currency", "kind": "decimal", "scale": 4, "readonly": false }, { "name": "pICMSEfet", "type": "Currency", "kind": "decimal", "scale": 4, "readonly": false }, { "name": "pICMSST", "type": "Currency", "kind": "decimal", "scale": 4, "readonly": false }, { "name": "pMVAST", "type": "Currency", "kind": "decimal", "scale": 4, "readonly": false }, { "name": "pRedAdRem", "type": "Currency", "kind": "decimal", "scale": 4, "readonly": false }, { "name": "pRedBC", "type": "Currency", "kind": "decimal", "scale": 4, "readonly": false }, { "name": "pRedBCEfet", "type": "Currency", "kind": "decimal", "scale": 4, "readonly": false }, { "name": "pRedBCST", "type": "Currency", "kind": "decimal", "scale": 4, "readonly": false }, { "name": "pST", "type": "Currency", "kind": "decimal", "scale": 4, "readonly": false }, { "name": "qBCMono", "type": "Currency", "kind": "decimal", "scale": 4, "readonly": false }, { "name": "qBCMonoDif", "type": "Currency", "kind": "decimal", "scale": 4, "readonly": false }, { "name": "qBCMonoRet", "type": "Currency", "kind": "decimal", "scale": 4, "readonly": false }, { "name": "qBCMonoReten", "type": "Currency", "kind": "decimal", "scale": 4, "readonly": false }, { "name": "UFST", "type": "string", "kind": "string", "readonly": false }, { "name": "vBC", "type": "Currency", "kind": "decimal", "scale": 4, "readonly": false }, { "name": "vBCEfet", "type": "Currency", "kind": "decimal", "scale": 4, "readonly": false }, { "name": "vBCFCP", "type": "Currency", "kind": "decimal", "scale": 4, "readonly": false }, { "name": "vBCFCPST", "type": "Currency", "kind": "decimal", "scale": 4, "readonly": false }, { "name": "vBCFCPSTRet", "type": "Currency", "kind": "decimal", "scale": 4, "readonly": false }, { "name": "vBCST", "type": "Currency", "kind": "decimal", "scale": 4, "readonly": false }, { "name": "vBCSTDest", "type": "Currency", "kind": "decimal", "scale": 4, "readonly": false }, { "name": "vBCSTRet", "type": "Currency", "kind": "decimal", "scale": 4, "readonly": false }, { "name": "vCredICMSSN", "type": "Currency", "kind": "decimal", "scale": 4, "readonly": false }, { "name": "vFCP", "type": "Currency", "kind": "decimal", "scale": 4, "readonly": false }, { "name": "vFCPDif", "type": "Currency", "kind": "decimal", "scale": 4, "readonly": false }, { "name": "vFCPEfet", "type": "Currency", "kind": "decimal", "scale": 4, "readonly": false }, { "name": "vFCPST", "type": "Currency", "kind": "decimal", "scale": 4, "readonly": false }, { "name": "vFCPSTRet", "type": "Currency", "kind": "decimal", "scale": 4, "readonly": false }, { "name": "vICMS", "type": "Currency", "kind": "decimal", "scale": 4, "readonly": false }, { "name": "vICMSDeson", "type": "Currency", "kind": "decimal", "scale": 4, "readonly": false }, { "name": "vICMSDif", "type": "Currency", "kind": "decimal", "scale": 4, "readonly": false }, { "name": "vICMSEfet", "type": "Currency", "kind": "decimal", "scale": 4, "readonly": false }, { "name": "vICMSMono", "type": "Currency", "kind": "decimal", "scale": 4, "readonly": false }, { "name": "vICMSMonoDif", "type": "Currency", "kind": "decimal", "scale": 4, "readonly": false }, { "name": "vICMSMonoOp", "type": "Currency", "kind": "decimal", "scale": 4, "readonly": false }, { "name": "vICMSMonoRet", "type": "Currency", "kind": "decimal", "scale": 4, "readonly": false }, { "name": "vICMSMonoReten", "type": "Currency", "kind": "decimal", "scale": 4, "readonly": false }, { "name": "vICMSOp", "type": "Currency", "kind": "decimal", "scale": 4, "readonly": false }, { "name": "vICMSST", "type": "Currency", "kind": "decimal", "scale": 4, "readonly": false }, { "name": "vICMSSTDeson", "type": "Currency", "kind": "decimal", "scale": 4, "readonly": false }, { "name": "vICMSSTDest", "type": "Currency", "kind": "decimal", "scale": 4, "readonly": false }, { "name": "vICMSSTRet", "type": "Currency", "kind": "decimal", "scale": 4, "readonly": false }, { "name": "vICMSSubstituto", "type": "Currency", "kind": "decimal", "scale": 4, "readonly": false }] }, "TICMSComb": { "name": "TICMSComb", "unit": "ACBrNFe.Classes", "kind": "object", "properties": [{ "name": "vBCICMS", "type": "Currency", "kind": "decimal", "scale": 4, "readonly": false }, { "name": "vBCICMSST", "type": "Currency", "kind": "decimal", "scale": 4, "readonly": false }, { "name": "vICMS", "type": "Currency", "kind": "decimal", "scale": 4, "readonly": false }, { "name": "vICMSST", "type": "Currency", "kind": "decimal", "scale": 4, "readonly": false }] }, "TICMSCons": { "name": "TICMSCons", "unit": "ACBrNFe.Classes", "kind": "object", "properties": [{ "name": "UFcons", "type": "string", "kind": "string", "readonly": false }, { "name": "vBCICMSSTCons", "type": "Currency", "kind": "decimal", "scale": 4, "readonly": false }, { "name": "vICMSSTCons", "type": "Currency", "kind": "decimal", "scale": 4, "readonly": false }] }, "TICMSInter": { "name": "TICMSInter", "unit": "ACBrNFe.Classes", "kind": "object", "properties": [{ "name": "vBCICMSSTDest", "type": "Currency", "kind": "decimal", "scale": 4, "readonly": false }, { "name": "vICMSSTDest", "type": "Currency", "kind": "decimal", "scale": 4, "readonly": false }] }, "TICMSTot": { "name": "TICMSTot", "unit": "ACBrNFe.Classes", "kind": "object", "properties": [{ "name": "qBCMono", "type": "Currency", "kind": "decimal", "scale": 4, "readonly": false }, { "name": "qBCMonoRet", "type": "Currency", "kind": "decimal", "scale": 4, "readonly": false }, { "name": "qBCMonoReten", "type": "Currency", "kind": "decimal", "scale": 4, "readonly": false }, { "name": "vBC", "type": "Currency", "kind": "decimal", "scale": 4, "readonly": false }, { "name": "vBCST", "type": "Currency", "kind": "decimal", "scale": 4, "readonly": false }, { "name": "vCOFINS", "type": "Currency", "kind": "decimal", "scale": 4, "readonly": false }, { "name": "vDesc", "type": "Currency", "kind": "decimal", "scale": 4, "readonly": false }, { "name": "vFCP", "type": "Currency", "kind": "decimal", "scale": 4, "readonly": false }, { "name": "vFCPST", "type": "Currency", "kind": "decimal", "scale": 4, "readonly": false }, { "name": "vFCPSTRet", "type": "Currency", "kind": "decimal", "scale": 4, "readonly": false }, { "name": "vFCPUFDest", "type": "Currency", "kind": "decimal", "scale": 4, "readonly": false }, { "name": "vFrete", "type": "Currency", "kind": "decimal", "scale": 4, "readonly": false }, { "name": "vICMS", "type": "Currency", "kind": "decimal", "scale": 4, "readonly": false }, { "name": "vICMSDeson", "type": "Currency", "kind": "decimal", "scale": 4, "readonly": false }, { "name": "vICMSMono", "type": "Currency", "kind": "decimal", "scale": 4, "readonly": false }, { "name": "vICMSMonoRet", "type": "Currency", "kind": "decimal", "scale": 4, "readonly": false }, { "name": "vICMSMonoReten", "type": "Currency", "kind": "decimal", "scale": 4, "readonly": false }, { "name": "vICMSUFDest", "type": "Currency", "kind": "decimal", "scale": 4, "readonly": false }, { "name": "vICMSUFRemet", "type": "Currency", "kind": "decimal", "scale": 4, "readonly": false }, { "name": "vII", "type": "Currency", "kind": "decimal", "scale": 4, "readonly": false }, { "name": "vIPI", "type": "Currency", "kind": "decimal", "scale": 4, "readonly": false }, { "name": "vIPIDevol", "type": "Currency", "kind": "decimal", "scale": 4, "readonly": false }, { "name": "vNF", "type": "Currency", "kind": "decimal", "scale": 4, "readonly": false }, { "name": "vOutro", "type": "Currency", "kind": "decimal", "scale": 4, "readonly": false }, { "name": "vPIS", "type": "Currency", "kind": "decimal", "scale": 4, "readonly": false }, { "name": "vProd", "type": "Currency", "kind": "decimal", "scale": 4, "readonly": false }, { "name": "vSeg", "type": "Currency", "kind": "decimal", "scale": 4, "readonly": false }, { "name": "vST", "type": "Currency", "kind": "decimal", "scale": 4, "readonly": false }, { "name": "vTotTrib", "type": "Currency", "kind": "decimal", "scale": 4, "readonly": false }] }, "TICMSUFDest": { "name": "TICMSUFDest", "unit": "ACBrNFe.Classes", "kind": "object", "properties": [{ "name": "pFCPUFDest", "type": "Currency", "kind": "decimal", "scale": 4, "readonly": false }, { "name": "pICMSInter", "type": "Currency", "kind": "decimal", "scale": 4, "readonly": false }, { "name": "pICMSInterPart", "type": "Currency", "kind": "decimal", "scale": 4, "readonly": false }, { "name": "pICMSUFDest", "type": "Currency", "kind": "decimal", "scale": 4, "readonly": false }, { "name": "vBCFCPUFDest", "type": "Currency", "kind": "decimal", "scale": 4, "readonly": false }, { "name": "vBCUFDest", "type": "Currency", "kind": "decimal", "scale": 4, "readonly": false }, { "name": "vFCPUFDest", "type": "Currency", "kind": "decimal", "scale": 4, "readonly": false }, { "name": "vICMSUFDest", "type": "Currency", "kind": "decimal", "scale": 4, "readonly": false }, { "name": "vICMSUFRemet", "type": "Currency", "kind": "decimal", "scale": 4, "readonly": false }] }, "TIde": { "name": "TIde", "unit": "ACBrNFe.Classes", "kind": "object", "properties": [{ "name": "cDV", "type": "Integer", "kind": "integer", "min": -2147483648, "max": 2147483647, "readonly": false }, { "name": "cIndOp", "type": "string", "kind": "string", "readonly": false }, { "name": "cMunFG", "type": "Integer", "kind": "integer", "min": -2147483648, "max": 2147483647, "readonly": false }, { "name": "cMunFGIBS", "type": "Integer", "kind": "integer", "min": -2147483648, "max": 2147483647, "readonly": false }, { "name": "cNF", "type": "Integer", "kind": "integer", "min": -2147483648, "max": 2147483647, "readonly": false }, { "name": "cUF", "type": "Integer", "kind": "integer", "min": -2147483648, "max": 2147483647, "readonly": false }, { "name": "dEmi", "type": "TDateTime", "kind": "datetime", "readonly": false }, { "name": "dhCont", "type": "TDateTime", "kind": "datetime", "readonly": false }, { "name": "dPrevEntrega", "type": "TDateTime", "kind": "datetime", "readonly": false }, { "name": "dSaiEnt", "type": "TDateTime", "kind": "datetime", "readonly": false }, { "name": "finNFe", "type": "TpcnFinalidadeNFe", "kind": "enum", "ref": "TpcnFinalidadeNFe", "readonly": false, "declaredDefault": "fnNormal" }, { "name": "gCompraGov", "type": "TgCompraGov", "kind": "object", "ref": "TgCompraGov", "readonly": false }, { "name": "gPagAntecipado", "type": "TgPagAntecipado", "kind": "object", "ref": "TgPagAntecipado", "readonly": false }, { "name": "hSaiEnt", "type": "TDateTime", "kind": "datetime", "readonly": false }, { "name": "idDest", "type": "TpcnDestinoOperacao", "kind": "enum", "ref": "TpcnDestinoOperacao", "readonly": false }, { "name": "indFinal", "type": "TpcnConsumidorFinal", "kind": "enum", "ref": "TpcnConsumidorFinal", "readonly": false }, { "name": "indIntermed", "type": "TindIntermed", "kind": "enum", "ref": "TindIntermed", "readonly": false }, { "name": "indPag", "type": "TpcnIndicadorPagamento", "kind": "enum", "ref": "TpcnIndicadorPagamento", "readonly": false, "declaredDefault": "ipPrazo" }, { "name": "indPres", "type": "TpcnPresencaComprador", "kind": "enum", "ref": "TpcnPresencaComprador", "readonly": false }, { "name": "modelo", "type": "Integer", "kind": "integer", "min": -2147483648, "max": 2147483647, "readonly": false }, { "name": "natOp", "type": "string", "kind": "string", "readonly": false }, { "name": "NFref", "type": "TNFrefCollection", "kind": "list", "ref": "TNFrefCollection", "readonly": false }, { "name": "nNF", "type": "Integer", "kind": "integer", "min": -2147483648, "max": 2147483647, "readonly": false }, { "name": "procEmi", "type": "TACBrProcessoEmissao", "kind": "enum", "ref": "TACBrProcessoEmissao", "readonly": false, "declaredDefault": "peAplicativoContribuinte" }, { "name": "serie", "type": "Integer", "kind": "integer", "min": -2147483648, "max": 2147483647, "readonly": false }, { "name": "tpAmb", "type": "TACBrTipoAmbiente", "kind": "enum", "ref": "TACBrTipoAmbiente", "readonly": false, "declaredDefault": "taHomologacao" }, { "name": "tpEmis", "type": "TACBrTipoEmissao", "kind": "enum", "ref": "TACBrTipoEmissao", "readonly": false, "declaredDefault": "teNormal" }, { "name": "tpImp", "type": "TACBrTipoImpressao", "kind": "enum", "ref": "TACBrTipoImpressao", "readonly": false, "declaredDefault": "tiPaisagem" }, { "name": "tpNF", "type": "TTipoNFe", "kind": "enum", "ref": "TTipoNFe", "readonly": false, "declaredDefault": "tnSaida" }, { "name": "tpNFCredito", "type": "TtpNFCredito", "kind": "enum", "ref": "TtpNFCredito", "readonly": false }, { "name": "tpNFDebito", "type": "TtpNFDebito", "kind": "enum", "ref": "TtpNFDebito", "readonly": false }, { "name": "verProc", "type": "string", "kind": "string", "readonly": false }, { "name": "xJust", "type": "string", "kind": "string", "readonly": false }] }, "TII": { "name": "TII", "unit": "ACBrNFe.Classes", "kind": "object", "properties": [{ "name": "vBc", "type": "Currency", "kind": "decimal", "scale": 4, "readonly": false }, { "name": "vDespAdu", "type": "Currency", "kind": "decimal", "scale": 4, "readonly": false }, { "name": "vII", "type": "Currency", "kind": "decimal", "scale": 4, "readonly": false }, { "name": "vIOF", "type": "Currency", "kind": "decimal", "scale": 4, "readonly": false }] }, "TImposto": { "name": "TImposto", "unit": "ACBrNFe.Classes", "kind": "object", "properties": [{ "name": "COFINS", "type": "TCOFINS", "kind": "object", "ref": "TCOFINS", "readonly": false }, { "name": "COFINSST", "type": "TCOFINSST", "kind": "object", "ref": "TCOFINSST", "readonly": false }, { "name": "IBSCBS", "type": "TIBSCBS", "kind": "object", "ref": "TIBSCBS", "readonly": false }, { "name": "ICMS", "type": "TICMS", "kind": "object", "ref": "TICMS", "readonly": false }, { "name": "ICMSUFDest", "type": "TICMSUFDest", "kind": "object", "ref": "TICMSUFDest", "readonly": false }, { "name": "II", "type": "TII", "kind": "object", "ref": "TII", "readonly": false }, { "name": "IPI", "type": "TIPI", "kind": "object", "ref": "TIPI", "readonly": false }, { "name": "ISel", "type": "TgIS", "kind": "object", "ref": "TgIS", "readonly": false }, { "name": "ISSQN", "type": "TISSQN", "kind": "object", "ref": "TISSQN", "readonly": false }, { "name": "PIS", "type": "TPIS", "kind": "object", "ref": "TPIS", "readonly": false }, { "name": "PISST", "type": "TPISST", "kind": "object", "ref": "TPISST", "readonly": false }, { "name": "vTotTrib", "type": "Currency", "kind": "decimal", "scale": 4, "readonly": false }] }, "TIndicadorEx": { "name": "TIndicadorEx", "unit": "ACBrDFe.Conversao", "kind": "enum", "values": ["tieNenhum", "tieSim", "tieNao"] }, "TindIEDest": { "name": "TindIEDest", "unit": "ACBrDFe.Conversao", "kind": "enum", "values": ["inContribuinte", "inIsento", "inNaoContribuinte"] }, "TindImport": { "name": "TindImport", "unit": "pcnConversaoNFe", "kind": "enum", "values": ["iiNacional", "iiImportado"] }, "TindIncentivo": { "name": "TindIncentivo", "unit": "ACBrDFe.Conversao", "kind": "enum", "values": ["iiSim", "iiNao"] }, "TindIntermed": { "name": "TindIntermed", "unit": "pcnConversaoNFe", "kind": "enum", "values": ["iiSemOperacao", "iiOperacaoSemIntermediador", "iiOperacaoComIntermediador"] }, "TIndSomaCOFINSST": { "name": "TIndSomaCOFINSST", "unit": "pcnConversaoNFe", "kind": "enum", "values": ["iscNenhum", "iscCOFINSSTNaoCompoe", "iscCOFINSSTCompoe"] }, "TIndSomaPISST": { "name": "TIndSomaPISST", "unit": "pcnConversaoNFe", "kind": "enum", "values": ["ispNenhum", "ispPISSTNaoCompoe", "ispPISSTCompoe"] }, "TInfAdic": { "name": "TInfAdic", "unit": "ACBrNFe.Classes", "kind": "object", "properties": [{ "name": "infAdFisco", "type": "string", "kind": "string", "readonly": false }, { "name": "infCpl", "type": "string", "kind": "string", "readonly": false }, { "name": "obsCont", "type": "TobsContCollection", "kind": "list", "ref": "TobsContCollection", "readonly": false }, { "name": "obsFisco", "type": "TobsFiscoCollection", "kind": "list", "ref": "TobsFiscoCollection", "readonly": false }, { "name": "procRef", "type": "TprocRefCollection", "kind": "list", "ref": "TprocRefCollection", "readonly": false }] }, "TinfIntermed": { "name": "TinfIntermed", "unit": "ACBrNFe.Classes", "kind": "object", "properties": [{ "name": "CNPJ", "type": "string", "kind": "string", "readonly": false }, { "name": "idCadIntTran", "type": "string", "kind": "string", "readonly": false }] }, "TinfNFe": { "name": "TinfNFe", "unit": "ACBrNFe.Classes", "kind": "object", "properties": [{ "name": "ID", "type": "string", "kind": "string", "readonly": false }, { "name": "Versao", "type": "Double", "kind": "decimal", "readonly": false }] }, "TinfNFeSupl": { "name": "TinfNFeSupl", "unit": "ACBrNFe.Classes", "kind": "object", "properties": [{ "name": "qrCode", "type": "string", "kind": "string", "readonly": false }, { "name": "urlChave", "type": "string", "kind": "string", "readonly": false }] }, "TinfPAA": { "name": "TinfPAA", "unit": "ACBrNFe.Classes", "kind": "object", "properties": [{ "name": "CNPJPAA", "type": "string", "kind": "string", "readonly": false }, { "name": "Exponent", "type": "string", "kind": "string", "readonly": false }, { "name": "Modulus", "type": "string", "kind": "string", "readonly": false }, { "name": "SignatureValue", "type": "string", "kind": "string", "readonly": false }] }, "TinfRespTec": { "name": "TinfRespTec", "unit": "ACBrNFe.Classes", "kind": "object", "properties": [{ "name": "CNPJ", "type": "string", "kind": "string", "readonly": false }, { "name": "email", "type": "string", "kind": "string", "readonly": false }, { "name": "fone", "type": "string", "kind": "string", "readonly": false }, { "name": "hashCSRT", "type": "string", "kind": "string", "readonly": false }, { "name": "idCSRT", "type": "Integer", "kind": "integer", "min": -2147483648, "max": 2147483647, "readonly": false }, { "name": "xContato", "type": "string", "kind": "string", "readonly": false }] }, "TIPI": { "name": "TIPI", "unit": "ACBrNFe.Classes", "kind": "object", "properties": [{ "name": "cEnq", "type": "string", "kind": "string", "readonly": false }, { "name": "clEnq", "type": "string", "kind": "string", "readonly": false }, { "name": "CNPJProd", "type": "string", "kind": "string", "readonly": false }, { "name": "cSelo", "type": "string", "kind": "string", "readonly": false }, { "name": "CST", "type": "TpcnCstIpi", "kind": "enum", "ref": "TpcnCstIpi", "readonly": false, "declaredDefault": "ipi00" }, { "name": "pIPI", "type": "Currency", "kind": "decimal", "scale": 4, "readonly": false }, { "name": "qSelo", "type": "Integer", "kind": "integer", "min": -2147483648, "max": 2147483647, "readonly": false }, { "name": "qUnid", "type": "Currency", "kind": "decimal", "scale": 4, "readonly": false }, { "name": "vBC", "type": "Currency", "kind": "decimal", "scale": 4, "readonly": false }, { "name": "vIPI", "type": "Currency", "kind": "decimal", "scale": 4, "readonly": false }, { "name": "vUnid", "type": "Currency", "kind": "decimal", "scale": 4, "readonly": false }] }, "TISSQN": { "name": "TISSQN", "unit": "ACBrNFe.Classes", "kind": "object", "properties": [{ "name": "cListServ", "type": "string", "kind": "string", "readonly": false }, { "name": "cMun", "type": "Integer", "kind": "integer", "min": -2147483648, "max": 2147483647, "readonly": false }, { "name": "cMunFG", "type": "Integer", "kind": "integer", "min": -2147483648, "max": 2147483647, "readonly": false }, { "name": "cPais", "type": "Integer", "kind": "integer", "min": -2147483648, "max": 2147483647, "readonly": false }, { "name": "cServico", "type": "string", "kind": "string", "readonly": false }, { "name": "cSitTrib", "type": "TpcnISSQNcSitTrib", "kind": "enum", "ref": "TpcnISSQNcSitTrib", "readonly": false, "declaredDefault": "ISSQNcSitTribVazio" }, { "name": "indIncentivo", "type": "TindIncentivo", "kind": "enum", "ref": "TindIncentivo", "readonly": false }, { "name": "indISS", "type": "TpcnindISS", "kind": "enum", "ref": "TpcnindISS", "readonly": false }, { "name": "indISSRet", "type": "TpcnindISSRet", "kind": "enum", "ref": "TpcnindISSRet", "readonly": false }, { "name": "nProcesso", "type": "string", "kind": "string", "readonly": false }, { "name": "vAliq", "type": "Currency", "kind": "decimal", "scale": 4, "readonly": false }, { "name": "vBC", "type": "Currency", "kind": "decimal", "scale": 4, "readonly": false }, { "name": "vDeducao", "type": "Currency", "kind": "decimal", "scale": 4, "readonly": false }, { "name": "vDescCond", "type": "Currency", "kind": "decimal", "scale": 4, "readonly": false }, { "name": "vDescIncond", "type": "Currency", "kind": "decimal", "scale": 4, "readonly": false }, { "name": "vISSQN", "type": "Currency", "kind": "decimal", "scale": 4, "readonly": false }, { "name": "vISSRet", "type": "Currency", "kind": "decimal", "scale": 4, "readonly": false }, { "name": "vOutro", "type": "Currency", "kind": "decimal", "scale": 4, "readonly": false }] }, "TISSQNtot": { "name": "TISSQNtot", "unit": "ACBrNFe.Classes", "kind": "object", "properties": [{ "name": "cRegTrib", "type": "TRegTribISSQN", "kind": "enum", "ref": "TRegTribISSQN", "readonly": false }, { "name": "dCompet", "type": "TDateTime", "kind": "datetime", "readonly": false }, { "name": "vBC", "type": "Currency", "kind": "decimal", "scale": 4, "readonly": false }, { "name": "vCOFINS", "type": "Currency", "kind": "decimal", "scale": 4, "readonly": false }, { "name": "vDeducao", "type": "Currency", "kind": "decimal", "scale": 4, "readonly": false }, { "name": "vDescCond", "type": "Currency", "kind": "decimal", "scale": 4, "readonly": false }, { "name": "vDescIncond", "type": "Currency", "kind": "decimal", "scale": 4, "readonly": false }, { "name": "vISS", "type": "Currency", "kind": "decimal", "scale": 4, "readonly": false }, { "name": "vISSRet", "type": "Currency", "kind": "decimal", "scale": 4, "readonly": false }, { "name": "vOutro", "type": "Currency", "kind": "decimal", "scale": 4, "readonly": false }, { "name": "vPIS", "type": "Currency", "kind": "decimal", "scale": 4, "readonly": false }, { "name": "vServ", "type": "Currency", "kind": "decimal", "scale": 4, "readonly": false }] }, "TISTot": { "name": "TISTot", "unit": "ACBrDFe.RTC.Classes", "kind": "object", "properties": [{ "name": "vIS", "type": "Double", "kind": "decimal", "readonly": false }] }, "TLacresCollection": { "name": "TLacresCollection", "unit": "ACBrNFe.Classes", "kind": "list", "item": "TLacresCollectionItem", "factory": "New" }, "TLacresCollectionItem": { "name": "TLacresCollectionItem", "unit": "ACBrNFe.Classes", "kind": "object", "properties": [{ "name": "nLacre", "type": "string", "kind": "string", "readonly": false }] }, "TMedCollection": { "name": "TMedCollection", "unit": "ACBrNFe.Classes", "kind": "list", "item": "TMedCollectionItem", "factory": "New" }, "TMedCollectionItem": { "name": "TMedCollectionItem", "unit": "ACBrNFe.Classes", "kind": "object", "properties": [{ "name": "cProdANVISA", "type": "string", "kind": "string", "readonly": false }, { "name": "dFab", "type": "TDateTime", "kind": "datetime", "readonly": false }, { "name": "dVal", "type": "TDateTime", "kind": "datetime", "readonly": false }, { "name": "nLote", "type": "string", "kind": "string", "readonly": false }, { "name": "qLote", "type": "Currency", "kind": "decimal", "scale": 4, "readonly": false }, { "name": "vPMC", "type": "Currency", "kind": "decimal", "scale": 4, "readonly": false }, { "name": "xMotivoIsencao", "type": "string", "kind": "string", "readonly": false }] }, "TmotRedAdRem": { "name": "TmotRedAdRem", "unit": "pcnConversaoNFe", "kind": "enum", "values": ["motTranspColetivo", "motOutros"] }, "TNFe": { "name": "TNFe", "unit": "ACBrNFe.Classes", "kind": "object", "properties": [{ "name": "agropecuario", "type": "Tagropecuario", "kind": "object", "ref": "Tagropecuario", "readonly": false }, { "name": "autXML", "type": "TautXMLCollection", "kind": "list", "ref": "TautXMLCollection", "readonly": false }, { "name": "Avulsa", "type": "TAvulsa", "kind": "object", "ref": "TAvulsa", "readonly": false }, { "name": "cana", "type": "Tcana", "kind": "object", "ref": "Tcana", "readonly": false }, { "name": "Cobr", "type": "TCobr", "kind": "object", "ref": "TCobr", "readonly": false }, { "name": "compra", "type": "Tcompra", "kind": "object", "ref": "TCompra", "readonly": false }, { "name": "Dest", "type": "TDest", "kind": "object", "ref": "TDest", "readonly": false }, { "name": "Det", "type": "TDetCollection", "kind": "list", "ref": "TDetCollection", "readonly": false }, { "name": "Emit", "type": "TEmit", "kind": "object", "ref": "TEmit", "readonly": false }, { "name": "Entrega", "type": "TEntrega", "kind": "object", "ref": "TEntrega", "readonly": false }, { "name": "exporta", "type": "Texporta", "kind": "object", "ref": "TExporta", "readonly": false }, { "name": "Ide", "type": "TIde", "kind": "object", "ref": "TIde", "readonly": false }, { "name": "InfAdic", "type": "TInfAdic", "kind": "object", "ref": "TInfAdic", "readonly": false }, { "name": "infIntermed", "type": "TinfIntermed", "kind": "object", "ref": "TinfIntermed", "readonly": false }, { "name": "infNFe", "type": "TinfNFe", "kind": "object", "ref": "TinfNFe", "readonly": false }, { "name": "infNFeSupl", "type": "TinfNFeSupl", "kind": "object", "ref": "TinfNFeSupl", "readonly": true }, { "name": "infPAA", "type": "TinfPAA", "kind": "object", "ref": "TinfPAA", "readonly": false }, { "name": "infRespTec", "type": "TinfRespTec", "kind": "object", "ref": "TinfRespTec", "readonly": false }, { "name": "pag", "type": "TpagCollection", "kind": "list", "ref": "TpagCollection", "readonly": false }, { "name": "procNFe", "type": "TProcDFe", "kind": "object", "ref": "TProcDFe", "readonly": true }, { "name": "Retirada", "type": "TRetirada", "kind": "object", "ref": "TRetirada", "readonly": false }, { "name": "signature", "type": "Tsignature", "kind": "object", "ref": "TSignature", "readonly": true }, { "name": "Total", "type": "TTotal", "kind": "object", "ref": "TTotal", "readonly": false }, { "name": "Transp", "type": "TTransp", "kind": "object", "ref": "TTransp", "readonly": false }] }, "TNFrefCollection": { "name": "TNFrefCollection", "unit": "ACBrNFe.Classes", "kind": "list", "item": "TNFrefCollectionItem", "factory": "New" }, "TNFrefCollectionItem": { "name": "TNFrefCollectionItem", "unit": "ACBrNFe.Classes", "kind": "object", "properties": [{ "name": "refCTe", "type": "string", "kind": "string", "readonly": false }, { "name": "RefECF", "type": "TRefECF", "kind": "object", "ref": "TRefECF", "readonly": false }, { "name": "RefNF", "type": "TRefNF", "kind": "object", "ref": "TRefNF", "readonly": false }, { "name": "refNFe", "type": "string", "kind": "string", "readonly": false }, { "name": "refNFeSig", "type": "string", "kind": "string", "readonly": false }, { "name": "RefNFP", "type": "TRefNFP", "kind": "object", "ref": "TRefNFP", "readonly": false }] }, "TNVECollection": { "name": "TNVECollection", "unit": "ACBrNFe.Classes", "kind": "list", "item": "TNVECollectionItem", "factory": "New" }, "TNVECollectionItem": { "name": "TNVECollectionItem", "unit": "ACBrNFe.Classes", "kind": "object", "properties": [{ "name": "NVE", "type": "string", "kind": "string", "readonly": false }] }, "TobsContCollection": { "name": "TobsContCollection", "unit": "ACBrNFe.Classes", "kind": "list", "item": "TobsContCollectionItem", "factory": "New" }, "TobsContCollectionItem": { "name": "TobsContCollectionItem", "unit": "ACBrNFe.Classes", "kind": "object", "properties": [{ "name": "xCampo", "type": "string", "kind": "string", "readonly": false }, { "name": "xTexto", "type": "string", "kind": "string", "readonly": false }] }, "TobsFiscoCollection": { "name": "TobsFiscoCollection", "unit": "ACBrNFe.Classes", "kind": "list", "item": "TobsFiscoCollectionItem", "factory": "New" }, "TobsFiscoCollectionItem": { "name": "TobsFiscoCollectionItem", "unit": "ACBrNFe.Classes", "kind": "object", "properties": [{ "name": "xCampo", "type": "string", "kind": "string", "readonly": false }, { "name": "xTexto", "type": "string", "kind": "string", "readonly": false }] }, "TobsItem": { "name": "TobsItem", "unit": "ACBrNFe.Classes", "kind": "object", "properties": [{ "name": "xCampo", "type": "string", "kind": "string", "readonly": false }, { "name": "xTexto", "type": "string", "kind": "string", "readonly": false }] }, "TorigCombCollection": { "name": "TorigCombCollection", "unit": "ACBrNFe.Classes", "kind": "list", "item": "TorigCombCollectionItem", "factory": "New" }, "TorigCombCollectionItem": { "name": "TorigCombCollectionItem", "unit": "ACBrNFe.Classes", "kind": "object", "properties": [{ "name": "cUFOrig", "type": "Integer", "kind": "integer", "min": -2147483648, "max": 2147483647, "readonly": false }, { "name": "indImport", "type": "TindImport", "kind": "enum", "ref": "TindImport", "readonly": false }, { "name": "pOrig", "type": "Currency", "kind": "decimal", "scale": 4, "readonly": false }] }, "TOrigemMercadoria": { "name": "TOrigemMercadoria", "unit": "ACBrDFe.Conversao", "kind": "enum", "values": ["oeNacional", "oeEstrangeiraImportacaoDireta", "oeEstrangeiraAdquiridaBrasil", "oeNacionalConteudoImportacaoSuperior40", "oeNacionalProcessosBasicos", "oeNacionalConteudoImportacaoInferiorIgual40", "oeEstrangeiraImportacaoDiretaSemSimilar", "oeEstrangeiraAdquiridaBrasilSemSimilar", "oeNacionalConteudoImportacaoSuperior70", "oeReservadoParaUsoFuturo", "oeVazio"] }, "TpagCollection": { "name": "TpagCollection", "unit": "ACBrNFe.Classes", "kind": "list", "item": "TpagCollectionItem", "factory": "New" }, "TpagCollectionItem": { "name": "TpagCollectionItem", "unit": "ACBrNFe.Classes", "kind": "object", "properties": [{ "name": "cAut", "type": "string", "kind": "string", "readonly": false }, { "name": "CNPJ", "type": "string", "kind": "string", "readonly": false }, { "name": "CNPJPag", "type": "string", "kind": "string", "readonly": false }, { "name": "CNPJReceb", "type": "string", "kind": "string", "readonly": false }, { "name": "dPag", "type": "TDateTime", "kind": "datetime", "readonly": false }, { "name": "idTermPag", "type": "string", "kind": "string", "readonly": false }, { "name": "indPag", "type": "TpcnIndicadorPagamento", "kind": "enum", "ref": "TpcnIndicadorPagamento", "readonly": false, "declaredDefault": "ipNenhum" }, { "name": "tBand", "type": "TpcnBandeiraCartao", "kind": "enum", "ref": "TpcnBandeiraCartao", "readonly": false }, { "name": "tPag", "type": "TpcnFormaPagamento", "kind": "enum", "ref": "TpcnFormaPagamento", "readonly": false }, { "name": "tpIntegra", "type": "TtpIntegra", "kind": "enum", "ref": "TtpIntegra", "readonly": false }, { "name": "UFPag", "type": "string", "kind": "string", "readonly": false }, { "name": "vPag", "type": "Currency", "kind": "decimal", "scale": 4, "readonly": false }, { "name": "xPag", "type": "string", "kind": "string", "readonly": false }] }, "TpcnBandeiraCartao": { "name": "TpcnBandeiraCartao", "unit": "pcnConversaoNFe", "kind": "enum", "values": ["bcVisa", "bcMasterCard", "bcAmericanExpress", "bcSorocred", "bcDinersClub", "bcElo", "bcHipercard", "bcAura", "bcCabal", "bcAlelo", "bcBanesCard", "bcCalCard", "bcCredz", "bcDiscover", "bcGoodCard", "bcGreenCard", "bcHiper", "bcJcB", "bcMais", "bcMaxVan", "bcPolicard", "bcRedeCompras", "bcSodexo", "bcValeCard", "bcVerocheque", "bcVR", "bcTicket", "bcOutros"] }, "TpcnCondicaoVeiculo": { "name": "TpcnCondicaoVeiculo", "unit": "pcnConversaoNFe", "kind": "enum", "values": ["cvAcabado", "cvInacabado", "cvSemiAcabado"] }, "TpcnConsumidorFinal": { "name": "TpcnConsumidorFinal", "unit": "pcnConversaoNFe", "kind": "enum", "values": ["cfNao", "cfConsumidorFinal"] }, "TpcnCRT": { "name": "TpcnCRT", "unit": "pcnConversaoNFe", "kind": "enum", "values": ["crtSimplesNacional", "crtSimplesExcessoReceita", "crtRegimeNormal", "crtMEI"] }, "TpcnCstIpi": { "name": "TpcnCstIpi", "unit": "pcnConversaoNFe", "kind": "enum", "values": ["ipi00", "ipi49", "ipi50", "ipi99", "ipi01", "ipi02", "ipi03", "ipi04", "ipi05", "ipi51", "ipi52", "ipi53", "ipi54", "ipi55"] }, "TpcnDestinoOperacao": { "name": "TpcnDestinoOperacao", "unit": "pcnConversaoNFe", "kind": "enum", "values": ["doInterna", "doInterestadual", "doExterior"] }, "TpcnDeterminacaoBaseIcms": { "name": "TpcnDeterminacaoBaseIcms", "unit": "pcnConversaoNFe", "kind": "enum", "values": ["dbiMargemValorAgregado", "dbiPauta", "dbiPrecoTabelado", "dbiValorOperacao", "dbiNenhum"] }, "TpcnDeterminacaoBaseIcmsST": { "name": "TpcnDeterminacaoBaseIcmsST", "unit": "pcnConversaoNFe", "kind": "enum", "values": ["dbisPrecoTabelado", "dbisListaNegativa", "dbisListaPositiva", "dbisListaNeutra", "dbisMargemValorAgregado", "dbisPauta", "dbisValordaOperacao"] }, "TpcnECFModRef": { "name": "TpcnECFModRef", "unit": "pcnConversaoNFe", "kind": "enum", "values": ["ECFModRefVazio", "ECFModRef2B", "ECFModRef2C", "ECFModRef2D"] }, "TpcnFinalidadeNFe": { "name": "TpcnFinalidadeNFe", "unit": "pcnConversaoNFe", "kind": "enum", "values": ["fnNormal", "fnComplementar", "fnAjuste", "fnDevolucao", "fnCredito", "fnDebito"] }, "TpcnFormaPagamento": { "name": "TpcnFormaPagamento", "unit": "pcnConversaoNFe", "kind": "enum", "values": ["fpDinheiro", "fpCheque", "fpCartaoCredito", "fpCartaoDebito", "fpCreditoLoja", "fpValeAlimentacao", "fpValeRefeicao", "fpValePresente", "fpValeCombustivel", "fpDuplicataMercantil", "fpBoletoBancario", "fpDepositoBancario", "fpPagamentoInstantaneo", "fpTransfBancario", "fpProgramaFidelidade", "fpSemPagamento", "fpRegimeEspecial", "fpOutro", "fpPagamentoInstantaneoEstatico", "fpCreditoEmLojaPorDevolucao", "fpFalhaHardware", "fpPagamentoPosterior", "fpPagInstantaneoPIXAutomatico", "fpTEFBookTransfer"] }, "TpcnIndEscala": { "name": "TpcnIndEscala", "unit": "pcnConversaoNFe", "kind": "enum", "values": ["ieRelevante", "ieNaoRelevante", "ieNenhum"] }, "TpcnIndicadorPagamento": { "name": "TpcnIndicadorPagamento", "unit": "pcnConversaoNFe", "kind": "enum", "values": ["ipVista", "ipPrazo", "ipOutras", "ipNenhum"] }, "TpcnIndicadorProcesso": { "name": "TpcnIndicadorProcesso", "unit": "pcnConversaoNFe", "kind": "enum", "values": ["ipSEFAZ", "ipJusticaFederal", "ipJusticaEstadual", "ipSecexRFB", "ipCONFAZ", "ipOutros"] }, "TpcnIndicadorTotal": { "name": "TpcnIndicadorTotal", "unit": "pcnConversaoNFe", "kind": "enum", "values": ["itSomaTotalNFe", "itNaoSomaTotalNFe"] }, "TpcnindISS": { "name": "TpcnindISS", "unit": "pcnConversaoNFe", "kind": "enum", "values": ["iiExigivel", "iiNaoIncidencia", "iiIsencao", "iiExportacao", "iiImunidade", "iiExigSuspDecisaoJudicial", "iiExigSuspProcessoAdm"] }, "TpcnindISSRet": { "name": "TpcnindISSRet", "unit": "pcnConversaoNFe", "kind": "enum", "values": ["iirSim", "iirNao"] }, "TpcnISSQNcSitTrib": { "name": "TpcnISSQNcSitTrib", "unit": "pcnConversaoNFe", "kind": "enum", "values": ["ISSQNcSitTribVazio", "ISSQNcSitTribNORMAL", "ISSQNcSitTribRETIDA", "ISSQNcSitTribSUBSTITUTA", "ISSQNcSitTribISENTA"] }, "TpcnModalidadeFrete": { "name": "TpcnModalidadeFrete", "unit": "pcnConversaoNFe", "kind": "enum", "values": ["mfContaEmitente", "mfContaDestinatario", "mfContaTerceiros", "mfProprioRemetente", "mfProprioDestinatario", "mfSemFrete"] }, "TpcnMotivoDesoneracaoICMS": { "name": "TpcnMotivoDesoneracaoICMS", "unit": "pcnConversaoNFe", "kind": "enum", "values": ["mdiTaxi", "mdiDeficienteFisico", "mdiProdutorAgropecuario", "mdiFrotistaLocadora", "mdiDiplomaticoConsular", "mdiAmazoniaLivreComercio", "mdiSuframa", "mdiVendaOrgaosPublicos", "mdiOutros", "mdiDeficienteCondutor", "mdiDeficienteNaoCondutor", "mdiOrgaoFomento", "mdiOlimpiadaRio2016", "mdiSolicitadoFisco"] }, "TpcnPresencaComprador": { "name": "TpcnPresencaComprador", "unit": "pcnConversaoNFe", "kind": "enum", "values": ["pcNao", "pcPresencial", "pcInternet", "pcTeleatendimento", "pcEntregaDomicilio", "pcPresencialForaEstabelecimento", "pcOutros"] }, "TpcnTipoArma": { "name": "TpcnTipoArma", "unit": "pcnConversaoNFe", "kind": "enum", "values": ["taUsoPermitido", "taUsoRestrito"] }, "TpcnTipoIntermedio": { "name": "TpcnTipoIntermedio", "unit": "pcnConversaoNFe", "kind": "enum", "values": ["tiContaPropria", "tiContaOrdem", "tiEncomenda"] }, "TpcnTipoOperacao": { "name": "TpcnTipoOperacao", "unit": "pcnConversaoNFe", "kind": "enum", "values": ["toVendaConcessionaria", "toFaturamentoDireto", "toVendaDireta", "toOutros"] }, "TpcnTipoViaTransp": { "name": "TpcnTipoViaTransp", "unit": "pcnConversaoNFe", "kind": "enum", "values": ["tvMaritima", "tvFluvial", "tvLacustre", "tvAerea", "tvPostal", "tvFerroviaria", "tvRodoviaria", "tvConduto", "tvMeiosProprios", "tvEntradaSaidaFicta", "tvCourier", "tvEmMaos", "tvPorReboque"] }, "TPIS": { "name": "TPIS", "unit": "ACBrNFe.Classes", "kind": "object", "properties": [{ "name": "CST", "type": "TCstPis", "kind": "enum", "ref": "TCSTPis", "readonly": false, "declaredDefault": "pis01" }, { "name": "pPIS", "type": "Currency", "kind": "decimal", "scale": 4, "readonly": false }, { "name": "qBCProd", "type": "Currency", "kind": "decimal", "scale": 4, "readonly": false }, { "name": "vAliqProd", "type": "Currency", "kind": "decimal", "scale": 4, "readonly": false }, { "name": "vBC", "type": "Currency", "kind": "decimal", "scale": 4, "readonly": false }, { "name": "vPIS", "type": "Currency", "kind": "decimal", "scale": 4, "readonly": false }] }, "TPISST": { "name": "TPISST", "unit": "ACBrNFe.Classes", "kind": "object", "properties": [{ "name": "indSomaPISST", "type": "TIndSomaPISST", "kind": "enum", "ref": "TIndSomaPISST", "readonly": false }, { "name": "pPis", "type": "Currency", "kind": "decimal", "scale": 4, "readonly": false }, { "name": "qBCProd", "type": "Currency", "kind": "decimal", "scale": 4, "readonly": false }, { "name": "vAliqProd", "type": "Currency", "kind": "decimal", "scale": 4, "readonly": false }, { "name": "vBc", "type": "Currency", "kind": "decimal", "scale": 4, "readonly": false }, { "name": "vPIS", "type": "Currency", "kind": "decimal", "scale": 4, "readonly": false }] }, "TProcDFe": { "name": "TProcDFe", "unit": "ACBrDFeComum.Proc", "kind": "object", "properties": [{ "name": "chDFe", "type": "string", "kind": "string", "readonly": false }, { "name": "cMsg", "type": "Integer", "kind": "integer", "min": -2147483648, "max": 2147483647, "readonly": false }, { "name": "cStat", "type": "Integer", "kind": "integer", "min": -2147483648, "max": 2147483647, "readonly": false }, { "name": "dhRecbto", "type": "TDateTime", "kind": "datetime", "readonly": false }, { "name": "digVal", "type": "string", "kind": "string", "readonly": false }, { "name": "Id", "type": "string", "kind": "string", "readonly": false }, { "name": "nProt", "type": "string", "kind": "string", "readonly": false }, { "name": "PathDFe", "type": "string", "kind": "string", "readonly": false }, { "name": "PathRetConsReciDFe", "type": "string", "kind": "string", "readonly": false }, { "name": "PathRetConsSitDFe", "type": "string", "kind": "string", "readonly": false }, { "name": "tpAmb", "type": "TACBrTipoAmbiente", "kind": "enum", "ref": "TACBrTipoAmbiente", "readonly": false }, { "name": "verAplic", "type": "string", "kind": "string", "readonly": false }, { "name": "XML_DFe", "type": "string", "kind": "string", "readonly": false }, { "name": "XML_prot", "type": "string", "kind": "string", "readonly": false }, { "name": "xMotivo", "type": "string", "kind": "string", "readonly": false }, { "name": "xMsg", "type": "string", "kind": "string", "readonly": false }] }, "TprocRefCollection": { "name": "TprocRefCollection", "unit": "ACBrNFe.Classes", "kind": "list", "item": "TprocRefCollectionItem", "factory": "New" }, "TprocRefCollectionItem": { "name": "TprocRefCollectionItem", "unit": "ACBrNFe.Classes", "kind": "object", "properties": [{ "name": "indProc", "type": "TpcnIndicadorProcesso", "kind": "enum", "ref": "TpcnIndicadorProcesso", "readonly": false, "declaredDefault": "ipSEFAZ" }, { "name": "nProc", "type": "string", "kind": "string", "readonly": false }, { "name": "tpAto", "type": "TtpAto", "kind": "enum", "ref": "TtpAto", "readonly": false }] }, "TProd": { "name": "TProd", "unit": "ACBrNFe.Classes", "kind": "object", "properties": [{ "name": "arma", "type": "TarmaCollection", "kind": "list", "ref": "TArmaCollection", "readonly": false }, { "name": "cBarra", "type": "string", "kind": "string", "readonly": false }, { "name": "cBarraTrib", "type": "string", "kind": "string", "readonly": false }, { "name": "cBenef", "type": "string", "kind": "string", "readonly": false }, { "name": "cEAN", "type": "string", "kind": "string", "readonly": false }, { "name": "cEANTrib", "type": "string", "kind": "string", "readonly": false }, { "name": "CEST", "type": "string", "kind": "string", "readonly": false }, { "name": "CFOP", "type": "string", "kind": "string", "readonly": false }, { "name": "CNPJFab", "type": "string", "kind": "string", "readonly": false }, { "name": "comb", "type": "TComb", "kind": "object", "ref": "TComb", "readonly": false }, { "name": "cProd", "type": "string", "kind": "string", "readonly": false }, { "name": "CredPresumido", "type": "TCredPresumidoCollection", "kind": "list", "ref": "TCredPresumidoCollection", "readonly": false }, { "name": "detExport", "type": "TdetExportCollection", "kind": "list", "ref": "TdetExportCollection", "readonly": false }, { "name": "DI", "type": "TDICollection", "kind": "list", "ref": "TDICollection", "readonly": false }, { "name": "EXTIPI", "type": "string", "kind": "string", "readonly": false }, { "name": "indBemMovelUsado", "type": "TIndicadorEx", "kind": "enum", "ref": "TIndicadorEx", "readonly": false, "declaredDefault": "tieNenhum" }, { "name": "indEscala", "type": "TpcnIndEscala", "kind": "enum", "ref": "TpcnIndEscala", "readonly": false, "declaredDefault": "ieNenhum" }, { "name": "IndTot", "type": "TpcnIndicadorTotal", "kind": "enum", "ref": "TpcnIndicadorTotal", "readonly": false, "declaredDefault": "itSomaTotalNFe" }, { "name": "med", "type": "TMedCollection", "kind": "list", "ref": "TMedCollection", "readonly": false }, { "name": "NCM", "type": "string", "kind": "string", "readonly": false }, { "name": "nFCI", "type": "string", "kind": "string", "readonly": false }, { "name": "nItem", "type": "Integer", "kind": "integer", "min": -2147483648, "max": 2147483647, "readonly": false }, { "name": "nItemPed", "type": "string", "kind": "string", "readonly": false }, { "name": "nRECOPI", "type": "string", "kind": "string", "readonly": false }, { "name": "NVE", "type": "TNVECollection", "kind": "list", "ref": "TNVECollection", "readonly": false }, { "name": "qCom", "type": "Currency", "kind": "decimal", "scale": 4, "readonly": false }, { "name": "qTrib", "type": "Currency", "kind": "decimal", "scale": 4, "readonly": false }, { "name": "rastro", "type": "TRastroCollection", "kind": "list", "ref": "TRastroCollection", "readonly": false }, { "name": "tpCredPresIBSZFM", "type": "TtpCredPresIBSZFM", "kind": "enum", "ref": "TTpCredPresIBSZFM", "readonly": false }, { "name": "uCom", "type": "string", "kind": "string", "readonly": false }, { "name": "uTrib", "type": "string", "kind": "string", "readonly": false }, { "name": "vDesc", "type": "Currency", "kind": "decimal", "scale": 4, "readonly": false }, { "name": "veicProd", "type": "TveicProd", "kind": "object", "ref": "TveicProd", "readonly": false }, { "name": "vFrete", "type": "Currency", "kind": "decimal", "scale": 4, "readonly": false }, { "name": "vOutro", "type": "Currency", "kind": "decimal", "scale": 4, "readonly": false }, { "name": "vProd", "type": "Currency", "kind": "decimal", "scale": 4, "readonly": false }, { "name": "vSeg", "type": "Currency", "kind": "decimal", "scale": 4, "readonly": false }, { "name": "vUnCom", "type": "Double", "kind": "decimal", "readonly": false }, { "name": "vUnTrib", "type": "Double", "kind": "decimal", "readonly": false }, { "name": "xPed", "type": "string", "kind": "string", "readonly": false }, { "name": "xProd", "type": "string", "kind": "string", "readonly": false }] }, "TRastroCollection": { "name": "TRastroCollection", "unit": "ACBrNFe.Classes", "kind": "list", "item": "TRastroCollectionItem", "factory": "New" }, "TRastroCollectionItem": { "name": "TRastroCollectionItem", "unit": "ACBrNFe.Classes", "kind": "object", "properties": [{ "name": "cAgreg", "type": "string", "kind": "string", "readonly": false }, { "name": "dFab", "type": "TDateTime", "kind": "datetime", "readonly": false }, { "name": "dVal", "type": "TDateTime", "kind": "datetime", "readonly": false }, { "name": "nLote", "type": "string", "kind": "string", "readonly": false }, { "name": "qLote", "type": "Currency", "kind": "decimal", "scale": 4, "readonly": false }] }, "TReboqueCollection": { "name": "TReboqueCollection", "unit": "ACBrNFe.Classes", "kind": "list", "item": "TReboqueCollectionItem", "factory": "New" }, "TReboqueCollectionItem": { "name": "TReboqueCollectionItem", "unit": "ACBrNFe.Classes", "kind": "object", "properties": [{ "name": "placa", "type": "string", "kind": "string", "readonly": false }, { "name": "RNTC", "type": "string", "kind": "string", "readonly": false }, { "name": "UF", "type": "string", "kind": "string", "readonly": false }] }, "TrefDFePagAntCollection": { "name": "TrefDFePagAntCollection", "unit": "ACBrDFe.RTC.Classes", "kind": "list", "item": "TrefDFePagAntCollectionItem", "factory": "New" }, "TrefDFePagAntCollectionItem": { "name": "TrefDFePagAntCollectionItem", "unit": "ACBrDFe.RTC.Classes", "kind": "object", "properties": [{ "name": "refDFEChave", "type": "string", "kind": "string", "readonly": false }] }, "TRefECF": { "name": "TRefECF", "unit": "ACBrNFe.Classes", "kind": "object", "properties": [{ "name": "modelo", "type": "TpcnECFModRef", "kind": "enum", "ref": "TpcnECFModRef", "readonly": false, "declaredDefault": "ECFModRefVazio" }, { "name": "nCOO", "type": "string", "kind": "string", "readonly": false }, { "name": "nECF", "type": "string", "kind": "string", "readonly": false }] }, "TRefNF": { "name": "TRefNF", "unit": "ACBrNFe.Classes", "kind": "object", "properties": [{ "name": "AAMM", "type": "string", "kind": "string", "readonly": false }, { "name": "CNPJ", "type": "string", "kind": "string", "readonly": false }, { "name": "cUF", "type": "Integer", "kind": "integer", "min": -2147483648, "max": 2147483647, "readonly": false }, { "name": "modelo", "type": "Integer", "kind": "integer", "min": -2147483648, "max": 2147483647, "readonly": false }, { "name": "nNF", "type": "Integer", "kind": "integer", "min": -2147483648, "max": 2147483647, "readonly": false }, { "name": "serie", "type": "Integer", "kind": "integer", "min": -2147483648, "max": 2147483647, "readonly": false }] }, "TRefNFP": { "name": "TRefNFP", "unit": "ACBrNFe.Classes", "kind": "object", "properties": [{ "name": "AAMM", "type": "string", "kind": "string", "readonly": false }, { "name": "CNPJCPF", "type": "string", "kind": "string", "readonly": false }, { "name": "cUF", "type": "Integer", "kind": "integer", "min": -2147483648, "max": 2147483647, "readonly": false }, { "name": "IE", "type": "string", "kind": "string", "readonly": false }, { "name": "modelo", "type": "string", "kind": "string", "readonly": false }, { "name": "nNF", "type": "Integer", "kind": "integer", "min": -2147483648, "max": 2147483647, "readonly": false }, { "name": "serie", "type": "Integer", "kind": "integer", "min": -2147483648, "max": 2147483647, "readonly": false }] }, "TRegTribISSQN": { "name": "TRegTribISSQN", "unit": "ACBrDFe.Conversao", "kind": "enum", "values": ["RTISSMicroempresaMunicipal", "RTISSEstimativa", "RTISSSociedadeProfissionais", "RTISSCooperativa", "RTISSMEI", "RTISSMEEPP", "RTISSNenhum"] }, "TRetirada": { "name": "TRetirada", "unit": "ACBrNFe.Classes", "kind": "object", "properties": [{ "name": "CEP", "type": "Integer", "kind": "integer", "min": -2147483648, "max": 2147483647, "readonly": false }, { "name": "cMun", "type": "Integer", "kind": "integer", "min": -2147483648, "max": 2147483647, "readonly": false }, { "name": "CNPJCPF", "type": "string", "kind": "string", "readonly": false }, { "name": "cPais", "type": "Integer", "kind": "integer", "min": -2147483648, "max": 2147483647, "readonly": false }, { "name": "Email", "type": "string", "kind": "string", "readonly": false }, { "name": "fone", "type": "string", "kind": "string", "readonly": false }, { "name": "IE", "type": "string", "kind": "string", "readonly": false }, { "name": "nro", "type": "string", "kind": "string", "readonly": false }, { "name": "UF", "type": "string", "kind": "string", "readonly": false }, { "name": "xBairro", "type": "string", "kind": "string", "readonly": false }, { "name": "xCpl", "type": "string", "kind": "string", "readonly": false }, { "name": "xLgr", "type": "string", "kind": "string", "readonly": false }, { "name": "xMun", "type": "string", "kind": "string", "readonly": false }, { "name": "xNome", "type": "string", "kind": "string", "readonly": false }, { "name": "xPais", "type": "string", "kind": "string", "readonly": false }] }, "TretTransp": { "name": "TretTransp", "unit": "ACBrNFe.Classes", "kind": "object", "properties": [{ "name": "CFOP", "type": "string", "kind": "string", "readonly": false }, { "name": "cMunFG", "type": "Integer", "kind": "integer", "min": -2147483648, "max": 2147483647, "readonly": false }, { "name": "pICMSRet", "type": "Currency", "kind": "decimal", "scale": 4, "readonly": false }, { "name": "vBCRet", "type": "Currency", "kind": "decimal", "scale": 4, "readonly": false }, { "name": "vICMSRet", "type": "Currency", "kind": "decimal", "scale": 4, "readonly": false }, { "name": "vServ", "type": "Currency", "kind": "decimal", "scale": 4, "readonly": false }] }, "TretTrib": { "name": "TretTrib", "unit": "ACBrNFe.Classes", "kind": "object", "properties": [{ "name": "vBCIRRF", "type": "Currency", "kind": "decimal", "scale": 4, "readonly": false }, { "name": "vBCRetPrev", "type": "Currency", "kind": "decimal", "scale": 4, "readonly": false }, { "name": "vIRRF", "type": "Currency", "kind": "decimal", "scale": 4, "readonly": false }, { "name": "vRetCOFINS", "type": "Currency", "kind": "decimal", "scale": 4, "readonly": false }, { "name": "vRetCSLL", "type": "Currency", "kind": "decimal", "scale": 4, "readonly": false }, { "name": "vRetPIS", "type": "Currency", "kind": "decimal", "scale": 4, "readonly": false }, { "name": "vRetPrev", "type": "Currency", "kind": "decimal", "scale": 4, "readonly": false }] }, "TSignature": { "name": "TSignature", "unit": "ACBrXmlBase", "kind": "object", "properties": [{ "name": "DigestValue", "type": "string", "kind": "string", "readonly": false }, { "name": "IdSignature", "type": "string", "kind": "string", "readonly": false }, { "name": "IdSignatureValue", "type": "string", "kind": "string", "readonly": false }, { "name": "SignatureValue", "type": "string", "kind": "string", "readonly": false }, { "name": "URI", "type": "string", "kind": "string", "readonly": false }, { "name": "X509Certificate", "type": "string", "kind": "string", "readonly": false }] }, "TTipoNFe": { "name": "TTipoNFe", "unit": "ACBrDFe.Conversao", "kind": "enum", "values": ["tnEntrada", "tnSaida"] }, "TTotal": { "name": "TTotal", "unit": "ACBrNFe.Classes", "kind": "object", "properties": [{ "name": "IBSCBSTot", "type": "TIBSCBSTot", "kind": "object", "ref": "TIBSCBSTot", "readonly": false }, { "name": "ICMSTot", "type": "TICMSTot", "kind": "object", "ref": "TICMSTot", "readonly": false }, { "name": "ISSQNtot", "type": "TISSQNtot", "kind": "object", "ref": "TISSQNtot", "readonly": false }, { "name": "ISTot", "type": "TISTot", "kind": "object", "ref": "TISTot", "readonly": false }, { "name": "retTrib", "type": "TretTrib", "kind": "object", "ref": "TretTrib", "readonly": false }, { "name": "vNFTot", "type": "Double", "kind": "decimal", "readonly": false }] }, "TtpALCZFMCBS": { "name": "TtpALCZFMCBS", "unit": "ACBrDFe.Conversao", "kind": "enum", "values": ["tpALCZFMCBSnOpInd", "tpALCZFMCBSOpInd"] }, "TtpAto": { "name": "TtpAto", "unit": "pcnConversaoNFe", "kind": "enum", "values": ["taNenhum", "taTermoAcordo", "taRegimeEspecial", "taAutorizacaoEspecifica", "taAjusteSNIEF", "taConvenioICMS"] }, "TTpCredPresIBSZFM": { "name": "TTpCredPresIBSZFM", "unit": "ACBrDFe.Conversao", "kind": "enum", "values": ["tcpNenhum", "tcpSemCredito", "tcpBensConsumoFinal", "tcpBensCapital", "tcpBensIntermediarios", "tcpBensInformaticaOutros"] }, "TtpEnteGov": { "name": "TtpEnteGov", "unit": "ACBrDFe.Conversao", "kind": "enum", "values": ["tcgNenhum", "tcgUniao", "tcgEstados", "tcgDistritoFederal", "tcgMunicipios", "tcgConsorcioPublico", "tcgComiteGestorIBS"] }, "TtpGuia": { "name": "TtpGuia", "unit": "pcnConversaoNFe", "kind": "enum", "values": ["tpgNenhum", "tpgGTA", "tpgTTA", "tpgDTA", "tpgATV", "tpgPTV", "tpgGTV", "tpgGuiaFlorestal"] }, "TtpIntegra": { "name": "TtpIntegra", "unit": "ACBrDFe.Conversao", "kind": "enum", "values": ["tiNaoInformado", "tiPagIntegrado", "tiPagNaoIntegrado"] }, "TtpNFCredito": { "name": "TtpNFCredito", "unit": "pcnConversaoNFe", "kind": "enum", "values": ["tcNenhum", "tcMultaJuros", "tcApropriacaoCreditoPresumido", "tcRetorno", "tcReducaoValores", "tcTransferenciaCreditoSucessao", "tcRetornoRecusaParcial"] }, "TtpNFDebito": { "name": "TtpNFDebito", "unit": "ACBrDFe.Conversao", "kind": "enum", "values": ["tdNenhum", "tdTransferenciaCreditoCooperativa", "tdAnulacao", "tdDebitosNaoProcessadas", "tdMultaJuros", "tdTransferenciaCreditoSucessao", "tdPagamentoAntecipado", "tdPerdaEmEstoque", "tdDesenquadramentodoSN"] }, "TtpOperGov": { "name": "TtpOperGov", "unit": "ACBrDFe.Conversao", "kind": "enum", "values": ["togNenhum", "togFornecimento", "togRecebimentoPag", "togFornecimentoPagRealizado", "togRecebimentoPagFornecPosterior"] }, "TTransp": { "name": "TTransp", "unit": "ACBrNFe.Classes", "kind": "object", "properties": [{ "name": "balsa", "type": "string", "kind": "string", "readonly": false }, { "name": "modFrete", "type": "TpcnModalidadeFrete", "kind": "enum", "ref": "TpcnModalidadeFrete", "readonly": false }, { "name": "Reboque", "type": "TReboqueCollection", "kind": "list", "ref": "TReboqueCollection", "readonly": false }, { "name": "retTransp", "type": "TretTransp", "kind": "object", "ref": "TretTransp", "readonly": false }, { "name": "Transporta", "type": "TTransporta", "kind": "object", "ref": "TTransporta", "readonly": false }, { "name": "vagao", "type": "string", "kind": "string", "readonly": false }, { "name": "veicTransp", "type": "TveicTransp", "kind": "object", "ref": "TveicTransp", "readonly": false }, { "name": "Vol", "type": "TVolCollection", "kind": "list", "ref": "TVolCollection", "readonly": false }] }, "TTransporta": { "name": "TTransporta", "unit": "ACBrNFe.Classes", "kind": "object", "properties": [{ "name": "CNPJCPF", "type": "string", "kind": "string", "readonly": false }, { "name": "IE", "type": "string", "kind": "string", "readonly": false }, { "name": "UF", "type": "string", "kind": "string", "readonly": false }, { "name": "xEnder", "type": "string", "kind": "string", "readonly": false }, { "name": "xMun", "type": "string", "kind": "string", "readonly": false }, { "name": "xNome", "type": "string", "kind": "string", "readonly": false }] }, "TveicProd": { "name": "TveicProd", "unit": "ACBrNFe.Classes", "kind": "object", "properties": [{ "name": "anoFab", "type": "Integer", "kind": "integer", "min": -2147483648, "max": 2147483647, "readonly": false }, { "name": "anoMod", "type": "Integer", "kind": "integer", "min": -2147483648, "max": 2147483647, "readonly": false }, { "name": "cCor", "type": "string", "kind": "string", "readonly": false }, { "name": "cCorDENATRAN", "type": "string", "kind": "string", "readonly": false }, { "name": "chassi", "type": "string", "kind": "string", "readonly": false }, { "name": "Cilin", "type": "string", "kind": "string", "readonly": false }, { "name": "cMod", "type": "string", "kind": "string", "readonly": false }, { "name": "CMT", "type": "string", "kind": "string", "readonly": false }, { "name": "CombDescricao", "type": "string", "kind": "string", "readonly": true }, { "name": "condVeic", "type": "TpcnCondicaoVeiculo", "kind": "enum", "ref": "TpcnCondicaoVeiculo", "readonly": false }, { "name": "dist", "type": "string", "kind": "string", "readonly": false }, { "name": "espVeic", "type": "Integer", "kind": "integer", "min": -2147483648, "max": 2147483647, "readonly": false }, { "name": "lota", "type": "Integer", "kind": "integer", "min": -2147483648, "max": 2147483647, "readonly": false }, { "name": "nMotor", "type": "string", "kind": "string", "readonly": false }, { "name": "nSerie", "type": "string", "kind": "string", "readonly": false }, { "name": "pesoB", "type": "string", "kind": "string", "readonly": false }, { "name": "pesoL", "type": "string", "kind": "string", "readonly": false }, { "name": "pot", "type": "string", "kind": "string", "readonly": false }, { "name": "tpComb", "type": "string", "kind": "string", "readonly": false }, { "name": "tpOP", "type": "TpcnTipoOperacao", "kind": "enum", "ref": "TpcnTipoOperacao", "readonly": false }, { "name": "tpPint", "type": "string", "kind": "string", "readonly": false }, { "name": "tpRest", "type": "Integer", "kind": "integer", "min": -2147483648, "max": 2147483647, "readonly": false }, { "name": "tpVeic", "type": "Integer", "kind": "integer", "min": -2147483648, "max": 2147483647, "readonly": false }, { "name": "VIN", "type": "string", "kind": "string", "readonly": false }, { "name": "xCor", "type": "string", "kind": "string", "readonly": false }] }, "TveicTransp": { "name": "TveicTransp", "unit": "ACBrNFe.Classes", "kind": "object", "properties": [{ "name": "placa", "type": "string", "kind": "string", "readonly": false }, { "name": "RNTC", "type": "string", "kind": "string", "readonly": false }, { "name": "UF", "type": "string", "kind": "string", "readonly": false }] }, "TVolCollection": { "name": "TVolCollection", "unit": "ACBrNFe.Classes", "kind": "list", "item": "TVolCollectionItem", "factory": "New" }, "TVolCollectionItem": { "name": "TVolCollectionItem", "unit": "ACBrNFe.Classes", "kind": "object", "properties": [{ "name": "esp", "type": "string", "kind": "string", "readonly": false }, { "name": "Lacres", "type": "TLacresCollection", "kind": "list", "ref": "TLacresCollection", "readonly": false }, { "name": "marca", "type": "string", "kind": "string", "readonly": false }, { "name": "nVol", "type": "string", "kind": "string", "readonly": false }, { "name": "pesoB", "type": "Currency", "kind": "decimal", "scale": 4, "readonly": false }, { "name": "pesoL", "type": "Currency", "kind": "decimal", "scale": 4, "readonly": false }, { "name": "qVol", "type": "Integer", "kind": "integer", "min": -2147483648, "max": 2147483647, "readonly": false }] } };
2838
+ function validateModel(model, value, at = model) {
2839
+ const schema = MODEL_SCHEMA[model];
2840
+ if (!schema) throw new TypeError("Modelo desconhecido: " + model);
2841
+ if (schema.kind === "enum") {
2842
+ if (typeof value !== "string" || !schema.values.includes(value)) throw new TypeError(at + ": enum inv\xE1lido");
2843
+ return;
2844
+ }
2845
+ if (schema.kind === "list") {
2846
+ if (!Array.isArray(value)) throw new TypeError(at + ": esperado array");
2847
+ value.forEach((item, index) => validateModel(schema.item, item, at + "[" + index + "]"));
2848
+ return;
2849
+ }
2850
+ if (value === null || typeof value !== "object" || Array.isArray(value)) throw new TypeError(at + ": esperado objeto");
2851
+ const fields = new Map(schema.properties.filter((p) => !p.readonly).map((p) => [p.name, p]));
2852
+ for (const [name, v] of Object.entries(value)) {
2853
+ if (v === void 0) continue;
2854
+ const p = fields.get(name);
2855
+ if (!p) throw new TypeError(at + "." + name + ": propriedade desconhecida ou somente leitura");
2856
+ if (v === void 0) continue;
2857
+ const field = at + "." + name;
2858
+ if (p.ref) {
2859
+ validateModel(p.ref, v, field);
2860
+ continue;
2861
+ }
2862
+ if (p.kind === "integer") {
2863
+ if (typeof v !== "number" || !Number.isSafeInteger(v) || v < p.min || v > p.max) throw new TypeError(field + ": inteiro fora do intervalo");
2864
+ } else if (p.kind === "boolean") {
2865
+ if (typeof v !== "boolean") throw new TypeError(field + ": esperado boolean");
2866
+ } else if (p.kind === "decimal") {
2867
+ if (typeof v !== "string" || v.length > 64 || !/^-?\d+(?:\.\d+)?$/.test(v) || p.scale !== void 0 && (v.split(".")[1]?.length ?? 0) > p.scale) throw new TypeError(field + ": esperado decimal em string" + (p.scale !== void 0 ? " de at\xE9 " + p.scale + " casas" : ""));
2868
+ } else if (p.kind === "datetime") {
2869
+ if (typeof v !== "string" || !/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d{1,3})?)?$/.test(v) || Number.isNaN(Date.parse(v + (v.length === 10 ? "T00:00:00Z" : "Z")))) throw new TypeError(field + ": esperado data/hora civil ISO (sem timezone)");
2870
+ const date = /* @__PURE__ */ new Date(v + (v.length === 10 ? "T00:00:00Z" : "Z"));
2871
+ if (date.toISOString().slice(0, 10) !== v.slice(0, 10)) throw new TypeError(field + ": data inv\xE1lida");
2872
+ } else if (typeof v !== "string") throw new TypeError(field + ": esperado string");
2873
+ }
2874
+ }
2875
+ function validateTNFe(value) {
2876
+ validateModel("TNFe", value);
2877
+ }
2878
+
2879
+ // src/index.ts
2880
+ function criarEmissor2(options) {
2881
+ const emissor = criarEmissor({ ...options, contrato: ACBR_CONTRACT, validaDocumento: validateTNFe });
2882
+ return { ...emissor, gerarXml(documento, operacao) {
2883
+ return emissor.gerarXml(documento, operacao);
2884
+ } };
2885
+ }
2886
+ export {
2887
+ ACBR_CONTRACT,
2888
+ CONTRACT_HASH,
2889
+ ErroAcbrNode,
2890
+ PROTOCOL_VERSION,
2891
+ SOURCE_REVISION,
2892
+ TACBrProcessoEmissao,
2893
+ TACBrTipoAmbiente,
2894
+ TACBrTipoEmissao,
2895
+ TACBrTipoImpressao,
2896
+ TAdiCollection,
2897
+ TAdiCollectionItem,
2898
+ TArmaCollection,
2899
+ TArmaCollectionItem,
2900
+ TAvulsa,
2901
+ TCIDE,
2902
+ TCOFINS,
2903
+ TCOFINSST,
2904
+ TCSOSNIcms,
2905
+ TCSTCofins,
2906
+ TCSTIBSCBS,
2907
+ TCSTIcms,
2908
+ TCSTPis,
2909
+ TCobr,
2910
+ TComb,
2911
+ TCompra,
2912
+ TCredPresIBSZFM,
2913
+ TCredPresumidoCollection,
2914
+ TCredPresumidoCollectionItem,
2915
+ TDFErefCollection,
2916
+ TDFErefCollectionItem,
2917
+ TDFeReferenciado,
2918
+ TDICollection,
2919
+ TDICollectionItem,
2920
+ TDeducCollection,
2921
+ TDeducCollectionItem,
2922
+ TDest,
2923
+ TDetCollection,
2924
+ TDetCollectionItem,
2925
+ TDupCollection,
2926
+ TDupCollectionItem,
2927
+ TEmit,
2928
+ TEnderDest,
2929
+ TEntrega,
2930
+ TExporta,
2931
+ TFat,
2932
+ TForDiaCollection,
2933
+ TForDiaCollectionItem,
2934
+ TIBSCBS,
2935
+ TIBSCBSTot,
2936
+ TICMS,
2937
+ TICMSComb,
2938
+ TICMSCons,
2939
+ TICMSInter,
2940
+ TICMSTot,
2941
+ TICMSUFDest,
2942
+ TII,
2943
+ TIPI,
2944
+ TISSQN,
2945
+ TISSQNtot,
2946
+ TISTot,
2947
+ TIde,
2948
+ TImposto,
2949
+ TIndSomaCOFINSST,
2950
+ TIndSomaPISST,
2951
+ TIndicadorEx,
2952
+ TInfAdic,
2953
+ TLacresCollection,
2954
+ TLacresCollectionItem,
2955
+ TMedCollection,
2956
+ TMedCollectionItem,
2957
+ TNFe,
2958
+ TNFrefCollection,
2959
+ TNFrefCollectionItem,
2960
+ TNVECollection,
2961
+ TNVECollectionItem,
2962
+ TOrigemMercadoria,
2963
+ TPIS,
2964
+ TPISST,
2965
+ TProcDFe,
2966
+ TProd,
2967
+ TRastroCollection,
2968
+ TRastroCollectionItem,
2969
+ TReboqueCollection,
2970
+ TReboqueCollectionItem,
2971
+ TRefECF,
2972
+ TRefNF,
2973
+ TRefNFP,
2974
+ TRegTribISSQN,
2975
+ TRetirada,
2976
+ TSignature,
2977
+ TTipoNFe,
2978
+ TTotal,
2979
+ TTpCredPresIBSZFM,
2980
+ TTransp,
2981
+ TTransporta,
2982
+ TVolCollection,
2983
+ TVolCollectionItem,
2984
+ Tagropecuario,
2985
+ TautXMLCollection,
2986
+ TautXMLCollectionItem,
2987
+ TcCredPres,
2988
+ Tcana,
2989
+ TdefensivoCollection,
2990
+ TdefensivoCollectionItem,
2991
+ TdetExportCollection,
2992
+ TdetExportCollectionItem,
2993
+ Tencerrante,
2994
+ TenderEmit,
2995
+ TgALCZFMCBS,
2996
+ TgAjusteCompet,
2997
+ TgCBS,
2998
+ TgCBSMonoAdRem,
2999
+ TgCBSMonoAdValorem,
3000
+ TgCBSValores,
3001
+ TgCompraGov,
3002
+ TgCredPresOper,
3003
+ TgDevTrib,
3004
+ TgDif,
3005
+ TgEstornoCred,
3006
+ TgIBS,
3007
+ TgIBSCBS,
3008
+ TgIBSCBSCredPres,
3009
+ TgIBSCBSMono,
3010
+ TgIBSMonoAdRem,
3011
+ TgIBSMonoAdValorem,
3012
+ TgIBSMunTot,
3013
+ TgIBSMunValores,
3014
+ TgIBSUFTot,
3015
+ TgIBSUFValores,
3016
+ TgIS,
3017
+ TgMono,
3018
+ TgMonoPadraoCBSAliq,
3019
+ TgMonoPadraoCBSQtde,
3020
+ TgMonoPadraoIBSAliq,
3021
+ TgMonoPadraoIBSQtde,
3022
+ TgMonoRetCBS,
3023
+ TgMonoRetIBS,
3024
+ TgMonoRetenCBSAliq,
3025
+ TgMonoRetenCBSQtde,
3026
+ TgMonoRetenIBSAliq,
3027
+ TgMonoRetenIBSQtde,
3028
+ TgPagAntecipado,
3029
+ TgRed,
3030
+ TgTransfCred,
3031
+ TgTribCompraGov,
3032
+ TgTribRegular,
3033
+ TgpBioDiferencaCBS,
3034
+ TgpBioDiferencaIBS,
3035
+ TguiaTransito,
3036
+ TindIEDest,
3037
+ TindImport,
3038
+ TindIncentivo,
3039
+ TindIntermed,
3040
+ TinfIntermed,
3041
+ TinfNFe,
3042
+ TinfNFeSupl,
3043
+ TinfPAA,
3044
+ TinfRespTec,
3045
+ TmotRedAdRem,
3046
+ TobsContCollection,
3047
+ TobsContCollectionItem,
3048
+ TobsFiscoCollection,
3049
+ TobsFiscoCollectionItem,
3050
+ TobsItem,
3051
+ TorigCombCollection,
3052
+ TorigCombCollectionItem,
3053
+ TpagCollection,
3054
+ TpagCollectionItem,
3055
+ TpcnBandeiraCartao,
3056
+ TpcnCRT,
3057
+ TpcnCondicaoVeiculo,
3058
+ TpcnConsumidorFinal,
3059
+ TpcnCstIpi,
3060
+ TpcnDestinoOperacao,
3061
+ TpcnDeterminacaoBaseIcms,
3062
+ TpcnDeterminacaoBaseIcmsST,
3063
+ TpcnECFModRef,
3064
+ TpcnFinalidadeNFe,
3065
+ TpcnFormaPagamento,
3066
+ TpcnISSQNcSitTrib,
3067
+ TpcnIndEscala,
3068
+ TpcnIndicadorPagamento,
3069
+ TpcnIndicadorProcesso,
3070
+ TpcnIndicadorTotal,
3071
+ TpcnModalidadeFrete,
3072
+ TpcnMotivoDesoneracaoICMS,
3073
+ TpcnPresencaComprador,
3074
+ TpcnTipoArma,
3075
+ TpcnTipoIntermedio,
3076
+ TpcnTipoOperacao,
3077
+ TpcnTipoViaTransp,
3078
+ TpcnindISS,
3079
+ TpcnindISSRet,
3080
+ TprocRefCollection,
3081
+ TprocRefCollectionItem,
3082
+ TrefDFePagAntCollection,
3083
+ TrefDFePagAntCollectionItem,
3084
+ TretTransp,
3085
+ TretTrib,
3086
+ TtpALCZFMCBS,
3087
+ TtpAto,
3088
+ TtpEnteGov,
3089
+ TtpGuia,
3090
+ TtpIntegra,
3091
+ TtpNFCredito,
3092
+ TtpNFDebito,
3093
+ TtpOperGov,
3094
+ TveicProd,
3095
+ TveicTransp,
3096
+ criarEmissor2 as criarEmissor,
3097
+ validateModel,
3098
+ validateTNFe
3099
+ };
3100
+ //# sourceMappingURL=index.js.map