Skip to content

Commit 2338c57

Browse files
Merge branch 'master' of github.com:nfephp-org/sped-mdfe
2 parents b4331fd + de84222 commit 2338c57

32 files changed

+1835
-1
lines changed

examples/.gitkeep

Lines changed: 0 additions & 1 deletion
This file was deleted.
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
<consMDFeNaoEnc versao="string" xmlns:mdfe="http://www.portalfiscal.inf.br/mdfe">
2+
<tpAmb>2</tpAmb>
3+
<xServ>string</xServ>
4+
<!--You have a CHOICE of the next 2 items at this level-->
5+
<CNPJ>string</CNPJ>
6+
<CPF>string</CPF>
7+
</consMDFeNaoEnc>
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
<consReciMDFe versao="string" xmlns:mdfe="http://www.portalfiscal.inf.br/mdfe">
2+
<tpAmb>2</tpAmb>
3+
<nRec>string</nRec>
4+
</consReciMDFe>
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<consSitMDFe versao="string" xmlns:mdfe="http://www.portalfiscal.inf.br/mdfe">
2+
<tpAmb>2</tpAmb>
3+
<xServ>string</xServ>
4+
<chMDFe>string</chMDFe>
5+
</consSitMDFe>
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
<consStatServMDFe versao="string" xmlns:mdfe="http://www.portalfiscal.inf.br/mdfe">
2+
<tpAmb>2</tpAmb>
3+
<xServ>string</xServ>
4+
</consStatServMDFe>
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
<distMDFe versao="string" xmlns:mdfe="http://www.portalfiscal.inf.br/mdfe">
2+
<tpAmb>2</tpAmb>
3+
<verAplic>string</verAplic>
4+
<indDFe>8</indDFe>
5+
<indCompRet>0</indCompRet>
6+
<ultNSU>string</ultNSU>
7+
</distMDFe>
Lines changed: 337 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,337 @@
1+
<enviMDFe versao="string" xmlns:mdfe="http://www.portalfiscal.inf.br/mdfe" xmlns:xd="http://www.w3.org/2000/09/xmldsig#">
2+
<idLote>string</idLote>
3+
<MDFe>
4+
<infMDFe versao="string" Id="string">
5+
<ide>
6+
<cUF>51</cUF>
7+
<tpAmb>1</tpAmb>
8+
<tpEmit>2</tpEmit>
9+
<!--Optional:-->
10+
<tpTransp>1</tpTransp>
11+
<mod>58</mod>
12+
<serie>string</serie>
13+
<nMDF>string</nMDF>
14+
<cMDF>string</cMDF>
15+
<cDV>string</cDV>
16+
<modal>1</modal>
17+
<dhEmi>string</dhEmi>
18+
<tpEmis>3</tpEmis>
19+
<procEmi>0</procEmi>
20+
<verProc>string</verProc>
21+
<UFIni>MG</UFIni>
22+
<UFFim>RO</UFFim>
23+
<!--1 to 50 repetitions:-->
24+
<infMunCarrega>
25+
<cMunCarrega>string</cMunCarrega>
26+
<xMunCarrega>string</xMunCarrega>
27+
</infMunCarrega>
28+
<!--0 to 25 repetitions:-->
29+
<infPercurso>
30+
<UFPer>CE</UFPer>
31+
</infPercurso>
32+
<!--Optional:-->
33+
<dhIniViagem>string</dhIniViagem>
34+
<!--Optional:-->
35+
<indCanalVerde>1</indCanalVerde>
36+
<!--Optional:-->
37+
<indCarregaPosterior>1</indCarregaPosterior>
38+
</ide>
39+
<emit>
40+
<!--You have a CHOICE of the next 2 items at this level-->
41+
<CNPJ>string</CNPJ>
42+
<CPF>string</CPF>
43+
<!--Optional:-->
44+
<IE>string</IE>
45+
<xNome>string</xNome>
46+
<!--Optional:-->
47+
<xFant>string</xFant>
48+
<enderEmit>
49+
<xLgr>string</xLgr>
50+
<nro>string</nro>
51+
<!--Optional:-->
52+
<xCpl>string</xCpl>
53+
<xBairro>string</xBairro>
54+
<cMun>string</cMun>
55+
<xMun>string</xMun>
56+
<!--Optional:-->
57+
<CEP>string</CEP>
58+
<UF>RN</UF>
59+
<!--Optional:-->
60+
<fone>string</fone>
61+
<!--Optional:-->
62+
<email>string</email>
63+
</enderEmit>
64+
</emit>
65+
<infModal versaoModal="string">
66+
<!--You may enter ANY elements at this point-->
67+
<AnyElement/>
68+
</infModal>
69+
<infDoc>
70+
<!--1 to 1000 repetitions:-->
71+
<infMunDescarga>
72+
<cMunDescarga>string</cMunDescarga>
73+
<xMunDescarga>string</xMunDescarga>
74+
<!--0 to 20000 repetitions:-->
75+
<infCTe>
76+
<chCTe>string</chCTe>
77+
<!--Optional:-->
78+
<SegCodBarra>string</SegCodBarra>
79+
<!--Optional:-->
80+
<indReentrega>1</indReentrega>
81+
<!--Zero or more repetitions:-->
82+
<infUnidTransp>
83+
<tpUnidTransp>3</tpUnidTransp>
84+
<idUnidTransp>string</idUnidTransp>
85+
<!--Zero or more repetitions:-->
86+
<lacUnidTransp>
87+
<nLacre>string</nLacre>
88+
</lacUnidTransp>
89+
<!--Zero or more repetitions:-->
90+
<infUnidCarga>
91+
<tpUnidCarga>4</tpUnidCarga>
92+
<idUnidCarga>string</idUnidCarga>
93+
<!--Zero or more repetitions:-->
94+
<lacUnidCarga>
95+
<nLacre>string</nLacre>
96+
</lacUnidCarga>
97+
<!--Optional:-->
98+
<qtdRat>string</qtdRat>
99+
</infUnidCarga>
100+
<!--Optional:-->
101+
<qtdRat>string</qtdRat>
102+
</infUnidTransp>
103+
<!--Zero or more repetitions:-->
104+
<peri>
105+
<nONU>string</nONU>
106+
<!--Optional:-->
107+
<xNomeAE>string</xNomeAE>
108+
<!--Optional:-->
109+
<xClaRisco>string</xClaRisco>
110+
<!--Optional:-->
111+
<grEmb>string</grEmb>
112+
<qTotProd>string</qTotProd>
113+
<!--Optional:-->
114+
<qVolTipo>string</qVolTipo>
115+
</peri>
116+
<!--Optional:-->
117+
<infEntregaParcial>
118+
<qtdTotal>string</qtdTotal>
119+
<qtdParcial>string</qtdParcial>
120+
</infEntregaParcial>
121+
<indPrestacaoParcial>1</indPrestacaoParcial>
122+
<!--1 or more repetitions:-->
123+
<infNFePrestParcial>
124+
<chNFe>string</chNFe>
125+
</infNFePrestParcial>
126+
</infCTe>
127+
<!--0 to 20000 repetitions:-->
128+
<infNFe>
129+
<chNFe>string</chNFe>
130+
<!--Optional:-->
131+
<SegCodBarra>string</SegCodBarra>
132+
<!--Optional:-->
133+
<indReentrega>1</indReentrega>
134+
<!--Zero or more repetitions:-->
135+
<infUnidTransp>
136+
<tpUnidTransp>6</tpUnidTransp>
137+
<idUnidTransp>string</idUnidTransp>
138+
<!--Zero or more repetitions:-->
139+
<lacUnidTransp>
140+
<nLacre>string</nLacre>
141+
</lacUnidTransp>
142+
<!--Zero or more repetitions:-->
143+
<infUnidCarga>
144+
<tpUnidCarga>2</tpUnidCarga>
145+
<idUnidCarga>string</idUnidCarga>
146+
<!--Zero or more repetitions:-->
147+
<lacUnidCarga>
148+
<nLacre>string</nLacre>
149+
</lacUnidCarga>
150+
<!--Optional:-->
151+
<qtdRat>string</qtdRat>
152+
</infUnidCarga>
153+
<!--Optional:-->
154+
<qtdRat>string</qtdRat>
155+
</infUnidTransp>
156+
<!--Zero or more repetitions:-->
157+
<peri>
158+
<nONU>string</nONU>
159+
<!--Optional:-->
160+
<xNomeAE>string</xNomeAE>
161+
<!--Optional:-->
162+
<xClaRisco>string</xClaRisco>
163+
<!--Optional:-->
164+
<grEmb>string</grEmb>
165+
<qTotProd>string</qTotProd>
166+
<!--Optional:-->
167+
<qVolTipo>string</qVolTipo>
168+
</peri>
169+
</infNFe>
170+
<!--0 to 20000 repetitions:-->
171+
<infMDFeTransp>
172+
<chMDFe>string</chMDFe>
173+
<!--Optional:-->
174+
<indReentrega>1</indReentrega>
175+
<!--Zero or more repetitions:-->
176+
<infUnidTransp>
177+
<tpUnidTransp>5</tpUnidTransp>
178+
<idUnidTransp>string</idUnidTransp>
179+
<!--Zero or more repetitions:-->
180+
<lacUnidTransp>
181+
<nLacre>string</nLacre>
182+
</lacUnidTransp>
183+
<!--Zero or more repetitions:-->
184+
<infUnidCarga>
185+
<tpUnidCarga>1</tpUnidCarga>
186+
<idUnidCarga>string</idUnidCarga>
187+
<!--Zero or more repetitions:-->
188+
<lacUnidCarga>
189+
<nLacre>string</nLacre>
190+
</lacUnidCarga>
191+
<!--Optional:-->
192+
<qtdRat>string</qtdRat>
193+
</infUnidCarga>
194+
<!--Optional:-->
195+
<qtdRat>string</qtdRat>
196+
</infUnidTransp>
197+
<!--Zero or more repetitions:-->
198+
<peri>
199+
<nONU>string</nONU>
200+
<!--Optional:-->
201+
<xNomeAE>string</xNomeAE>
202+
<!--Optional:-->
203+
<xClaRisco>string</xClaRisco>
204+
<!--Optional:-->
205+
<grEmb>string</grEmb>
206+
<qTotProd>string</qTotProd>
207+
<!--Optional:-->
208+
<qVolTipo>string</qVolTipo>
209+
</peri>
210+
</infMDFeTransp>
211+
</infMunDescarga>
212+
</infDoc>
213+
<!--Zero or more repetitions:-->
214+
<seg>
215+
<infResp>
216+
<respSeg>1</respSeg>
217+
<!--You have a CHOICE of the next 2 items at this level-->
218+
<CNPJ>string</CNPJ>
219+
<CPF>string</CPF>
220+
</infResp>
221+
<!--Optional:-->
222+
<infSeg>
223+
<xSeg>string</xSeg>
224+
<CNPJ>string</CNPJ>
225+
</infSeg>
226+
<!--Optional:-->
227+
<nApol>string</nApol>
228+
<!--Zero or more repetitions:-->
229+
<nAver>string</nAver>
230+
</seg>
231+
<!--Optional:-->
232+
<prodPred>
233+
<tpCarga>12</tpCarga>
234+
<xProd>string</xProd>
235+
<!--Optional:-->
236+
<cEAN>string</cEAN>
237+
<!--Optional:-->
238+
<NCM>string</NCM>
239+
<!--Optional:-->
240+
<infLotacao>
241+
<infLocalCarrega>
242+
<!--You have a CHOICE of the next 2 items at this level-->
243+
<CEP>string</CEP>
244+
<latitude>string</latitude>
245+
<longitude>string</longitude>
246+
</infLocalCarrega>
247+
<infLocalDescarrega>
248+
<!--You have a CHOICE of the next 2 items at this level-->
249+
<CEP>string</CEP>
250+
<latitude>string</latitude>
251+
<longitude>string</longitude>
252+
</infLocalDescarrega>
253+
</infLotacao>
254+
</prodPred>
255+
<tot>
256+
<!--Optional:-->
257+
<qCTe>string</qCTe>
258+
<!--Optional:-->
259+
<qNFe>string</qNFe>
260+
<!--Optional:-->
261+
<qMDFe>string</qMDFe>
262+
<vCarga>string</vCarga>
263+
<cUnid>02</cUnid>
264+
<qCarga>string</qCarga>
265+
</tot>
266+
<!--Zero or more repetitions:-->
267+
<lacres>
268+
<nLacre>string</nLacre>
269+
</lacres>
270+
<!--0 to 10 repetitions:-->
271+
<autXML>
272+
<!--You have a CHOICE of the next 2 items at this level-->
273+
<CNPJ>string</CNPJ>
274+
<CPF>string</CPF>
275+
</autXML>
276+
<!--Optional:-->
277+
<infAdic>
278+
<!--Optional:-->
279+
<infAdFisco>string</infAdFisco>
280+
<!--Optional:-->
281+
<infCpl>string</infCpl>
282+
</infAdic>
283+
<!--Optional:-->
284+
<infRespTec>
285+
<CNPJ>string</CNPJ>
286+
<xContato>string</xContato>
287+
<email>string</email>
288+
<fone>string</fone>
289+
<idCSRT>string</idCSRT>
290+
<hashCSRT>ZmxhbW1hc2ZsYW1tYXNmbGFtbWE=</hashCSRT>
291+
</infRespTec>
292+
<!--Optional:-->
293+
<infSolicNFF>
294+
<xSolic>string</xSolic>
295+
</infSolicNFF>
296+
<!--Optional:-->
297+
<infPAA>
298+
<CNPJPAA>string</CNPJPAA>
299+
<PAASignature>
300+
<SignatureValue>YWM=</SignatureValue>
301+
<RSAKeyValue>
302+
<Modulus>aG9j</Modulus>
303+
<Exponent>cmFwaWR1bQ==</Exponent>
304+
</RSAKeyValue>
305+
</PAASignature>
306+
</infPAA>
307+
</infMDFe>
308+
<!--Optional:-->
309+
<infMDFeSupl>
310+
<qrCodMDFe>stringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstring</qrCodMDFe>
311+
</infMDFeSupl>
312+
<xd:Signature Id="string">
313+
<xd:SignedInfo Id="string">
314+
<xd:CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/>
315+
<xd:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"/>
316+
<xd:Reference Id="string" URI="http://www.any.gov/speluncis/circum" Type="http://www.sample.com/praeterea/arce">
317+
<xd:Transforms>
318+
<xd:Transform Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315">
319+
<xd:XPath>string</xd:XPath>
320+
</xd:Transform>
321+
<xd:Transform Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315">
322+
<xd:XPath>string</xd:XPath>
323+
</xd:Transform>
324+
</xd:Transforms>
325+
<xd:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/>
326+
<xd:DigestValue>aW1wZXJpbw==</xd:DigestValue>
327+
</xd:Reference>
328+
</xd:SignedInfo>
329+
<xd:SignatureValue Id="string">Y2VydG8=</xd:SignatureValue>
330+
<xd:KeyInfo Id="string">
331+
<xd:X509Data>
332+
<xd:X509Certificate>cXVpc3F1YW0=</xd:X509Certificate>
333+
</xd:X509Data>
334+
</xd:KeyInfo>
335+
</xd:Signature>
336+
</MDFe>
337+
</enviMDFe>

0 commit comments

Comments
 (0)