Skip to content

Commit

Permalink
Se dejan sólo plantillas de etapa simulación en JSON, ya que ejemplos…
Browse files Browse the repository at this point in the history
… de un DTE existen ahora en la carpeta examples/json de la biblioteca
  • Loading branch information
estebandelaf committed Jun 4, 2016
1 parent f18613c commit 4d43826
Show file tree
Hide file tree
Showing 8 changed files with 592 additions and 34 deletions.
17 changes: 0 additions & 17 deletions data/plantillas_dte/33 - Factura electrónica.json

This file was deleted.

17 changes: 0 additions & 17 deletions data/plantillas_dte/34 - Factura exenta electrónica.json

This file was deleted.

196 changes: 196 additions & 0 deletions data/plantillas_dte/Boleta.json
@@ -0,0 +1,196 @@
[
{
"Encabezado": {
"IdDoc": {
"TipoDTE": 39,
"Folio": 1
}
},
"Detalle": [
{
"NmbItem": "Punto de Acceso WAP54G",
"QtyItem": 4,
"PrcItem": 35000
},
{
"NmbItem": "Router WRT54GL",
"QtyItem": 1,
"PrcItem": 55000
}
]
},
{
"Encabezado": {
"IdDoc": {
"TipoDTE": 39,
"Folio": 2
}
},
"Detalle": [
{
"NmbItem": "Cables de red UTP CAT6 1.5m",
"QtyItem": 20,
"PrcItem": 1500
}
]
},
{
"Encabezado": {
"IdDoc": {
"TipoDTE": 39,
"Folio": 3
}
},
"Detalle": [
{
"NmbItem": "Rack 45U",
"QtyItem": 1,
"PrcItem": 650000
},
{
"NmbItem": "Bandejas 19\"",
"QtyItem": 4,
"PrcItem": 27000
}
]
},
{
"Encabezado": {
"IdDoc": {
"TipoDTE": 39,
"Folio": 4
}
},
"Detalle": [
{
"NmbItem": "Servidor HP Proliant XYZ",
"QtyItem": 1,
"PrcItem": 1500000
},
{
"IndExe": 1,
"NmbItem": "Intalaci\u00f3n sistema operativo",
"QtyItem": 1,
"PrcItem": 8000
},
{
"IndExe": 1,
"NmbItem": "Instalaci\u00f3n servicios ambiente web",
"QtyItem": 1,
"PrcItem": 50000
}
]
},
{
"Encabezado": {
"IdDoc": {
"TipoDTE": 39,
"Folio": 5
}
},
"Detalle": [
{
"NmbItem": "Pendrive con Debian GNU\/Linux",
"QtyItem": 1,
"PrcItem": 10000
}
]
},
{
"Encabezado": {
"IdDoc": {
"TipoDTE": 39,
"Folio": 6
}
},
"Detalle": [
{
"NmbItem": "Tarjeta de red 100\/1000 Mbps",
"QtyItem": 2,
"PrcItem": 5000
},
{
"IndExe": 1,
"NmbItem": "Instalaci\u00f3n tarjeta de red y puesta en marcha VLANs",
"QtyItem": 1,
"PrcItem": 200000
}
]
},
{
"Encabezado": {
"IdDoc": {
"TipoDTE": 39,
"Folio": 7
}
},
"Detalle": [
{
"NmbItem": "Antena yagi 13 dBi",
"QtyItem": 2,
"PrcItem": 34000
}
]
},
{
"Encabezado": {
"IdDoc": {
"TipoDTE": 39,
"Folio": 8
}
},
"Detalle": [
{
"NmbItem": "Antena yagi 11 dBi",
"QtyItem": 1,
"PrcItem": 30000
},
{
"NmbItem": "Antena omnidirecional 16 dBi",
"QtyItem": 1,
"PrcItem": 70000
}
]
},
{
"Encabezado": {
"IdDoc": {
"TipoDTE": 39,
"Folio": 9
}
},
"Detalle": [
{
"NmbItem": "Cable de red UTP cat6 1.5 m",
"QtyItem": 10,
"PrcItem": 1500
},
{
"NmbItem": "Tel\u00e9fono VoIP",
"QtyItem": 10,
"PrcItem": 45000
},
{
"NmbItem": "Adaptador enchufe",
"QtyItem": 10,
"PrcItem": 250
}
]
},
{
"Encabezado": {
"IdDoc": {
"TipoDTE": 39,
"Folio": 10
}
},
"Detalle": [
{
"NmbItem": "Cable de red sin conectores",
"QtyItem": 17,
"UnmdItem": "m",
"PrcItem": 400
}
]
}
]
101 changes: 101 additions & 0 deletions data/plantillas_dte/Exportación.json
@@ -0,0 +1,101 @@
[
{
"Encabezado": {
"IdDoc": {
"TipoDTE": 110,
"Folio": 43,
"IndServicio": 4
},
"Receptor": {
"Extranjero": {
"Nacionalidad": 225
}
},
"Totales": {
"TpoMoneda": "DOLAR USA"
}
},
"Detalle": [
{
"NmbItem": "Alojamiento 5 noches",
"PrcItem": "50"
}
],
"Referencia": [
{
"TpoDocRef": 813,
"FolioRef": "E12345"
}
]
},
{
"Encabezado": {
"IdDoc": {
"TipoDTE": 112,
"Folio": 2,
"IndServicio": 4
},
"Receptor": {
"Extranjero": {
"Nacionalidad": 225
}
},
"Totales": {
"TpoMoneda": "DOLAR USA"
}
},
"Detalle": [
{
"NmbItem": "Alojamiento 5 noches",
"PrcItem": "50"
}
],
"Referencia": [
{
"TpoDocRef": 813,
"FolioRef": "E12345"
},
{
"TpoDocRef": 110,
"FolioRef": 43,
"CodRef": 1,
"RazonRef": "Anula factura"
}
]
},
{
"Encabezado": {
"IdDoc": {
"TipoDTE": 111,
"Folio": 2,
"IndServicio": 4
},
"Receptor": {
"Extranjero": {
"Nacionalidad": 225
}
},
"Totales": {
"TpoMoneda": "DOLAR USA"
}
},
"Detalle": [
{
"NmbItem": "Alojamiento 5 noches",
"PrcItem": "50"
}
],
"Referencia": [
{
"TpoDocRef": 813,
"FolioRef": "E12345"
},
{
"TpoDocRef": 112,
"FolioRef": 2,
"CodRef": 1,
"RazonRef": "Anula nota de credito"
}
]
}
]

0 comments on commit 4d43826

Please sign in to comment.