/** * zLinhaQEntity * Cria a tag PIS * * @param array $aCampos */ protected function zLinhaQEntity($aCampos) { //Qxx|CST|vBC|pPIS|vPIS|qBCProd|vAliqProd| $this->make->tagPIS($this->nItem, $aCampos[1], $aCampos[2], $aCampos[3], $aCampos[4], $aCampos[5], $aCampos[6]); }
$cEnq = '999'; $vBC = ''; $pIPI = ''; $qUnid = ''; $vUnid = ''; $vIPI = ''; $resp = $nfe->tagIPI($nItem, $cst, $clEnq, $cnpjProd, $cSelo, $qSelo, $cEnq, $vBC, $pIPI, $qUnid, $vUnid, $vIPI); //PIS $nItem = 1; $cst = '01'; $vBC = '19466.30'; $pPIS = '1.65'; $vPIS = '321.19'; $qBCProd = ''; $vAliqProd = ''; $resp = $nfe->tagPIS($nItem, $cst, $vBC, $pPIS, $vPIS, $qBCProd, $vAliqProd); //PISST //$resp = $nfe->tagPISST($nItem, $vBC, $pPIS, $qBCProd, $vAliqProd, $vPIS); //COFINS $nItem = 1; $cst = '01'; $vBC = '19466.30'; $pCOFINS = '7.60'; $vCOFINS = '1479.44'; $qBCProd = ''; $vAliqProd = ''; $resp = $nfe->tagCOFINS($nItem, $cst, $vBC, $pCOFINS, $vCOFINS, $qBCProd, $vAliqProd); //COFINSST //$resp = $nfe->tagCOFINSST($nItem, $vBC, $pCOFINS, $qBCProd, $vAliqProd, $vCOFINS); //II //$resp = $nfe->tagII($nItem, $vBC, $vDespAdu, $vII, $vIOF);