tagPIS() public method

tagPIS Grupo PIS Q01 pai M01 tag NFe/infNFe/det[]/imposto/PIS
public tagPIS ( type $nItem = '', string $cst = '', string $vBC = '', string $pPIS = '', string $vPIS = '', string $qBCProd = '', string $vAliqProd = '' ) : DOMElement
$nItem type
$cst string
$vBC string
$pPIS string
$vPIS string
$qBCProd string
$vAliqProd string
return DOMElement
コード例 #1
0
ファイル: ConvertNFe.php プロジェクト: nfephp-org/nfephp
 /**
  * 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]);
 }
コード例 #2
0
$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);