Advertisement
Guest User

Untitled

a guest
Aug 15th, 2019
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PL/SQL 2.79 KB | None | 0 0
  1. SELECT sre_recaudaciones.sre_fac_servicio_validacion_recepcion_ventas_factura_manual('
  2. {
  3.  "XmlFactura": {
  4.    "factura": {
  5.      "cabecera": {
  6.        "caed": "NWlVbUJlS0JBeUdBQUFBJUFBQUFlQUFBecOTfEJdIXxCQ0FReWU+REFvQ2RDQ0JB",
  7.        "fechaEmision": "13/05/2019",
  8.        "codigoSucursal": 9,
  9.        "codigoPuntoVenta": 4,
  10.        "montoTotal": 69600,
  11.        "nombreRazonSocial": "PRUEBA CORNEJO",
  12.        "numeroFactura": 50,
  13.        "codigoTipoDocumentoIdentidad": 4,
  14.        "numeroDocumento": "2057638015",
  15.        "complemento": "A",
  16.        "descripcion": "Televisor de pantalla plana 42 ",
  17.        "montoIce": 528.89,
  18.        "direccionComprador":"direccion del comprador",
  19.        "incoterm": "INCOTERM",
  20.         "puertoDestino": "PUERTO DESTINO",
  21.         "lugarDestino": "LUGAR DESTINO",
  22.         "codigoPais": 358,
  23.         "montoTotalPuerto": 2500,
  24.         "precioValorBruto": 6975,
  25.         "gastosTransporteFrontera": 375,
  26.         "gastosSeguroFrontera": 150,
  27.         "totalFobFrontera": 7500,
  28.         "montoTransporteFrontera": 2000,
  29.         "montoSeguroInternacional": 500,
  30.         "otrosMontos": 0,
  31.         "remitente" : "REMITENTE",
  32. "consignatario" : "CONSIGNATARIO",
  33. "lugarAcopioPuerto" : "LUGAR ACOPIO PUERTO",
  34. "placaVehiculo" : "PLACA",
  35. "tipoEnvase" : "T",
  36. "montoLey317" : 48720,
  37. "montoTotalSujetoIva" : 9048.00,
  38.     "modalidadServicio" : "TEXTO EJEMPLO",
  39.     "medico" : "TEXTO EJEMPLO",
  40.     "paciente" : "TEXTO EJEMPLO",
  41.     "especialidad" : "TEXTO EJEMPLO",
  42. "cantidadHuespedes" : 10,
  43. "cantidadHabitaciones" : 10,
  44. "cantidadMayores" : 10,
  45. "cantidadMenores" : 10,
  46. "fechaIngresoHospedaje" : "15/07/2019",
  47. "numeroFacturaNotaCredito" : 20,
  48. "numeroAutorizacionCaed" : "numero autori",
  49. "fechaEmisionFactura" : "13/09/2019",
  50. "montoTotalOriginal" : 20.8,
  51. "montoTotalDevuelto" : 20.8,
  52. "montoEfectivoCreditoDebito" : 20.8,
  53.     "tipoCambioOficial" : 7.68,
  54.     "tipoCambio" : 7.68
  55.      }
  56.    }
  57.  },
  58.  "xmlRecepcionGenerica": {
  59.    "v_usuarioRegistroId": 83006,
  60.    "v_usuario_ultima_modificacion_id": 83006,
  61.    "p_recepcion_paquete_id": 3,
  62.    "p_persona_contribuyente_id": 1000001845,
  63.    "p_tipo_modalidad_id": 602,
  64.    "p_tipo_documento_fiscal_id": 345,
  65.    "p_tipo_documento_sector_id": 1395,
  66.    "p_estado_recepcion_id": 709,
  67.    "p_sucursal_contribuyente_id": "2370979",
  68.    "p_numero_sucursal": "0",
  69.    "p_fecha_envio": "Wed Jul 10 10:30:50 BOT 2019",
  70.    "p_nombre_archivo": "hey",
  71.    "p_persona_contribuyente_emisor_id": 1000001845,
  72.    "p_gestion": "2018",
  73.    "p_periodo_facturado": "09",
  74.    "p_nit_emisor": "2057638015",
  75.    "p_direccion": "DIRECCION",
  76.    "p_leyenda": "LEYENDA",
  77.    "v_oficinaId": 20,
  78.    "p_tipo_departamento_id": "328",
  79.    "p_estado_factura_id": 1495,
  80.    "p_persona_contribuyente_beneficiario_id": 1000001845,
  81.    "p_actividad_economica_id": 319,
  82.    "p_codigo_actividad": 11111111
  83.  }
  84. }
  85.                                                                                      ')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement