This repository has been archived by the owner on Apr 23, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 99
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #27 from tfiliano/master
Implementações para NFe
- Loading branch information
Showing
58 changed files
with
8,190 additions
and
79 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -68,7 +68,7 @@ package-lock.json | |
yarn.lock | ||
|
||
# npm deploy folder | ||
lib | ||
# lib | ||
|
||
# python compiled | ||
**/**/*.pyc | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
'use strict'; | ||
|
||
module.exports = require('./lib'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
export { NFeProcessor } from './processor/nfeProcessor2'; | ||
export { RetornoProcessor } from './processor/retornoProcessor'; | ||
export { StatusServicoProcessor } from './processor/statusServicoProcessor'; | ||
export { EventoProcessor } from './processor/eventoProcessor'; | ||
export { InutilizaProcessor } from './processor/inutilizaProcessor'; | ||
export * from './interface'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
"use strict"; | ||
function __export(m) { | ||
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p]; | ||
} | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
var nfeProcessor2_1 = require("./processor/nfeProcessor2"); | ||
exports.NFeProcessor = nfeProcessor2_1.NFeProcessor; | ||
var retornoProcessor_1 = require("./processor/retornoProcessor"); | ||
exports.RetornoProcessor = retornoProcessor_1.RetornoProcessor; | ||
var statusServicoProcessor_1 = require("./processor/statusServicoProcessor"); | ||
exports.StatusServicoProcessor = statusServicoProcessor_1.StatusServicoProcessor; | ||
var eventoProcessor_1 = require("./processor/eventoProcessor"); | ||
exports.EventoProcessor = eventoProcessor_1.EventoProcessor; | ||
var inutilizaProcessor_1 = require("./processor/inutilizaProcessor"); | ||
exports.InutilizaProcessor = inutilizaProcessor_1.InutilizaProcessor; | ||
__export(require("./interface")); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
export interface Evento { | ||
id: string; | ||
tpAmbiente: string; | ||
CNPJ: string; | ||
cOrgao: string; | ||
chNFe: string; | ||
dhEvento: string; | ||
tpEvento: string; | ||
nSeqEvento: string; | ||
versaoEvento: string; | ||
detEvento: DetalheEvento; | ||
} | ||
export interface DetalheEvento { | ||
versao: string; | ||
descEvento: string; | ||
xCorrecao: string; | ||
xCondUso: string; | ||
nProt: string; | ||
xJust: string; | ||
cOrgaoAutor: number; | ||
tpAutor: string; | ||
verAplic: string; | ||
chNFeRef: string; | ||
dhEmi: Date; | ||
tpNF: string; | ||
IE: string; | ||
dest: EventoDestinatario; | ||
vNF: number; | ||
vICMS: number; | ||
vST: number; | ||
itemPedido: EventoItemPedido; | ||
idPedidoCancelado: string; | ||
} | ||
export interface EventoItemPedido { | ||
numItem: number; | ||
qtdeItem: number; | ||
} | ||
export interface EventoDestinatario { | ||
UF: string; | ||
CNPJCPF: string; | ||
idEstrangeiro: string; | ||
IE: string; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
export * from './evento'; | ||
export * from './nfe'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
"use strict"; | ||
function __export(m) { | ||
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p]; | ||
} | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
__export(require("./nfe")); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
export interface Inutilizar { | ||
ano: number; | ||
modelo: number; | ||
serie: number; | ||
numeroInicial: number; | ||
numeroFinal: number; | ||
xJustificativa: string; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); |
Oops, something went wrong.