Exemplo n.º 1
0
$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';
$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 = '';