Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions CTe.AppTeste/CTe.AppTeste.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -302,6 +302,9 @@
<SubType>Designer</SubType>
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
<None Include="schemas\cteSimp_v4.00.xsd">
<SubType>Designer</SubType>
</None>
<None Include="schemas\cteTiposBasico_v2.00.xsd">
<SubType>Designer</SubType>
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
Expand All @@ -326,6 +329,9 @@
<SubType>Designer</SubType>
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
<None Include="schemas\DFeTiposBasicos_v1.00.xsd">
<SubType>Designer</SubType>
</None>
<None Include="schemas\distChCTe_v3.00.xsd">
<SubType>Designer</SubType>
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
Expand Down Expand Up @@ -382,6 +388,9 @@
<SubType>Designer</SubType>
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
<None Include="schemas\evCancPrestDesacordo_v4.00.xsd">
<SubType>Designer</SubType>
</None>
<None Include="schemas\evCCeCTe_v2.00.xsd">
<SubType>Designer</SubType>
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
Expand Down Expand Up @@ -590,6 +599,9 @@
<SubType>Designer</SubType>
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
<None Include="schemas\procCTeSimp_v4.00.xsd">
<SubType>Designer</SubType>
</None>
<None Include="schemas\procCTe_v2.00.xsd">
<SubType>Designer</SubType>
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
Expand Down Expand Up @@ -690,6 +702,9 @@
<SubType>Designer</SubType>
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
<None Include="schemas\retCTeSimp_v4.00.xsd">
<SubType>Designer</SubType>
</None>
<None Include="schemas\retCTe_v3.00.xsd">
<SubType>Designer</SubType>
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
Expand Down
32 changes: 29 additions & 3 deletions CTe.AppTeste/CTeTesteModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@
using infTribFed = CTe.Classes.Informacoes.Impostos.infTribFed;
using OpenFileDialog = Microsoft.Win32.OpenFileDialog;
using rodoOS = CTe.Classes.Informacoes.infCTeNormal.infModals.rodoOS;
using CTe.Classes.Informacoes.Impostos.IBSCBS;

namespace CTe.AppTeste
{
Expand Down Expand Up @@ -569,6 +570,7 @@ private static void CarregarConfiguracoes(Configuracao config)
var configuracaoCertificado = new ConfiguracaoCertificado
{
Arquivo = config.CertificadoDigital.CaminhoArquivo,
TipoCertificado = TipoCertificado.A1Repositorio,
ManterDadosEmCache = config.CertificadoDigital.ManterEmCache,
Serial = config.CertificadoDigital.NumeroDeSerie
};
Expand Down Expand Up @@ -998,6 +1000,32 @@ public void CriarEnviarCTe2e3()
icmsSimplesNacional.CST = CST.ICMS90;
}

cteEletronico.infCte.imp.IBSCBS = new IBSCBS()
{
cClassTrib = cClassTrib.ct000001,
CST = CSTIBSCBS.cst000,
gIBSCBS = new gIBSCBS()
{
vBC = 0m,
vIBS = 0m,
gIBSUF = new gIBSUF()
{
pIBSUF = 0.1m,
vIBSUF = 0m,
},
gIBSMun = new gIBSMun()
{
pIBSMun = 0,
vIBSMun = 0,
},
gCBS = new gCBS()
{
pCBS = 0.09m,
vCBS = 0
},
}
};

#endregion

#region infCTeNorm
Expand Down Expand Up @@ -1061,9 +1089,7 @@ public void CriarEnviarCTe2e3()
cteEletronico.infCte.infCTeNorm.infModal.ContainerModal = rodoviario;
#endregion





var servicoRecepcao = new ServicoCTeRecepcao();


Expand Down
Loading