public function tagrefECF($mod = '', $nECF = '', $nCOO = '')
{
$identificador = 'BA20 <refECF> - ';
$num = $this->zTagNFref();
$refECF = $this->dom->createElement("refECF");
$this->dom->addChild($refECF, "mod", $mod, true, $identificador . "Modelo do Documento Fiscal");
$this->dom->addChild($refECF, "nECF", $nECF, true, $identificador . "Número de ordem sequencial do ECF");
$this->dom->addChild($refECF, "nCOO", $nCOO, true, $identificador . "Número do Contador de Ordem de Operação - COO");
$this->dom->appChild($this->aNFref[$num - 1], $refECF);
return $refECF;
}