UNPKG

node-nfe-nfce

Version:

Modulo que auxilia na geração de NFe e NFCe

45 lines (44 loc) 1.12 kB
import { type Signature } from './nfe'; import { type TNFeInfNFeIde, type TNFeInfNFeEmit, type TNFeInfNFeDest, type TNFeInfNFeDet, type TNFeInfNFeTotal, type TNFeInfNFeTransp, type TNFeInfNFePag, type TNFeInfNFeInfAdic, type TNFeInfNFeCobr } from './schema'; export interface NFe { '$': { versao: string; xmlns: string; }; infNFe: { ide: TNFeInfNFeIde; emit: TNFeInfNFeEmit; dest: TNFeInfNFeDest; det: TNFeInfNFeDet[]; total: TNFeInfNFeTotal; transp: TNFeInfNFeTransp; cobr?: TNFeInfNFeCobr; pag: TNFeInfNFePag; infAdic?: TNFeInfNFeInfAdic; }; infNFeSupl?: { qrCode: string; urlChave: string; }; Signature: Signature; } export interface ProtNFe { infProt: { tpAmb: string; verAplic: string; chNFe: string; dhRecbto: string; nProt: string; digVal: string; cStat: string; xMotivo: string; }; } export interface NFeProc { $: { versao: string; xmlns: string; }; NFe: NFe; protNFe: ProtNFe; }