Skip to content

Commit 361f6af

Browse files
authored
Merge pull request #137 from adrbarros/master
Refatora atributos cClassTrib agora do CT-e
2 parents ee95bc7 + 791d86e commit 361f6af

9 files changed

Lines changed: 691 additions & 1120 deletions

File tree

CTe.AppTeste/CTeTesteModel.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1002,7 +1002,7 @@ public void CriarEnviarCTe2e3()
10021002

10031003
cteEletronico.infCte.imp.IBSCBS = new IBSCBS()
10041004
{
1005-
cClassTrib = cClassTrib.ct000001,
1005+
cClassTrib = "000001",
10061006
CST = CSTIBSCBS.cst000,
10071007
gIBSCBS = new gIBSCBS()
10081008
{
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!-- edited with XMLSpy v2008 (http://www.altova.com) by sas.softwares@procergs.rs.gov.br (PROCERGS) -->
3+
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://www.portalfiscal.inf.br/cte" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" targetNamespace="http://www.portalfiscal.inf.br/cte" elementFormDefault="qualified" attributeFormDefault="unqualified">
4+
<xs:include schemaLocation="eventoCTeTiposBasico_v4.00.xsd"/>
5+
<xs:element name="evCancPrestDesacordo">
6+
<xs:annotation>
7+
<xs:documentation>Schema XML de validação do evento Cancelamento Prestação do Serviço em Desacordo 610111</xs:documentation>
8+
</xs:annotation>
9+
<xs:complexType>
10+
<xs:sequence>
11+
<xs:element name="descEvento">
12+
<xs:annotation>
13+
<xs:documentation>Descrição do Evento - “Cancelamento Prestação do Serviço em Desacordo”</xs:documentation>
14+
</xs:annotation>
15+
<xs:simpleType>
16+
<xs:restriction base="xs:string">
17+
<xs:whiteSpace value="preserve"/>
18+
<xs:enumeration value="Cancelamento Prestação do Serviço em Desacordo"/>
19+
<xs:enumeration value="Cancelamento Prestacao do Servico em Desacordo"/>
20+
</xs:restriction>
21+
</xs:simpleType>
22+
</xs:element>
23+
<xs:element name="nProtEvPrestDes" type="TProt">
24+
<xs:annotation>
25+
<xs:documentation>Protocolo do evento que será cancelado</xs:documentation>
26+
<xs:documentation>Informar o número do protocolo de autorização do evento de prestação de serviço em desacordo que será cancelado </xs:documentation>
27+
</xs:annotation>
28+
</xs:element>
29+
</xs:sequence>
30+
</xs:complexType>
31+
</xs:element>
32+
</xs:schema>

0 commit comments

Comments
 (0)