Last active
August 29, 2019 16:13
-
-
Save BrunoDSouza/b8b26f9fc1bd27818a4e6cc953955172 to your computer and use it in GitHub Desktop.
Gerar danfs-e
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
NFSeProxy.ComponenteNFSe.ImpressaoModo = ModoImpressao.printNFSe; | |
NFSeProxy.ComponenteNFSe.Impressao_CriarDatasets(xml); | |
NFSeProxy.ComponenteNFSe.Impressao_Editar(); | |
NFSeProxy.ComponenteNFSe.Impressao_SetCampo("OutrasInformacoes", @"*** DOCUMENTO EMITIDO POR ME OU EPP OPTANTE PELO SIMPLES NACIONAL *** | |
O prestador do (s)serviço(s) possui regime especial de tributação: Microempresário e Empresa de Pequeno Porte(ME -EPP) | |
Valor aproximado dos tributos com base na Lei 12.741 / 2012 - R$ 368,26 - (18, 45 %) - Fonte: IBPT"); | |
NFSeProxy.ComponenteNFSe.Impressao_Salvar(); | |
if (!string.IsNullOrWhiteSpace(caminhoImagem)) | |
NFSeProxy.ComponenteNFSe.Impressao_Configurar("LogotipoEmitente", caminhoImagem); | |
NFSeProxy.ComponenteNFSe.Impressao_ExportarDocumentoParaPDFCustom(null, null, path); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment