public function tagrefNFP($cUF = '', $aamm = '', $cnpj = '', $cpf = '', $numIE = '', $mod = '', $serie = '', $nNF = '')
{
$identificador = 'BA10 <refNFP> - ';
$num = $this->zTagNFref();
$refNFP = $this->dom->createElement("refNFP");
$this->dom->addChild($refNFP, "cUF", $cUF, true, $identificador . "Código da UF do emitente");
$this->dom->addChild($refNFP, "AAMM", $aamm, true, $identificador . "AAMM da emissão da NF de produtor");
$this->dom->addChild($refNFP, "CNPJ", $cnpj, false, $identificador . "Informar o CNPJ do emitente da NF de produtor");
$this->dom->addChild($refNFP, "CPF", $cpf, false, $identificador . "Informar o CPF do emitente da NF de produtor");
$this->dom->addChild($refNFP, "IE", $numIE, true, $identificador . "Informar a IE do emitente da NF de Produtor ou o literal 'ISENTO'");
$this->dom->addChild($refNFP, "mod", $mod, true, $identificador . "Modelo do Documento Fiscal");
$this->dom->addChild($refNFP, "serie", $serie, true, $identificador . "Série do Documento Fiscal");
$this->dom->addChild($refNFP, "nNF", $nNF, true, $identificador . "Número do Documento Fiscal");
$this->dom->appChild($this->aNFref[$num - 1], $refNFP);
return $refNFP;
}