nfse-carioca 0.0.1 → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +1 -0
- data/Berksfile +6 -0
- data/Berksfile.lock +28 -0
- data/README.md +1 -0
- data/Rakefile +3 -7
- data/Vagrantfile +58 -0
- data/lib/nfse_carioca.rb +5 -12
- data/lib/nfse_carioca/cancelar_nfse.rb +28 -22
- data/lib/nfse_carioca/client.rb +31 -0
- data/lib/nfse_carioca/configuration.rb +49 -7
- data/lib/nfse_carioca/gerar_nfse.rb +14 -23
- data/lib/nfse_carioca/gerar_nfse_xml.rb +49 -103
- data/lib/nfse_carioca/response.rb +27 -0
- data/lib/nfse_carioca/version.rb +2 -2
- data/nfse_carioca.gemspec +4 -4
- data/spec/fixtures/vcr_cassettes/NFSeCarioca_CancelarNFSe/_execute_/when_NFSeCarioca_rps_number_does_not_exist/returns_error_message.yml +253 -0
- data/spec/fixtures/vcr_cassettes/NFSeCarioca_CancelarNFSe/_execute_/when_NFSeCarioca_rps_number_does_not_exist/returns_false.yml +253 -0
- data/spec/fixtures/vcr_cassettes/NFSeCarioca_CancelarNFSe/_execute_/when_NFSeCarioca_rps_number_exist/returns_false.yml +238 -0
- data/spec/fixtures/vcr_cassettes/NFSeCarioca_GerarNFSe/_call/when_NFSeCarioca_rps_number_already_exist/responds_with_error.yml +296 -0
- data/spec/fixtures/vcr_cassettes/NFSeCarioca_GerarNFSe/_call/when_NFSeCarioca_rps_number_already_exist/responds_with_message_error_E10_.yml +296 -0
- data/spec/fixtures/vcr_cassettes/NFSeCarioca_GerarNFSe/_call/when_NFSeCarioca_rps_number_does_not_exist_yet/generates_NFSeCarioca.yml +340 -0
- data/spec/lib/nfse_carioca/cancelar_nfse_spec.rb +13 -21
- data/spec/lib/nfse_carioca/configuration_spec.rb +26 -26
- data/spec/lib/nfse_carioca/gerar_nfse_spec.rb +31 -34
- data/spec/spec_helper.rb +7 -0
- metadata +40 -38
- data/CHANGELOG.md +0 -7
- data/CONTRIBUTING.md +0 -35
- data/lib/nfse_carioca/cancelar_nfse_xml.rb +0 -31
- data/lib/nfse_carioca/models/address.rb +0 -13
- data/lib/nfse_carioca/models/customer.rb +0 -15
- data/lib/nfse_carioca/models/invoice.rb +0 -14
- data/lib/nfse_carioca/models/provider.rb +0 -9
- data/lib/nfse_carioca/nota_carioca_client.rb +0 -31
- data/lib/nfse_carioca/nota_carioca_response.rb +0 -20
@@ -0,0 +1,238 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://homologacao.notacarioca.rio.gov.br/WSNacional/nfse.asmx?wsdl
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
Accept-Encoding:
|
11
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
12
|
+
Accept:
|
13
|
+
- "*/*"
|
14
|
+
User-Agent:
|
15
|
+
- Ruby
|
16
|
+
response:
|
17
|
+
status:
|
18
|
+
code: 200
|
19
|
+
message: OK
|
20
|
+
headers:
|
21
|
+
Cache-Control:
|
22
|
+
- private, max-age=0
|
23
|
+
Content-Type:
|
24
|
+
- text/xml; charset=utf-8
|
25
|
+
Vary:
|
26
|
+
- Accept-Encoding
|
27
|
+
Server:
|
28
|
+
- Microsoft-IIS/7.5
|
29
|
+
X-Aspnet-Version:
|
30
|
+
- 4.0.30319
|
31
|
+
X-Powered-By:
|
32
|
+
- ASP.NET
|
33
|
+
Date:
|
34
|
+
- Thu, 05 Feb 2015 05:20:43 GMT
|
35
|
+
Content-Length:
|
36
|
+
- '1338'
|
37
|
+
body:
|
38
|
+
encoding: ASCII-8BIT
|
39
|
+
string: "<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<wsdl:definitions xmlns:s=\"http://www.w3.org/2001/XMLSchema\"
|
40
|
+
xmlns:soap12=\"http://schemas.xmlsoap.org/wsdl/soap12/\" xmlns:http=\"http://schemas.xmlsoap.org/wsdl/http/\"
|
41
|
+
xmlns:mime=\"http://schemas.xmlsoap.org/wsdl/mime/\" xmlns:tns=\"http://notacarioca.rio.gov.br/\"
|
42
|
+
xmlns:soap=\"http://schemas.xmlsoap.org/wsdl/soap/\" xmlns:tm=\"http://microsoft.com/wsdl/mime/textMatching/\"
|
43
|
+
xmlns:soapenc=\"http://schemas.xmlsoap.org/soap/encoding/\" targetNamespace=\"http://notacarioca.rio.gov.br/\"
|
44
|
+
xmlns:wsdl=\"http://schemas.xmlsoap.org/wsdl/\">\r\n <wsdl:types>\r\n <s:schema
|
45
|
+
elementFormDefault=\"qualified\" targetNamespace=\"http://notacarioca.rio.gov.br/\">\r\n
|
46
|
+
\ <s:element name=\"ConsultarNfseRequest\">\r\n <s:complexType>\r\n
|
47
|
+
\ <s:sequence>\r\n <s:element minOccurs=\"0\" maxOccurs=\"1\"
|
48
|
+
name=\"inputXML\" type=\"s:string\" />\r\n </s:sequence>\r\n </s:complexType>\r\n
|
49
|
+
\ </s:element>\r\n <s:element name=\"ConsultarNfseResponse\">\r\n
|
50
|
+
\ <s:complexType>\r\n <s:sequence>\r\n <s:element
|
51
|
+
minOccurs=\"0\" maxOccurs=\"1\" name=\"outputXML\" type=\"s:string\" />\r\n
|
52
|
+
\ </s:sequence>\r\n </s:complexType>\r\n </s:element>\r\n
|
53
|
+
\ <s:element name=\"ConsultarNfsePorRpsRequest\">\r\n <s:complexType>\r\n
|
54
|
+
\ <s:sequence>\r\n <s:element minOccurs=\"0\" maxOccurs=\"1\"
|
55
|
+
name=\"inputXML\" type=\"s:string\" />\r\n </s:sequence>\r\n </s:complexType>\r\n
|
56
|
+
\ </s:element>\r\n <s:element name=\"ConsultarNfsePorRpsResponse\">\r\n
|
57
|
+
\ <s:complexType>\r\n <s:sequence>\r\n <s:element
|
58
|
+
minOccurs=\"0\" maxOccurs=\"1\" name=\"outputXML\" type=\"s:string\" />\r\n
|
59
|
+
\ </s:sequence>\r\n </s:complexType>\r\n </s:element>\r\n
|
60
|
+
\ <s:element name=\"ConsultarLoteRpsRequest\">\r\n <s:complexType>\r\n
|
61
|
+
\ <s:sequence>\r\n <s:element minOccurs=\"0\" maxOccurs=\"1\"
|
62
|
+
name=\"inputXML\" type=\"s:string\" />\r\n </s:sequence>\r\n </s:complexType>\r\n
|
63
|
+
\ </s:element>\r\n <s:element name=\"ConsultarLoteRpsResponse\">\r\n
|
64
|
+
\ <s:complexType>\r\n <s:sequence>\r\n <s:element
|
65
|
+
minOccurs=\"0\" maxOccurs=\"1\" name=\"outputXML\" type=\"s:string\" />\r\n
|
66
|
+
\ </s:sequence>\r\n </s:complexType>\r\n </s:element>\r\n
|
67
|
+
\ <s:element name=\"ConsultarSituacaoLoteRpsRequest\">\r\n <s:complexType>\r\n
|
68
|
+
\ <s:sequence>\r\n <s:element minOccurs=\"0\" maxOccurs=\"1\"
|
69
|
+
name=\"inputXML\" type=\"s:string\" />\r\n </s:sequence>\r\n </s:complexType>\r\n
|
70
|
+
\ </s:element>\r\n <s:element name=\"ConsultarSituacaoLoteRpsResponse\">\r\n
|
71
|
+
\ <s:complexType>\r\n <s:sequence>\r\n <s:element
|
72
|
+
minOccurs=\"0\" maxOccurs=\"1\" name=\"outputXML\" type=\"s:string\" />\r\n
|
73
|
+
\ </s:sequence>\r\n </s:complexType>\r\n </s:element>\r\n
|
74
|
+
\ <s:element name=\"RecepcionarLoteRpsRequest\">\r\n <s:complexType>\r\n
|
75
|
+
\ <s:sequence>\r\n <s:element minOccurs=\"0\" maxOccurs=\"1\"
|
76
|
+
name=\"inputXML\" type=\"s:string\" />\r\n </s:sequence>\r\n </s:complexType>\r\n
|
77
|
+
\ </s:element>\r\n <s:element name=\"RecepcionarLoteRpsResponse\">\r\n
|
78
|
+
\ <s:complexType>\r\n <s:sequence>\r\n <s:element
|
79
|
+
minOccurs=\"0\" maxOccurs=\"1\" name=\"outputXML\" type=\"s:string\" />\r\n
|
80
|
+
\ </s:sequence>\r\n </s:complexType>\r\n </s:element>\r\n
|
81
|
+
\ <s:element name=\"CancelarNfseRequest\">\r\n <s:complexType>\r\n
|
82
|
+
\ <s:sequence>\r\n <s:element minOccurs=\"0\" maxOccurs=\"1\"
|
83
|
+
name=\"inputXML\" type=\"s:string\" />\r\n </s:sequence>\r\n </s:complexType>\r\n
|
84
|
+
\ </s:element>\r\n <s:element name=\"CancelarNfseResponse\">\r\n
|
85
|
+
\ <s:complexType>\r\n <s:sequence>\r\n <s:element
|
86
|
+
minOccurs=\"0\" maxOccurs=\"1\" name=\"outputXML\" type=\"s:string\" />\r\n
|
87
|
+
\ </s:sequence>\r\n </s:complexType>\r\n </s:element>\r\n
|
88
|
+
\ <s:element name=\"GerarNfseRequest\">\r\n <s:complexType>\r\n
|
89
|
+
\ <s:sequence>\r\n <s:element minOccurs=\"0\" maxOccurs=\"1\"
|
90
|
+
name=\"inputXML\" type=\"s:string\" />\r\n </s:sequence>\r\n </s:complexType>\r\n
|
91
|
+
\ </s:element>\r\n <s:element name=\"GerarNfseResponse\">\r\n <s:complexType>\r\n
|
92
|
+
\ <s:sequence>\r\n <s:element minOccurs=\"0\" maxOccurs=\"1\"
|
93
|
+
name=\"outputXML\" type=\"s:string\" />\r\n </s:sequence>\r\n </s:complexType>\r\n
|
94
|
+
\ </s:element>\r\n </s:schema>\r\n </wsdl:types>\r\n <wsdl:message
|
95
|
+
name=\"ConsultarNfseSoapIn\">\r\n <wsdl:part name=\"parameters\" element=\"tns:ConsultarNfseRequest\"
|
96
|
+
/>\r\n </wsdl:message>\r\n <wsdl:message name=\"ConsultarNfseSoapOut\">\r\n
|
97
|
+
\ <wsdl:part name=\"parameters\" element=\"tns:ConsultarNfseResponse\" />\r\n
|
98
|
+
\ </wsdl:message>\r\n <wsdl:message name=\"ConsultarNfsePorRpsSoapIn\">\r\n
|
99
|
+
\ <wsdl:part name=\"parameters\" element=\"tns:ConsultarNfsePorRpsRequest\"
|
100
|
+
/>\r\n </wsdl:message>\r\n <wsdl:message name=\"ConsultarNfsePorRpsSoapOut\">\r\n
|
101
|
+
\ <wsdl:part name=\"parameters\" element=\"tns:ConsultarNfsePorRpsResponse\"
|
102
|
+
/>\r\n </wsdl:message>\r\n <wsdl:message name=\"ConsultarLoteRpsSoapIn\">\r\n
|
103
|
+
\ <wsdl:part name=\"parameters\" element=\"tns:ConsultarLoteRpsRequest\"
|
104
|
+
/>\r\n </wsdl:message>\r\n <wsdl:message name=\"ConsultarLoteRpsSoapOut\">\r\n
|
105
|
+
\ <wsdl:part name=\"parameters\" element=\"tns:ConsultarLoteRpsResponse\"
|
106
|
+
/>\r\n </wsdl:message>\r\n <wsdl:message name=\"ConsultarSituacaoLoteRpsSoapIn\">\r\n
|
107
|
+
\ <wsdl:part name=\"parameters\" element=\"tns:ConsultarSituacaoLoteRpsRequest\"
|
108
|
+
/>\r\n </wsdl:message>\r\n <wsdl:message name=\"ConsultarSituacaoLoteRpsSoapOut\">\r\n
|
109
|
+
\ <wsdl:part name=\"parameters\" element=\"tns:ConsultarSituacaoLoteRpsResponse\"
|
110
|
+
/>\r\n </wsdl:message>\r\n <wsdl:message name=\"RecepcionarLoteRpsSoapIn\">\r\n
|
111
|
+
\ <wsdl:part name=\"parameters\" element=\"tns:RecepcionarLoteRpsRequest\"
|
112
|
+
/>\r\n </wsdl:message>\r\n <wsdl:message name=\"RecepcionarLoteRpsSoapOut\">\r\n
|
113
|
+
\ <wsdl:part name=\"parameters\" element=\"tns:RecepcionarLoteRpsResponse\"
|
114
|
+
/>\r\n </wsdl:message>\r\n <wsdl:message name=\"CancelarNfseSoapIn\">\r\n
|
115
|
+
\ <wsdl:part name=\"parameters\" element=\"tns:CancelarNfseRequest\" />\r\n
|
116
|
+
\ </wsdl:message>\r\n <wsdl:message name=\"CancelarNfseSoapOut\">\r\n <wsdl:part
|
117
|
+
name=\"parameters\" element=\"tns:CancelarNfseResponse\" />\r\n </wsdl:message>\r\n
|
118
|
+
\ <wsdl:message name=\"GerarNfseSoapIn\">\r\n <wsdl:part name=\"parameters\"
|
119
|
+
element=\"tns:GerarNfseRequest\" />\r\n </wsdl:message>\r\n <wsdl:message
|
120
|
+
name=\"GerarNfseSoapOut\">\r\n <wsdl:part name=\"parameters\" element=\"tns:GerarNfseResponse\"
|
121
|
+
/>\r\n </wsdl:message>\r\n <wsdl:portType name=\"NfseSoap\">\r\n <wsdl:operation
|
122
|
+
name=\"ConsultarNfse\">\r\n <wsdl:input message=\"tns:ConsultarNfseSoapIn\"
|
123
|
+
/>\r\n <wsdl:output message=\"tns:ConsultarNfseSoapOut\" />\r\n </wsdl:operation>\r\n
|
124
|
+
\ <wsdl:operation name=\"ConsultarNfsePorRps\">\r\n <wsdl:input message=\"tns:ConsultarNfsePorRpsSoapIn\"
|
125
|
+
/>\r\n <wsdl:output message=\"tns:ConsultarNfsePorRpsSoapOut\" />\r\n
|
126
|
+
\ </wsdl:operation>\r\n <wsdl:operation name=\"ConsultarLoteRps\">\r\n
|
127
|
+
\ <wsdl:input message=\"tns:ConsultarLoteRpsSoapIn\" />\r\n <wsdl:output
|
128
|
+
message=\"tns:ConsultarLoteRpsSoapOut\" />\r\n </wsdl:operation>\r\n <wsdl:operation
|
129
|
+
name=\"ConsultarSituacaoLoteRps\">\r\n <wsdl:input message=\"tns:ConsultarSituacaoLoteRpsSoapIn\"
|
130
|
+
/>\r\n <wsdl:output message=\"tns:ConsultarSituacaoLoteRpsSoapOut\" />\r\n
|
131
|
+
\ </wsdl:operation>\r\n <wsdl:operation name=\"RecepcionarLoteRps\">\r\n
|
132
|
+
\ <wsdl:input message=\"tns:RecepcionarLoteRpsSoapIn\" />\r\n <wsdl:output
|
133
|
+
message=\"tns:RecepcionarLoteRpsSoapOut\" />\r\n </wsdl:operation>\r\n
|
134
|
+
\ <wsdl:operation name=\"CancelarNfse\">\r\n <wsdl:input message=\"tns:CancelarNfseSoapIn\"
|
135
|
+
/>\r\n <wsdl:output message=\"tns:CancelarNfseSoapOut\" />\r\n </wsdl:operation>\r\n
|
136
|
+
\ <wsdl:operation name=\"GerarNfse\">\r\n <wsdl:input message=\"tns:GerarNfseSoapIn\"
|
137
|
+
/>\r\n <wsdl:output message=\"tns:GerarNfseSoapOut\" />\r\n </wsdl:operation>\r\n
|
138
|
+
\ </wsdl:portType>\r\n <wsdl:binding name=\"NfseSoap\" type=\"tns:NfseSoap\">\r\n
|
139
|
+
\ <soap:binding transport=\"http://schemas.xmlsoap.org/soap/http\" />\r\n
|
140
|
+
\ <wsdl:operation name=\"ConsultarNfse\">\r\n <soap:operation soapAction=\"http://notacarioca.rio.gov.br/ConsultarNfse\"
|
141
|
+
style=\"document\" />\r\n <wsdl:input>\r\n <soap:body use=\"literal\"
|
142
|
+
/>\r\n </wsdl:input>\r\n <wsdl:output>\r\n <soap:body use=\"literal\"
|
143
|
+
/>\r\n </wsdl:output>\r\n </wsdl:operation>\r\n <wsdl:operation
|
144
|
+
name=\"ConsultarNfsePorRps\">\r\n <soap:operation soapAction=\"http://notacarioca.rio.gov.br/ConsultarNfsePorRps\"
|
145
|
+
style=\"document\" />\r\n <wsdl:input>\r\n <soap:body use=\"literal\"
|
146
|
+
/>\r\n </wsdl:input>\r\n <wsdl:output>\r\n <soap:body use=\"literal\"
|
147
|
+
/>\r\n </wsdl:output>\r\n </wsdl:operation>\r\n <wsdl:operation
|
148
|
+
name=\"ConsultarLoteRps\">\r\n <soap:operation soapAction=\"http://notacarioca.rio.gov.br/ConsultarLoteRps\"
|
149
|
+
style=\"document\" />\r\n <wsdl:input>\r\n <soap:body use=\"literal\"
|
150
|
+
/>\r\n </wsdl:input>\r\n <wsdl:output>\r\n <soap:body use=\"literal\"
|
151
|
+
/>\r\n </wsdl:output>\r\n </wsdl:operation>\r\n <wsdl:operation
|
152
|
+
name=\"ConsultarSituacaoLoteRps\">\r\n <soap:operation soapAction=\"http://notacarioca.rio.gov.br/ConsultarSituacaoLoteRps\"
|
153
|
+
style=\"document\" />\r\n <wsdl:input>\r\n <soap:body use=\"literal\"
|
154
|
+
/>\r\n </wsdl:input>\r\n <wsdl:output>\r\n <soap:body use=\"literal\"
|
155
|
+
/>\r\n </wsdl:output>\r\n </wsdl:operation>\r\n <wsdl:operation
|
156
|
+
name=\"RecepcionarLoteRps\">\r\n <soap:operation soapAction=\"http://notacarioca.rio.gov.br/RecepcionarLoteRps\"
|
157
|
+
style=\"document\" />\r\n <wsdl:input>\r\n <soap:body use=\"literal\"
|
158
|
+
/>\r\n </wsdl:input>\r\n <wsdl:output>\r\n <soap:body use=\"literal\"
|
159
|
+
/>\r\n </wsdl:output>\r\n </wsdl:operation>\r\n <wsdl:operation
|
160
|
+
name=\"CancelarNfse\">\r\n <soap:operation soapAction=\"http://notacarioca.rio.gov.br/CancelarNfse\"
|
161
|
+
style=\"document\" />\r\n <wsdl:input>\r\n <soap:body use=\"literal\"
|
162
|
+
/>\r\n </wsdl:input>\r\n <wsdl:output>\r\n <soap:body use=\"literal\"
|
163
|
+
/>\r\n </wsdl:output>\r\n </wsdl:operation>\r\n <wsdl:operation
|
164
|
+
name=\"GerarNfse\">\r\n <soap:operation soapAction=\"http://notacarioca.rio.gov.br/GerarNfse\"
|
165
|
+
style=\"document\" />\r\n <wsdl:input>\r\n <soap:body use=\"literal\"
|
166
|
+
/>\r\n </wsdl:input>\r\n <wsdl:output>\r\n <soap:body use=\"literal\"
|
167
|
+
/>\r\n </wsdl:output>\r\n </wsdl:operation>\r\n </wsdl:binding>\r\n
|
168
|
+
\ <wsdl:service name=\"Nfse\">\r\n <wsdl:port name=\"NfseSoap\" binding=\"tns:NfseSoap\">\r\n
|
169
|
+
\ <soap:address location=\"https://homologacao.notacarioca.rio.gov.br/WSNacional/nfse.asmx\"
|
170
|
+
/>\r\n </wsdl:port>\r\n </wsdl:service>\r\n</wsdl:definitions>"
|
171
|
+
http_version:
|
172
|
+
recorded_at: Thu, 05 Feb 2015 05:20:42 GMT
|
173
|
+
- request:
|
174
|
+
method: post
|
175
|
+
uri: https://homologacao.notacarioca.rio.gov.br/WSNacional/nfse.asmx
|
176
|
+
body:
|
177
|
+
encoding: UTF-8
|
178
|
+
string: |-
|
179
|
+
<?xml version="1.0" encoding="UTF-8"?><soap:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://notacarioca.rio.gov.br/" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><CancelarNfseRequest><inputXML><?xml version="1.0" encoding="UTF-8"?>
|
180
|
+
<CancelarNfseEnvio xmlns="http://www.abrasf.org.br/ABRASF/arquivos/nfse.xsd">
|
181
|
+
<Pedido xmlns="http://www.abrasf.org.br/ABRASF/arquivos/nfse.xsd">
|
182
|
+
<InfPedidoCancelamento Id="Cancelamento_NF13">
|
183
|
+
<IdentificacaoNfse>
|
184
|
+
<Numero>13</Numero>
|
185
|
+
<Cnpj>12390095000186</Cnpj>
|
186
|
+
<InscricaoMunicipal>04807995</InscricaoMunicipal>
|
187
|
+
<CodigoMunicipio>3304557</CodigoMunicipio>
|
188
|
+
</IdentificacaoNfse>
|
189
|
+
<CodigoCancelamento>0</CodigoCancelamento>
|
190
|
+
</InfPedidoCancelamento>
|
191
|
+
</Pedido>
|
192
|
+
</CancelarNfseEnvio>
|
193
|
+
</inputXML></CancelarNfseRequest></soap:Body></soap:Envelope>
|
194
|
+
headers:
|
195
|
+
Soapaction:
|
196
|
+
- '"http://notacarioca.rio.gov.br/CancelarNfse"'
|
197
|
+
Content-Type:
|
198
|
+
- text/xml;charset=UTF-8
|
199
|
+
Content-Length:
|
200
|
+
- '1087'
|
201
|
+
Accept-Encoding:
|
202
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
203
|
+
Accept:
|
204
|
+
- "*/*"
|
205
|
+
User-Agent:
|
206
|
+
- Ruby
|
207
|
+
response:
|
208
|
+
status:
|
209
|
+
code: 200
|
210
|
+
message: OK
|
211
|
+
headers:
|
212
|
+
Cache-Control:
|
213
|
+
- private, max-age=0
|
214
|
+
Content-Type:
|
215
|
+
- text/xml; charset=utf-8
|
216
|
+
Vary:
|
217
|
+
- Accept-Encoding
|
218
|
+
Server:
|
219
|
+
- Microsoft-IIS/7.5
|
220
|
+
X-Aspnet-Version:
|
221
|
+
- 4.0.30319
|
222
|
+
X-Powered-By:
|
223
|
+
- ASP.NET
|
224
|
+
Date:
|
225
|
+
- Thu, 05 Feb 2015 05:20:44 GMT
|
226
|
+
Content-Length:
|
227
|
+
- '587'
|
228
|
+
body:
|
229
|
+
encoding: ASCII-8BIT
|
230
|
+
string: <?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
|
231
|
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soap:Body><CancelarNfseResponse
|
232
|
+
xmlns="http://notacarioca.rio.gov.br/"><outputXML><CancelarNfseResposta
|
233
|
+
xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
234
|
+
xmlns="http://www.abrasf.org.br/ABRASF/arquivos/nfse.xsd"><Cancelamento><Confirmacao
|
235
|
+
Id="35571"><Pedido><InfPedidoCancelamento Id="35571"><IdentificacaoNfse><Numero>13</Numero><Cnpj>12390095000186</Cnpj><InscricaoMunicipal>4807995</InscricaoMunicipal><CodigoMunicipio>3304557</CodigoMunicipio></IdentificacaoNfse><CodigoCancelamento>9</CodigoCancelamento></InfPedidoCancelamento></Pedido><DataHoraCancelamento>2015-02-05T03:20:42</DataHoraCancelamento></Confirmacao></Cancelamento></CancelarNfseResposta></outputXML></CancelarNfseResponse></soap:Body></soap:Envelope>
|
236
|
+
http_version:
|
237
|
+
recorded_at: Thu, 05 Feb 2015 05:20:43 GMT
|
238
|
+
recorded_with: VCR 2.9.3
|
@@ -0,0 +1,296 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://homologacao.notacarioca.rio.gov.br/WSNacional/nfse.asmx?wsdl
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
Accept-Encoding:
|
11
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
12
|
+
Accept:
|
13
|
+
- "*/*"
|
14
|
+
User-Agent:
|
15
|
+
- Ruby
|
16
|
+
response:
|
17
|
+
status:
|
18
|
+
code: 200
|
19
|
+
message: OK
|
20
|
+
headers:
|
21
|
+
Cache-Control:
|
22
|
+
- private, max-age=0
|
23
|
+
Content-Type:
|
24
|
+
- text/xml; charset=utf-8
|
25
|
+
Vary:
|
26
|
+
- Accept-Encoding
|
27
|
+
Server:
|
28
|
+
- Microsoft-IIS/7.5
|
29
|
+
X-Aspnet-Version:
|
30
|
+
- 4.0.30319
|
31
|
+
X-Powered-By:
|
32
|
+
- ASP.NET
|
33
|
+
Date:
|
34
|
+
- Thu, 05 Feb 2015 05:18:58 GMT
|
35
|
+
Content-Length:
|
36
|
+
- '1338'
|
37
|
+
body:
|
38
|
+
encoding: ASCII-8BIT
|
39
|
+
string: "<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<wsdl:definitions xmlns:s=\"http://www.w3.org/2001/XMLSchema\"
|
40
|
+
xmlns:soap12=\"http://schemas.xmlsoap.org/wsdl/soap12/\" xmlns:http=\"http://schemas.xmlsoap.org/wsdl/http/\"
|
41
|
+
xmlns:mime=\"http://schemas.xmlsoap.org/wsdl/mime/\" xmlns:tns=\"http://notacarioca.rio.gov.br/\"
|
42
|
+
xmlns:soap=\"http://schemas.xmlsoap.org/wsdl/soap/\" xmlns:tm=\"http://microsoft.com/wsdl/mime/textMatching/\"
|
43
|
+
xmlns:soapenc=\"http://schemas.xmlsoap.org/soap/encoding/\" targetNamespace=\"http://notacarioca.rio.gov.br/\"
|
44
|
+
xmlns:wsdl=\"http://schemas.xmlsoap.org/wsdl/\">\r\n <wsdl:types>\r\n <s:schema
|
45
|
+
elementFormDefault=\"qualified\" targetNamespace=\"http://notacarioca.rio.gov.br/\">\r\n
|
46
|
+
\ <s:element name=\"ConsultarNfseRequest\">\r\n <s:complexType>\r\n
|
47
|
+
\ <s:sequence>\r\n <s:element minOccurs=\"0\" maxOccurs=\"1\"
|
48
|
+
name=\"inputXML\" type=\"s:string\" />\r\n </s:sequence>\r\n </s:complexType>\r\n
|
49
|
+
\ </s:element>\r\n <s:element name=\"ConsultarNfseResponse\">\r\n
|
50
|
+
\ <s:complexType>\r\n <s:sequence>\r\n <s:element
|
51
|
+
minOccurs=\"0\" maxOccurs=\"1\" name=\"outputXML\" type=\"s:string\" />\r\n
|
52
|
+
\ </s:sequence>\r\n </s:complexType>\r\n </s:element>\r\n
|
53
|
+
\ <s:element name=\"ConsultarNfsePorRpsRequest\">\r\n <s:complexType>\r\n
|
54
|
+
\ <s:sequence>\r\n <s:element minOccurs=\"0\" maxOccurs=\"1\"
|
55
|
+
name=\"inputXML\" type=\"s:string\" />\r\n </s:sequence>\r\n </s:complexType>\r\n
|
56
|
+
\ </s:element>\r\n <s:element name=\"ConsultarNfsePorRpsResponse\">\r\n
|
57
|
+
\ <s:complexType>\r\n <s:sequence>\r\n <s:element
|
58
|
+
minOccurs=\"0\" maxOccurs=\"1\" name=\"outputXML\" type=\"s:string\" />\r\n
|
59
|
+
\ </s:sequence>\r\n </s:complexType>\r\n </s:element>\r\n
|
60
|
+
\ <s:element name=\"ConsultarLoteRpsRequest\">\r\n <s:complexType>\r\n
|
61
|
+
\ <s:sequence>\r\n <s:element minOccurs=\"0\" maxOccurs=\"1\"
|
62
|
+
name=\"inputXML\" type=\"s:string\" />\r\n </s:sequence>\r\n </s:complexType>\r\n
|
63
|
+
\ </s:element>\r\n <s:element name=\"ConsultarLoteRpsResponse\">\r\n
|
64
|
+
\ <s:complexType>\r\n <s:sequence>\r\n <s:element
|
65
|
+
minOccurs=\"0\" maxOccurs=\"1\" name=\"outputXML\" type=\"s:string\" />\r\n
|
66
|
+
\ </s:sequence>\r\n </s:complexType>\r\n </s:element>\r\n
|
67
|
+
\ <s:element name=\"ConsultarSituacaoLoteRpsRequest\">\r\n <s:complexType>\r\n
|
68
|
+
\ <s:sequence>\r\n <s:element minOccurs=\"0\" maxOccurs=\"1\"
|
69
|
+
name=\"inputXML\" type=\"s:string\" />\r\n </s:sequence>\r\n </s:complexType>\r\n
|
70
|
+
\ </s:element>\r\n <s:element name=\"ConsultarSituacaoLoteRpsResponse\">\r\n
|
71
|
+
\ <s:complexType>\r\n <s:sequence>\r\n <s:element
|
72
|
+
minOccurs=\"0\" maxOccurs=\"1\" name=\"outputXML\" type=\"s:string\" />\r\n
|
73
|
+
\ </s:sequence>\r\n </s:complexType>\r\n </s:element>\r\n
|
74
|
+
\ <s:element name=\"RecepcionarLoteRpsRequest\">\r\n <s:complexType>\r\n
|
75
|
+
\ <s:sequence>\r\n <s:element minOccurs=\"0\" maxOccurs=\"1\"
|
76
|
+
name=\"inputXML\" type=\"s:string\" />\r\n </s:sequence>\r\n </s:complexType>\r\n
|
77
|
+
\ </s:element>\r\n <s:element name=\"RecepcionarLoteRpsResponse\">\r\n
|
78
|
+
\ <s:complexType>\r\n <s:sequence>\r\n <s:element
|
79
|
+
minOccurs=\"0\" maxOccurs=\"1\" name=\"outputXML\" type=\"s:string\" />\r\n
|
80
|
+
\ </s:sequence>\r\n </s:complexType>\r\n </s:element>\r\n
|
81
|
+
\ <s:element name=\"CancelarNfseRequest\">\r\n <s:complexType>\r\n
|
82
|
+
\ <s:sequence>\r\n <s:element minOccurs=\"0\" maxOccurs=\"1\"
|
83
|
+
name=\"inputXML\" type=\"s:string\" />\r\n </s:sequence>\r\n </s:complexType>\r\n
|
84
|
+
\ </s:element>\r\n <s:element name=\"CancelarNfseResponse\">\r\n
|
85
|
+
\ <s:complexType>\r\n <s:sequence>\r\n <s:element
|
86
|
+
minOccurs=\"0\" maxOccurs=\"1\" name=\"outputXML\" type=\"s:string\" />\r\n
|
87
|
+
\ </s:sequence>\r\n </s:complexType>\r\n </s:element>\r\n
|
88
|
+
\ <s:element name=\"GerarNfseRequest\">\r\n <s:complexType>\r\n
|
89
|
+
\ <s:sequence>\r\n <s:element minOccurs=\"0\" maxOccurs=\"1\"
|
90
|
+
name=\"inputXML\" type=\"s:string\" />\r\n </s:sequence>\r\n </s:complexType>\r\n
|
91
|
+
\ </s:element>\r\n <s:element name=\"GerarNfseResponse\">\r\n <s:complexType>\r\n
|
92
|
+
\ <s:sequence>\r\n <s:element minOccurs=\"0\" maxOccurs=\"1\"
|
93
|
+
name=\"outputXML\" type=\"s:string\" />\r\n </s:sequence>\r\n </s:complexType>\r\n
|
94
|
+
\ </s:element>\r\n </s:schema>\r\n </wsdl:types>\r\n <wsdl:message
|
95
|
+
name=\"ConsultarNfseSoapIn\">\r\n <wsdl:part name=\"parameters\" element=\"tns:ConsultarNfseRequest\"
|
96
|
+
/>\r\n </wsdl:message>\r\n <wsdl:message name=\"ConsultarNfseSoapOut\">\r\n
|
97
|
+
\ <wsdl:part name=\"parameters\" element=\"tns:ConsultarNfseResponse\" />\r\n
|
98
|
+
\ </wsdl:message>\r\n <wsdl:message name=\"ConsultarNfsePorRpsSoapIn\">\r\n
|
99
|
+
\ <wsdl:part name=\"parameters\" element=\"tns:ConsultarNfsePorRpsRequest\"
|
100
|
+
/>\r\n </wsdl:message>\r\n <wsdl:message name=\"ConsultarNfsePorRpsSoapOut\">\r\n
|
101
|
+
\ <wsdl:part name=\"parameters\" element=\"tns:ConsultarNfsePorRpsResponse\"
|
102
|
+
/>\r\n </wsdl:message>\r\n <wsdl:message name=\"ConsultarLoteRpsSoapIn\">\r\n
|
103
|
+
\ <wsdl:part name=\"parameters\" element=\"tns:ConsultarLoteRpsRequest\"
|
104
|
+
/>\r\n </wsdl:message>\r\n <wsdl:message name=\"ConsultarLoteRpsSoapOut\">\r\n
|
105
|
+
\ <wsdl:part name=\"parameters\" element=\"tns:ConsultarLoteRpsResponse\"
|
106
|
+
/>\r\n </wsdl:message>\r\n <wsdl:message name=\"ConsultarSituacaoLoteRpsSoapIn\">\r\n
|
107
|
+
\ <wsdl:part name=\"parameters\" element=\"tns:ConsultarSituacaoLoteRpsRequest\"
|
108
|
+
/>\r\n </wsdl:message>\r\n <wsdl:message name=\"ConsultarSituacaoLoteRpsSoapOut\">\r\n
|
109
|
+
\ <wsdl:part name=\"parameters\" element=\"tns:ConsultarSituacaoLoteRpsResponse\"
|
110
|
+
/>\r\n </wsdl:message>\r\n <wsdl:message name=\"RecepcionarLoteRpsSoapIn\">\r\n
|
111
|
+
\ <wsdl:part name=\"parameters\" element=\"tns:RecepcionarLoteRpsRequest\"
|
112
|
+
/>\r\n </wsdl:message>\r\n <wsdl:message name=\"RecepcionarLoteRpsSoapOut\">\r\n
|
113
|
+
\ <wsdl:part name=\"parameters\" element=\"tns:RecepcionarLoteRpsResponse\"
|
114
|
+
/>\r\n </wsdl:message>\r\n <wsdl:message name=\"CancelarNfseSoapIn\">\r\n
|
115
|
+
\ <wsdl:part name=\"parameters\" element=\"tns:CancelarNfseRequest\" />\r\n
|
116
|
+
\ </wsdl:message>\r\n <wsdl:message name=\"CancelarNfseSoapOut\">\r\n <wsdl:part
|
117
|
+
name=\"parameters\" element=\"tns:CancelarNfseResponse\" />\r\n </wsdl:message>\r\n
|
118
|
+
\ <wsdl:message name=\"GerarNfseSoapIn\">\r\n <wsdl:part name=\"parameters\"
|
119
|
+
element=\"tns:GerarNfseRequest\" />\r\n </wsdl:message>\r\n <wsdl:message
|
120
|
+
name=\"GerarNfseSoapOut\">\r\n <wsdl:part name=\"parameters\" element=\"tns:GerarNfseResponse\"
|
121
|
+
/>\r\n </wsdl:message>\r\n <wsdl:portType name=\"NfseSoap\">\r\n <wsdl:operation
|
122
|
+
name=\"ConsultarNfse\">\r\n <wsdl:input message=\"tns:ConsultarNfseSoapIn\"
|
123
|
+
/>\r\n <wsdl:output message=\"tns:ConsultarNfseSoapOut\" />\r\n </wsdl:operation>\r\n
|
124
|
+
\ <wsdl:operation name=\"ConsultarNfsePorRps\">\r\n <wsdl:input message=\"tns:ConsultarNfsePorRpsSoapIn\"
|
125
|
+
/>\r\n <wsdl:output message=\"tns:ConsultarNfsePorRpsSoapOut\" />\r\n
|
126
|
+
\ </wsdl:operation>\r\n <wsdl:operation name=\"ConsultarLoteRps\">\r\n
|
127
|
+
\ <wsdl:input message=\"tns:ConsultarLoteRpsSoapIn\" />\r\n <wsdl:output
|
128
|
+
message=\"tns:ConsultarLoteRpsSoapOut\" />\r\n </wsdl:operation>\r\n <wsdl:operation
|
129
|
+
name=\"ConsultarSituacaoLoteRps\">\r\n <wsdl:input message=\"tns:ConsultarSituacaoLoteRpsSoapIn\"
|
130
|
+
/>\r\n <wsdl:output message=\"tns:ConsultarSituacaoLoteRpsSoapOut\" />\r\n
|
131
|
+
\ </wsdl:operation>\r\n <wsdl:operation name=\"RecepcionarLoteRps\">\r\n
|
132
|
+
\ <wsdl:input message=\"tns:RecepcionarLoteRpsSoapIn\" />\r\n <wsdl:output
|
133
|
+
message=\"tns:RecepcionarLoteRpsSoapOut\" />\r\n </wsdl:operation>\r\n
|
134
|
+
\ <wsdl:operation name=\"CancelarNfse\">\r\n <wsdl:input message=\"tns:CancelarNfseSoapIn\"
|
135
|
+
/>\r\n <wsdl:output message=\"tns:CancelarNfseSoapOut\" />\r\n </wsdl:operation>\r\n
|
136
|
+
\ <wsdl:operation name=\"GerarNfse\">\r\n <wsdl:input message=\"tns:GerarNfseSoapIn\"
|
137
|
+
/>\r\n <wsdl:output message=\"tns:GerarNfseSoapOut\" />\r\n </wsdl:operation>\r\n
|
138
|
+
\ </wsdl:portType>\r\n <wsdl:binding name=\"NfseSoap\" type=\"tns:NfseSoap\">\r\n
|
139
|
+
\ <soap:binding transport=\"http://schemas.xmlsoap.org/soap/http\" />\r\n
|
140
|
+
\ <wsdl:operation name=\"ConsultarNfse\">\r\n <soap:operation soapAction=\"http://notacarioca.rio.gov.br/ConsultarNfse\"
|
141
|
+
style=\"document\" />\r\n <wsdl:input>\r\n <soap:body use=\"literal\"
|
142
|
+
/>\r\n </wsdl:input>\r\n <wsdl:output>\r\n <soap:body use=\"literal\"
|
143
|
+
/>\r\n </wsdl:output>\r\n </wsdl:operation>\r\n <wsdl:operation
|
144
|
+
name=\"ConsultarNfsePorRps\">\r\n <soap:operation soapAction=\"http://notacarioca.rio.gov.br/ConsultarNfsePorRps\"
|
145
|
+
style=\"document\" />\r\n <wsdl:input>\r\n <soap:body use=\"literal\"
|
146
|
+
/>\r\n </wsdl:input>\r\n <wsdl:output>\r\n <soap:body use=\"literal\"
|
147
|
+
/>\r\n </wsdl:output>\r\n </wsdl:operation>\r\n <wsdl:operation
|
148
|
+
name=\"ConsultarLoteRps\">\r\n <soap:operation soapAction=\"http://notacarioca.rio.gov.br/ConsultarLoteRps\"
|
149
|
+
style=\"document\" />\r\n <wsdl:input>\r\n <soap:body use=\"literal\"
|
150
|
+
/>\r\n </wsdl:input>\r\n <wsdl:output>\r\n <soap:body use=\"literal\"
|
151
|
+
/>\r\n </wsdl:output>\r\n </wsdl:operation>\r\n <wsdl:operation
|
152
|
+
name=\"ConsultarSituacaoLoteRps\">\r\n <soap:operation soapAction=\"http://notacarioca.rio.gov.br/ConsultarSituacaoLoteRps\"
|
153
|
+
style=\"document\" />\r\n <wsdl:input>\r\n <soap:body use=\"literal\"
|
154
|
+
/>\r\n </wsdl:input>\r\n <wsdl:output>\r\n <soap:body use=\"literal\"
|
155
|
+
/>\r\n </wsdl:output>\r\n </wsdl:operation>\r\n <wsdl:operation
|
156
|
+
name=\"RecepcionarLoteRps\">\r\n <soap:operation soapAction=\"http://notacarioca.rio.gov.br/RecepcionarLoteRps\"
|
157
|
+
style=\"document\" />\r\n <wsdl:input>\r\n <soap:body use=\"literal\"
|
158
|
+
/>\r\n </wsdl:input>\r\n <wsdl:output>\r\n <soap:body use=\"literal\"
|
159
|
+
/>\r\n </wsdl:output>\r\n </wsdl:operation>\r\n <wsdl:operation
|
160
|
+
name=\"CancelarNfse\">\r\n <soap:operation soapAction=\"http://notacarioca.rio.gov.br/CancelarNfse\"
|
161
|
+
style=\"document\" />\r\n <wsdl:input>\r\n <soap:body use=\"literal\"
|
162
|
+
/>\r\n </wsdl:input>\r\n <wsdl:output>\r\n <soap:body use=\"literal\"
|
163
|
+
/>\r\n </wsdl:output>\r\n </wsdl:operation>\r\n <wsdl:operation
|
164
|
+
name=\"GerarNfse\">\r\n <soap:operation soapAction=\"http://notacarioca.rio.gov.br/GerarNfse\"
|
165
|
+
style=\"document\" />\r\n <wsdl:input>\r\n <soap:body use=\"literal\"
|
166
|
+
/>\r\n </wsdl:input>\r\n <wsdl:output>\r\n <soap:body use=\"literal\"
|
167
|
+
/>\r\n </wsdl:output>\r\n </wsdl:operation>\r\n </wsdl:binding>\r\n
|
168
|
+
\ <wsdl:service name=\"Nfse\">\r\n <wsdl:port name=\"NfseSoap\" binding=\"tns:NfseSoap\">\r\n
|
169
|
+
\ <soap:address location=\"https://homologacao.notacarioca.rio.gov.br/WSNacional/nfse.asmx\"
|
170
|
+
/>\r\n </wsdl:port>\r\n </wsdl:service>\r\n</wsdl:definitions>"
|
171
|
+
http_version:
|
172
|
+
recorded_at: Thu, 05 Feb 2015 05:18:57 GMT
|
173
|
+
- request:
|
174
|
+
method: post
|
175
|
+
uri: https://homologacao.notacarioca.rio.gov.br/WSNacional/nfse.asmx
|
176
|
+
body:
|
177
|
+
encoding: UTF-8
|
178
|
+
string: |-
|
179
|
+
<?xml version="1.0" encoding="UTF-8"?><soap:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://notacarioca.rio.gov.br/" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><GerarNfseRequest><inputXML><?xml version="1.0" encoding="UTF-8"?>
|
180
|
+
<GerarNfseEnvio xmlns="http://notacarioca.rio.gov.br/WSNacional/XSD/1/nfse_pcrj_v01.xsd">
|
181
|
+
<Rps>
|
182
|
+
<InfRps xmlns="http://www.abrasf.org.br/ABRASF/arquivos/nfse.xsd" Id="1030">
|
183
|
+
<IdentificacaoRps>
|
184
|
+
<Numero>1030</Numero>
|
185
|
+
<Serie>A</Serie>
|
186
|
+
<Tipo>1</Tipo>
|
187
|
+
</IdentificacaoRps>
|
188
|
+
<DataEmissao>2015-02-05T03:18:57</DataEmissao>
|
189
|
+
<NaturezaOperacao>1</NaturezaOperacao>
|
190
|
+
<OptanteSimplesNacional>1</OptanteSimplesNacional>
|
191
|
+
<IncentivadorCultural>2</IncentivadorCultural>
|
192
|
+
<Status>1</Status>
|
193
|
+
<Servico>
|
194
|
+
<Valores>
|
195
|
+
<ValorServicos>12.0</ValorServicos>
|
196
|
+
<ValorPis>0</ValorPis>
|
197
|
+
<ValorCofins>0</ValorCofins>
|
198
|
+
<ValorInss>0</ValorInss>
|
199
|
+
<ValorIr>0</ValorIr>
|
200
|
+
<ValorCsll>0</ValorCsll>
|
201
|
+
<IssRetido>2</IssRetido>
|
202
|
+
<ValorIss>0</ValorIss>
|
203
|
+
<Aliquota>0</Aliquota>
|
204
|
+
</Valores>
|
205
|
+
<ItemListaServico>0105</ItemListaServico>
|
206
|
+
<CodigoTributacaoMunicipio>010501</CodigoTributacaoMunicipio>
|
207
|
+
<Discriminacao>Venda do Serviço XYZ.</Discriminacao>
|
208
|
+
<CodigoMunicipio>3304557</CodigoMunicipio>
|
209
|
+
</Servico>
|
210
|
+
<Prestador>
|
211
|
+
<Cnpj>25331671000166</Cnpj>
|
212
|
+
<InscricaoMunicipal>04807995</InscricaoMunicipal>
|
213
|
+
</Prestador>
|
214
|
+
<Tomador>
|
215
|
+
<IdentificacaoTomador>
|
216
|
+
<CpfCnpj>
|
217
|
+
<Cnpj>98924674000187</Cnpj>
|
218
|
+
</CpfCnpj>
|
219
|
+
</IdentificacaoTomador>
|
220
|
+
<RazaoSocial>XPTO Tecnologia Ltda.</RazaoSocial>
|
221
|
+
<Endereco>
|
222
|
+
<Endereco>Rua qualquer nome</Endereco>
|
223
|
+
<Numero>33</Numero>
|
224
|
+
<Complemento>Sala 1</Complemento>
|
225
|
+
<Bairro>Seu bairro</Bairro>
|
226
|
+
<CodigoMunicipio>3550308</CodigoMunicipio>
|
227
|
+
<Uf>SP</Uf>
|
228
|
+
<Cep>22255777</Cep>
|
229
|
+
</Endereco>
|
230
|
+
</Tomador>
|
231
|
+
</InfRps>
|
232
|
+
</Rps>
|
233
|
+
</GerarNfseEnvio>
|
234
|
+
</inputXML></GerarNfseRequest></soap:Body></soap:Envelope>
|
235
|
+
headers:
|
236
|
+
Soapaction:
|
237
|
+
- '"http://notacarioca.rio.gov.br/GerarNfse"'
|
238
|
+
Content-Type:
|
239
|
+
- text/xml;charset=UTF-8
|
240
|
+
Content-Length:
|
241
|
+
- '2829'
|
242
|
+
Accept-Encoding:
|
243
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
244
|
+
Accept:
|
245
|
+
- "*/*"
|
246
|
+
User-Agent:
|
247
|
+
- Ruby
|
248
|
+
response:
|
249
|
+
status:
|
250
|
+
code: 200
|
251
|
+
message: OK
|
252
|
+
headers:
|
253
|
+
Cache-Control:
|
254
|
+
- private, max-age=0
|
255
|
+
Content-Type:
|
256
|
+
- text/xml; charset=utf-8
|
257
|
+
Vary:
|
258
|
+
- Accept-Encoding
|
259
|
+
Server:
|
260
|
+
- Microsoft-IIS/7.5
|
261
|
+
X-Aspnet-Version:
|
262
|
+
- 4.0.30319
|
263
|
+
X-Powered-By:
|
264
|
+
- ASP.NET
|
265
|
+
Date:
|
266
|
+
- Thu, 05 Feb 2015 05:18:58 GMT
|
267
|
+
Content-Length:
|
268
|
+
- '575'
|
269
|
+
body:
|
270
|
+
encoding: ASCII-8BIT
|
271
|
+
string: !binary |-
|
272
|
+
PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz48c29hcDpF
|
273
|
+
bnZlbG9wZSB4bWxuczpzb2FwPSJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9y
|
274
|
+
Zy9zb2FwL2VudmVsb3BlLyIgeG1sbnM6eHNpPSJodHRwOi8vd3d3LnczLm9y
|
275
|
+
Zy8yMDAxL1hNTFNjaGVtYS1pbnN0YW5jZSIgeG1sbnM6eHNkPSJodHRwOi8v
|
276
|
+
d3d3LnczLm9yZy8yMDAxL1hNTFNjaGVtYSI+PHNvYXA6Qm9keT48R2VyYXJO
|
277
|
+
ZnNlUmVzcG9uc2UgeG1sbnM9Imh0dHA6Ly9ub3RhY2FyaW9jYS5yaW8uZ292
|
278
|
+
LmJyLyI+PG91dHB1dFhNTD4mbHQ7R2VyYXJOZnNlUmVzcG9zdGEgeG1sbnM6
|
279
|
+
eHNkPSJodHRwOi8vd3d3LnczLm9yZy8yMDAxL1hNTFNjaGVtYSIgeG1sbnM6
|
280
|
+
eHNpPSJodHRwOi8vd3d3LnczLm9yZy8yMDAxL1hNTFNjaGVtYS1pbnN0YW5j
|
281
|
+
ZSIgeG1sbnM9Imh0dHA6Ly9ub3RhY2FyaW9jYS5yaW8uZ292LmJyL1dTTmFj
|
282
|
+
aW9uYWwvWFNELzEvbmZzZV9wY3JqX3YwMS54c2QiJmd0OyZsdDtMaXN0YU1l
|
283
|
+
bnNhZ2VtUmV0b3JubyB4bWxucz0iaHR0cDovL3d3dy5hYnJhc2Yub3JnLmJy
|
284
|
+
L0FCUkFTRi9hcnF1aXZvcy9uZnNlLnhzZCImZ3Q7Jmx0O01lbnNhZ2VtUmV0
|
285
|
+
b3JubyZndDsmbHQ7Q29kaWdvJmd0O0UxMCZsdDsvQ29kaWdvJmd0OyZsdDtN
|
286
|
+
ZW5zYWdlbSZndDtSUFMgasOhIGluZm9ybWFkby4mbHQ7L01lbnNhZ2VtJmd0
|
287
|
+
OyZsdDtDb3JyZWNhbyZndDtQYXJhIGVzc2EgSW5zY3Jpw6fDo28gTXVuaWNp
|
288
|
+
cGFsL0NOUEogasOhIGV4aXN0ZSB1bSBSUFMgaW5mb3JtYWRvIGNvbSBvIG1l
|
289
|
+
c21vIG7Dum1lcm8sIHPDqXJpZSBlIHRpcG8uJmx0Oy9Db3JyZWNhbyZndDsm
|
290
|
+
bHQ7L01lbnNhZ2VtUmV0b3JubyZndDsmbHQ7L0xpc3RhTWVuc2FnZW1SZXRv
|
291
|
+
cm5vJmd0OyZsdDsvR2VyYXJOZnNlUmVzcG9zdGEmZ3Q7PC9vdXRwdXRYTUw+
|
292
|
+
PC9HZXJhck5mc2VSZXNwb25zZT48L3NvYXA6Qm9keT48L3NvYXA6RW52ZWxv
|
293
|
+
cGU+
|
294
|
+
http_version:
|
295
|
+
recorded_at: Thu, 05 Feb 2015 05:18:57 GMT
|
296
|
+
recorded_with: VCR 2.9.3
|