Example #1
0
$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';
$nECF = '12243';
$nCOO = '111';
$resp = $nfe->tagrefECF($mod, $nECF, $nCOO);
//Dados do emitente
$CNPJ = '58716523000119';
$CPF = '';
$xNome = 'FIMATEC TEXTIL LTDA';
$xFant = 'FIMATEC';
$IE = '112006603110';
$IEST = '';
$IM = '95095870';
$CNAE = '0131380';
$CRT = '3';
$resp = $nfe->tagemit($CNPJ, $CPF, $xNome, $xFant, $IE, $IEST, $IM, $CNAE, $CRT);
//endereço do emitente
$xLgr = 'RUA DOS PATRIOTAS';
$nro = '897';
$xCpl = 'ARMAZEM 42';