
---------------- J S O N  R E C I B I D O ----------------
{
  "orden": "8F3A1",
  "canal": "AG",
  "tipo_fac": "",
  "cod_unidad": "24",
  "nom_unidad": "W Carrefour UBER",
  "email": "",
  "telefono": " 8299473615",
  "nombre": "Michelle J.",
  "calle": "",
  "sector": "",
  "casa": "",
  "numero": "",
  "comentario1": "",
  "comentario2": "",
  "comentario3": "",
  "comentario4": "",
  "tiponcf": "CONSUMO",
  "rnc": "",
  "razonsocial": "",
  "fecha": "2026-06-04",
  "hora": "19:59",
  "hora_entrega": "2026-06-04T20:03:27-04:00",
  "subtotal": 0,
  "valor_descuento": 0,
  "porciento_descuento": 0,
  "itbis": 0,
  "propina": 0,
  "total": 700,
  "forma_pago": "",
  "cambio_efectivo": 0,
  "recargo": 0,
  "referencia": "Uber",
  "infoComprobante": null,
  "aprobacion": null,
  "address": [
    {
      "formatted": "",
      "countryCode": "592 55 232",
      "city": "",
      "street": "",
      "number": "",
      "apt": "",
      "floor": "",
      "entrance": "",
      "pobox": "",
      "comment": "",
      "latLng": {
        "lat": "",
        "lng": ""
      }
    }
  ],
  "members": [
    {
      "linea": 1,
      "grupolinea": 1,
      "plu": "1100027",
      "descripcion": "Extra Salsa Bbq",
      "cantidad": 1,
      "precio": 30,
      "ind_kit": "N",
      "padre": ""
    },
    {
      "linea": 2,
      "grupolinea": 3,
      "plu": "K000001",
      "descripcion": "Combo Asiago Ranch Emapanizado",
      "cantidad": 1,
      "precio": 670,
      "ind_kit": "S",
      "padre": ""
    },
    {
      "linea": 3,
      "grupolinea": 3,
      "plu": "X000004",
      "descripcion": "SIN TOMATE (ING)",
      "cantidad": 1,
      "precio": 0,
      "ind_kit": "N",
      "padre": "K000001"
    },
    {
      "linea": 4,
      "grupolinea": 3,
      "plu": "61012",
      "descripcion": "BOTELLA COCA COLA",
      "cantidad": 1,
      "precio": 0,
      "ind_kit": "N",
      "padre": "K000001"
    },
    {
      "linea": 5,
      "grupolinea": 3,
      "plu": "0900002",
      "descripcion": "PAPAS MEDIANA",
      "cantidad": 1,
      "precio": 0,
      "ind_kit": "N",
      "padre": "K000001"
    }
  ]
}
--------- Configuracion de Impuestos ---------
porc_itbis : 0.18
porc_propina : 0.1
factor_precio : 8.474
totalporcimpuestos : 1.28
Orden Agregador, se asigno nuevo numero de Orden : 436151
Proximo # De Orden : 436151

-------------- Insertar header orden -----------
sql insert into orden1d (orden_app,orden_web,canal,referencia,COD_UNIDAD,NOM_UNIDAD,TIPO_FAC,
TELEFONO,CLIENTE,EMAIL,TIPONCF,RNCCUST,
NOMCUST,FECHA,HORA,FECHA_BD,HORA_BD,HORA_ENTREGA,
SUBTOTAL,
DESCUENTO,PORC_DESCUENTO,ITBIS,PROPINA,VALOR,PAGO_EFECTIVO,PAGO_TARJETACREDITO,FORMA_PAGO,GEOLOCATION_LATITUD,GEOLOCATION_LONGITUD,CIUDAD,CALLE,CASA,SECTOR,COMENTA1,COMENTA2,COMENTA3,COMENTA4,CANALNOMBRE,INFOCOMPROBANTE)
 values('436151','436151','AG','8F3A1','24','W CARREFOUR UBER','C',
 '829-947-3615','8F3A1 / Uber','','CONSUMO','',
 '','2026-06-04','19:59','2026-07-09','01:45:32','20:03',
 '593.2171875','0','0','106.77909375','0','700','0',
 '0','' ,'' ,'','','','',
 '','','','','','Uber',''
)
header registrado
Ultimo ID : 35
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
formatted : 
countryCode : 592 55 232
city : 
street : 
number : 
floor : 
latLng : Array
comment : 
-------------- Insertar detalle orden -----------
insert into orden2d (ID_ORDEN_ID,orden_app,orden_web,cod_unidad,telefono,plu,descri,kit,ind_kit,detallekit,linea,cantidad,precio,padre) values ("35", "436151", "436151", "24", "829-947-3615", "1100027", "Extra Salsa Bbq", "", "N", "N", "1", "1", "25.42359375", ""), ("35", "436151", "436151", "24", "829-947-3615", "K000001", "Combo Asiago Ranch Emapanizado", "", "S", "N", "2", "1", "567.79359375", ""), ("35", "436151", "436151", "24", "829-947-3615", "X000004", "SIN TOMATE (ING)", "", "N", "S", "3", "1", "0", "K000001"), ("35", "436151", "436151", "24", "829-947-3615", "61012", "BOTELLA COCA COLA", "", "N", "S", "4", "1", "0", "K000001"), ("35", "436151", "436151", "24", "829-947-3615", "0900002", "PAPAS MEDIANA", "", "N", "S", "5", "1", "0", "K000001")

1- 1100027 Extra Salsa Bbq : 1 * 30 = 30
2- K000001 Combo Asiago Ranch Emapanizado : 1 * 670 = 670
3- X000004 SIN TOMATE (ING) : 1 * 0 = 0
4- 61012 BOTELLA COCA COLA : 1 * 0 = 0
5- 0900002 PAPAS MEDIANA : 1 * 0 = 0

Detalle registrado
Retorno : {
			"status":"200",
			"orden":"436151",
			"email":"1"
		}
Orden registrada. # Orden Json : 436151 / # Orden Web : 436151
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------- J S O N  R E C I B I D O ----------------

json vacio
Se envio correo para notificar Api : Se recibio un JSON VACIO en Notificacion_orden.php<BR><BR>
---------------- J S O N  R E C I B I D O ----------------
{
  "orden": "8F3A1",
  "canal": "AG",
  "tipo_fac": "",
  "cod_unidad": "99",
  "nom_unidad": "W Carrefour UBER",
  "email": "",
  "telefono": " 111-222-3333",
  "nombre": "Michelle J.",
  "calle": "",
  "sector": "",
  "casa": "",
  "numero": "",
  "comentario1": "",
  "comentario2": "",
  "comentario3": "",
  "comentario4": "",
  "tiponcf": "CONSUMO",
  "rnc": "",
  "razonsocial": "",
  "fecha": "2026-06-04",
  "hora": "19:59",
  "hora_entrega": "2026-06-04T20:03:27-04:00",
  "subtotal": 0,
  "valor_descuento": 0,
  "porciento_descuento": 0,
  "itbis": 0,
  "propina": 0,
  "total": 700,
  "forma_pago": "",
  "cambio_efectivo": 0,
  "recargo": 0,
  "referencia": "Uber",
  "infoComprobante": null,
  "aprobacion": null,
  "address": [
    {
      "formatted": "",
      "countryCode": "592 55 232",
      "city": "",
      "street": "",
      "number": "",
      "apt": "",
      "floor": "",
      "entrance": "",
      "pobox": "",
      "comment": "",
      "latLng": {
        "lat": "",
        "lng": ""
      }
    }
  ],
  "members": [
    {
      "linea": 1,
      "grupolinea": 1,
      "plu": "1100027",
      "descripcion": "Extra Salsa Bbq",
      "cantidad": 1,
      "precio": 30,
      "ind_kit": "N",
      "padre": ""
    },
    {
      "linea": 2,
      "grupolinea": 3,
      "plu": "K000001",
      "descripcion": "Combo Asiago Ranch Emapanizado",
      "cantidad": 1,
      "precio": 670,
      "ind_kit": "S",
      "padre": ""
    },
    {
      "linea": 3,
      "grupolinea": 3,
      "plu": "X000004",
      "descripcion": "SIN TOMATE (ING)",
      "cantidad": 1,
      "precio": 0,
      "ind_kit": "N",
      "padre": "K000001"
    },
    {
      "linea": 4,
      "grupolinea": 3,
      "plu": "61012",
      "descripcion": "BOTELLA COCA COLA",
      "cantidad": 1,
      "precio": 0,
      "ind_kit": "N",
      "padre": "K000001"
    },
    {
      "linea": 5,
      "grupolinea": 3,
      "plu": "0900002",
      "descripcion": "PAPAS MEDIANA",
      "cantidad": 1,
      "precio": 0,
      "ind_kit": "N",
      "padre": "K000001"
    }
  ]
}
--------- Configuracion de Impuestos ---------
porc_itbis : 0.18
porc_propina : 0.1
factor_precio : 8.474
totalporcimpuestos : 1.28
Orden Agregador, se asigno nuevo numero de Orden : 436152
Proximo # De Orden : 436152

-------------- Insertar header orden -----------
sql insert into orden1d (orden_app,orden_web,canal,referencia,COD_UNIDAD,NOM_UNIDAD,TIPO_FAC,
TELEFONO,CLIENTE,EMAIL,TIPONCF,RNCCUST,
NOMCUST,FECHA,HORA,FECHA_BD,HORA_BD,HORA_ENTREGA,
SUBTOTAL,
DESCUENTO,PORC_DESCUENTO,ITBIS,PROPINA,VALOR,PAGO_EFECTIVO,PAGO_TARJETACREDITO,FORMA_PAGO,GEOLOCATION_LATITUD,GEOLOCATION_LONGITUD,CIUDAD,CALLE,CASA,SECTOR,COMENTA1,COMENTA2,COMENTA3,COMENTA4,CANALNOMBRE,INFOCOMPROBANTE)
 values('436152','436152','AG','8F3A1','99','W CARREFOUR UBER','C',
 '111-222-3333','8F3A1 / Uber','','CONSUMO','',
 '','2026-06-04','19:59','2026-07-09','02:05:36','20:03',
 '593.2171875','0','0','106.77909375','0','700','0',
 '0','' ,'' ,'','','','',
 '','','','','','Uber',''
)
header registrado
Ultimo ID : 36
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
formatted : 
countryCode : 592 55 232
city : 
street : 
number : 
floor : 
latLng : Array
comment : 
-------------- Insertar detalle orden -----------
insert into orden2d (ID_ORDEN_ID,orden_app,orden_web,cod_unidad,telefono,plu,descri,kit,ind_kit,detallekit,linea,cantidad,precio,padre) values ("36", "436152", "436152", "99", "111-222-3333", "1100027", "Extra Salsa Bbq", "", "N", "N", "1", "1", "25.42359375", ""), ("36", "436152", "436152", "99", "111-222-3333", "K000001", "Combo Asiago Ranch Emapanizado", "", "S", "N", "2", "1", "567.79359375", ""), ("36", "436152", "436152", "99", "111-222-3333", "X000004", "SIN TOMATE (ING)", "", "N", "S", "3", "1", "0", "K000001"), ("36", "436152", "436152", "99", "111-222-3333", "61012", "BOTELLA COCA COLA", "", "N", "S", "4", "1", "0", "K000001"), ("36", "436152", "436152", "99", "111-222-3333", "0900002", "PAPAS MEDIANA", "", "N", "S", "5", "1", "0", "K000001")

1- 1100027 Extra Salsa Bbq : 1 * 30 = 30
2- K000001 Combo Asiago Ranch Emapanizado : 1 * 670 = 670
3- X000004 SIN TOMATE (ING) : 1 * 0 = 0
4- 61012 BOTELLA COCA COLA : 1 * 0 = 0
5- 0900002 PAPAS MEDIANA : 1 * 0 = 0

Detalle registrado
Retorno : {
			"status":"200",
			"orden":"436152",
			"email":"1"
		}
Orden registrada. # Orden Json : 436152 / # Orden Web : 436152
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------- J S O N  R E C I B I D O ----------------
{
  "orden": "8F3A1",
  "canal": "AG",
  "tipo_fac": "",
  "cod_unidad": "24",
  "nom_unidad": "W Carrefour UBER",
  "email": "",
  "telefono": " 8299473615",
  "nombre": "Michelle J.",
  "calle": "",
  "sector": "",
  "casa": "",
  "numero": "",
  "comentario1": "",
  "comentario2": "",
  "comentario3": "",
  "comentario4": "",
  "tiponcf": "CONSUMO",
  "rnc": "",
  "razonsocial": "",
  "fecha": "2026-06-04",
  "hora": "19:59",
  "hora_entrega": "2026-06-04T20:03:27-04:00",
  "subtotal": 0,
  "valor_descuento": 0,
  "porciento_descuento": 0,
  "itbis": 0,
  "propina": 0,
  "total": 700,
  "forma_pago": "",
  "cambio_efectivo": 0,
  "recargo": 0,
  "referencia": "Uber",
  "infoComprobante": null,
  "aprobacion": null,
  "address": [
    {
      "formatted": "",
      "countryCode": "592 55 232",
      "city": "",
      "street": "",
      "number": "",
      "apt": "",
      "floor": "",
      "entrance": "",
      "pobox": "",
      "comment": "",
      "latLng": {
        "lat": "",
        "lng": ""
      }
    }
  ],
  "members": [
    {
      "linea": 1,
      "grupolinea": 1,
      "plu": "1100027",
      "descripcion": "Extra Salsa Bbq",
      "cantidad": 1,
      "precio": 30,
      "ind_kit": "N",
      "padre": ""
    },
    {
      "linea": 2,
      "grupolinea": 3,
      "plu": "K000001",
      "descripcion": "Combo Asiago Ranch Emapanizado",
      "cantidad": 1,
      "precio": 670,
      "ind_kit": "S",
      "padre": ""
    },
    {
      "linea": 3,
      "grupolinea": 3,
      "plu": "X000004",
      "descripcion": "SIN TOMATE (ING)",
      "cantidad": 1,
      "precio": 0,
      "ind_kit": "N",
      "padre": "K000001"
    },
    {
      "linea": 4,
      "grupolinea": 3,
      "plu": "61012",
      "descripcion": "BOTELLA COCA COLA",
      "cantidad": 1,
      "precio": 0,
      "ind_kit": "N",
      "padre": "K000001"
    },
    {
      "linea": 5,
      "grupolinea": 3,
      "plu": "0900002",
      "descripcion": "PAPAS MEDIANA",
      "cantidad": 1,
      "precio": 0,
      "ind_kit": "N",
      "padre": "K000001"
    }
  ]
}
--------- Configuracion de Impuestos ---------
porc_itbis : 0.18
porc_propina : 0.1
factor_precio : 8.474
totalporcimpuestos : 1.28
Orden Agregador, se asigno nuevo numero de Orden : 436153
Proximo # De Orden : 436153

-------------- Insertar header orden -----------
sql insert into orden1d (orden_app,orden_web,canal,referencia,COD_UNIDAD,NOM_UNIDAD,TIPO_FAC,
TELEFONO,CLIENTE,EMAIL,TIPONCF,RNCCUST,
NOMCUST,FECHA,HORA,FECHA_BD,HORA_BD,HORA_ENTREGA,
SUBTOTAL,
DESCUENTO,PORC_DESCUENTO,ITBIS,PROPINA,VALOR,PAGO_EFECTIVO,PAGO_TARJETACREDITO,FORMA_PAGO,GEOLOCATION_LATITUD,GEOLOCATION_LONGITUD,CIUDAD,CALLE,CASA,SECTOR,COMENTA1,COMENTA2,COMENTA3,COMENTA4,CANALNOMBRE,INFOCOMPROBANTE)
 values('436153','436153','AG','8F3A1','24','W CARREFOUR UBER','C',
 '829-947-3615','8F3A1 / Uber','','CONSUMO','',
 '','2026-06-04','19:59','2026-07-09','07:42:41','20:03',
 '593.2171875','0','0','106.77909375','0','700','0',
 '0','' ,'' ,'','','','',
 '','','','','','Uber',''
)
header registrado
Ultimo ID : 37
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
formatted : 
countryCode : 592 55 232
city : 
street : 
number : 
floor : 
latLng : Array
comment : 
-------------- Insertar detalle orden -----------
insert into orden2d (ID_ORDEN_ID,orden_app,orden_web,cod_unidad,telefono,plu,descri,kit,ind_kit,detallekit,linea,cantidad,precio,padre) values ("37", "436153", "436153", "24", "829-947-3615", "1100027", "Extra Salsa Bbq", "", "N", "N", "1", "1", "25.42359375", ""), ("37", "436153", "436153", "24", "829-947-3615", "K000001", "Combo Asiago Ranch Emapanizado", "", "S", "N", "2", "1", "567.79359375", ""), ("37", "436153", "436153", "24", "829-947-3615", "X000004", "SIN TOMATE (ING)", "", "N", "S", "3", "1", "0", "K000001"), ("37", "436153", "436153", "24", "829-947-3615", "61012", "BOTELLA COCA COLA", "", "N", "S", "4", "1", "0", "K000001"), ("37", "436153", "436153", "24", "829-947-3615", "0900002", "PAPAS MEDIANA", "", "N", "S", "5", "1", "0", "K000001")

1- 1100027 Extra Salsa Bbq : 1 * 30 = 30
2- K000001 Combo Asiago Ranch Emapanizado : 1 * 670 = 670
3- X000004 SIN TOMATE (ING) : 1 * 0 = 0
4- 61012 BOTELLA COCA COLA : 1 * 0 = 0
5- 0900002 PAPAS MEDIANA : 1 * 0 = 0

Detalle registrado
Retorno : {
			"status":"200",
			"orden":"436153",
			"email":"1"
		}
Orden registrada. # Orden Json : 436153 / # Orden Web : 436153
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------- J S O N  R E C I B I D O ----------------

json vacio
Se envio correo para notificar Api : Se recibio un JSON VACIO en Notificacion_orden.php<BR><BR>
---------------- J S O N  R E C I B I D O ----------------
{
  "orden": "8F3A1",
  "canal": "AG",
  "tipo_fac": "",
  "cod_unidad": "99",
  "nom_unidad": "W Carrefour UBER",
  "email": "",
  "telefono": " 111-222-3333",
  "nombre": "Michelle J.",
  "calle": "",
  "sector": "",
  "casa": "",
  "numero": "",
  "comentario1": "",
  "comentario2": "",
  "comentario3": "",
  "comentario4": "",
  "tiponcf": "CONSUMO",
  "rnc": "",
  "razonsocial": "",
  "fecha": "2026-06-04",
  "hora": "19:59",
  "hora_entrega": "2026-06-04T20:03:27-04:00",
  "subtotal": 0,
  "valor_descuento": 0,
  "porciento_descuento": 0,
  "itbis": 0,
  "propina": 0,
  "total": 700,
  "forma_pago": "",
  "cambio_efectivo": 0,
  "recargo": 0,
  "referencia": "Uber",
  "infoComprobante": null,
  "aprobacion": null,
  "address": [
    {
      "formatted": "",
      "countryCode": "592 55 232",
      "city": "",
      "street": "",
      "number": "",
      "apt": "",
      "floor": "",
      "entrance": "",
      "pobox": "",
      "comment": "",
      "latLng": {
        "lat": "",
        "lng": ""
      }
    }
  ],
  "members": [
    {
      "linea": 1,
      "grupolinea": 1,
      "plu": "1100027",
      "descripcion": "Extra Salsa Bbq",
      "cantidad": 1,
      "precio": 30,
      "ind_kit": "N",
      "padre": ""
    },
    {
      "linea": 2,
      "grupolinea": 3,
      "plu": "K000001",
      "descripcion": "Combo Asiago Ranch Emapanizado",
      "cantidad": 1,
      "precio": 670,
      "ind_kit": "S",
      "padre": ""
    },
    {
      "linea": 3,
      "grupolinea": 3,
      "plu": "X000004",
      "descripcion": "SIN TOMATE (ING)",
      "cantidad": 1,
      "precio": 0,
      "ind_kit": "N",
      "padre": "K000001"
    },
    {
      "linea": 4,
      "grupolinea": 3,
      "plu": "61012",
      "descripcion": "BOTELLA COCA COLA",
      "cantidad": 1,
      "precio": 0,
      "ind_kit": "N",
      "padre": "K000001"
    },
    {
      "linea": 5,
      "grupolinea": 3,
      "plu": "0900002",
      "descripcion": "PAPAS MEDIANA",
      "cantidad": 1,
      "precio": 0,
      "ind_kit": "N",
      "padre": "K000001"
    }
  ]
}
--------- Configuracion de Impuestos ---------
porc_itbis : 0.18
porc_propina : 0.1
factor_precio : 8.474
totalporcimpuestos : 1.28
Orden Agregador, se asigno nuevo numero de Orden : 436154
Proximo # De Orden : 436154

-------------- Insertar header orden -----------
sql insert into orden1d (orden_app,orden_web,canal,referencia,COD_UNIDAD,NOM_UNIDAD,TIPO_FAC,
TELEFONO,CLIENTE,EMAIL,TIPONCF,RNCCUST,
NOMCUST,FECHA,HORA,FECHA_BD,HORA_BD,HORA_ENTREGA,
SUBTOTAL,
DESCUENTO,PORC_DESCUENTO,ITBIS,PROPINA,VALOR,PAGO_EFECTIVO,PAGO_TARJETACREDITO,FORMA_PAGO,GEOLOCATION_LATITUD,GEOLOCATION_LONGITUD,CIUDAD,CALLE,CASA,SECTOR,COMENTA1,COMENTA2,COMENTA3,COMENTA4,CANALNOMBRE,INFOCOMPROBANTE)
 values('436154','436154','AG','8F3A1','99','W CARREFOUR UBER','C',
 '111-222-3333','8F3A1 / Uber','','CONSUMO','',
 '','2026-06-04','19:59','2026-07-09','07:42:45','20:03',
 '593.2171875','0','0','106.77909375','0','700','0',
 '0','' ,'' ,'','','','',
 '','','','','','Uber',''
)
header registrado
Ultimo ID : 38
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
formatted : 
countryCode : 592 55 232
city : 
street : 
number : 
floor : 
latLng : Array
comment : 
-------------- Insertar detalle orden -----------
insert into orden2d (ID_ORDEN_ID,orden_app,orden_web,cod_unidad,telefono,plu,descri,kit,ind_kit,detallekit,linea,cantidad,precio,padre) values ("38", "436154", "436154", "99", "111-222-3333", "1100027", "Extra Salsa Bbq", "", "N", "N", "1", "1", "25.42359375", ""), ("38", "436154", "436154", "99", "111-222-3333", "K000001", "Combo Asiago Ranch Emapanizado", "", "S", "N", "2", "1", "567.79359375", ""), ("38", "436154", "436154", "99", "111-222-3333", "X000004", "SIN TOMATE (ING)", "", "N", "S", "3", "1", "0", "K000001"), ("38", "436154", "436154", "99", "111-222-3333", "61012", "BOTELLA COCA COLA", "", "N", "S", "4", "1", "0", "K000001"), ("38", "436154", "436154", "99", "111-222-3333", "0900002", "PAPAS MEDIANA", "", "N", "S", "5", "1", "0", "K000001")

1- 1100027 Extra Salsa Bbq : 1 * 30 = 30
2- K000001 Combo Asiago Ranch Emapanizado : 1 * 670 = 670
3- X000004 SIN TOMATE (ING) : 1 * 0 = 0
4- 61012 BOTELLA COCA COLA : 1 * 0 = 0
5- 0900002 PAPAS MEDIANA : 1 * 0 = 0

Detalle registrado
Retorno : {
			"status":"200",
			"orden":"436154",
			"email":"1"
		}
Orden registrada. # Orden Json : 436154 / # Orden Web : 436154
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------- J S O N  R E C I B I D O ----------------
{
  "orden": "8F3A1",
  "canal": "AG",
  "tipo_fac": "",
  "cod_unidad": "24",
  "nom_unidad": "W Carrefour UBER",
  "email": "",
  "telefono": " 8299473615",
  "nombre": "Michelle J.",
  "calle": "",
  "sector": "",
  "casa": "",
  "numero": "",
  "comentario1": "",
  "comentario2": "",
  "comentario3": "",
  "comentario4": "",
  "tiponcf": "CONSUMO",
  "rnc": "",
  "razonsocial": "",
  "fecha": "2026-06-04",
  "hora": "19:59",
  "hora_entrega": "2026-06-04T20:03:27-04:00",
  "subtotal": 0,
  "valor_descuento": 0,
  "porciento_descuento": 0,
  "itbis": 0,
  "propina": 0,
  "total": 700,
  "forma_pago": "",
  "cambio_efectivo": 0,
  "recargo": 0,
  "referencia": "Uber",
  "infoComprobante": null,
  "aprobacion": null,
  "address": [
    {
      "formatted": "",
      "countryCode": "592 55 232",
      "city": "",
      "street": "",
      "number": "",
      "apt": "",
      "floor": "",
      "entrance": "",
      "pobox": "",
      "comment": "",
      "latLng": {
        "lat": "",
        "lng": ""
      }
    }
  ],
  "members": [
    {
      "linea": 1,
      "grupolinea": 1,
      "plu": "1100027",
      "descripcion": "Extra Salsa Bbq",
      "cantidad": 1,
      "precio": 30,
      "ind_kit": "N",
      "padre": ""
    },
    {
      "linea": 2,
      "grupolinea": 3,
      "plu": "K000001",
      "descripcion": "Combo Asiago Ranch Emapanizado",
      "cantidad": 1,
      "precio": 670,
      "ind_kit": "S",
      "padre": ""
    },
    {
      "linea": 3,
      "grupolinea": 3,
      "plu": "X000004",
      "descripcion": "SIN TOMATE (ING)",
      "cantidad": 1,
      "precio": 0,
      "ind_kit": "N",
      "padre": "K000001"
    },
    {
      "linea": 4,
      "grupolinea": 3,
      "plu": "61012",
      "descripcion": "BOTELLA COCA COLA",
      "cantidad": 1,
      "precio": 0,
      "ind_kit": "N",
      "padre": "K000001"
    },
    {
      "linea": 5,
      "grupolinea": 3,
      "plu": "0900002",
      "descripcion": "PAPAS MEDIANA",
      "cantidad": 1,
      "precio": 0,
      "ind_kit": "N",
      "padre": "K000001"
    }
  ]
}
--------- Configuracion de Impuestos ---------
porc_itbis : 0.18
porc_propina : 0.1
factor_precio : 8.474
totalporcimpuestos : 1.28
Orden Agregador, se asigno nuevo numero de Orden : 436155
Proximo # De Orden : 436155

-------------- Insertar header orden -----------
sql insert into orden1d (orden_app,orden_web,canal,referencia,COD_UNIDAD,NOM_UNIDAD,TIPO_FAC,
TELEFONO,CLIENTE,EMAIL,TIPONCF,RNCCUST,
NOMCUST,FECHA,HORA,FECHA_BD,HORA_BD,HORA_ENTREGA,
SUBTOTAL,
DESCUENTO,PORC_DESCUENTO,ITBIS,PROPINA,VALOR,PAGO_EFECTIVO,PAGO_TARJETACREDITO,FORMA_PAGO,GEOLOCATION_LATITUD,GEOLOCATION_LONGITUD,CIUDAD,CALLE,CASA,SECTOR,COMENTA1,COMENTA2,COMENTA3,COMENTA4,CANALNOMBRE,INFOCOMPROBANTE)
 values('436155','436155','AG','8F3A1','24','W CARREFOUR UBER','C',
 '829-947-3615','8F3A1 / Uber','','CONSUMO','',
 '','2026-06-04','19:59','2026-07-09','09:16:42','20:03',
 '593.2171875','0','0','106.77909375','0','700','0',
 '0','' ,'' ,'','','','',
 '','','','','','Uber',''
)
header registrado
Ultimo ID : 39
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
formatted : 
countryCode : 592 55 232
city : 
street : 
number : 
floor : 
latLng : Array
comment : 
-------------- Insertar detalle orden -----------
insert into orden2d (ID_ORDEN_ID,orden_app,orden_web,cod_unidad,telefono,plu,descri,kit,ind_kit,detallekit,linea,cantidad,precio,padre) values ("39", "436155", "436155", "24", "829-947-3615", "1100027", "Extra Salsa Bbq", "", "N", "N", "1", "1", "25.42359375", ""), ("39", "436155", "436155", "24", "829-947-3615", "K000001", "Combo Asiago Ranch Emapanizado", "", "S", "N", "2", "1", "567.79359375", ""), ("39", "436155", "436155", "24", "829-947-3615", "X000004", "SIN TOMATE (ING)", "", "N", "S", "3", "1", "0", "K000001"), ("39", "436155", "436155", "24", "829-947-3615", "61012", "BOTELLA COCA COLA", "", "N", "S", "4", "1", "0", "K000001"), ("39", "436155", "436155", "24", "829-947-3615", "0900002", "PAPAS MEDIANA", "", "N", "S", "5", "1", "0", "K000001")

1- 1100027 Extra Salsa Bbq : 1 * 30 = 30
2- K000001 Combo Asiago Ranch Emapanizado : 1 * 670 = 670
3- X000004 SIN TOMATE (ING) : 1 * 0 = 0
4- 61012 BOTELLA COCA COLA : 1 * 0 = 0
5- 0900002 PAPAS MEDIANA : 1 * 0 = 0

Detalle registrado
Retorno : {
			"status":"200",
			"orden":"436155",
			"email":"1"
		}
Orden registrada. # Orden Json : 436155 / # Orden Web : 436155
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------- J S O N  R E C I B I D O ----------------

json vacio
Se envio correo para notificar Api : Se recibio un JSON VACIO en Notificacion_orden.php<BR><BR>
---------------- J S O N  R E C I B I D O ----------------
{
  "orden": "8F3A1",
  "canal": "AG",
  "tipo_fac": "",
  "cod_unidad": "99",
  "nom_unidad": "W Carrefour UBER",
  "email": "",
  "telefono": " 111-222-3333",
  "nombre": "Michelle J.",
  "calle": "",
  "sector": "",
  "casa": "",
  "numero": "",
  "comentario1": "",
  "comentario2": "",
  "comentario3": "",
  "comentario4": "",
  "tiponcf": "CONSUMO",
  "rnc": "",
  "razonsocial": "",
  "fecha": "2026-06-04",
  "hora": "19:59",
  "hora_entrega": "2026-06-04T20:03:27-04:00",
  "subtotal": 0,
  "valor_descuento": 0,
  "porciento_descuento": 0,
  "itbis": 0,
  "propina": 0,
  "total": 700,
  "forma_pago": "",
  "cambio_efectivo": 0,
  "recargo": 0,
  "referencia": "Uber",
  "infoComprobante": null,
  "aprobacion": null,
  "address": [
    {
      "formatted": "",
      "countryCode": "592 55 232",
      "city": "",
      "street": "",
      "number": "",
      "apt": "",
      "floor": "",
      "entrance": "",
      "pobox": "",
      "comment": "",
      "latLng": {
        "lat": "",
        "lng": ""
      }
    }
  ],
  "members": [
    {
      "linea": 1,
      "grupolinea": 1,
      "plu": "1100027",
      "descripcion": "Extra Salsa Bbq",
      "cantidad": 1,
      "precio": 30,
      "ind_kit": "N",
      "padre": ""
    },
    {
      "linea": 2,
      "grupolinea": 3,
      "plu": "K000001",
      "descripcion": "Combo Asiago Ranch Emapanizado",
      "cantidad": 1,
      "precio": 670,
      "ind_kit": "S",
      "padre": ""
    },
    {
      "linea": 3,
      "grupolinea": 3,
      "plu": "X000004",
      "descripcion": "SIN TOMATE (ING)",
      "cantidad": 1,
      "precio": 0,
      "ind_kit": "N",
      "padre": "K000001"
    },
    {
      "linea": 4,
      "grupolinea": 3,
      "plu": "61012",
      "descripcion": "BOTELLA COCA COLA",
      "cantidad": 1,
      "precio": 0,
      "ind_kit": "N",
      "padre": "K000001"
    },
    {
      "linea": 5,
      "grupolinea": 3,
      "plu": "0900002",
      "descripcion": "PAPAS MEDIANA",
      "cantidad": 1,
      "precio": 0,
      "ind_kit": "N",
      "padre": "K000001"
    }
  ]
}
--------- Configuracion de Impuestos ---------
porc_itbis : 0.18
porc_propina : 0.1
factor_precio : 8.474
totalporcimpuestos : 1.28
Orden Agregador, se asigno nuevo numero de Orden : 436156
Proximo # De Orden : 436156

-------------- Insertar header orden -----------
sql insert into orden1d (orden_app,orden_web,canal,referencia,COD_UNIDAD,NOM_UNIDAD,TIPO_FAC,
TELEFONO,CLIENTE,EMAIL,TIPONCF,RNCCUST,
NOMCUST,FECHA,HORA,FECHA_BD,HORA_BD,HORA_ENTREGA,
SUBTOTAL,
DESCUENTO,PORC_DESCUENTO,ITBIS,PROPINA,VALOR,PAGO_EFECTIVO,PAGO_TARJETACREDITO,FORMA_PAGO,GEOLOCATION_LATITUD,GEOLOCATION_LONGITUD,CIUDAD,CALLE,CASA,SECTOR,COMENTA1,COMENTA2,COMENTA3,COMENTA4,CANALNOMBRE,INFOCOMPROBANTE)
 values('436156','436156','AG','8F3A1','99','W CARREFOUR UBER','C',
 '111-222-3333','8F3A1 / Uber','','CONSUMO','',
 '','2026-06-04','19:59','2026-07-09','09:41:19','20:03',
 '593.2171875','0','0','106.77909375','0','700','0',
 '0','' ,'' ,'','','','',
 '','','','','','Uber',''
)
header registrado
Ultimo ID : 40
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
formatted : 
countryCode : 592 55 232
city : 
street : 
number : 
floor : 
latLng : Array
comment : 
-------------- Insertar detalle orden -----------
insert into orden2d (ID_ORDEN_ID,orden_app,orden_web,cod_unidad,telefono,plu,descri,kit,ind_kit,detallekit,linea,cantidad,precio,padre) values ("40", "436156", "436156", "99", "111-222-3333", "1100027", "Extra Salsa Bbq", "", "N", "N", "1", "1", "25.42359375", ""), ("40", "436156", "436156", "99", "111-222-3333", "K000001", "Combo Asiago Ranch Emapanizado", "", "S", "N", "2", "1", "567.79359375", ""), ("40", "436156", "436156", "99", "111-222-3333", "X000004", "SIN TOMATE (ING)", "", "N", "S", "3", "1", "0", "K000001"), ("40", "436156", "436156", "99", "111-222-3333", "61012", "BOTELLA COCA COLA", "", "N", "S", "4", "1", "0", "K000001"), ("40", "436156", "436156", "99", "111-222-3333", "0900002", "PAPAS MEDIANA", "", "N", "S", "5", "1", "0", "K000001")

1- 1100027 Extra Salsa Bbq : 1 * 30 = 30
2- K000001 Combo Asiago Ranch Emapanizado : 1 * 670 = 670
3- X000004 SIN TOMATE (ING) : 1 * 0 = 0
4- 61012 BOTELLA COCA COLA : 1 * 0 = 0
5- 0900002 PAPAS MEDIANA : 1 * 0 = 0

Detalle registrado
Retorno : {
			"status":"200",
			"orden":"436156",
			"email":"1"
		}
Orden registrada. # Orden Json : 436156 / # Orden Web : 436156
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------- J S O N  R E C I B I D O ----------------
{
  "orden": "8F3A1",
  "canal": "AG",
  "tipo_fac": "",
  "cod_unidad": "24",
  "nom_unidad": "W Carrefour UBER",
  "email": "",
  "telefono": " 8299473615",
  "nombre": "Michelle J.",
  "calle": "",
  "sector": "",
  "casa": "",
  "numero": "",
  "comentario1": "",
  "comentario2": "",
  "comentario3": "",
  "comentario4": "",
  "tiponcf": "CONSUMO",
  "rnc": "",
  "razonsocial": "",
  "fecha": "2026-06-04",
  "hora": "19:59",
  "hora_entrega": "2026-06-04T20:03:27-04:00",
  "subtotal": 0,
  "valor_descuento": 0,
  "porciento_descuento": 0,
  "itbis": 0,
  "propina": 0,
  "total": 700,
  "forma_pago": "",
  "cambio_efectivo": 0,
  "recargo": 0,
  "referencia": "Uber",
  "infoComprobante": null,
  "aprobacion": null,
  "address": [
    {
      "formatted": "",
      "countryCode": "592 55 232",
      "city": "",
      "street": "",
      "number": "",
      "apt": "",
      "floor": "",
      "entrance": "",
      "pobox": "",
      "comment": "",
      "latLng": {
        "lat": "",
        "lng": ""
      }
    }
  ],
  "members": [
    {
      "linea": 1,
      "grupolinea": 1,
      "plu": "1100027",
      "descripcion": "Extra Salsa Bbq",
      "cantidad": 1,
      "precio": 30,
      "ind_kit": "N",
      "padre": ""
    },
    {
      "linea": 2,
      "grupolinea": 3,
      "plu": "K000001",
      "descripcion": "Combo Asiago Ranch Emapanizado",
      "cantidad": 1,
      "precio": 670,
      "ind_kit": "S",
      "padre": ""
    },
    {
      "linea": 3,
      "grupolinea": 3,
      "plu": "X000004",
      "descripcion": "SIN TOMATE (ING)",
      "cantidad": 1,
      "precio": 0,
      "ind_kit": "N",
      "padre": "K000001"
    },
    {
      "linea": 4,
      "grupolinea": 3,
      "plu": "61012",
      "descripcion": "BOTELLA COCA COLA",
      "cantidad": 1,
      "precio": 0,
      "ind_kit": "N",
      "padre": "K000001"
    },
    {
      "linea": 5,
      "grupolinea": 3,
      "plu": "0900002",
      "descripcion": "PAPAS MEDIANA",
      "cantidad": 1,
      "precio": 0,
      "ind_kit": "N",
      "padre": "K000001"
    }
  ]
}
--------- Configuracion de Impuestos ---------
porc_itbis : 0.18
porc_propina : 0.1
factor_precio : 8.474
totalporcimpuestos : 1.28
Orden Agregador, se asigno nuevo numero de Orden : 436157
Proximo # De Orden : 436157

-------------- Insertar header orden -----------
sql insert into orden1d (orden_app,orden_web,canal,referencia,COD_UNIDAD,NOM_UNIDAD,TIPO_FAC,
TELEFONO,CLIENTE,EMAIL,TIPONCF,RNCCUST,
NOMCUST,FECHA,HORA,FECHA_BD,HORA_BD,HORA_ENTREGA,
SUBTOTAL,
DESCUENTO,PORC_DESCUENTO,ITBIS,PROPINA,VALOR,PAGO_EFECTIVO,PAGO_TARJETACREDITO,FORMA_PAGO,GEOLOCATION_LATITUD,GEOLOCATION_LONGITUD,CIUDAD,CALLE,CASA,SECTOR,COMENTA1,COMENTA2,COMENTA3,COMENTA4,CANALNOMBRE,INFOCOMPROBANTE)
 values('436157','436157','AG','8F3A1','24','W CARREFOUR UBER','C',
 '829-947-3615','8F3A1 / Uber','','CONSUMO','',
 '','2026-06-04','19:59','2026-07-09','10:50:28','20:03',
 '593.2171875','0','0','106.77909375','0','700','0',
 '0','' ,'' ,'','','','',
 '','','','','','Uber',''
)
header registrado
Ultimo ID : 41
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
formatted : 
countryCode : 592 55 232
city : 
street : 
number : 
floor : 
latLng : Array
comment : 
-------------- Insertar detalle orden -----------
insert into orden2d (ID_ORDEN_ID,orden_app,orden_web,cod_unidad,telefono,plu,descri,kit,ind_kit,detallekit,linea,cantidad,precio,padre) values ("41", "436157", "436157", "24", "829-947-3615", "1100027", "Extra Salsa Bbq", "", "N", "N", "1", "1", "25.42359375", ""), ("41", "436157", "436157", "24", "829-947-3615", "K000001", "Combo Asiago Ranch Emapanizado", "", "S", "N", "2", "1", "567.79359375", ""), ("41", "436157", "436157", "24", "829-947-3615", "X000004", "SIN TOMATE (ING)", "", "N", "S", "3", "1", "0", "K000001"), ("41", "436157", "436157", "24", "829-947-3615", "61012", "BOTELLA COCA COLA", "", "N", "S", "4", "1", "0", "K000001"), ("41", "436157", "436157", "24", "829-947-3615", "0900002", "PAPAS MEDIANA", "", "N", "S", "5", "1", "0", "K000001")

1- 1100027 Extra Salsa Bbq : 1 * 30 = 30
2- K000001 Combo Asiago Ranch Emapanizado : 1 * 670 = 670
3- X000004 SIN TOMATE (ING) : 1 * 0 = 0
4- 61012 BOTELLA COCA COLA : 1 * 0 = 0
5- 0900002 PAPAS MEDIANA : 1 * 0 = 0

Detalle registrado
Retorno : {
			"status":"200",
			"orden":"436157",
			"email":"1"
		}
Orden registrada. # Orden Json : 436157 / # Orden Web : 436157
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------- J S O N  R E C I B I D O ----------------

json vacio
Se envio correo para notificar Api : Se recibio un JSON VACIO en Notificacion_orden.php<BR><BR>
---------------- J S O N  R E C I B I D O ----------------
{
  "orden": "8F3A1",
  "canal": "AG",
  "tipo_fac": "",
  "cod_unidad": "99",
  "nom_unidad": "W Carrefour UBER",
  "email": "",
  "telefono": " 111-222-3333",
  "nombre": "Michelle J.",
  "calle": "",
  "sector": "",
  "casa": "",
  "numero": "",
  "comentario1": "",
  "comentario2": "",
  "comentario3": "",
  "comentario4": "",
  "tiponcf": "CONSUMO",
  "rnc": "",
  "razonsocial": "",
  "fecha": "2026-06-04",
  "hora": "19:59",
  "hora_entrega": "2026-06-04T20:03:27-04:00",
  "subtotal": 0,
  "valor_descuento": 0,
  "porciento_descuento": 0,
  "itbis": 0,
  "propina": 0,
  "total": 700,
  "forma_pago": "",
  "cambio_efectivo": 0,
  "recargo": 0,
  "referencia": "Uber",
  "infoComprobante": null,
  "aprobacion": null,
  "address": [
    {
      "formatted": "",
      "countryCode": "592 55 232",
      "city": "",
      "street": "",
      "number": "",
      "apt": "",
      "floor": "",
      "entrance": "",
      "pobox": "",
      "comment": "",
      "latLng": {
        "lat": "",
        "lng": ""
      }
    }
  ],
  "members": [
    {
      "linea": 1,
      "grupolinea": 1,
      "plu": "1100027",
      "descripcion": "Extra Salsa Bbq",
      "cantidad": 1,
      "precio": 30,
      "ind_kit": "N",
      "padre": ""
    },
    {
      "linea": 2,
      "grupolinea": 3,
      "plu": "K000001",
      "descripcion": "Combo Asiago Ranch Emapanizado",
      "cantidad": 1,
      "precio": 670,
      "ind_kit": "S",
      "padre": ""
    },
    {
      "linea": 3,
      "grupolinea": 3,
      "plu": "X000004",
      "descripcion": "SIN TOMATE (ING)",
      "cantidad": 1,
      "precio": 0,
      "ind_kit": "N",
      "padre": "K000001"
    },
    {
      "linea": 4,
      "grupolinea": 3,
      "plu": "61012",
      "descripcion": "BOTELLA COCA COLA",
      "cantidad": 1,
      "precio": 0,
      "ind_kit": "N",
      "padre": "K000001"
    },
    {
      "linea": 5,
      "grupolinea": 3,
      "plu": "0900002",
      "descripcion": "PAPAS MEDIANA",
      "cantidad": 1,
      "precio": 0,
      "ind_kit": "N",
      "padre": "K000001"
    }
  ]
}
--------- Configuracion de Impuestos ---------
porc_itbis : 0.18
porc_propina : 0.1
factor_precio : 8.474
totalporcimpuestos : 1.28
Orden Agregador, se asigno nuevo numero de Orden : 436158
Proximo # De Orden : 436158

-------------- Insertar header orden -----------
sql insert into orden1d (orden_app,orden_web,canal,referencia,COD_UNIDAD,NOM_UNIDAD,TIPO_FAC,
TELEFONO,CLIENTE,EMAIL,TIPONCF,RNCCUST,
NOMCUST,FECHA,HORA,FECHA_BD,HORA_BD,HORA_ENTREGA,
SUBTOTAL,
DESCUENTO,PORC_DESCUENTO,ITBIS,PROPINA,VALOR,PAGO_EFECTIVO,PAGO_TARJETACREDITO,FORMA_PAGO,GEOLOCATION_LATITUD,GEOLOCATION_LONGITUD,CIUDAD,CALLE,CASA,SECTOR,COMENTA1,COMENTA2,COMENTA3,COMENTA4,CANALNOMBRE,INFOCOMPROBANTE)
 values('436158','436158','AG','8F3A1','99','W CARREFOUR UBER','C',
 '111-222-3333','8F3A1 / Uber','','CONSUMO','',
 '','2026-06-04','19:59','2026-07-09','11:14:42','20:03',
 '593.2171875','0','0','106.77909375','0','700','0',
 '0','' ,'' ,'','','','',
 '','','','','','Uber',''
)
header registrado
Ultimo ID : 42
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
formatted : 
countryCode : 592 55 232
city : 
street : 
number : 
floor : 
latLng : Array
comment : 
-------------- Insertar detalle orden -----------
insert into orden2d (ID_ORDEN_ID,orden_app,orden_web,cod_unidad,telefono,plu,descri,kit,ind_kit,detallekit,linea,cantidad,precio,padre) values ("42", "436158", "436158", "99", "111-222-3333", "1100027", "Extra Salsa Bbq", "", "N", "N", "1", "1", "25.42359375", ""), ("42", "436158", "436158", "99", "111-222-3333", "K000001", "Combo Asiago Ranch Emapanizado", "", "S", "N", "2", "1", "567.79359375", ""), ("42", "436158", "436158", "99", "111-222-3333", "X000004", "SIN TOMATE (ING)", "", "N", "S", "3", "1", "0", "K000001"), ("42", "436158", "436158", "99", "111-222-3333", "61012", "BOTELLA COCA COLA", "", "N", "S", "4", "1", "0", "K000001"), ("42", "436158", "436158", "99", "111-222-3333", "0900002", "PAPAS MEDIANA", "", "N", "S", "5", "1", "0", "K000001")

1- 1100027 Extra Salsa Bbq : 1 * 30 = 30
2- K000001 Combo Asiago Ranch Emapanizado : 1 * 670 = 670
3- X000004 SIN TOMATE (ING) : 1 * 0 = 0
4- 61012 BOTELLA COCA COLA : 1 * 0 = 0
5- 0900002 PAPAS MEDIANA : 1 * 0 = 0

Detalle registrado
Retorno : {
			"status":"200",
			"orden":"436158",
			"email":"1"
		}
Orden registrada. # Orden Json : 436158 / # Orden Web : 436158
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------- J S O N  R E C I B I D O ----------------
{
  "orden": "8F3A1",
  "canal": "AG",
  "tipo_fac": "",
  "cod_unidad": "24",
  "nom_unidad": "W Carrefour UBER",
  "email": "",
  "telefono": " 8299473615",
  "nombre": "Michelle J.",
  "calle": "",
  "sector": "",
  "casa": "",
  "numero": "",
  "comentario1": "",
  "comentario2": "",
  "comentario3": "",
  "comentario4": "",
  "tiponcf": "CONSUMO",
  "rnc": "",
  "razonsocial": "",
  "fecha": "2026-06-04",
  "hora": "19:59",
  "hora_entrega": "2026-06-04T20:03:27-04:00",
  "subtotal": 0,
  "valor_descuento": 0,
  "porciento_descuento": 0,
  "itbis": 0,
  "propina": 0,
  "total": 700,
  "forma_pago": "",
  "cambio_efectivo": 0,
  "recargo": 0,
  "referencia": "Uber",
  "infoComprobante": null,
  "aprobacion": null,
  "address": [
    {
      "formatted": "",
      "countryCode": "592 55 232",
      "city": "",
      "street": "",
      "number": "",
      "apt": "",
      "floor": "",
      "entrance": "",
      "pobox": "",
      "comment": "",
      "latLng": {
        "lat": "",
        "lng": ""
      }
    }
  ],
  "members": [
    {
      "linea": 1,
      "grupolinea": 1,
      "plu": "1100027",
      "descripcion": "Extra Salsa Bbq",
      "cantidad": 1,
      "precio": 30,
      "ind_kit": "N",
      "padre": ""
    },
    {
      "linea": 2,
      "grupolinea": 3,
      "plu": "K000001",
      "descripcion": "Combo Asiago Ranch Emapanizado",
      "cantidad": 1,
      "precio": 670,
      "ind_kit": "S",
      "padre": ""
    },
    {
      "linea": 3,
      "grupolinea": 3,
      "plu": "X000004",
      "descripcion": "SIN TOMATE (ING)",
      "cantidad": 1,
      "precio": 0,
      "ind_kit": "N",
      "padre": "K000001"
    },
    {
      "linea": 4,
      "grupolinea": 3,
      "plu": "61012",
      "descripcion": "BOTELLA COCA COLA",
      "cantidad": 1,
      "precio": 0,
      "ind_kit": "N",
      "padre": "K000001"
    },
    {
      "linea": 5,
      "grupolinea": 3,
      "plu": "0900002",
      "descripcion": "PAPAS MEDIANA",
      "cantidad": 1,
      "precio": 0,
      "ind_kit": "N",
      "padre": "K000001"
    }
  ]
}
--------- Configuracion de Impuestos ---------
porc_itbis : 0.18
porc_propina : 0.1
factor_precio : 8.474
totalporcimpuestos : 1.28
Orden Agregador, se asigno nuevo numero de Orden : 436159
Proximo # De Orden : 436159

-------------- Insertar header orden -----------
sql insert into orden1d (orden_app,orden_web,canal,referencia,COD_UNIDAD,NOM_UNIDAD,TIPO_FAC,
TELEFONO,CLIENTE,EMAIL,TIPONCF,RNCCUST,
NOMCUST,FECHA,HORA,FECHA_BD,HORA_BD,HORA_ENTREGA,
SUBTOTAL,
DESCUENTO,PORC_DESCUENTO,ITBIS,PROPINA,VALOR,PAGO_EFECTIVO,PAGO_TARJETACREDITO,FORMA_PAGO,GEOLOCATION_LATITUD,GEOLOCATION_LONGITUD,CIUDAD,CALLE,CASA,SECTOR,COMENTA1,COMENTA2,COMENTA3,COMENTA4,CANALNOMBRE,INFOCOMPROBANTE)
 values('436159','436159','AG','8F3A1','24','W CARREFOUR UBER','C',
 '829-947-3615','8F3A1 / Uber','','CONSUMO','',
 '','2026-06-04','19:59','2026-07-09','21:56:16','20:03',
 '593.2171875','0','0','106.77909375','0','700','0',
 '0','' ,'' ,'','','','',
 '','','','','','Uber',''
)
header registrado
Ultimo ID : 43
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
formatted : 
countryCode : 592 55 232
city : 
street : 
number : 
floor : 
latLng : Array
comment : 
-------------- Insertar detalle orden -----------
insert into orden2d (ID_ORDEN_ID,orden_app,orden_web,cod_unidad,telefono,plu,descri,kit,ind_kit,detallekit,linea,cantidad,precio,padre) values ("43", "436159", "436159", "24", "829-947-3615", "1100027", "Extra Salsa Bbq", "", "N", "N", "1", "1", "25.42359375", ""), ("43", "436159", "436159", "24", "829-947-3615", "K000001", "Combo Asiago Ranch Emapanizado", "", "S", "N", "2", "1", "567.79359375", ""), ("43", "436159", "436159", "24", "829-947-3615", "X000004", "SIN TOMATE (ING)", "", "N", "S", "3", "1", "0", "K000001"), ("43", "436159", "436159", "24", "829-947-3615", "61012", "BOTELLA COCA COLA", "", "N", "S", "4", "1", "0", "K000001"), ("43", "436159", "436159", "24", "829-947-3615", "0900002", "PAPAS MEDIANA", "", "N", "S", "5", "1", "0", "K000001")

1- 1100027 Extra Salsa Bbq : 1 * 30 = 30
2- K000001 Combo Asiago Ranch Emapanizado : 1 * 670 = 670
3- X000004 SIN TOMATE (ING) : 1 * 0 = 0
4- 61012 BOTELLA COCA COLA : 1 * 0 = 0
5- 0900002 PAPAS MEDIANA : 1 * 0 = 0

Detalle registrado
Retorno : {
			"status":"200",
			"orden":"436159",
			"email":"1"
		}
Orden registrada. # Orden Json : 436159 / # Orden Web : 436159
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------- J S O N  R E C I B I D O ----------------
{
  "orden": "8F3A1",
  "canal": "AG",
  "tipo_fac": "",
  "cod_unidad": "24",
  "nom_unidad": "W Carrefour UBER",
  "email": "",
  "telefono": " 8299473615",
  "nombre": "Michelle J.",
  "calle": "",
  "sector": "",
  "casa": "",
  "numero": "",
  "comentario1": "",
  "comentario2": "",
  "comentario3": "",
  "comentario4": "",
  "tiponcf": "CONSUMO",
  "rnc": "",
  "razonsocial": "",
  "fecha": "2026-06-04",
  "hora": "19:59",
  "hora_entrega": "2026-06-04T20:03:27-04:00",
  "subtotal": 0,
  "valor_descuento": 0,
  "porciento_descuento": 0,
  "itbis": 0,
  "propina": 0,
  "total": 700,
  "forma_pago": "",
  "cambio_efectivo": 0,
  "recargo": 0,
  "referencia": "Uber",
  "infoComprobante": null,
  "aprobacion": null,
  "address": [
    {
      "formatted": "",
      "countryCode": "592 55 232",
      "city": "",
      "street": "",
      "number": "",
      "apt": "",
      "floor": "",
      "entrance": "",
      "pobox": "",
      "comment": "",
      "latLng": {
        "lat": "",
        "lng": ""
      }
    }
  ],
  "members": [
    {
      "linea": 1,
      "grupolinea": 1,
      "plu": "1100027",
      "descripcion": "Extra Salsa Bbq",
      "cantidad": 1,
      "precio": 30,
      "ind_kit": "N",
      "padre": ""
    },
    {
      "linea": 2,
      "grupolinea": 3,
      "plu": "K000001",
      "descripcion": "Combo Asiago Ranch Emapanizado",
      "cantidad": 1,
      "precio": 670,
      "ind_kit": "S",
      "padre": ""
    },
    {
      "linea": 3,
      "grupolinea": 3,
      "plu": "X000004",
      "descripcion": "SIN TOMATE (ING)",
      "cantidad": 1,
      "precio": 0,
      "ind_kit": "N",
      "padre": "K000001"
    },
    {
      "linea": 4,
      "grupolinea": 3,
      "plu": "61012",
      "descripcion": "BOTELLA COCA COLA",
      "cantidad": 1,
      "precio": 0,
      "ind_kit": "N",
      "padre": "K000001"
    },
    {
      "linea": 5,
      "grupolinea": 3,
      "plu": "0900002",
      "descripcion": "PAPAS MEDIANA",
      "cantidad": 1,
      "precio": 0,
      "ind_kit": "N",
      "padre": "K000001"
    }
  ]
}
--------- Configuracion de Impuestos ---------
porc_itbis : 0.18
porc_propina : 0.1
factor_precio : 8.474
totalporcimpuestos : 1.28
Orden Agregador, se asigno nuevo numero de Orden : 436160
Proximo # De Orden : 436160

-------------- Insertar header orden -----------
sql insert into orden1d (orden_app,orden_web,canal,referencia,COD_UNIDAD,NOM_UNIDAD,TIPO_FAC,
TELEFONO,CLIENTE,EMAIL,TIPONCF,RNCCUST,
NOMCUST,FECHA,HORA,FECHA_BD,HORA_BD,HORA_ENTREGA,
SUBTOTAL,
DESCUENTO,PORC_DESCUENTO,ITBIS,PROPINA,VALOR,PAGO_EFECTIVO,PAGO_TARJETACREDITO,FORMA_PAGO,GEOLOCATION_LATITUD,GEOLOCATION_LONGITUD,CIUDAD,CALLE,CASA,SECTOR,COMENTA1,COMENTA2,COMENTA3,COMENTA4,CANALNOMBRE,INFOCOMPROBANTE)
 values('436160','436160','AG','8F3A1','24','W CARREFOUR UBER','C',
 '829-947-3615','8F3A1 / Uber','','CONSUMO','',
 '','2026-06-04','19:59','2026-07-09','22:38:37','20:03',
 '593.2171875','0','0','106.77909375','0','700','0',
 '0','' ,'' ,'','','','',
 '','','','','','Uber',''
)
header registrado
Ultimo ID : 44
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
formatted : 
countryCode : 592 55 232
city : 
street : 
number : 
floor : 
latLng : Array
comment : 
-------------- Insertar detalle orden -----------
insert into orden2d (ID_ORDEN_ID,orden_app,orden_web,cod_unidad,telefono,plu,descri,kit,ind_kit,detallekit,linea,cantidad,precio,padre) values ("44", "436160", "436160", "24", "829-947-3615", "1100027", "Extra Salsa Bbq", "", "N", "N", "1", "1", "25.42359375", ""), ("44", "436160", "436160", "24", "829-947-3615", "K000001", "Combo Asiago Ranch Emapanizado", "", "S", "N", "2", "1", "567.79359375", ""), ("44", "436160", "436160", "24", "829-947-3615", "X000004", "SIN TOMATE (ING)", "", "N", "S", "3", "1", "0", "K000001"), ("44", "436160", "436160", "24", "829-947-3615", "61012", "BOTELLA COCA COLA", "", "N", "S", "4", "1", "0", "K000001"), ("44", "436160", "436160", "24", "829-947-3615", "0900002", "PAPAS MEDIANA", "", "N", "S", "5", "1", "0", "K000001")

1- 1100027 Extra Salsa Bbq : 1 * 30 = 30
2- K000001 Combo Asiago Ranch Emapanizado : 1 * 670 = 670
3- X000004 SIN TOMATE (ING) : 1 * 0 = 0
4- 61012 BOTELLA COCA COLA : 1 * 0 = 0
5- 0900002 PAPAS MEDIANA : 1 * 0 = 0

Detalle registrado
Retorno : {
			"status":"200",
			"orden":"436160",
			"email":"1"
		}
Orden registrada. # Orden Json : 436160 / # Orden Web : 436160
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------- J S O N  R E C I B I D O ----------------
{
  "orden": "8F3A1",
  "canal": "AG",
  "tipo_fac": "",
  "cod_unidad": "24",
  "nom_unidad": "W Carrefour UBER",
  "email": "",
  "telefono": " 8299473615",
  "nombre": "Michelle J.",
  "calle": "",
  "sector": "",
  "casa": "",
  "numero": "",
  "comentario1": "",
  "comentario2": "",
  "comentario3": "",
  "comentario4": "",
  "tiponcf": "CONSUMO",
  "rnc": "",
  "razonsocial": "",
  "fecha": "2026-06-04",
  "hora": "19:59",
  "hora_entrega": "2026-06-04T20:03:27-04:00",
  "subtotal": 0,
  "valor_descuento": 0,
  "porciento_descuento": 0,
  "itbis": 0,
  "propina": 0,
  "total": 700,
  "forma_pago": "",
  "cambio_efectivo": 0,
  "recargo": 0,
  "referencia": "Uber",
  "infoComprobante": null,
  "aprobacion": null,
  "address": [
    {
      "formatted": "",
      "countryCode": "592 55 232",
      "city": "",
      "street": "",
      "number": "",
      "apt": "",
      "floor": "",
      "entrance": "",
      "pobox": "",
      "comment": "",
      "latLng": {
        "lat": "",
        "lng": ""
      }
    }
  ],
  "members": [
    {
      "linea": 1,
      "grupolinea": 1,
      "plu": "1100027",
      "descripcion": "Extra Salsa Bbq",
      "cantidad": 1,
      "precio": 30,
      "ind_kit": "N",
      "padre": ""
    },
    {
      "linea": 2,
      "grupolinea": 3,
      "plu": "K000001",
      "descripcion": "Combo Asiago Ranch Emapanizado",
      "cantidad": 1,
      "precio": 670,
      "ind_kit": "S",
      "padre": ""
    },
    {
      "linea": 3,
      "grupolinea": 3,
      "plu": "X000004",
      "descripcion": "SIN TOMATE (ING)",
      "cantidad": 1,
      "precio": 0,
      "ind_kit": "N",
      "padre": "K000001"
    },
    {
      "linea": 4,
      "grupolinea": 3,
      "plu": "61012",
      "descripcion": "BOTELLA COCA COLA",
      "cantidad": 1,
      "precio": 0,
      "ind_kit": "N",
      "padre": "K000001"
    },
    {
      "linea": 5,
      "grupolinea": 3,
      "plu": "0900002",
      "descripcion": "PAPAS MEDIANA",
      "cantidad": 1,
      "precio": 0,
      "ind_kit": "N",
      "padre": "K000001"
    }
  ]
}
--------- Configuracion de Impuestos ---------
porc_itbis : 0.18
porc_propina : 0.1
factor_precio : 8.474
totalporcimpuestos : 1.28
Orden Agregador, se asigno nuevo numero de Orden : 436161
Proximo # De Orden : 436161

-------------- Insertar header orden -----------
sql insert into orden1d (orden_app,orden_web,canal,referencia,COD_UNIDAD,NOM_UNIDAD,TIPO_FAC,
TELEFONO,CLIENTE,EMAIL,TIPONCF,RNCCUST,
NOMCUST,FECHA,HORA,FECHA_BD,HORA_BD,HORA_ENTREGA,
SUBTOTAL,
DESCUENTO,PORC_DESCUENTO,ITBIS,PROPINA,VALOR,PAGO_EFECTIVO,PAGO_TARJETACREDITO,FORMA_PAGO,GEOLOCATION_LATITUD,GEOLOCATION_LONGITUD,CIUDAD,CALLE,CASA,SECTOR,COMENTA1,COMENTA2,COMENTA3,COMENTA4,CANALNOMBRE,INFOCOMPROBANTE)
 values('436161','436161','AG','8F3A1','24','W CARREFOUR UBER','C',
 '829-947-3615','8F3A1 / Uber','','CONSUMO','',
 '','2026-06-04','19:59','2026-07-09','23:53:50','20:03',
 '593.2171875','0','0','106.77909375','0','700','0',
 '0','' ,'' ,'','','','',
 '','','','','','Uber',''
)
header registrado
Ultimo ID : 45
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
formatted : 
countryCode : 592 55 232
city : 
street : 
number : 
floor : 
latLng : Array
comment : 
-------------- Insertar detalle orden -----------
insert into orden2d (ID_ORDEN_ID,orden_app,orden_web,cod_unidad,telefono,plu,descri,kit,ind_kit,detallekit,linea,cantidad,precio,padre) values ("45", "436161", "436161", "24", "829-947-3615", "1100027", "Extra Salsa Bbq", "", "N", "N", "1", "1", "25.42359375", ""), ("45", "436161", "436161", "24", "829-947-3615", "K000001", "Combo Asiago Ranch Emapanizado", "", "S", "N", "2", "1", "567.79359375", ""), ("45", "436161", "436161", "24", "829-947-3615", "X000004", "SIN TOMATE (ING)", "", "N", "S", "3", "1", "0", "K000001"), ("45", "436161", "436161", "24", "829-947-3615", "61012", "BOTELLA COCA COLA", "", "N", "S", "4", "1", "0", "K000001"), ("45", "436161", "436161", "24", "829-947-3615", "0900002", "PAPAS MEDIANA", "", "N", "S", "5", "1", "0", "K000001")

1- 1100027 Extra Salsa Bbq : 1 * 30 = 30
2- K000001 Combo Asiago Ranch Emapanizado : 1 * 670 = 670
3- X000004 SIN TOMATE (ING) : 1 * 0 = 0
4- 61012 BOTELLA COCA COLA : 1 * 0 = 0
5- 0900002 PAPAS MEDIANA : 1 * 0 = 0

Detalle registrado
Retorno : {
			"status":"200",
			"orden":"436161",
			"email":"1"
		}
Orden registrada. # Orden Json : 436161 / # Orden Web : 436161
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------- J S O N  R E C I B I D O ----------------

json vacio
Se envio correo para notificar Api : Se recibio un JSON VACIO en Notificacion_orden.php<BR><BR>
---------------- J S O N  R E C I B I D O ----------------
{
  "orden": "8F3A1",
  "canal": "AG",
  "tipo_fac": "",
  "cod_unidad": "99",
  "nom_unidad": "W Carrefour UBER",
  "email": "",
  "telefono": " 111-222-3333",
  "nombre": "Michelle J.",
  "calle": "",
  "sector": "",
  "casa": "",
  "numero": "",
  "comentario1": "",
  "comentario2": "",
  "comentario3": "",
  "comentario4": "",
  "tiponcf": "CONSUMO",
  "rnc": "",
  "razonsocial": "",
  "fecha": "2026-06-04",
  "hora": "19:59",
  "hora_entrega": "2026-06-04T20:03:27-04:00",
  "subtotal": 0,
  "valor_descuento": 0,
  "porciento_descuento": 0,
  "itbis": 0,
  "propina": 0,
  "total": 700,
  "forma_pago": "",
  "cambio_efectivo": 0,
  "recargo": 0,
  "referencia": "Uber",
  "infoComprobante": null,
  "aprobacion": null,
  "address": [
    {
      "formatted": "",
      "countryCode": "592 55 232",
      "city": "",
      "street": "",
      "number": "",
      "apt": "",
      "floor": "",
      "entrance": "",
      "pobox": "",
      "comment": "",
      "latLng": {
        "lat": "",
        "lng": ""
      }
    }
  ],
  "members": [
    {
      "linea": 1,
      "grupolinea": 1,
      "plu": "1100027",
      "descripcion": "Extra Salsa Bbq",
      "cantidad": 1,
      "precio": 30,
      "ind_kit": "N",
      "padre": ""
    },
    {
      "linea": 2,
      "grupolinea": 3,
      "plu": "K000001",
      "descripcion": "Combo Asiago Ranch Emapanizado",
      "cantidad": 1,
      "precio": 670,
      "ind_kit": "S",
      "padre": ""
    },
    {
      "linea": 3,
      "grupolinea": 3,
      "plu": "X000004",
      "descripcion": "SIN TOMATE (ING)",
      "cantidad": 1,
      "precio": 0,
      "ind_kit": "N",
      "padre": "K000001"
    },
    {
      "linea": 4,
      "grupolinea": 3,
      "plu": "61012",
      "descripcion": "BOTELLA COCA COLA",
      "cantidad": 1,
      "precio": 0,
      "ind_kit": "N",
      "padre": "K000001"
    },
    {
      "linea": 5,
      "grupolinea": 3,
      "plu": "0900002",
      "descripcion": "PAPAS MEDIANA",
      "cantidad": 1,
      "precio": 0,
      "ind_kit": "N",
      "padre": "K000001"
    }
  ]
}
--------- Configuracion de Impuestos ---------
porc_itbis : 0.18
porc_propina : 0.1
factor_precio : 8.474
totalporcimpuestos : 1.28
Orden Agregador, se asigno nuevo numero de Orden : 436162
Proximo # De Orden : 436162

-------------- Insertar header orden -----------
sql insert into orden1d (orden_app,orden_web,canal,referencia,COD_UNIDAD,NOM_UNIDAD,TIPO_FAC,
TELEFONO,CLIENTE,EMAIL,TIPONCF,RNCCUST,
NOMCUST,FECHA,HORA,FECHA_BD,HORA_BD,HORA_ENTREGA,
SUBTOTAL,
DESCUENTO,PORC_DESCUENTO,ITBIS,PROPINA,VALOR,PAGO_EFECTIVO,PAGO_TARJETACREDITO,FORMA_PAGO,GEOLOCATION_LATITUD,GEOLOCATION_LONGITUD,CIUDAD,CALLE,CASA,SECTOR,COMENTA1,COMENTA2,COMENTA3,COMENTA4,CANALNOMBRE,INFOCOMPROBANTE)
 values('436162','436162','AG','8F3A1','99','W CARREFOUR UBER','C',
 '111-222-3333','8F3A1 / Uber','','CONSUMO','',
 '','2026-06-04','19:59','2026-07-09','23:53:58','20:03',
 '593.2171875','0','0','106.77909375','0','700','0',
 '0','' ,'' ,'','','','',
 '','','','','','Uber',''
)
header registrado
Ultimo ID : 46
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
formatted : 
countryCode : 592 55 232
city : 
street : 
number : 
floor : 
latLng : Array
comment : 
-------------- Insertar detalle orden -----------
insert into orden2d (ID_ORDEN_ID,orden_app,orden_web,cod_unidad,telefono,plu,descri,kit,ind_kit,detallekit,linea,cantidad,precio,padre) values ("46", "436162", "436162", "99", "111-222-3333", "1100027", "Extra Salsa Bbq", "", "N", "N", "1", "1", "25.42359375", ""), ("46", "436162", "436162", "99", "111-222-3333", "K000001", "Combo Asiago Ranch Emapanizado", "", "S", "N", "2", "1", "567.79359375", ""), ("46", "436162", "436162", "99", "111-222-3333", "X000004", "SIN TOMATE (ING)", "", "N", "S", "3", "1", "0", "K000001"), ("46", "436162", "436162", "99", "111-222-3333", "61012", "BOTELLA COCA COLA", "", "N", "S", "4", "1", "0", "K000001"), ("46", "436162", "436162", "99", "111-222-3333", "0900002", "PAPAS MEDIANA", "", "N", "S", "5", "1", "0", "K000001")

1- 1100027 Extra Salsa Bbq : 1 * 30 = 30
2- K000001 Combo Asiago Ranch Emapanizado : 1 * 670 = 670
3- X000004 SIN TOMATE (ING) : 1 * 0 = 0
4- 61012 BOTELLA COCA COLA : 1 * 0 = 0
5- 0900002 PAPAS MEDIANA : 1 * 0 = 0

Detalle registrado
Retorno : {
			"status":"200",
			"orden":"436162",
			"email":"1"
		}
Orden registrada. # Orden Json : 436162 / # Orden Web : 436162
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
