Exemplo n.º 1
0
$dhCont = '';
//entrada em contingência AAAA-MM-DDThh:mm:ssTZD
$xJust = '';
//Justificativa da entrada em contingência
$resp = $nfe->tagide($cUF, $cNF, $natOp, $indPag, $mod, $serie, $nNF, $dhEmi, $dhSaiEnt, $tpNF, $idDest, $cMunFG, $tpImp, $tpEmis, $cDV, $tpAmb, $finNFe, $indFinal, $indPres, $procEmi, $verProc, $dhCont, $xJust);
//refNFe NFe referenciada
$refNFe = '12345678901234567890123456789012345678901234';
$resp = $nfe->tagrefNFe($refNFe);
//refNF Nota Fiscal 1A referenciada
$cUF = '35';
$AAMM = '1312';
$CNPJ = '12345678901234';
$mod = '1A';
$serie = '0';
$nNF = '1234';
$resp = $nfe->tagrefNF($cUF, $AAMM, $CNPJ, $mod, $serie, $nNF);
//NFPref Nota Fiscal Produtor Rural referenciada
$cUF = '35';
$AAMM = '1312';
$CNPJ = '12345678901234';
$CPF = '123456789';
$IE = '123456';
$mod = '1';
$serie = '0';
$nNF = '1234';
$resp = $nfe->tagrefNFP($cUF, $AAMM, $CNPJ, $CPF, $IE, $mod, $serie, $nNF);
//CTeref CTe referenciada
$refCTe = '12345678901234567890123456789012345678901234';
$resp = $nfe->tagrefCTe($refCTe);
//ECFref ECF referenciada
$mod = '90';