$qCom = $prod['qCom']; $vUnCom = $prod['vUnCom']; $vProd = $prod['vProd']; $cEANTrib = $prod['cEANTrib']; $uTrib = $prod['uTrib']; $qTrib = $prod['qTrib']; $vUnTrib = $prod['vUnTrib']; $vFrete = $prod['vFrete']; $vSeg = $prod['vSeg']; $vDesc = $prod['vDesc']; $vOutro = $prod['vOutro']; $indTot = $prod['indTot']; $xPed = $prod['xPed']; $nItemPed = $prod['nItemPed']; $nFCI = $prod['nFCI']; $resp = $nfe->tagprod($nItem, $cProd, $cEAN, $xProd, $NCM, $NVE, $EXTIPI, $CFOP, $uCom, $qCom, $vUnCom, $vProd, $cEANTrib, $uTrib, $qTrib, $vUnTrib, $vFrete, $vSeg, $vDesc, $vOutro, $indTot, $xPed, $nItemPed, $nFCI); } //DI $nItem = '1'; $nDI = '234556786'; $dDI = '22/12/2013'; $xLocDesemb = 'SANTOS'; $UFDesemb = 'SP'; $dDesemb = '22/12/2013'; $tpViaTransp = '1'; $vAFRMM = '1.00'; $tpIntermedio = '0'; $CNPJ = ''; $UFTerceiro = ''; $cExportador = '111'; $resp = $nfe->tagDI($nItem, $nDI, $dDI, $xLocDesemb, $UFDesemb, $dDesemb, $tpViaTransp, $vAFRMM, $tpIntermedio, $CNPJ, $UFTerceiro, $cExportador);