NFePHP\NFe\MakeNFe::tagNVE PHP Метод

tagNVE() публичный Метод

tagNVE NVE NOMENCLATURA DE VALOR ADUANEIRO E ESTATÍSTICA Podem ser até 8 NVE's por item
public tagNVE ( string $nItem = '', string $texto = '' ) : DOMElement
$nItem string
$texto string
Результат DOMElement
    public function tagNVE($nItem = '', $texto = '')
    {
        if ($texto == '') {
            return '';
        }
        $nve = $this->dom->createElement("NVE", $texto);
        $this->aNVE[$nItem][] = $nve;
        return $nve;
    }

Usage Example

Пример #1
0
 /**
  * i05aEntity
  * Cria a tag NVE
  *
  * @param array $aCampos
  */
 protected function i05aEntity($aCampos)
 {
     //I05A|NVE
     $this->make->tagNVE($this->nItem, $aCampos[1]);
 }