public function tagrefNF($cUF = '', $aamm = '', $cnpj = '', $mod = '', $serie = '', $nNF = '')
{
$identificador = 'BA03 <refNF> - ';
$num = $this->zTagNFref();
$refNF = $this->dom->createElement("refNF");
$this->dom->addChild($refNF, "cUF", $cUF, true, $identificador . "Código da UF do emitente");
$this->dom->addChild($refNF, "AAMM", $aamm, true, $identificador . "Ano e Mês de emissão da NF-e");
$this->dom->addChild($refNF, "CNPJ", $cnpj, true, $identificador . "CNPJ do emitente");
$this->dom->addChild($refNF, "mod", $mod, true, $identificador . "Modelo do Documento Fiscal");
$this->dom->addChild($refNF, "serie", $serie, true, $identificador . "Série do Documento Fiscal");
$this->dom->addChild($refNF, "nNF", $nNF, true, $identificador . "Número do Documento Fiscal");
$this->dom->appChild($this->aNFref[$num - 1], $refNF);
return $refNF;
}