facturacr 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (53) hide show
  1. checksums.yaml +7 -0
  2. data/.DS_Store +0 -0
  3. data/.gitignore +9 -0
  4. data/.travis.yml +4 -0
  5. data/Gemfile +4 -0
  6. data/LICENSE.txt +7 -0
  7. data/README.md +181 -0
  8. data/Rakefile +10 -0
  9. data/bin/console +14 -0
  10. data/bin/setup +7 -0
  11. data/bin/signer/signer.jar +0 -0
  12. data/config/config.yml +10 -0
  13. data/exe/facturacr +3 -0
  14. data/facturacr.gemspec +31 -0
  15. data/lib/facturacr.rb +37 -0
  16. data/lib/facturacr/api.rb +68 -0
  17. data/lib/facturacr/api/document_status.rb +36 -0
  18. data/lib/facturacr/builder.rb +223 -0
  19. data/lib/facturacr/cli.rb +116 -0
  20. data/lib/facturacr/cli/generate.rb +133 -0
  21. data/lib/facturacr/configuration.rb +51 -0
  22. data/lib/facturacr/credit_note.rb +33 -0
  23. data/lib/facturacr/debit_note.rb +33 -0
  24. data/lib/facturacr/document.rb +171 -0
  25. data/lib/facturacr/document/code.rb +4 -0
  26. data/lib/facturacr/document/exoneration.rb +49 -0
  27. data/lib/facturacr/document/fax.rb +24 -0
  28. data/lib/facturacr/document/identification_document.rb +41 -0
  29. data/lib/facturacr/document/issuer.rb +56 -0
  30. data/lib/facturacr/document/item.rb +67 -0
  31. data/lib/facturacr/document/location.rb +49 -0
  32. data/lib/facturacr/document/phone.rb +22 -0
  33. data/lib/facturacr/document/phone_type.rb +37 -0
  34. data/lib/facturacr/document/receiver.rb +59 -0
  35. data/lib/facturacr/document/reference.rb +46 -0
  36. data/lib/facturacr/document/regulation.rb +26 -0
  37. data/lib/facturacr/document/summary.rb +64 -0
  38. data/lib/facturacr/document/tax.rb +44 -0
  39. data/lib/facturacr/invoice.rb +34 -0
  40. data/lib/facturacr/signed_document.rb +19 -0
  41. data/lib/facturacr/signer/signer.rb +245 -0
  42. data/lib/facturacr/ticket.rb +34 -0
  43. data/lib/facturacr/version.rb +3 -0
  44. data/lib/facturacr/xml_document.rb +161 -0
  45. data/resources/FacturaElectronica_V.4.2.xsd +1571 -0
  46. data/resources/NotaCreditoElectronica_V4.2.xsd +1657 -0
  47. data/resources/credit_note.xml +86 -0
  48. data/resources/data.yml +73 -0
  49. data/resources/debit_note.xml +86 -0
  50. data/resources/invoice.xml +94 -0
  51. data/resources/pruebas.xml +37 -0
  52. data/resources/test.p12 +0 -0
  53. metadata +235 -0
@@ -0,0 +1,1657 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <xs:schema xmlns="https://tribunet.hacienda.go.cr/docs/esquemas/2017/v4.2/notaCreditoElectronica" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:vc="http://www.w3.org/2007/XMLSchema-versioning" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" targetNamespace="https://tribunet.hacienda.go.cr/docs/esquemas/2017/v4.2/notaCreditoElectronica" elementFormDefault="qualified" attributeFormDefault="unqualified" version="4.2" vc:minVersion="1.1">
3
+ <xs:import namespace="http://www.w3.org/2000/09/xmldsig#" schemaLocation="http://www.w3.org/TR/2008/REC-xmldsig-core-20080610/xmldsig-core-schema.xsd"/>
4
+ <xs:element name="NotaCreditoElectronica">
5
+ <xs:annotation>
6
+ <xs:documentation>Elemento Raiz de la Nota de Crédito Electrónica</xs:documentation>
7
+ </xs:annotation>
8
+ <xs:complexType>
9
+ <xs:sequence>
10
+ <xs:element name="Clave" type="ClaveType">
11
+ <xs:annotation>
12
+ <xs:documentation>Corresponde a la clave del comprobante. Es un campo de 50 posiciones y se tiene que utilizar para la consulta del código QR. Ver nota 1 y 4.1</xs:documentation>
13
+ </xs:annotation>
14
+ </xs:element>
15
+ <xs:element name="NumeroConsecutivo" type="NumeroConsecutivoType">
16
+ <xs:annotation>
17
+ <xs:documentation>Numeración consecutiva del comprobante</xs:documentation>
18
+ </xs:annotation>
19
+ </xs:element>
20
+ <xs:element name="FechaEmision" type="xs:dateTime"/>
21
+ <xs:element name="Emisor" type="EmisorType">
22
+ <xs:annotation>
23
+ <xs:documentation>Emisor del documento</xs:documentation>
24
+ </xs:annotation>
25
+ </xs:element>
26
+ <xs:element name="Receptor" type="ReceptorType" minOccurs="0">
27
+ <xs:annotation>
28
+ <xs:documentation>Receptor del documento</xs:documentation>
29
+ </xs:annotation>
30
+ </xs:element>
31
+ <xs:element name="CondicionVenta">
32
+ <xs:annotation>
33
+ <xs:documentation>Condiciones de la venta: 01 Contado, 02 Crédito, 03 Consignación, 04 Apartado, 05 Arrendamiento con opción de compra, 06 Arrendamiento en función financiera, 99 Otros</xs:documentation>
34
+ </xs:annotation>
35
+ <xs:simpleType>
36
+ <xs:restriction base="xs:string">
37
+ <xs:enumeration value="01">
38
+ <xs:annotation>
39
+ <xs:documentation>Contado</xs:documentation>
40
+ </xs:annotation>
41
+ </xs:enumeration>
42
+ <xs:enumeration value="02">
43
+ <xs:annotation>
44
+ <xs:documentation>Crédito</xs:documentation>
45
+ </xs:annotation>
46
+ </xs:enumeration>
47
+ <xs:enumeration value="03">
48
+ <xs:annotation>
49
+ <xs:documentation>Consignación</xs:documentation>
50
+ </xs:annotation>
51
+ </xs:enumeration>
52
+ <xs:enumeration value="04">
53
+ <xs:annotation>
54
+ <xs:documentation>Apartado</xs:documentation>
55
+ </xs:annotation>
56
+ </xs:enumeration>
57
+ <xs:enumeration value="05">
58
+ <xs:annotation>
59
+ <xs:documentation>Arrendamiento con opción de compra</xs:documentation>
60
+ </xs:annotation>
61
+ </xs:enumeration>
62
+ <xs:enumeration value="06">
63
+ <xs:annotation>
64
+ <xs:documentation>Arrendamiento en función financiera</xs:documentation>
65
+ </xs:annotation>
66
+ </xs:enumeration>
67
+ <xs:enumeration value="99">
68
+ <xs:annotation>
69
+ <xs:documentation>Otros</xs:documentation>
70
+ </xs:annotation>
71
+ </xs:enumeration>
72
+ </xs:restriction>
73
+ </xs:simpleType>
74
+ </xs:element>
75
+ <xs:element name="PlazoCredito" minOccurs="0">
76
+ <xs:annotation>
77
+ <xs:documentation>Plazo del crédito, es obligatorio cuando la venta del producto o prestación del servicio sea a crédito</xs:documentation>
78
+ </xs:annotation>
79
+ <xs:simpleType>
80
+ <xs:restriction base="xs:string">
81
+ <xs:maxLength value="10"/>
82
+ </xs:restriction>
83
+ </xs:simpleType>
84
+ </xs:element>
85
+ <xs:element name="MedioPago" minOccurs="0" maxOccurs="4">
86
+ <xs:annotation>
87
+ <xs:documentation>Corresponde al medio de pago empleado: 01 Efectivo, 02 Tarjeta, 03 Cheque, 04 Transferencia - depósito bancario, 05 - Recaudado por terceros, 99 Otros</xs:documentation>
88
+ </xs:annotation>
89
+ <xs:simpleType>
90
+ <xs:restriction base="xs:string">
91
+ <xs:enumeration value="01">
92
+ <xs:annotation>
93
+ <xs:documentation>Efectivo</xs:documentation>
94
+ </xs:annotation>
95
+ </xs:enumeration>
96
+ <xs:enumeration value="02">
97
+ <xs:annotation>
98
+ <xs:documentation> Tarjeta</xs:documentation>
99
+ </xs:annotation>
100
+ </xs:enumeration>
101
+ <xs:enumeration value="03">
102
+ <xs:annotation>
103
+ <xs:documentation>Cheque</xs:documentation>
104
+ </xs:annotation>
105
+ </xs:enumeration>
106
+ <xs:enumeration value="04">
107
+ <xs:annotation>
108
+ <xs:documentation>Transferencia - depósito bancario</xs:documentation>
109
+ </xs:annotation>
110
+ </xs:enumeration>
111
+ <xs:enumeration value="05">
112
+ <xs:annotation>
113
+ <xs:documentation>Recaudado por terceros</xs:documentation>
114
+ </xs:annotation>
115
+ </xs:enumeration>
116
+ <xs:enumeration value="99">
117
+ <xs:annotation>
118
+ <xs:documentation>Otros</xs:documentation>
119
+ </xs:annotation>
120
+ </xs:enumeration>
121
+ </xs:restriction>
122
+ </xs:simpleType>
123
+ </xs:element>
124
+ <xs:element name="DetalleServicio">
125
+ <xs:annotation>
126
+ <xs:documentation>Detalle de la mercancia o servicio prestado.</xs:documentation>
127
+ </xs:annotation>
128
+ <xs:complexType>
129
+ <xs:sequence>
130
+ <xs:element name="LineaDetalle" maxOccurs="1000">
131
+ <xs:annotation>
132
+ <xs:documentation>Cada línea del detalle de la mercancia o servicio prestado.</xs:documentation>
133
+ </xs:annotation>
134
+ <xs:complexType>
135
+ <xs:sequence>
136
+ <xs:element name="NumeroLinea" type="xs:positiveInteger">
137
+ <xs:annotation>
138
+ <xs:documentation>Número de línea del detalle</xs:documentation>
139
+ </xs:annotation>
140
+ </xs:element>
141
+ <xs:element name="Codigo" type="CodigoType" minOccurs="0" maxOccurs="5"/>
142
+ <xs:element name="Cantidad">
143
+ <xs:annotation>
144
+ <xs:documentation>Cantidad</xs:documentation>
145
+ </xs:annotation>
146
+ <xs:simpleType>
147
+ <xs:restriction base="xs:decimal">
148
+ <xs:totalDigits value="16"/>
149
+ <xs:fractionDigits value="3"/>
150
+ </xs:restriction>
151
+ </xs:simpleType>
152
+ </xs:element>
153
+ <xs:element name="UnidadMedida" type="UnidadMedidaType">
154
+ <xs:annotation>
155
+ <xs:documentation>Unidad de medida </xs:documentation>
156
+ </xs:annotation>
157
+ </xs:element>
158
+ <xs:element name="UnidadMedidaComercial" minOccurs="0">
159
+ <xs:annotation>
160
+ <xs:documentation>Unidad de medida comercial</xs:documentation>
161
+ </xs:annotation>
162
+ <xs:simpleType>
163
+ <xs:restriction base="xs:string">
164
+ <xs:maxLength value="20"/>
165
+ </xs:restriction>
166
+ </xs:simpleType>
167
+ </xs:element>
168
+ <xs:element name="Detalle">
169
+ <xs:annotation>
170
+ <xs:documentation>Detalle de la mercancia transferida o servicio prestado</xs:documentation>
171
+ </xs:annotation>
172
+ <xs:simpleType>
173
+ <xs:restriction base="xs:string">
174
+ <xs:maxLength value="160"/>
175
+ </xs:restriction>
176
+ </xs:simpleType>
177
+ </xs:element>
178
+ <xs:element name="PrecioUnitario" type="DecimalDineroType">
179
+ <xs:annotation>
180
+ <xs:documentation>Precio Unitario</xs:documentation>
181
+ </xs:annotation>
182
+ </xs:element>
183
+ <xs:element name="MontoTotal" type="DecimalDineroType">
184
+ <xs:annotation>
185
+ <xs:documentation>Se obtiene de multiplicar el campo cantidad por el campo precio unitario</xs:documentation>
186
+ </xs:annotation>
187
+ </xs:element>
188
+ <xs:element name="MontoDescuento" type="DecimalDineroType" minOccurs="0">
189
+ <xs:annotation>
190
+ <xs:documentation>Monto de descuento concedido, el cual es obligatorio si existe descuento</xs:documentation>
191
+ </xs:annotation>
192
+ </xs:element>
193
+ <xs:element name="NaturalezaDescuento" minOccurs="0">
194
+ <xs:annotation>
195
+ <xs:documentation>Naturaleza del descuento, que es obligatorio si existe descuento</xs:documentation>
196
+ </xs:annotation>
197
+ <xs:simpleType>
198
+ <xs:restriction base="xs:string">
199
+ <xs:maxLength value="80"/>
200
+ </xs:restriction>
201
+ </xs:simpleType>
202
+ </xs:element>
203
+ <xs:element name="SubTotal" type="DecimalDineroType">
204
+ <xs:annotation>
205
+ <xs:documentation>Se obtiene de la resta del campo monto total menos monto de descuento concedido</xs:documentation>
206
+ </xs:annotation>
207
+ </xs:element>
208
+ <xs:element name="Impuesto" type="ImpuestoType" minOccurs="0" maxOccurs="unbounded">
209
+ <xs:annotation>
210
+ <xs:documentation>Cuando el producto o servicio este gravado con algún impuesto se debe indicar cada uno de ellos.</xs:documentation>
211
+ </xs:annotation>
212
+ </xs:element>
213
+ <xs:element name="MontoTotalLinea" type="DecimalDineroType">
214
+ <xs:annotation>
215
+ <xs:documentation>Se obtiene de la suma de los campos subtotal más monto de los impuestos</xs:documentation>
216
+ </xs:annotation>
217
+ </xs:element>
218
+ </xs:sequence>
219
+ </xs:complexType>
220
+ </xs:element>
221
+ </xs:sequence>
222
+ </xs:complexType>
223
+ </xs:element>
224
+ <xs:element name="ResumenFactura">
225
+ <xs:complexType>
226
+ <xs:sequence>
227
+ <xs:element name="CodigoMoneda" minOccurs="0">
228
+ <xs:annotation>
229
+ <xs:documentation>Código de la moneda de acuerdo al ISO 4217</xs:documentation>
230
+ </xs:annotation>
231
+ <xs:simpleType>
232
+ <xs:restriction base="xs:string">
233
+ <xs:enumeration value="AED"/>
234
+ <xs:enumeration value="AFN"/>
235
+ <xs:enumeration value="ALL"/>
236
+ <xs:enumeration value="AMD"/>
237
+ <xs:enumeration value="ANG"/>
238
+ <xs:enumeration value="AOA"/>
239
+ <xs:enumeration value="ARS"/>
240
+ <xs:enumeration value="AUD"/>
241
+ <xs:enumeration value="AWG"/>
242
+ <xs:enumeration value="AZN"/>
243
+ <xs:enumeration value="BAM"/>
244
+ <xs:enumeration value="BBD"/>
245
+ <xs:enumeration value="BDT"/>
246
+ <xs:enumeration value="BGN"/>
247
+ <xs:enumeration value="BHD"/>
248
+ <xs:enumeration value="BIF"/>
249
+ <xs:enumeration value="BMD"/>
250
+ <xs:enumeration value="BND"/>
251
+ <xs:enumeration value="BOB"/>
252
+ <xs:enumeration value="BOV"/>
253
+ <xs:enumeration value="BRL"/>
254
+ <xs:enumeration value="BSD"/>
255
+ <xs:enumeration value="BTN"/>
256
+ <xs:enumeration value="BWP"/>
257
+ <xs:enumeration value="BYR"/>
258
+ <xs:enumeration value="BZD"/>
259
+ <xs:enumeration value="CAD"/>
260
+ <xs:enumeration value="CDF"/>
261
+ <xs:enumeration value="CHE"/>
262
+ <xs:enumeration value="CHF"/>
263
+ <xs:enumeration value="CHW"/>
264
+ <xs:enumeration value="CLF"/>
265
+ <xs:enumeration value="CLP"/>
266
+ <xs:enumeration value="CNY"/>
267
+ <xs:enumeration value="COP"/>
268
+ <xs:enumeration value="COU"/>
269
+ <xs:enumeration value="CRC"/>
270
+ <xs:enumeration value="CUC"/>
271
+ <xs:enumeration value="CUP"/>
272
+ <xs:enumeration value="CVE"/>
273
+ <xs:enumeration value="CZK"/>
274
+ <xs:enumeration value="DJF"/>
275
+ <xs:enumeration value="DKK"/>
276
+ <xs:enumeration value="DOP"/>
277
+ <xs:enumeration value="DZD"/>
278
+ <xs:enumeration value="EGP"/>
279
+ <xs:enumeration value="ERN"/>
280
+ <xs:enumeration value="ETB"/>
281
+ <xs:enumeration value="EUR"/>
282
+ <xs:enumeration value="FJD"/>
283
+ <xs:enumeration value="FKP"/>
284
+ <xs:enumeration value="GBP"/>
285
+ <xs:enumeration value="GEL"/>
286
+ <xs:enumeration value="GHS"/>
287
+ <xs:enumeration value="GIP"/>
288
+ <xs:enumeration value="GMD"/>
289
+ <xs:enumeration value="GNF"/>
290
+ <xs:enumeration value="GTQ"/>
291
+ <xs:enumeration value="GYD"/>
292
+ <xs:enumeration value="HKD"/>
293
+ <xs:enumeration value="HNL"/>
294
+ <xs:enumeration value="HRK"/>
295
+ <xs:enumeration value="HTG"/>
296
+ <xs:enumeration value="HUF"/>
297
+ <xs:enumeration value="IDR"/>
298
+ <xs:enumeration value="ILS"/>
299
+ <xs:enumeration value="INR"/>
300
+ <xs:enumeration value="IQD"/>
301
+ <xs:enumeration value="IRR"/>
302
+ <xs:enumeration value="ISK"/>
303
+ <xs:enumeration value="JMD"/>
304
+ <xs:enumeration value="JOD"/>
305
+ <xs:enumeration value="JPY"/>
306
+ <xs:enumeration value="KES"/>
307
+ <xs:enumeration value="KGS"/>
308
+ <xs:enumeration value="KHR"/>
309
+ <xs:enumeration value="KMF"/>
310
+ <xs:enumeration value="KPW"/>
311
+ <xs:enumeration value="KRW"/>
312
+ <xs:enumeration value="KWD"/>
313
+ <xs:enumeration value="KYD"/>
314
+ <xs:enumeration value="KZT"/>
315
+ <xs:enumeration value="LAK"/>
316
+ <xs:enumeration value="LBP"/>
317
+ <xs:enumeration value="LKR"/>
318
+ <xs:enumeration value="LRD"/>
319
+ <xs:enumeration value="LSL"/>
320
+ <xs:enumeration value="LYD"/>
321
+ <xs:enumeration value="MAD"/>
322
+ <xs:enumeration value="MDL"/>
323
+ <xs:enumeration value="MGA"/>
324
+ <xs:enumeration value="MKD"/>
325
+ <xs:enumeration value="MMK"/>
326
+ <xs:enumeration value="MNT"/>
327
+ <xs:enumeration value="MOP"/>
328
+ <xs:enumeration value="MRO"/>
329
+ <xs:enumeration value="MUR"/>
330
+ <xs:enumeration value="MVR"/>
331
+ <xs:enumeration value="MWK"/>
332
+ <xs:enumeration value="MXN"/>
333
+ <xs:enumeration value="MXV"/>
334
+ <xs:enumeration value="MYR"/>
335
+ <xs:enumeration value="MZN"/>
336
+ <xs:enumeration value="NAD"/>
337
+ <xs:enumeration value="NGN"/>
338
+ <xs:enumeration value="NIO"/>
339
+ <xs:enumeration value="NOK"/>
340
+ <xs:enumeration value="NPR"/>
341
+ <xs:enumeration value="NZD"/>
342
+ <xs:enumeration value="OMR"/>
343
+ <xs:enumeration value="PAB"/>
344
+ <xs:enumeration value="PEN"/>
345
+ <xs:enumeration value="PGK"/>
346
+ <xs:enumeration value="PHP"/>
347
+ <xs:enumeration value="PKR"/>
348
+ <xs:enumeration value="PLN"/>
349
+ <xs:enumeration value="PYG"/>
350
+ <xs:enumeration value="QAR"/>
351
+ <xs:enumeration value="RON"/>
352
+ <xs:enumeration value="RSD"/>
353
+ <xs:enumeration value="RUB"/>
354
+ <xs:enumeration value="RWF"/>
355
+ <xs:enumeration value="SAR"/>
356
+ <xs:enumeration value="SBD"/>
357
+ <xs:enumeration value="SCR"/>
358
+ <xs:enumeration value="SDG"/>
359
+ <xs:enumeration value="SEK"/>
360
+ <xs:enumeration value="SGD"/>
361
+ <xs:enumeration value="SHP"/>
362
+ <xs:enumeration value="SLL"/>
363
+ <xs:enumeration value="SOS"/>
364
+ <xs:enumeration value="SRD"/>
365
+ <xs:enumeration value="SSP"/>
366
+ <xs:enumeration value="STD"/>
367
+ <xs:enumeration value="SVC"/>
368
+ <xs:enumeration value="SYP"/>
369
+ <xs:enumeration value="SZL"/>
370
+ <xs:enumeration value="THB"/>
371
+ <xs:enumeration value="TJS"/>
372
+ <xs:enumeration value="TMT"/>
373
+ <xs:enumeration value="TND"/>
374
+ <xs:enumeration value="TOP"/>
375
+ <xs:enumeration value="TRY"/>
376
+ <xs:enumeration value="TTD"/>
377
+ <xs:enumeration value="TWD"/>
378
+ <xs:enumeration value="TZS"/>
379
+ <xs:enumeration value="UAH"/>
380
+ <xs:enumeration value="UGX"/>
381
+ <xs:enumeration value="USD"/>
382
+ <xs:enumeration value="USN"/>
383
+ <xs:enumeration value="UYI"/>
384
+ <xs:enumeration value="UYU"/>
385
+ <xs:enumeration value="UZS"/>
386
+ <xs:enumeration value="VEF"/>
387
+ <xs:enumeration value="VND"/>
388
+ <xs:enumeration value="VUV"/>
389
+ <xs:enumeration value="WST"/>
390
+ <xs:enumeration value="XAF"/>
391
+ <xs:enumeration value="XAG"/>
392
+ <xs:enumeration value="XAU"/>
393
+ <xs:enumeration value="XBA"/>
394
+ <xs:enumeration value="XBB"/>
395
+ <xs:enumeration value="XBC"/>
396
+ <xs:enumeration value="XBD"/>
397
+ <xs:enumeration value="XCD"/>
398
+ <xs:enumeration value="XDR"/>
399
+ <xs:enumeration value="XOF"/>
400
+ <xs:enumeration value="XPD"/>
401
+ <xs:enumeration value="XPF"/>
402
+ <xs:enumeration value="XPT"/>
403
+ <xs:enumeration value="XSU"/>
404
+ <xs:enumeration value="XTS"/>
405
+ <xs:enumeration value="XUA"/>
406
+ <xs:enumeration value="XXX"/>
407
+ <xs:enumeration value="YER"/>
408
+ <xs:enumeration value="ZAR"/>
409
+ <xs:enumeration value="ZMW"/>
410
+ <xs:enumeration value="ZWL"/>
411
+ </xs:restriction>
412
+ </xs:simpleType>
413
+ </xs:element>
414
+ <xs:element name="TipoCambio" type="DecimalDineroType" minOccurs="0">
415
+ <xs:annotation>
416
+ <xs:documentation>Tipo de cambio</xs:documentation>
417
+ </xs:annotation>
418
+ </xs:element>
419
+ <xs:element name="TotalServGravados" type="DecimalDineroType" minOccurs="0">
420
+ <xs:annotation>
421
+ <xs:documentation>Total de los servicios gravados con IV</xs:documentation>
422
+ </xs:annotation>
423
+ </xs:element>
424
+ <xs:element name="TotalServExentos" type="DecimalDineroType" minOccurs="0">
425
+ <xs:annotation>
426
+ <xs:documentation>Total de los servicios exentos de IV</xs:documentation>
427
+ </xs:annotation>
428
+ </xs:element>
429
+ <xs:element name="TotalMercanciasGravadas" type="DecimalDineroType" minOccurs="0">
430
+ <xs:annotation>
431
+ <xs:documentation>Total mercancias gravadas con IV</xs:documentation>
432
+ </xs:annotation>
433
+ </xs:element>
434
+ <xs:element name="TotalMercanciasExentas" type="DecimalDineroType" minOccurs="0">
435
+ <xs:annotation>
436
+ <xs:documentation>Total mercancias exentas de IV</xs:documentation>
437
+ </xs:annotation>
438
+ </xs:element>
439
+ <xs:element name="TotalGravado" type="DecimalDineroType" minOccurs="0">
440
+ <xs:annotation>
441
+ <xs:documentation>Total gravado. se obtiene de la suma del total servicios gravados con IV + total mercancias gravadas con IV</xs:documentation>
442
+ </xs:annotation>
443
+ </xs:element>
444
+ <xs:element name="TotalExento" type="DecimalDineroType" minOccurs="0">
445
+ <xs:annotation>
446
+ <xs:documentation>Total Exento, se obtiene de la suma de los campos total servicios exentos IV mas total mercancias exentas IV</xs:documentation>
447
+ </xs:annotation>
448
+ </xs:element>
449
+ <xs:element name="TotalVenta" type="DecimalDineroType">
450
+ <xs:annotation>
451
+ <xs:documentation>Se obtiene de la suma de los campos total gravado más total exento</xs:documentation>
452
+ </xs:annotation>
453
+ </xs:element>
454
+ <xs:element name="TotalDescuentos" type="DecimalDineroType" minOccurs="0">
455
+ <xs:annotation>
456
+ <xs:documentation>Se obtiene de la suma de todos los campo de monto de descuento concedido</xs:documentation>
457
+ </xs:annotation>
458
+ </xs:element>
459
+ <xs:element name="TotalVentaNeta" type="DecimalDineroType">
460
+ <xs:annotation>
461
+ <xs:documentation>Se obtiene de la resta de los campos total venta menos total descuento</xs:documentation>
462
+ </xs:annotation>
463
+ </xs:element>
464
+ <xs:element name="TotalImpuesto" type="DecimalDineroType" minOccurs="0">
465
+ <xs:annotation>
466
+ <xs:documentation>Se obtiene de la suma de todos campos monto del impuesto</xs:documentation>
467
+ </xs:annotation>
468
+ </xs:element>
469
+ <xs:element name="TotalComprobante" type="DecimalDineroType">
470
+ <xs:annotation>
471
+ <xs:documentation>Se obtiene de la suma de los campos total venta neta más monto total de los impuestos</xs:documentation>
472
+ </xs:annotation>
473
+ </xs:element>
474
+ </xs:sequence>
475
+ </xs:complexType>
476
+ </xs:element>
477
+ <xs:element name="InformacionReferencia" maxOccurs="10">
478
+ <xs:complexType>
479
+ <xs:sequence>
480
+ <xs:element name="TipoDoc">
481
+ <xs:annotation>
482
+ <xs:documentation>Tipo de documento de referencia. 01 Factura electrónica, 02 Nota de débito electrónica, 03 nota de crédito electrónica, 04 Tiquete electrónico, 05 Nota de despacho, 06 Contrato, 07 Procedimiento, 08 Comprobante emitido en contigencia, 99 Otros</xs:documentation>
483
+ </xs:annotation>
484
+ <xs:simpleType>
485
+ <xs:restriction base="xs:string">
486
+ <xs:enumeration value="01">
487
+ <xs:annotation>
488
+ <xs:documentation>Factura electrónica</xs:documentation>
489
+ </xs:annotation>
490
+ </xs:enumeration>
491
+ <xs:enumeration value="02">
492
+ <xs:annotation>
493
+ <xs:documentation>Nota de debido electrónica</xs:documentation>
494
+ </xs:annotation>
495
+ </xs:enumeration>
496
+ <xs:enumeration value="03">
497
+ <xs:annotation>
498
+ <xs:documentation>nota de crédito electrónica</xs:documentation>
499
+ </xs:annotation>
500
+ </xs:enumeration>
501
+ <xs:enumeration value="04">
502
+ <xs:annotation>
503
+ <xs:documentation>Tiquete electrónico</xs:documentation>
504
+ </xs:annotation>
505
+ </xs:enumeration>
506
+ <xs:enumeration value="05">
507
+ <xs:annotation>
508
+ <xs:documentation>Nota de despacho</xs:documentation>
509
+ </xs:annotation>
510
+ </xs:enumeration>
511
+ <xs:enumeration value="06">
512
+ <xs:annotation>
513
+ <xs:documentation>Contrato</xs:documentation>
514
+ </xs:annotation>
515
+ </xs:enumeration>
516
+ <xs:enumeration value="07">
517
+ <xs:annotation>
518
+ <xs:documentation>Procedimiento</xs:documentation>
519
+ </xs:annotation>
520
+ </xs:enumeration>
521
+ <xs:enumeration value="08">
522
+ <xs:annotation>
523
+ <xs:documentation>Comprobante emitido en contigencia</xs:documentation>
524
+ </xs:annotation>
525
+ </xs:enumeration>
526
+ <xs:enumeration value="99">
527
+ <xs:annotation>
528
+ <xs:documentation>Otros</xs:documentation>
529
+ </xs:annotation>
530
+ </xs:enumeration>
531
+ </xs:restriction>
532
+ </xs:simpleType>
533
+ </xs:element>
534
+ <xs:element name="Numero">
535
+ <xs:annotation>
536
+ <xs:documentation>Número de documento de referencia</xs:documentation>
537
+ </xs:annotation>
538
+ <xs:simpleType>
539
+ <xs:restriction base="xs:string">
540
+ <xs:maxLength value="50"/>
541
+ </xs:restriction>
542
+ </xs:simpleType>
543
+ </xs:element>
544
+ <xs:element name="FechaEmision" type="xs:dateTime">
545
+ <xs:annotation>
546
+ <xs:documentation>Fecha y hora de emisión del documento de referencia</xs:documentation>
547
+ </xs:annotation>
548
+ </xs:element>
549
+ <xs:element name="Codigo">
550
+ <xs:annotation>
551
+ <xs:documentation>Código de referencia. 01 Anula documento de referencia, 02 Corrige texto de documento de referencia, 03 Corrige monto, 04 Referencia a otro documento, 05 Sustituye comprobante provisional por contigencia, 99 Otros</xs:documentation>
552
+ </xs:annotation>
553
+ <xs:simpleType>
554
+ <xs:restriction base="xs:string">
555
+ <xs:enumeration value="01">
556
+ <xs:annotation>
557
+ <xs:documentation>Anula documento de referencia</xs:documentation>
558
+ </xs:annotation>
559
+ </xs:enumeration>
560
+ <xs:enumeration value="02">
561
+ <xs:annotation>
562
+ <xs:documentation>Corrige texto de ocumento de referencia</xs:documentation>
563
+ </xs:annotation>
564
+ </xs:enumeration>
565
+ <xs:enumeration value="03">
566
+ <xs:annotation>
567
+ <xs:documentation>Corrige monto</xs:documentation>
568
+ </xs:annotation>
569
+ </xs:enumeration>
570
+ <xs:enumeration value="04">
571
+ <xs:annotation>
572
+ <xs:documentation>Referencia a otro documento</xs:documentation>
573
+ </xs:annotation>
574
+ </xs:enumeration>
575
+ <xs:enumeration value="05">
576
+ <xs:annotation>
577
+ <xs:documentation>Sustituye comprobante provisional por contigencia</xs:documentation>
578
+ </xs:annotation>
579
+ </xs:enumeration>
580
+ <xs:enumeration value="99">
581
+ <xs:annotation>
582
+ <xs:documentation>Otros</xs:documentation>
583
+ </xs:annotation>
584
+ </xs:enumeration>
585
+ </xs:restriction>
586
+ </xs:simpleType>
587
+ </xs:element>
588
+ <xs:element name="Razon">
589
+ <xs:annotation>
590
+ <xs:documentation>Razón de referencia</xs:documentation>
591
+ </xs:annotation>
592
+ <xs:simpleType>
593
+ <xs:restriction base="xs:string">
594
+ <xs:maxLength value="180"/>
595
+ </xs:restriction>
596
+ </xs:simpleType>
597
+ </xs:element>
598
+ </xs:sequence>
599
+ </xs:complexType>
600
+ </xs:element>
601
+ <xs:element name="Normativa">
602
+ <xs:annotation>
603
+ <xs:documentation>Normativa vigente</xs:documentation>
604
+ </xs:annotation>
605
+ <xs:complexType>
606
+ <xs:sequence>
607
+ <xs:element name="NumeroResolucion">
608
+ <xs:annotation>
609
+ <xs:documentation>Se debe indicar el número de resolución DGT XXXX</xs:documentation>
610
+ </xs:annotation>
611
+ <xs:simpleType>
612
+ <xs:restriction base="xs:string">
613
+ <xs:maxLength value="13"/>
614
+ </xs:restriction>
615
+ </xs:simpleType>
616
+ </xs:element>
617
+ <xs:element name="FechaResolucion">
618
+ <xs:annotation>
619
+ <xs:documentation>La fecha y hora de resolución. DD-MM-YYYY HH:MM:SS</xs:documentation>
620
+ </xs:annotation>
621
+ <xs:simpleType>
622
+ <xs:restriction base="xs:string">
623
+ <xs:maxLength value="20"/>
624
+ </xs:restriction>
625
+ </xs:simpleType>
626
+ </xs:element>
627
+ </xs:sequence>
628
+ </xs:complexType>
629
+ </xs:element>
630
+ <xs:element name="Otros" minOccurs="0">
631
+ <xs:complexType>
632
+ <xs:sequence>
633
+ <xs:element name="OtroTexto" minOccurs="0" maxOccurs="unbounded">
634
+ <xs:annotation>
635
+ <xs:documentation>Elemento opcional que se puede utilizar la almacenar texto.</xs:documentation>
636
+ </xs:annotation>
637
+ <xs:complexType>
638
+ <xs:simpleContent>
639
+ <xs:extension base="xs:string">
640
+ <xs:attribute name="codigo" type="xs:string">
641
+ <xs:annotation>
642
+ <xs:documentation>Código opcional para facilitar la identificación del elemento.</xs:documentation>
643
+ </xs:annotation>
644
+ </xs:attribute>
645
+ </xs:extension>
646
+ </xs:simpleContent>
647
+ </xs:complexType>
648
+ </xs:element>
649
+ <xs:element name="OtroContenido" minOccurs="0" maxOccurs="unbounded">
650
+ <xs:annotation>
651
+ <xs:documentation>Elemento opcional que se puede utilizar para almacenar contenido estructurado.</xs:documentation>
652
+ </xs:annotation>
653
+ <xs:complexType>
654
+ <xs:sequence>
655
+ <xs:any namespace="##other" processContents="lax"/>
656
+ </xs:sequence>
657
+ <xs:attribute name="codigo" type="xs:string">
658
+ <xs:annotation>
659
+ <xs:documentation>Código opcional para facilitar la identificación del elemento.</xs:documentation>
660
+ </xs:annotation>
661
+ </xs:attribute>
662
+ </xs:complexType>
663
+ </xs:element>
664
+ </xs:sequence>
665
+ </xs:complexType>
666
+ </xs:element>
667
+ <xs:element ref="ds:Signature" minOccurs="1" maxOccurs="1"/>
668
+ </xs:sequence>
669
+ </xs:complexType>
670
+ </xs:element>
671
+ <xs:complexType name="EmisorType">
672
+ <xs:sequence>
673
+ <xs:element name="Nombre" nillable="false">
674
+ <xs:annotation>
675
+ <xs:documentation>Nombre o razon social</xs:documentation>
676
+ </xs:annotation>
677
+ <xs:simpleType>
678
+ <xs:restriction base="xs:string">
679
+ <xs:maxLength value="80"/>
680
+ </xs:restriction>
681
+ </xs:simpleType>
682
+ </xs:element>
683
+ <xs:element name="Identificacion" type="IdentificacionType"/>
684
+ <xs:element name="NombreComercial" minOccurs="0">
685
+ <xs:annotation>
686
+ <xs:documentation>En caso de que se cuente con nombre comercial debe indicarse</xs:documentation>
687
+ </xs:annotation>
688
+ <xs:simpleType>
689
+ <xs:restriction base="xs:string">
690
+ <xs:maxLength value="80"/>
691
+ </xs:restriction>
692
+ </xs:simpleType>
693
+ </xs:element>
694
+ <xs:element name="Ubicacion" type="UbicacionType"/>
695
+ <xs:element name="Telefono" type="TelefonoType" nillable="true" minOccurs="0"/>
696
+ <xs:element name="Fax" type="TelefonoType" nillable="true" minOccurs="0"/>
697
+ <xs:element name="CorreoElectronico">
698
+ <xs:annotation>
699
+ <xs:documentation>Direccion de correo electrónico</xs:documentation>
700
+ </xs:annotation>
701
+ <xs:simpleType>
702
+ <xs:restriction base="xs:string"/>
703
+ </xs:simpleType>
704
+ </xs:element>
705
+ </xs:sequence>
706
+ </xs:complexType>
707
+ <xs:complexType name="ReceptorType">
708
+ <xs:sequence>
709
+ <xs:element name="Nombre" nillable="false">
710
+ <xs:annotation>
711
+ <xs:documentation>Nombre o razon social</xs:documentation>
712
+ </xs:annotation>
713
+ <xs:simpleType>
714
+ <xs:restriction base="xs:string">
715
+ <xs:maxLength value="80"/>
716
+ </xs:restriction>
717
+ </xs:simpleType>
718
+ </xs:element>
719
+ <xs:element name="Identificacion" type="IdentificacionType" minOccurs="0"/>
720
+ <xs:element name="IdentificacionExtranjero" minOccurs="0">
721
+ <xs:annotation>
722
+ <xs:documentation>Este campo será de condición obligatoria, cuando el cliente lo requiera</xs:documentation>
723
+ </xs:annotation>
724
+ <xs:simpleType>
725
+ <xs:restriction base="xs:string">
726
+ <xs:maxLength value="20"/>
727
+ </xs:restriction>
728
+ </xs:simpleType>
729
+ </xs:element>
730
+ <xs:element name="NombreComercial" minOccurs="0">
731
+ <xs:annotation>
732
+ <xs:documentation>En caso de que se cuente con nombre comercial debe indicarse</xs:documentation>
733
+ </xs:annotation>
734
+ <xs:simpleType>
735
+ <xs:restriction base="xs:string">
736
+ <xs:maxLength value="80"/>
737
+ </xs:restriction>
738
+ </xs:simpleType>
739
+ </xs:element>
740
+ <xs:element name="Ubicacion" type="UbicacionType" minOccurs="0"/>
741
+ <xs:element name="Telefono" type="TelefonoType" minOccurs="0"/>
742
+ <xs:element name="Fax" type="TelefonoType" minOccurs="0"/>
743
+ <xs:element name="CorreoElectronico" minOccurs="0">
744
+ <xs:annotation>
745
+ <xs:documentation>Direccion de correo electrónico</xs:documentation>
746
+ </xs:annotation>
747
+ <xs:simpleType>
748
+ <xs:restriction base="xs:string">
749
+ <xs:pattern value="\s*\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*\s*"/>
750
+ </xs:restriction>
751
+ </xs:simpleType>
752
+ </xs:element>
753
+ </xs:sequence>
754
+ </xs:complexType>
755
+ <xs:complexType name="IdentificacionType">
756
+ <xs:sequence>
757
+ <xs:element name="Tipo" nillable="false">
758
+ <xs:annotation>
759
+ <xs:documentation>Tipo de identificación: 01 Cédula Física, 02 Cédula Jurídica, 03 DIMEX, 04 NITE</xs:documentation>
760
+ </xs:annotation>
761
+ <xs:simpleType>
762
+ <xs:restriction base="xs:string">
763
+ <xs:enumeration value="01">
764
+ <xs:annotation>
765
+ <xs:documentation>Cedula Fisica</xs:documentation>
766
+ </xs:annotation>
767
+ </xs:enumeration>
768
+ <xs:enumeration value="02">
769
+ <xs:annotation>
770
+ <xs:documentation> Cedula Juridica</xs:documentation>
771
+ </xs:annotation>
772
+ </xs:enumeration>
773
+ <xs:enumeration value="03">
774
+ <xs:annotation>
775
+ <xs:documentation>DIMEX</xs:documentation>
776
+ </xs:annotation>
777
+ </xs:enumeration>
778
+ <xs:enumeration value="04">
779
+ <xs:annotation>
780
+ <xs:documentation>NITE</xs:documentation>
781
+ </xs:annotation>
782
+ </xs:enumeration>
783
+ </xs:restriction>
784
+ </xs:simpleType>
785
+ </xs:element>
786
+ <xs:element name="Numero" nillable="false">
787
+ <xs:annotation>
788
+ <xs:documentation>Número de identificación, el contribuyente debe estar inscrito ante la Administración Tributaria</xs:documentation>
789
+ </xs:annotation>
790
+ <xs:simpleType>
791
+ <xs:restriction base="xs:string">
792
+ <xs:pattern value="\d{9,12}"/>
793
+ </xs:restriction>
794
+ </xs:simpleType>
795
+ </xs:element>
796
+ </xs:sequence>
797
+ </xs:complexType>
798
+ <xs:complexType name="UbicacionType">
799
+ <xs:sequence>
800
+ <xs:element name="Provincia">
801
+ <xs:simpleType>
802
+ <xs:restriction base="xs:string">
803
+ <xs:minLength value="1"/>
804
+ <xs:maxLength value="1"/>
805
+ <xs:pattern value="\d"/>
806
+ </xs:restriction>
807
+ </xs:simpleType>
808
+ </xs:element>
809
+ <xs:element name="Canton">
810
+ <xs:simpleType>
811
+ <xs:restriction base="xs:string">
812
+ <xs:minLength value="2"/>
813
+ <xs:maxLength value="2"/>
814
+ <xs:pattern value="\d\d"/>
815
+ </xs:restriction>
816
+ </xs:simpleType>
817
+ </xs:element>
818
+ <xs:element name="Distrito">
819
+ <xs:simpleType>
820
+ <xs:restriction base="xs:string">
821
+ <xs:minLength value="2"/>
822
+ <xs:maxLength value="2"/>
823
+ <xs:pattern value="\d\d"/>
824
+ </xs:restriction>
825
+ </xs:simpleType>
826
+ </xs:element>
827
+ <xs:element name="Barrio" minOccurs="0">
828
+ <xs:simpleType>
829
+ <xs:restriction base="xs:string">
830
+ <xs:minLength value="2"/>
831
+ <xs:maxLength value="2"/>
832
+ <xs:pattern value="\d\d"/>
833
+ </xs:restriction>
834
+ </xs:simpleType>
835
+ </xs:element>
836
+ <xs:element name="OtrasSenas">
837
+ <xs:simpleType>
838
+ <xs:restriction base="xs:string">
839
+ <xs:maxLength value="160"/>
840
+ </xs:restriction>
841
+ </xs:simpleType>
842
+ </xs:element>
843
+ </xs:sequence>
844
+ </xs:complexType>
845
+ <xs:complexType name="TelefonoType">
846
+ <xs:sequence>
847
+ <xs:element name="CodigoPais">
848
+ <xs:annotation>
849
+ <xs:documentation>Código del país</xs:documentation>
850
+ </xs:annotation>
851
+ <xs:simpleType>
852
+ <xs:restriction base="xs:integer">
853
+ <xs:totalDigits value="3"/>
854
+ </xs:restriction>
855
+ </xs:simpleType>
856
+ </xs:element>
857
+ <xs:element name="NumTelefono">
858
+ <xs:annotation>
859
+ <xs:documentation>Número de teléfono</xs:documentation>
860
+ </xs:annotation>
861
+ <xs:simpleType>
862
+ <xs:restriction base="xs:integer">
863
+ <xs:totalDigits value="20"/>
864
+ </xs:restriction>
865
+ </xs:simpleType>
866
+ </xs:element>
867
+ </xs:sequence>
868
+ </xs:complexType>
869
+ <xs:complexType name="ExoneracionType">
870
+ <xs:sequence>
871
+ <xs:element name="TipoDocumento">
872
+ <xs:annotation>
873
+ <xs:documentation>Tipo de documento de exoneración o autorización. 01 Compras Autorizadas, 02 Ventas exentas a diplomáticos, 03 Orden de compra (instituciones públicas y otros organismos), 04 Exenciones Dirección General de Hacienda, 05 Zonas Francas, 99 Otros</xs:documentation>
874
+ </xs:annotation>
875
+ <xs:simpleType>
876
+ <xs:restriction base="xs:string">
877
+ <xs:enumeration value="01">
878
+ <xs:annotation>
879
+ <xs:documentation>Compras Autorizadas</xs:documentation>
880
+ </xs:annotation>
881
+ </xs:enumeration>
882
+ <xs:enumeration value="02">
883
+ <xs:annotation>
884
+ <xs:documentation>Ventas exentas a diplomáticos</xs:documentation>
885
+ </xs:annotation>
886
+ </xs:enumeration>
887
+ <xs:enumeration value="03">
888
+ <xs:annotation>
889
+ <xs:documentation>Orden de compra (instituciones publicas y otros organismos)</xs:documentation>
890
+ </xs:annotation>
891
+ </xs:enumeration>
892
+ <xs:enumeration value="04">
893
+ <xs:annotation>
894
+ <xs:documentation>Exenciones Direccion General de Hacienda</xs:documentation>
895
+ </xs:annotation>
896
+ </xs:enumeration>
897
+ <xs:enumeration value="05">
898
+ <xs:annotation>
899
+ <xs:documentation>Zonas Francas</xs:documentation>
900
+ </xs:annotation>
901
+ </xs:enumeration>
902
+ <xs:enumeration value="99">
903
+ <xs:annotation>
904
+ <xs:documentation>Otros</xs:documentation>
905
+ </xs:annotation>
906
+ </xs:enumeration>
907
+ </xs:restriction>
908
+ </xs:simpleType>
909
+ </xs:element>
910
+ <xs:element name="NumeroDocumento">
911
+ <xs:annotation>
912
+ <xs:documentation>Número de documento de exoneración o autorización</xs:documentation>
913
+ </xs:annotation>
914
+ <xs:simpleType>
915
+ <xs:restriction base="xs:string">
916
+ <xs:maxLength value="17"/>
917
+ </xs:restriction>
918
+ </xs:simpleType>
919
+ </xs:element>
920
+ <xs:element name="NombreInstitucion">
921
+ <xs:annotation>
922
+ <xs:documentation>Nombre de la institución o dependencia que emitió la exoneración</xs:documentation>
923
+ </xs:annotation>
924
+ <xs:simpleType>
925
+ <xs:restriction base="xs:string">
926
+ <xs:maxLength value="100"/>
927
+ </xs:restriction>
928
+ </xs:simpleType>
929
+ </xs:element>
930
+ <xs:element name="FechaEmision" type="xs:dateTime">
931
+ <xs:annotation>
932
+ <xs:documentation>Fecha y hora de la emisión del documento de exoneración o autorización.</xs:documentation>
933
+ </xs:annotation>
934
+ </xs:element>
935
+ <xs:element name="MontoImpuesto" type="DecimalDineroType">
936
+ <xs:annotation>
937
+ <xs:documentation>Monto del impuesto exonerado o autorizado sin impuestos</xs:documentation>
938
+ </xs:annotation>
939
+ </xs:element>
940
+ <xs:element name="PorcentajeCompra">
941
+ <xs:annotation>
942
+ <xs:documentation>Porcentaje de la compra autorizada o exonerada</xs:documentation>
943
+ </xs:annotation>
944
+ <xs:simpleType>
945
+ <xs:restriction base="xs:integer">
946
+ <xs:totalDigits value="3"/>
947
+ </xs:restriction>
948
+ </xs:simpleType>
949
+ </xs:element>
950
+ </xs:sequence>
951
+ </xs:complexType>
952
+ <xs:complexType name="ImpuestoResumenType">
953
+ <xs:sequence>
954
+ <xs:element name="Codigo">
955
+ <xs:annotation>
956
+ <xs:documentation>Código del impuesto: 01 Impuesto General sobre las ventas, 02 Impuesto Selectivo de Consumo, 03 Impuesto único a los combustivos, 04 Impuesto específico de bebidas alcohólicas, 05 Impuesto específico sobre las bebidas envasadas sin contenido alcohólico y jabones de tocador, 06 Impuesto a los productos de tabaco, 07 Servicios, 99 Otros, 08 Impuesto General a las Ventas Diplomáticos, 09 Impuesto General sobre Ventas compras autorizadas, 10 Impuesto General sobre las ventas instituciones públicas y otros organismos, 11 Impuesto Selectivo de consumo compras autorizadas</xs:documentation>
957
+ </xs:annotation>
958
+ <xs:simpleType>
959
+ <xs:restriction base="xs:string">
960
+ <xs:enumeration value="01">
961
+ <xs:annotation>
962
+ <xs:documentation>Impuesto General sobre las ventas</xs:documentation>
963
+ </xs:annotation>
964
+ </xs:enumeration>
965
+ <xs:enumeration value="02">
966
+ <xs:annotation>
967
+ <xs:documentation> Impuesto Selectivo de Consumo</xs:documentation>
968
+ </xs:annotation>
969
+ </xs:enumeration>
970
+ <xs:enumeration value="03">
971
+ <xs:annotation>
972
+ <xs:documentation>Impuesto ünico a los combustivos</xs:documentation>
973
+ </xs:annotation>
974
+ </xs:enumeration>
975
+ <xs:enumeration value="04">
976
+ <xs:annotation>
977
+ <xs:documentation>Impuesto especifico de bebidas alcohólicas</xs:documentation>
978
+ </xs:annotation>
979
+ </xs:enumeration>
980
+ <xs:enumeration value="05">
981
+ <xs:annotation>
982
+ <xs:documentation>impuesto especifico sobre las bebidas envasadas sin contenido alcoholico y jabones de tocador</xs:documentation>
983
+ </xs:annotation>
984
+ </xs:enumeration>
985
+ <xs:enumeration value="06">
986
+ <xs:annotation>
987
+ <xs:documentation>impuesto a los productos de tabaco</xs:documentation>
988
+ </xs:annotation>
989
+ </xs:enumeration>
990
+ <xs:enumeration value="07">
991
+ <xs:annotation>
992
+ <xs:documentation>servicios</xs:documentation>
993
+ </xs:annotation>
994
+ </xs:enumeration>
995
+ <xs:enumeration value="99">
996
+ <xs:annotation>
997
+ <xs:documentation>Otros</xs:documentation>
998
+ </xs:annotation>
999
+ </xs:enumeration>
1000
+ <xs:enumeration value="08">
1001
+ <xs:annotation>
1002
+ <xs:documentation>Impuesto General a las Ventas Diplomaticos</xs:documentation>
1003
+ </xs:annotation>
1004
+ </xs:enumeration>
1005
+ <xs:enumeration value="09">
1006
+ <xs:annotation>
1007
+ <xs:documentation>Impuesto General sobre Ventas compras autorizadas</xs:documentation>
1008
+ </xs:annotation>
1009
+ </xs:enumeration>
1010
+ <xs:enumeration value="10">
1011
+ <xs:annotation>
1012
+ <xs:documentation>Impuesto General sobre las ventas instituciones publicas y otros organismos</xs:documentation>
1013
+ </xs:annotation>
1014
+ </xs:enumeration>
1015
+ <xs:enumeration value="11">
1016
+ <xs:annotation>
1017
+ <xs:documentation>Impuesto Selectivo de consumo compras autorizadas</xs:documentation>
1018
+ </xs:annotation>
1019
+ </xs:enumeration>
1020
+ </xs:restriction>
1021
+ </xs:simpleType>
1022
+ </xs:element>
1023
+ <xs:element name="Tarifa">
1024
+ <xs:annotation>
1025
+ <xs:documentation>Tarifa del impuesto</xs:documentation>
1026
+ </xs:annotation>
1027
+ <xs:simpleType>
1028
+ <xs:restriction base="xs:decimal">
1029
+ <xs:totalDigits value="4"/>
1030
+ <xs:fractionDigits value="2"/>
1031
+ </xs:restriction>
1032
+ </xs:simpleType>
1033
+ </xs:element>
1034
+ <xs:element name="Monto" type="DecimalDineroType">
1035
+ <xs:annotation>
1036
+ <xs:documentation>Se obtiene de la multiplicación del campo subtotal por la tarifa del impuesto</xs:documentation>
1037
+ </xs:annotation>
1038
+ </xs:element>
1039
+ </xs:sequence>
1040
+ </xs:complexType>
1041
+ <xs:complexType name="ImpuestoType">
1042
+ <xs:sequence>
1043
+ <xs:element name="Codigo">
1044
+ <xs:annotation>
1045
+ <xs:documentation>Código del impuesto: 01 Impuesto General sobre las ventas, 02 Impuesto Selectivo de Consumo, 03 Impuesto único a los combustivos, 04 Impuesto específico de bebidas alcohólicas, 05 Impuesto específico sobre las bebidas envasadas sin contenido alcohólico y jabones de tocador, 06 Impuesto a los productos de tabaco, 07 Servicios, 99 Otros, 08 Impuesto General a las Ventas Diplomáticos, 09 Impuesto General sobre Ventas compras autorizadas, 10 Impuesto General sobre las ventas instituciones públicas y otros organismos, 11 Impuesto Selectivo de consumo compras autorizadas, 12 Impuesto Especifico al Cemento, 98 Otros</xs:documentation>
1046
+ </xs:annotation>
1047
+ <xs:simpleType>
1048
+ <xs:restriction base="xs:string">
1049
+ <xs:enumeration value="01">
1050
+ <xs:annotation>
1051
+ <xs:documentation>Impuesto General sobre las ventas</xs:documentation>
1052
+ </xs:annotation>
1053
+ </xs:enumeration>
1054
+ <xs:enumeration value="02">
1055
+ <xs:annotation>
1056
+ <xs:documentation> Impuesto Selectivo de Consumo</xs:documentation>
1057
+ </xs:annotation>
1058
+ </xs:enumeration>
1059
+ <xs:enumeration value="03">
1060
+ <xs:annotation>
1061
+ <xs:documentation>Impuesto ünico a los combustivos</xs:documentation>
1062
+ </xs:annotation>
1063
+ </xs:enumeration>
1064
+ <xs:enumeration value="04">
1065
+ <xs:annotation>
1066
+ <xs:documentation>Impuesto especifico de bebidas alcohólicas</xs:documentation>
1067
+ </xs:annotation>
1068
+ </xs:enumeration>
1069
+ <xs:enumeration value="05">
1070
+ <xs:annotation>
1071
+ <xs:documentation>impuesto especifico sobre las bebidas envasadas sin contenido alcoholico y jabones de tocador</xs:documentation>
1072
+ </xs:annotation>
1073
+ </xs:enumeration>
1074
+ <xs:enumeration value="06">
1075
+ <xs:annotation>
1076
+ <xs:documentation>impuesto a los productos de tabaco</xs:documentation>
1077
+ </xs:annotation>
1078
+ </xs:enumeration>
1079
+ <xs:enumeration value="07">
1080
+ <xs:annotation>
1081
+ <xs:documentation>servicios</xs:documentation>
1082
+ </xs:annotation>
1083
+ </xs:enumeration>
1084
+ <xs:enumeration value="99">
1085
+ <xs:annotation>
1086
+ <xs:documentation>Otros</xs:documentation>
1087
+ </xs:annotation>
1088
+ </xs:enumeration>
1089
+ <xs:enumeration value="08">
1090
+ <xs:annotation>
1091
+ <xs:documentation>Impuesto General a las Ventas Diplomaticos</xs:documentation>
1092
+ </xs:annotation>
1093
+ </xs:enumeration>
1094
+ <xs:enumeration value="09">
1095
+ <xs:annotation>
1096
+ <xs:documentation>Impuesto General sobre Ventas compras autorizadas</xs:documentation>
1097
+ </xs:annotation>
1098
+ </xs:enumeration>
1099
+ <xs:enumeration value="10">
1100
+ <xs:annotation>
1101
+ <xs:documentation>Impuesto General sobre las ventas instituciones publicas y otros organismos</xs:documentation>
1102
+ </xs:annotation>
1103
+ </xs:enumeration>
1104
+ <xs:enumeration value="11">
1105
+ <xs:annotation>
1106
+ <xs:documentation>Impuesto Selectivo de consumo compras autorizadas</xs:documentation>
1107
+ </xs:annotation>
1108
+ </xs:enumeration>
1109
+ <xs:enumeration value="12">
1110
+ <xs:annotation>
1111
+ <xs:documentation>Impuesto Especifico al Cemento</xs:documentation>
1112
+ </xs:annotation>
1113
+ </xs:enumeration>
1114
+ <xs:enumeration value="98">
1115
+ <xs:annotation>
1116
+ <xs:documentation>Otros</xs:documentation>
1117
+ </xs:annotation>
1118
+ </xs:enumeration>
1119
+ </xs:restriction>
1120
+ </xs:simpleType>
1121
+ </xs:element>
1122
+ <xs:element name="Tarifa">
1123
+ <xs:annotation>
1124
+ <xs:documentation>Tarifa del impuesto</xs:documentation>
1125
+ </xs:annotation>
1126
+ <xs:simpleType>
1127
+ <xs:restriction base="xs:decimal">
1128
+ <xs:totalDigits value="4"/>
1129
+ <xs:fractionDigits value="2"/>
1130
+ </xs:restriction>
1131
+ </xs:simpleType>
1132
+ </xs:element>
1133
+ <xs:element name="Monto" type="DecimalDineroType">
1134
+ <xs:annotation>
1135
+ <xs:documentation>Se obtiene de la multiplicación del campo subtotal por la tarifa del impuesto</xs:documentation>
1136
+ </xs:annotation>
1137
+ </xs:element>
1138
+ <xs:element name="Exoneracion" type="ExoneracionType" minOccurs="0"/>
1139
+ </xs:sequence>
1140
+ </xs:complexType>
1141
+ <xs:complexType name="CodigoType">
1142
+ <xs:sequence>
1143
+ <xs:element name="Tipo">
1144
+ <xs:annotation>
1145
+ <xs:documentation>Tipo de código de producto o servicio: 01: Código del producto del vendedor, 02 Código del producto del comprador, 03 Código del producto asignado por la industria, 04 Código de uso interno, 99 Otros</xs:documentation>
1146
+ </xs:annotation>
1147
+ <xs:simpleType>
1148
+ <xs:restriction base="xs:string">
1149
+ <xs:enumeration value="01">
1150
+ <xs:annotation>
1151
+ <xs:documentation>Código del producto del vendedor</xs:documentation>
1152
+ </xs:annotation>
1153
+ </xs:enumeration>
1154
+ <xs:enumeration value="02">
1155
+ <xs:annotation>
1156
+ <xs:documentation>Código del producto del comprador</xs:documentation>
1157
+ </xs:annotation>
1158
+ </xs:enumeration>
1159
+ <xs:enumeration value="03">
1160
+ <xs:annotation>
1161
+ <xs:documentation>código del producto asignado por la industria</xs:documentation>
1162
+ </xs:annotation>
1163
+ </xs:enumeration>
1164
+ <xs:enumeration value="04">
1165
+ <xs:annotation>
1166
+ <xs:documentation>código de uso interno</xs:documentation>
1167
+ </xs:annotation>
1168
+ </xs:enumeration>
1169
+ <xs:enumeration value="99">
1170
+ <xs:annotation>
1171
+ <xs:documentation>Otros</xs:documentation>
1172
+ </xs:annotation>
1173
+ </xs:enumeration>
1174
+ </xs:restriction>
1175
+ </xs:simpleType>
1176
+ </xs:element>
1177
+ <xs:element name="Codigo">
1178
+ <xs:annotation>
1179
+ <xs:documentation>Código del producto o servicio</xs:documentation>
1180
+ </xs:annotation>
1181
+ <xs:simpleType>
1182
+ <xs:restriction base="xs:string">
1183
+ <xs:maxLength value="20"/>
1184
+ </xs:restriction>
1185
+ </xs:simpleType>
1186
+ </xs:element>
1187
+ </xs:sequence>
1188
+ </xs:complexType>
1189
+ <xs:simpleType name="DecimalDineroType">
1190
+ <xs:annotation>
1191
+ <xs:documentation>Tipo de dato decimal para representar los valores de dinero.</xs:documentation>
1192
+ </xs:annotation>
1193
+ <xs:restriction base="xs:decimal">
1194
+ <xs:totalDigits value="18"/>
1195
+ <xs:fractionDigits value="5"/>
1196
+ <xs:maxInclusive value="9999999999999.99999"/>
1197
+ </xs:restriction>
1198
+ </xs:simpleType>
1199
+ <xs:simpleType name="ClaveType">
1200
+ <xs:annotation>
1201
+ <xs:documentation>Tipo de dato String que solo permite el uso de números con un largo de 50.</xs:documentation>
1202
+ </xs:annotation>
1203
+ <xs:restriction base="xs:string">
1204
+ <xs:pattern value="\d{50,50}"/>
1205
+ </xs:restriction>
1206
+ </xs:simpleType>
1207
+ <xs:simpleType name="NumeroConsecutivoType">
1208
+ <xs:annotation>
1209
+ <xs:documentation>Tipo de dato String que solo permite el uso de números con un largo de 50.</xs:documentation>
1210
+ </xs:annotation>
1211
+ <xs:restriction base="xs:string">
1212
+ <xs:pattern value="\d{20,20}"/>
1213
+ </xs:restriction>
1214
+ </xs:simpleType>
1215
+ <xs:simpleType name="UnidadMedidaType">
1216
+ <xs:annotation>
1217
+ <xs:documentation>Unidades de Medida basadas en el estándar RTC 443:2010</xs:documentation>
1218
+ </xs:annotation>
1219
+ <xs:restriction base="xs:string">
1220
+ <xs:enumeration value="Sp">
1221
+ <xs:annotation>
1222
+ <xs:documentation>Servicios Profesionales</xs:documentation>
1223
+ </xs:annotation>
1224
+ </xs:enumeration>
1225
+ <xs:enumeration value="m">
1226
+ <xs:annotation>
1227
+ <xs:documentation>Metro</xs:documentation>
1228
+ </xs:annotation>
1229
+ </xs:enumeration>
1230
+ <xs:enumeration value="kg">
1231
+ <xs:annotation>
1232
+ <xs:documentation>Kilogramo</xs:documentation>
1233
+ </xs:annotation>
1234
+ </xs:enumeration>
1235
+ <xs:enumeration value="s">
1236
+ <xs:annotation>
1237
+ <xs:documentation>Segundo</xs:documentation>
1238
+ </xs:annotation>
1239
+ </xs:enumeration>
1240
+ <xs:enumeration value="A">
1241
+ <xs:annotation>
1242
+ <xs:documentation>Ampere</xs:documentation>
1243
+ </xs:annotation>
1244
+ </xs:enumeration>
1245
+ <xs:enumeration value="K">
1246
+ <xs:annotation>
1247
+ <xs:documentation>Kelvin</xs:documentation>
1248
+ </xs:annotation>
1249
+ </xs:enumeration>
1250
+ <xs:enumeration value="mol">
1251
+ <xs:annotation>
1252
+ <xs:documentation>Mol</xs:documentation>
1253
+ </xs:annotation>
1254
+ </xs:enumeration>
1255
+ <xs:enumeration value="cd">
1256
+ <xs:annotation>
1257
+ <xs:documentation>Candela</xs:documentation>
1258
+ </xs:annotation>
1259
+ </xs:enumeration>
1260
+ <xs:enumeration value="m²">
1261
+ <xs:annotation>
1262
+ <xs:documentation>metro cuadrado</xs:documentation>
1263
+ </xs:annotation>
1264
+ </xs:enumeration>
1265
+ <xs:enumeration value="m³">
1266
+ <xs:annotation>
1267
+ <xs:documentation>metro cúbico</xs:documentation>
1268
+ </xs:annotation>
1269
+ </xs:enumeration>
1270
+ <xs:enumeration value="m/s">
1271
+ <xs:annotation>
1272
+ <xs:documentation>metro por segundo</xs:documentation>
1273
+ </xs:annotation>
1274
+ </xs:enumeration>
1275
+ <xs:enumeration value="m/s²">
1276
+ <xs:annotation>
1277
+ <xs:documentation>metro por segundo cuadrado</xs:documentation>
1278
+ </xs:annotation>
1279
+ </xs:enumeration>
1280
+ <xs:enumeration value="1/m">
1281
+ <xs:annotation>
1282
+ <xs:documentation>1 por metro</xs:documentation>
1283
+ </xs:annotation>
1284
+ </xs:enumeration>
1285
+ <xs:enumeration value="kg/m³">
1286
+ <xs:annotation>
1287
+ <xs:documentation>kilogramo por metro cúbico</xs:documentation>
1288
+ </xs:annotation>
1289
+ </xs:enumeration>
1290
+ <xs:enumeration value="A/m²">
1291
+ <xs:annotation>
1292
+ <xs:documentation>ampere por metro cuadrado</xs:documentation>
1293
+ </xs:annotation>
1294
+ </xs:enumeration>
1295
+ <xs:enumeration value="A/m">
1296
+ <xs:annotation>
1297
+ <xs:documentation>ampere por metro</xs:documentation>
1298
+ </xs:annotation>
1299
+ </xs:enumeration>
1300
+ <xs:enumeration value="mol/m³">
1301
+ <xs:annotation>
1302
+ <xs:documentation>mol por metro cúbico</xs:documentation>
1303
+ </xs:annotation>
1304
+ </xs:enumeration>
1305
+ <xs:enumeration value="cd/m²">
1306
+ <xs:annotation>
1307
+ <xs:documentation>candela por metro cuadrado</xs:documentation>
1308
+ </xs:annotation>
1309
+ </xs:enumeration>
1310
+ <xs:enumeration value="1">
1311
+ <xs:annotation>
1312
+ <xs:documentation>uno (indice de refracción)</xs:documentation>
1313
+ </xs:annotation>
1314
+ </xs:enumeration>
1315
+ <xs:enumeration value="rad">
1316
+ <xs:annotation>
1317
+ <xs:documentation>radián</xs:documentation>
1318
+ </xs:annotation>
1319
+ </xs:enumeration>
1320
+ <xs:enumeration value="sr">
1321
+ <xs:annotation>
1322
+ <xs:documentation>estereorradián</xs:documentation>
1323
+ </xs:annotation>
1324
+ </xs:enumeration>
1325
+ <xs:enumeration value="Hz">
1326
+ <xs:annotation>
1327
+ <xs:documentation>hertz</xs:documentation>
1328
+ </xs:annotation>
1329
+ </xs:enumeration>
1330
+ <xs:enumeration value="N">
1331
+ <xs:annotation>
1332
+ <xs:documentation>newton</xs:documentation>
1333
+ </xs:annotation>
1334
+ </xs:enumeration>
1335
+ <xs:enumeration value="Pa">
1336
+ <xs:annotation>
1337
+ <xs:documentation>pascal</xs:documentation>
1338
+ </xs:annotation>
1339
+ </xs:enumeration>
1340
+ <xs:enumeration value="J">
1341
+ <xs:annotation>
1342
+ <xs:documentation>Joule</xs:documentation>
1343
+ </xs:annotation>
1344
+ </xs:enumeration>
1345
+ <xs:enumeration value="W">
1346
+ <xs:annotation>
1347
+ <xs:documentation>Watt</xs:documentation>
1348
+ </xs:annotation>
1349
+ </xs:enumeration>
1350
+ <xs:enumeration value="C">
1351
+ <xs:annotation>
1352
+ <xs:documentation>coulomb</xs:documentation>
1353
+ </xs:annotation>
1354
+ </xs:enumeration>
1355
+ <xs:enumeration value="V">
1356
+ <xs:annotation>
1357
+ <xs:documentation>volt</xs:documentation>
1358
+ </xs:annotation>
1359
+ </xs:enumeration>
1360
+ <xs:enumeration value="F">
1361
+ <xs:annotation>
1362
+ <xs:documentation>farad</xs:documentation>
1363
+ </xs:annotation>
1364
+ </xs:enumeration>
1365
+ <xs:enumeration value="Ω">
1366
+ <xs:annotation>
1367
+ <xs:documentation>ohm</xs:documentation>
1368
+ </xs:annotation>
1369
+ </xs:enumeration>
1370
+ <xs:enumeration value="S">
1371
+ <xs:annotation>
1372
+ <xs:documentation>siemens</xs:documentation>
1373
+ </xs:annotation>
1374
+ </xs:enumeration>
1375
+ <xs:enumeration value="Wb">
1376
+ <xs:annotation>
1377
+ <xs:documentation>weber</xs:documentation>
1378
+ </xs:annotation>
1379
+ </xs:enumeration>
1380
+ <xs:enumeration value="T">
1381
+ <xs:annotation>
1382
+ <xs:documentation>tesla</xs:documentation>
1383
+ </xs:annotation>
1384
+ </xs:enumeration>
1385
+ <xs:enumeration value="H">
1386
+ <xs:annotation>
1387
+ <xs:documentation>henry</xs:documentation>
1388
+ </xs:annotation>
1389
+ </xs:enumeration>
1390
+ <xs:enumeration value="°C">
1391
+ <xs:annotation>
1392
+ <xs:documentation>grado Celsius</xs:documentation>
1393
+ </xs:annotation>
1394
+ </xs:enumeration>
1395
+ <xs:enumeration value="lm">
1396
+ <xs:annotation>
1397
+ <xs:documentation>lumen</xs:documentation>
1398
+ </xs:annotation>
1399
+ </xs:enumeration>
1400
+ <xs:enumeration value="lx">
1401
+ <xs:annotation>
1402
+ <xs:documentation>lux</xs:documentation>
1403
+ </xs:annotation>
1404
+ </xs:enumeration>
1405
+ <xs:enumeration value="Bq">
1406
+ <xs:annotation>
1407
+ <xs:documentation>Becquerel</xs:documentation>
1408
+ </xs:annotation>
1409
+ </xs:enumeration>
1410
+ <xs:enumeration value="Gy">
1411
+ <xs:annotation>
1412
+ <xs:documentation>gray</xs:documentation>
1413
+ </xs:annotation>
1414
+ </xs:enumeration>
1415
+ <xs:enumeration value="Sv">
1416
+ <xs:annotation>
1417
+ <xs:documentation>sievert</xs:documentation>
1418
+ </xs:annotation>
1419
+ </xs:enumeration>
1420
+ <xs:enumeration value="kat">
1421
+ <xs:annotation>
1422
+ <xs:documentation>katal</xs:documentation>
1423
+ </xs:annotation>
1424
+ </xs:enumeration>
1425
+ <xs:enumeration value="Pa·s">
1426
+ <xs:annotation>
1427
+ <xs:documentation>pascal segundo</xs:documentation>
1428
+ </xs:annotation>
1429
+ </xs:enumeration>
1430
+ <xs:enumeration value="N·m">
1431
+ <xs:annotation>
1432
+ <xs:documentation>newton metro</xs:documentation>
1433
+ </xs:annotation>
1434
+ </xs:enumeration>
1435
+ <xs:enumeration value="N/m">
1436
+ <xs:annotation>
1437
+ <xs:documentation>newton por metro</xs:documentation>
1438
+ </xs:annotation>
1439
+ </xs:enumeration>
1440
+ <xs:enumeration value="rad/s">
1441
+ <xs:annotation>
1442
+ <xs:documentation>radián por segundo</xs:documentation>
1443
+ </xs:annotation>
1444
+ </xs:enumeration>
1445
+ <xs:enumeration value="rad/s²">
1446
+ <xs:annotation>
1447
+ <xs:documentation>radián por segundo cuadrado</xs:documentation>
1448
+ </xs:annotation>
1449
+ </xs:enumeration>
1450
+ <xs:enumeration value="W/m²">
1451
+ <xs:annotation>
1452
+ <xs:documentation>watt por metro cuadrado</xs:documentation>
1453
+ </xs:annotation>
1454
+ </xs:enumeration>
1455
+ <xs:enumeration value="J/K">
1456
+ <xs:annotation>
1457
+ <xs:documentation>joule por kelvin</xs:documentation>
1458
+ </xs:annotation>
1459
+ </xs:enumeration>
1460
+ <xs:enumeration value="J/(kg·K)">
1461
+ <xs:annotation>
1462
+ <xs:documentation>joule por kilogramo kelvin</xs:documentation>
1463
+ </xs:annotation>
1464
+ </xs:enumeration>
1465
+ <xs:enumeration value="J/kg">
1466
+ <xs:annotation>
1467
+ <xs:documentation>joule por kilogramo</xs:documentation>
1468
+ </xs:annotation>
1469
+ </xs:enumeration>
1470
+ <xs:enumeration value="W/(m·K)">
1471
+ <xs:annotation>
1472
+ <xs:documentation>watt por metro kevin</xs:documentation>
1473
+ </xs:annotation>
1474
+ </xs:enumeration>
1475
+ <xs:enumeration value="J/m³">
1476
+ <xs:annotation>
1477
+ <xs:documentation>joule por metro cúbico</xs:documentation>
1478
+ </xs:annotation>
1479
+ </xs:enumeration>
1480
+ <xs:enumeration value="V/m">
1481
+ <xs:annotation>
1482
+ <xs:documentation>volt por metro</xs:documentation>
1483
+ </xs:annotation>
1484
+ </xs:enumeration>
1485
+ <xs:enumeration value="C/m³">
1486
+ <xs:annotation>
1487
+ <xs:documentation>coulomb por metro cúbico</xs:documentation>
1488
+ </xs:annotation>
1489
+ </xs:enumeration>
1490
+ <xs:enumeration value="C/m²">
1491
+ <xs:annotation>
1492
+ <xs:documentation>coulomb por metro cuadrado</xs:documentation>
1493
+ </xs:annotation>
1494
+ </xs:enumeration>
1495
+ <xs:enumeration value="F/m">
1496
+ <xs:annotation>
1497
+ <xs:documentation>farad por metro</xs:documentation>
1498
+ </xs:annotation>
1499
+ </xs:enumeration>
1500
+ <xs:enumeration value="H/m">
1501
+ <xs:annotation>
1502
+ <xs:documentation>henry por metro</xs:documentation>
1503
+ </xs:annotation>
1504
+ </xs:enumeration>
1505
+ <xs:enumeration value="J/mol">
1506
+ <xs:annotation>
1507
+ <xs:documentation>joule por mol</xs:documentation>
1508
+ </xs:annotation>
1509
+ </xs:enumeration>
1510
+ <xs:enumeration value="J/(mol·K)">
1511
+ <xs:annotation>
1512
+ <xs:documentation>joule por mol kelvin</xs:documentation>
1513
+ </xs:annotation>
1514
+ </xs:enumeration>
1515
+ <xs:enumeration value="C/kg">
1516
+ <xs:annotation>
1517
+ <xs:documentation>coulomb por kilogramo</xs:documentation>
1518
+ </xs:annotation>
1519
+ </xs:enumeration>
1520
+ <xs:enumeration value="Gy/s">
1521
+ <xs:annotation>
1522
+ <xs:documentation>gray por segundo</xs:documentation>
1523
+ </xs:annotation>
1524
+ </xs:enumeration>
1525
+ <xs:enumeration value="W/sr">
1526
+ <xs:annotation>
1527
+ <xs:documentation>watt por estereorradián</xs:documentation>
1528
+ </xs:annotation>
1529
+ </xs:enumeration>
1530
+ <xs:enumeration value="W/(m²·sr)">
1531
+ <xs:annotation>
1532
+ <xs:documentation>watt por metro cuadrado estereorradián</xs:documentation>
1533
+ </xs:annotation>
1534
+ </xs:enumeration>
1535
+ <xs:enumeration value="kat/m³">
1536
+ <xs:annotation>
1537
+ <xs:documentation>katal por metro cúbico</xs:documentation>
1538
+ </xs:annotation>
1539
+ </xs:enumeration>
1540
+ <xs:enumeration value="min">
1541
+ <xs:annotation>
1542
+ <xs:documentation>minuto</xs:documentation>
1543
+ </xs:annotation>
1544
+ </xs:enumeration>
1545
+ <xs:enumeration value="h">
1546
+ <xs:annotation>
1547
+ <xs:documentation>hora</xs:documentation>
1548
+ </xs:annotation>
1549
+ </xs:enumeration>
1550
+ <xs:enumeration value="d">
1551
+ <xs:annotation>
1552
+ <xs:documentation>día</xs:documentation>
1553
+ </xs:annotation>
1554
+ </xs:enumeration>
1555
+ <xs:enumeration value="º">
1556
+ <xs:annotation>
1557
+ <xs:documentation>grado</xs:documentation>
1558
+ </xs:annotation>
1559
+ </xs:enumeration>
1560
+ <xs:enumeration value="´">
1561
+ <xs:annotation>
1562
+ <xs:documentation>minuto</xs:documentation>
1563
+ </xs:annotation>
1564
+ </xs:enumeration>
1565
+ <xs:enumeration value="´´">
1566
+ <xs:annotation>
1567
+ <xs:documentation>segundo</xs:documentation>
1568
+ </xs:annotation>
1569
+ </xs:enumeration>
1570
+ <xs:enumeration value="L">
1571
+ <xs:annotation>
1572
+ <xs:documentation>litro</xs:documentation>
1573
+ </xs:annotation>
1574
+ </xs:enumeration>
1575
+ <xs:enumeration value="t">
1576
+ <xs:annotation>
1577
+ <xs:documentation>tonelada</xs:documentation>
1578
+ </xs:annotation>
1579
+ </xs:enumeration>
1580
+ <xs:enumeration value="Np">
1581
+ <xs:annotation>
1582
+ <xs:documentation>neper</xs:documentation>
1583
+ </xs:annotation>
1584
+ </xs:enumeration>
1585
+ <xs:enumeration value="B">
1586
+ <xs:annotation>
1587
+ <xs:documentation>bel</xs:documentation>
1588
+ </xs:annotation>
1589
+ </xs:enumeration>
1590
+ <xs:enumeration value="eV">
1591
+ <xs:annotation>
1592
+ <xs:documentation>electronvolt</xs:documentation>
1593
+ </xs:annotation>
1594
+ </xs:enumeration>
1595
+ <xs:enumeration value="u">
1596
+ <xs:annotation>
1597
+ <xs:documentation>unidad de masa atómica unificada</xs:documentation>
1598
+ </xs:annotation>
1599
+ </xs:enumeration>
1600
+ <xs:enumeration value="ua">
1601
+ <xs:annotation>
1602
+ <xs:documentation>unidad astronómica</xs:documentation>
1603
+ </xs:annotation>
1604
+ </xs:enumeration>
1605
+ <xs:enumeration value="Unid">
1606
+ <xs:annotation>
1607
+ <xs:documentation>unidad</xs:documentation>
1608
+ </xs:annotation>
1609
+ </xs:enumeration>
1610
+ <xs:enumeration value="Gal">
1611
+ <xs:annotation>
1612
+ <xs:documentation>galón</xs:documentation>
1613
+ </xs:annotation>
1614
+ </xs:enumeration>
1615
+ <xs:enumeration value="g">
1616
+ <xs:annotation>
1617
+ <xs:documentation>gramo</xs:documentation>
1618
+ </xs:annotation>
1619
+ </xs:enumeration>
1620
+ <xs:enumeration value="Km">
1621
+ <xs:annotation>
1622
+ <xs:documentation>kilometro</xs:documentation>
1623
+ </xs:annotation>
1624
+ </xs:enumeration>
1625
+ <xs:enumeration value="ln">
1626
+ <xs:annotation>
1627
+ <xs:documentation>pulgada</xs:documentation>
1628
+ </xs:annotation>
1629
+ </xs:enumeration>
1630
+ <xs:enumeration value="cm">
1631
+ <xs:annotation>
1632
+ <xs:documentation>centimetro</xs:documentation>
1633
+ </xs:annotation>
1634
+ </xs:enumeration>
1635
+ <xs:enumeration value="mL">
1636
+ <xs:annotation>
1637
+ <xs:documentation>mililitro</xs:documentation>
1638
+ </xs:annotation>
1639
+ </xs:enumeration>
1640
+ <xs:enumeration value="mm">
1641
+ <xs:annotation>
1642
+ <xs:documentation>milimetro</xs:documentation>
1643
+ </xs:annotation>
1644
+ </xs:enumeration>
1645
+ <xs:enumeration value="Oz">
1646
+ <xs:annotation>
1647
+ <xs:documentation>onzas</xs:documentation>
1648
+ </xs:annotation>
1649
+ </xs:enumeration>
1650
+ <xs:enumeration value="Otros">
1651
+ <xs:annotation>
1652
+ <xs:documentation/>
1653
+ </xs:annotation>
1654
+ </xs:enumeration>
1655
+ </xs:restriction>
1656
+ </xs:simpleType>
1657
+ </xs:schema>