tagCOFINS() public méthode

tagCOFINS Grupo COFINS S01 pai M01 tag det/imposto/COFINS (opcional)
public tagCOFINS ( string $nItem = '', string $cst = '', string $vBC = '', string $pCOFINS = '', string $vCOFINS = '', string $qBCProd = '', string $vAliqProd = '' ) : DOMElement
$nItem string
$cst string
$vBC string
$pCOFINS string
$vCOFINS string
$qBCProd string
$vAliqProd string
Résultat DOMElement
Exemple #1
0
 /**
  * zLinhaSEntity
  * Cria a tag COFINS
  *
  * @param array $aCampos
  */
 protected function zLinhaSEntity($aCampos)
 {
     //Sxx|CST|vBC|pCOFINS|vCOFINS|qBCProd|vAliqProd|
     $this->make->tagCOFINS($this->nItem, $aCampos[1], $aCampos[2], $aCampos[3], $aCampos[4], $aCampos[5], $aCampos[6]);
 }
$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);
//ICMSTot
//$resp = $nfe->tagICMSTot($vBC, $vICMS, $vICMSDeson, $vBCST, $vST, $vProd, $vFrete, $vSeg, $vDesc, $vII, $vIPI, $vPIS, $vCOFINS, $vOutro, $vNF, $vTotTrib);
//ISSQNTot
//$resp = $nfe->tagISSQNTot($vServ, $vBC, $vISS, $vPIS, $vCOFINS, $dCompet, $vDeducao, $vOutro, $vDescIncond, $vDescCond, $vISSRet, $cRegTrib);
//retTrib
//$resp = $nfe->tagretTrib($vRetPIS, $vRetCOFINS, $vRetCSLL, $vBCIRRF, $vIRRF, $vBCRetPrev, $vRetPrev);
//total
$vBC = '19466.30';
$vICMS = '2335.96';
$vICMSDeson = '0.00';
$vBCST = '0.00';