Italo,
O problema da mascara está no trecho de código abaixo, o property foi apenas porque eu não sabia se poderia tratar diretamente no método sem afetar os demais:
procedure TACBrNFSeXProvider.SalvarXmlNfse(aNota: NotaFiscal);
var
aPath, NomeArq: string;
aConfig: TConfiguracoesNFSe;
begin
aNota.Confirmada := True;
aNota.NomeArq := '';
if FAOwner.Configuracoes.Arquivos.Salvar then
begin
aConfig := TConfiguracoesNFSe(FAOwner.Configuracoes);
aPath := aConfig.Arquivos.GetPathNFSe;
if aConfig.Arquivos.NomeLongoNFSe then
NomeArq := GerarNomeNFSe(aConfig.WebServices.UFCodigo,
aNota.NFSe.DataEmissao,
aNota.NFSe.Prestador.IdentificacaoPrestador.Cnpj,
StrToInt64Def(aNota.NFSe.Numero, 0),aConfig.Arquivos.ApenasNumerosCNPJ) + '-nfse.xml'
else
NomeArq := aNota.NFSe.Numero +
aNota.NFSe.IdentificacaoRps.Serie +
'-nfse.xml';
aNota.NomeArq := NomeArq;
TACBrNFSeX(FAOwner).Gravar(NomeArq, aNota.XML, aPath);
end;
end;