
---------------- J S O N  R E C I B I D O ----------------
{"orden":"69656638","canal":"Wa","tipo_fac":"D","cod_unidad":"37","nom_unidad":"Puerto Plata","email":"","telefono":" 8298414177","nombre":"Markely N  ez","calle":"Villa Belen","sector":"","casa":"","numero":"0","comentario1":"Los mameyes, calle principal, al fondo, al final donde venden desayuno","comentario2":"","comentario3":"No","comentario4":"","tiponcf":"CONSUMO","rnc":"","razonsocial":"","fecha":"2024-06-03","hora":"19:59","hora_entrega":"20:30","subtotal":0,"valor_descuento":0,"porciento_descuento":0,"itbis":0,"propina":0,"total":1020,"forma_pago":"EFECTIVO","cambio_efectivo":1020,"referencia":"","infoComprobante":null,"address":[{"formatted":"Q8H3+995, Puerto Plata 57000, República Dominicana","countryCode":"DO","city":"Puerto Plata","street":"Villa Belen","number":"0","apt":"","floor":"","entrance":"","pobox":"","comment":"Los mameyes, calle principal, al fondo, al final donde venden desayuno","latLng":{"lat":"19.7783802","lng":"-70.6965115"}}],"members":[{"linea":1,"grupolinea":1,"plu":"03064","descripcion":"Coca Cola 16 Onz","cantidad":1,"precio":110,"ind_kit":"N","padre":""},{"linea":2,"grupolinea":3,"plu":"0100067","descripcion":"Hawaiana Mediana Pan","cantidad":1,"precio":910,"ind_kit":"N","padre":""}]}
--------- Configuracion de Impuestos ---------
porc_itbis : 0.18
porc_propina : 0.1
factor_precio : 8.474
Valor descuento : 0
Porciento descuento : 0
Total Orden : 1020
totalporcimpuestos : 1.28
Proximo # De Orden : T251039

-------------- 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,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('656638','T251039','WA','656638','37','PUERTO PLATA','D',
 '829-841-4177','MARKELY N  EZ','','CONSUMO','',
 '','2024-06-03','19:59','20:30',
 '864.4021875','0','0','155.59239375','0','1020','1020',
 '','EFECTIVO' ,'19.7783802' ,'-70.6965115','','VILLA BELEN','0 ',
 '','LOS MAMEYES, CALLE PRINCIPAL, AL FONDO, ','AL FINAL DONDE VENDEN DESAYUNO','','EFECTIVO','',''
)
header registrado
Ultimo ID : 18908
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
formatted : Q8H3+995, Puerto Plata 57000, República Dominicana
countryCode : DO
city : Puerto Plata
street : Villa Belen
number : 0
floor : 
latLng : Array
comment : Los mameyes, calle principal, al fondo, al final donde venden desayuno
-------------- Insertar detalle orden -----------
1- 03064 Coca Cola 16 Onz : 1 * 110 = 110
2- 0100067 Hawaiana Mediana Pan : 1 * 910 = 910

  OK
Retorno : {
			"status":"200",
			"orden":"T251039",
			"email":"1"
		}
Orden registrada. # Orden Json : 656638 / # Orden Web : T251039
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------- J S O N  R E C I B I D O ----------------
{"orden":"1192470566","canal":"AG","tipo_fac":"","cod_unidad":"17","nom_unidad":"San Francisco de Macoris - Pedidos Ya","email":"","telefono":"+18294521111","nombre":"Ney squaregym2018","calle":"","sector":"","casa":"","numero":"","comentario1":"","comentario2":"Medio de pago: Efectivo","comentario3":"","comentario4":"","tiponcf":"CONSUMO","rnc":"","razonsocial":"","fecha":"2024-06-03","hora":"20:00","hora_entrega":"2024-06-04T00:31:01.000Z","subtotal":1200,"valor_descuento":0,"porciento_descuento":0,"itbis":0,"propina":0,"total":1200,"forma_pago":"","cambio_efectivo":0,"referencia":"Pedidos Ya","infoComprobante":null,"address":[{"formatted":"","countryCode":"","city":"","street":"","number":"","apt":"","floor":"","entrance":"","pobox":"","comment":"","latLng":{"lat":"","lng":""}}],"members":[{"linea":1,"grupolinea":0,"plu":"0100005","descripcion":"Veggie Lover\u0027s  Mediana Pan","cantidad":1,"precio":1200,"ind_kit":"N","padre":""}]}
--------- Configuracion de Impuestos ---------
porc_itbis : 0.18
porc_propina : 0.1
factor_precio : 8.474
Valor descuento : 0
Porciento descuento : 0
Total Orden : 1200
totalporcimpuestos : 1.28
Orden Agregador, se asigno nuevo numero de Orden : 251040
Proximo # De Orden : T251040

-------------- 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,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('251040','T251040','AG','470566','17','SAN FRANCISCO DE MACORIS - PEDIDOS YA','C',
 '829-452-1111','470566 / Pedidos Ya','','CONSUMO','',
 '','2024-06-03','20:00','',
 '1016.94375','0','0','183.049875','0','1200','0',
 '','' ,'' ,'','','',' ',
 '','MEDIO DE PAGO: EFECTIVO','','','','Pedidos Ya',''
)
header registrado
Ultimo ID : 18909
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
formatted : 
countryCode : 
city : 
street : 
number : 
floor : 
latLng : Array
comment : 
-------------- Insertar detalle orden -----------
1- 0100005 Veggie Lover's  Mediana Pan : 1 * 1200 = 1200

  OK
Retorno : {
			"status":"200",
			"orden":"T251040",
			"email":"1"
		}
Orden registrada. # Orden Json : 251040 / # Orden Web : T251040
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------- J S O N  R E C I B I D O ----------------
{"orden":"BAA0C","canal":"AG","tipo_fac":"","cod_unidad":"07","nom_unidad":"Zona Rosa - Uber","email":"","telefono":" 8299473615","nombre":"Ramon C.","calle":"","sector":"","casa":"","numero":"","comentario1":"","comentario2":"","comentario3":"","comentario4":"","tiponcf":"CONSUMO","rnc":"","razonsocial":"","fecha":"2024-06-03","hora":"20:01","hora_entrega":"2024-06-03T20:30:34-04:00","subtotal":0,"valor_descuento":0,"porciento_descuento":0,"itbis":0,"propina":0,"total":1690,"forma_pago":"","cambio_efectivo":0,"referencia":"Uber","infoComprobante":null,"address":[{"formatted":"","countryCode":"914 51 682","city":"","street":"","number":"","apt":"","floor":"","entrance":"","pobox":"","comment":"","latLng":{"lat":"","lng":""}}],"members":[{"linea":1,"grupolinea":1,"plu":"K000603","descripcion":"Hut Cheese 1 Ing. + Breadsticks + 1.25 L","cantidad":1,"precio":1690,"ind_kit":"S","padre":""},{"linea":2,"grupolinea":1,"plu":"0100184","descripcion":"BASICA 1ING HUT CHEESE","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000603"},{"linea":3,"grupolinea":1,"plu":"0700180","descripcion":"ING QUESO  HUTCHEESE","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000603"},{"linea":4,"grupolinea":1,"plu":"0700171","descripcion":"ING SOLO JAMON HUTCHEESE","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000603"},{"linea":5,"grupolinea":1,"plu":"20748","descripcion":"1.25 LITRO COCA COLA","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000603"},{"linea":6,"grupolinea":1,"plu":"0200007","descripcion":"BREADSTICKS","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000603"}]}
--------- Configuracion de Impuestos ---------
porc_itbis : 0.18
porc_propina : 0.1
factor_precio : 8.474
Valor descuento : 0
Porciento descuento : 0
Total Orden : 1690
totalporcimpuestos : 1.28
Orden Agregador, se asigno nuevo numero de Orden : 251041
Proximo # De Orden : T251041

-------------- 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,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('251041','T251041','AG','BAA0C','07','ZONA ROSA - UBER','C',
 '829-947-3615','BAA0C / Uber','','CONSUMO','',
 '','2024-06-03','20:01','',
 '1432.19578125','0','0','257.795240625','0','1690','0',
 '','' ,'' ,'','','',' ',
 '','','','','','Uber',''
)
header registrado
Ultimo ID : 18910
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
formatted : 
countryCode : 914 51 682
city : 
street : 
number : 
floor : 
latLng : Array
comment : 
-------------- Insertar detalle orden -----------
1- K000603 Hut Cheese 1 Ing. + Breadsticks + 1.25 L : 1 * 1690 = 1690
2- 0100184 BASICA 1ING HUT CHEESE : 1 * 0 = 0
3- 0700180 ING QUESO  HUTCHEESE : 1 * 0 = 0
4- 0700171 ING SOLO JAMON HUTCHEESE : 1 * 0 = 0
5- 20748 1.25 LITRO COCA COLA : 1 * 0 = 0
6- 0200007 BREADSTICKS : 1 * 0 = 0

  OK
Retorno : {
			"status":"200",
			"orden":"T251041",
			"email":"1"
		}
Orden registrada. # Orden Json : 251041 / # Orden Web : T251041
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------- J S O N  R E C I B I D O ----------------
{"orden":"1192491322","canal":"AG","tipo_fac":"","cod_unidad":"28","nom_unidad":"La Romana - Pedidos Ya","email":"","telefono":"+18496337696","nombre":"Coralis Arianna Barry Guerrero","calle":"","sector":"","casa":"","numero":"","comentario1":"","comentario2":"Medio de pago: MASTERCARD","comentario3":"","comentario4":"","tiponcf":"CONSUMO","rnc":"","razonsocial":"","fecha":"2024-06-03","hora":"20:01","hora_entrega":"2024-06-04T00:36:21.000Z","subtotal":1665,"valor_descuento":59,"porciento_descuento":0,"itbis":0,"propina":0,"total":1665,"forma_pago":"","cambio_efectivo":0,"referencia":"Pedidos Ya","infoComprobante":null,"address":[{"formatted":"","countryCode":"","city":"","street":"","number":"","apt":"","floor":"","entrance":"","pobox":"","comment":"","latLng":{"lat":"","lng":""}}],"members":[{"linea":1,"grupolinea":1,"plu":"K000557","descripcion":"Pizza Grande 1 Ing. + Breadsticks + 1.25 L","cantidad":1,"precio":1665,"ind_kit":"S","padre":""},{"linea":2,"grupolinea":1,"plu":"0100182","descripcion":" BASICA 1 ING GDE PAN","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000557"},{"linea":3,"grupolinea":2,"plu":"0700085","descripcion":" ING SOLO  MAIZ GDE","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000557"},{"linea":4,"grupolinea":3,"plu":"0700067","descripcion":" ING SOLO HONGOS GDE","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000557"},{"linea":5,"grupolinea":4,"plu":"20748","descripcion":" 1.25 LITRO COCA COLA","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000557"},{"linea":6,"grupolinea":5,"plu":"0200007","descripcion":" BREADSTICKS","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000557"}]}
--------- Configuracion de Impuestos ---------
porc_itbis : 0.18
porc_propina : 0.1
factor_precio : 8.474
Valor descuento : 59
Porciento descuento : 4
Total Orden : 1665
totalporcimpuestos : 1.28
Orden Agregador, se asigno nuevo numero de Orden : 251042
Proximo # De Orden : T251042

-------------- 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,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('251042','T251042','AG','491322','28','LA ROMANA - PEDIDOS YA','C',
 '849-633-7696','491322 / Pedidos Ya','','CONSUMO','',
 '','2024-06-03','20:01','',
 '1411.009453125','59','4','253.9817015625','0','1665','0',
 '','' ,'' ,'','','',' ',
 '','MEDIO DE PAGO: MASTERCARD','','','','Pedidos Ya',''
)
header registrado
Ultimo ID : 18911
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
formatted : 
countryCode : 
city : 
street : 
number : 
floor : 
latLng : Array
comment : 
-------------- Insertar detalle orden -----------
1- K000557 Pizza Grande 1 Ing. + Breadsticks + 1.25 L : 1 * 1665 = 1665
2- 0100182  BASICA 1 ING GDE PAN : 1 * 0 = 0
3- 0700085  ING SOLO  MAIZ GDE : 1 * 0 = 0
4- 0700067  ING SOLO HONGOS GDE : 1 * 0 = 0
5- 20748  1.25 LITRO COCA COLA : 1 * 0 = 0
6- 0200007  BREADSTICKS : 1 * 0 = 0

  OK
Retorno : {
			"status":"200",
			"orden":"T251042",
			"email":"1"
		}
Orden registrada. # Orden Json : 251042 / # Orden Web : T251042
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------- J S O N  R E C I B I D O ----------------
{"orden":"BCADC","canal":"AG","tipo_fac":"","cod_unidad":"12","nom_unidad":"Nuñez de Cáceres Uber","email":"","telefono":" 8299473615","nombre":"Angely C.","calle":"","sector":"","casa":"","numero":"","comentario1":"","comentario2":"","comentario3":"","comentario4":"","tiponcf":"CONSUMO","rnc":"","razonsocial":"","fecha":"2024-06-03","hora":"20:01","hora_entrega":"2024-06-03T20:22:56-04:00","subtotal":0,"valor_descuento":0,"porciento_descuento":0,"itbis":0,"propina":0,"total":1270,"forma_pago":"","cambio_efectivo":0,"referencia":"Uber","infoComprobante":null,"address":[{"formatted":"","countryCode":"801 39 377","city":"","street":"","number":"","apt":"","floor":"","entrance":"","pobox":"","comment":"","latLng":{"lat":"","lng":""}}],"members":[{"linea":1,"grupolinea":1,"plu":"03064","descripcion":"Coca Cola 16 Onz","cantidad":1,"precio":125,"ind_kit":"N","padre":""},{"linea":2,"grupolinea":3,"plu":"K000619","descripcion":"Pizza Grande 1 Ing.","cantidad":1,"precio":1145,"ind_kit":"S","padre":""},{"linea":3,"grupolinea":3,"plu":"0100182","descripcion":"BASICA 1 ING GDE PAN","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000619"},{"linea":4,"grupolinea":3,"plu":"0700138","descripcion":"ING SOLO POLLO GDE","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000619"},{"linea":5,"grupolinea":3,"plu":"0700064","descripcion":"ING SOLO TOCINETA GDE","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000619"}]}
--------- Configuracion de Impuestos ---------
porc_itbis : 0.18
porc_propina : 0.1
factor_precio : 8.474
Valor descuento : 0
Porciento descuento : 0
Total Orden : 1270
totalporcimpuestos : 1.28
Orden Agregador, se asigno nuevo numero de Orden : 251043
Proximo # De Orden : T251043

-------------- 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,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('251043','T251043','AG','BCADC','12','NUNEZ DE CACERES UBER','C',
 '829-947-3615','BCADC / Uber','','CONSUMO','',
 '','2024-06-03','20:01','',
 '1076.26546875','0','0','193.727784375','0','1270','0',
 '','' ,'' ,'','','',' ',
 '','','','','','Uber',''
)
header registrado
Ultimo ID : 18912
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
formatted : 
countryCode : 801 39 377
city : 
street : 
number : 
floor : 
latLng : Array
comment : 
-------------- Insertar detalle orden -----------
1- 03064 Coca Cola 16 Onz : 1 * 125 = 125
2- K000619 Pizza Grande 1 Ing. : 1 * 1145 = 1145
3- 0100182 BASICA 1 ING GDE PAN : 1 * 0 = 0
4- 0700138 ING SOLO POLLO GDE : 1 * 0 = 0
5- 0700064 ING SOLO TOCINETA GDE : 1 * 0 = 0

  OK
Retorno : {
			"status":"200",
			"orden":"T251043",
			"email":"1"
		}
Orden registrada. # Orden Json : 251043 / # Orden Web : T251043
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------- J S O N  R E C I B I D O ----------------
{"orden":"0171F","canal":"AG","tipo_fac":"","cod_unidad":"15","nom_unidad":"Arroyo Hondo - Uber","email":"","telefono":" 8299473615","nombre":"patricia M.","calle":"","sector":"","casa":"","numero":"","comentario1":"","comentario2":"","comentario3":"","comentario4":"","tiponcf":"CONSUMO","rnc":"","razonsocial":"","fecha":"2024-06-03","hora":"20:02","hora_entrega":"2024-06-03T20:22:36-04:00","subtotal":0,"valor_descuento":0,"porciento_descuento":0,"itbis":0,"propina":0,"total":1350,"forma_pago":"","cambio_efectivo":0,"referencia":"Uber","infoComprobante":null,"address":[{"formatted":"","countryCode":"140 53 309","city":"","street":"","number":"","apt":"","floor":"","entrance":"","pobox":"","comment":"","latLng":{"lat":"","lng":""}}],"members":[{"linea":1,"grupolinea":1,"plu":"K000726","descripcion":"Big New Yorker + Breadsticks + 1.25 L","cantidad":1,"precio":1350,"ind_kit":"S","padre":""},{"linea":2,"grupolinea":1,"plu":"0100292","descripcion":"PIZZA BASICA 1 ING BNY","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000726"},{"linea":3,"grupolinea":1,"plu":"0700138","descripcion":"ING SOLO POLLO GDE","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000726"},{"linea":4,"grupolinea":1,"plu":"0700064","descripcion":"ING SOLO TOCINETA GDE","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000726"},{"linea":5,"grupolinea":1,"plu":"0200007","descripcion":"BREADSTICKS","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000726"},{"linea":6,"grupolinea":1,"plu":"20748","descripcion":"1.25 LITRO COCA COLA","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000726"}]}
--------- Configuracion de Impuestos ---------
porc_itbis : 0.18
porc_propina : 0.1
factor_precio : 8.474
Valor descuento : 0
Porciento descuento : 0
Total Orden : 1350
totalporcimpuestos : 1.28
Orden Agregador, se asigno nuevo numero de Orden : 251044
Proximo # De Orden : T251044

-------------- 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,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('251044','T251044','AG','0171F','15','ARROYO HONDO - UBER','C',
 '829-947-3615','0171F / Uber','','CONSUMO','',
 '','2024-06-03','20:02','',
 '1144.06171875','0','0','205.931109375','0','1350','0',
 '','' ,'' ,'','','',' ',
 '','','','','','Uber',''
)
header registrado
Ultimo ID : 18913
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
formatted : 
countryCode : 140 53 309
city : 
street : 
number : 
floor : 
latLng : Array
comment : 
-------------- Insertar detalle orden -----------
1- K000726 Big New Yorker + Breadsticks + 1.25 L : 1 * 1350 = 1350
2- 0100292 PIZZA BASICA 1 ING BNY : 1 * 0 = 0
3- 0700138 ING SOLO POLLO GDE : 1 * 0 = 0
4- 0700064 ING SOLO TOCINETA GDE : 1 * 0 = 0
5- 0200007 BREADSTICKS : 1 * 0 = 0
6- 20748 1.25 LITRO COCA COLA : 1 * 0 = 0

  OK
Retorno : {
			"status":"200",
			"orden":"T251044",
			"email":"1"
		}
Orden registrada. # Orden Json : 251044 / # Orden Web : T251044
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------- J S O N  R E C I B I D O ----------------
{"orden":"69655806","canal":"Wa","tipo_fac":"D","cod_unidad":"09","nom_unidad":"Calle El Sol","email":"","telefono":" 8299748483","nombre":"Yesmely","calle":"Calle 3ra","sector":"","casa":"","numero":"0","comentario1":"Ok","comentario2":"","comentario3":"No","comentario4":"","tiponcf":"CONSUMO","rnc":"","razonsocial":"","fecha":"2024-06-03","hora":"20:02","hora_entrega":"20:33","subtotal":0,"valor_descuento":0,"porciento_descuento":0,"itbis":0,"propina":0,"total":1135,"forma_pago":"EFECTIVO","cambio_efectivo":0,"referencia":"","infoComprobante":"Gubernamental","address":[{"formatted":"Calle 3ra, Santiago de los Caballeros 51000, República Dominicana","countryCode":"DO","city":"Santiago de los Caballeros","street":"Calle 3ra","number":"0","apt":"","floor":"","entrance":"","pobox":"","comment":"Ok","latLng":{"lat":"19.4429849","lng":"-70.7016063"}}],"members":[{"linea":1,"grupolinea":1,"plu":"K000625","descripcion":"Pizza Mediana 1 Ing.","cantidad":1,"precio":825,"ind_kit":"S","padre":""},{"linea":2,"grupolinea":1,"plu":"0100186","descripcion":"BASICA 1 ING MED THIN","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000625"},{"linea":3,"grupolinea":1,"plu":"0700139","descripcion":"ING SOLO POLLO MED","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000625"},{"linea":4,"grupolinea":1,"plu":"0700057","descripcion":"ING SOLO QUESO MED","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000625"},{"linea":5,"grupolinea":3,"plu":"0200065","descripcion":"Cheesesticks","cantidad":1,"precio":310,"ind_kit":"N","padre":""}]}
--------- Configuracion de Impuestos ---------
porc_itbis : 0.18
porc_propina : 0.1
factor_precio : 8.474
Valor descuento : 0
Porciento descuento : 0
Total Orden : 1135
totalporcimpuestos : 1.28
Proximo # De Orden : T251045

-------------- 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,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('655806','T251045','WA','655806','09','CALLE EL SOL','D',
 '829-974-8483','YESMELY','','CONSUMO','',
 '','2024-06-03','20:02','20:33',
 '961.859296875','0','0','173.1346734375','0','1135','0',
 '','EFECTIVO' ,'19.4429849' ,'-70.7016063','','CALLE 3RA','0 ',
 '','OK','','','EFECTIVO','','Gubernamental'
)
header registrado
Ultimo ID : 18914
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
formatted : Calle 3ra, Santiago de los Caballeros 51000, República Dominicana
countryCode : DO
city : Santiago de los Caballeros
street : Calle 3ra
number : 0
floor : 
latLng : Array
comment : Ok
-------------- Insertar detalle orden -----------
1- K000625 Pizza Mediana 1 Ing. : 1 * 825 = 825
2- 0100186 BASICA 1 ING MED THIN : 1 * 0 = 0
3- 0700139 ING SOLO POLLO MED : 1 * 0 = 0
4- 0700057 ING SOLO QUESO MED : 1 * 0 = 0
5- 0200065 Cheesesticks : 1 * 310 = 310

  OK
Retorno : {
			"status":"200",
			"orden":"T251045",
			"email":"1"
		}
Orden registrada. # Orden Json : 655806 / # Orden Web : T251045
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------- J S O N  R E C I B I D O ----------------
{"orden":"DE8A9","canal":"AG","tipo_fac":"","cod_unidad":"27","nom_unidad":"República de Colombia - Uber","email":"","telefono":" 8299473615","nombre":"Pabel S.","calle":"","sector":"","casa":"","numero":"","comentario1":"","comentario2":"","comentario3":"","comentario4":"","tiponcf":"CONSUMO","rnc":"","razonsocial":"","fecha":"2024-06-03","hora":"20:04","hora_entrega":"2024-06-03T20:17:00-04:00","subtotal":0,"valor_descuento":0,"porciento_descuento":0,"itbis":0,"propina":0,"total":1225,"forma_pago":"","cambio_efectivo":0,"referencia":"Uber","infoComprobante":null,"address":[{"formatted":"","countryCode":"133 23 285","city":"","street":"","number":"","apt":"","floor":"","entrance":"","pobox":"","comment":"","latLng":{"lat":"","lng":""}}],"members":[{"linea":1,"grupolinea":1,"plu":"K000621","descripcion":"Pizza Hut Cheese 1 Ing.","cantidad":1,"precio":1225,"ind_kit":"S","padre":""},{"linea":2,"grupolinea":1,"plu":"0100184","descripcion":"BASICA 1ING HUT CHEESE","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000621"},{"linea":3,"grupolinea":1,"plu":"0700173","descripcion":"ING SOLO PEPPERONI HUTC","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000621"},{"linea":4,"grupolinea":1,"plu":"0700176","descripcion":"ING SOLO POLLO HUTCHEESE","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000621"}]}
--------- Configuracion de Impuestos ---------
porc_itbis : 0.18
porc_propina : 0.1
factor_precio : 8.474
Valor descuento : 0
Porciento descuento : 0
Total Orden : 1225
totalporcimpuestos : 1.28
Orden Agregador, se asigno nuevo numero de Orden : 251046
Proximo # De Orden : T251046

-------------- 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,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('251046','T251046','AG','DE8A9','27','REPUBLICA DE COLOMBIA - UBER','C',
 '829-947-3615','DE8A9 / Uber','','CONSUMO','',
 '','2024-06-03','20:04','',
 '1038.130078125','0','0','186.8634140625','0','1225','0',
 '','' ,'' ,'','','',' ',
 '','','','','','Uber',''
)
header registrado
Ultimo ID : 18915
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
formatted : 
countryCode : 133 23 285
city : 
street : 
number : 
floor : 
latLng : Array
comment : 
-------------- Insertar detalle orden -----------
1- K000621 Pizza Hut Cheese 1 Ing. : 1 * 1225 = 1225
2- 0100184 BASICA 1ING HUT CHEESE : 1 * 0 = 0
3- 0700173 ING SOLO PEPPERONI HUTC : 1 * 0 = 0
4- 0700176 ING SOLO POLLO HUTCHEESE : 1 * 0 = 0

  OK
Retorno : {
			"status":"200",
			"orden":"T251046",
			"email":"1"
		}
Orden registrada. # Orden Json : 251046 / # Orden Web : T251046
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------- J S O N  R E C I B I D O ----------------
{"orden":"BBABD","canal":"AG","tipo_fac":"","cod_unidad":"30","nom_unidad":"Lope De Vega - Uber","email":"","telefono":" 8299473615","nombre":"Mariemi R.","calle":"","sector":"","casa":"","numero":"","comentario1":"","comentario2":"","comentario3":"","comentario4":"","tiponcf":"CONSUMO","rnc":"","razonsocial":"","fecha":"2024-06-03","hora":"20:05","hora_entrega":"2024-06-03T20:23:06-04:00","subtotal":0,"valor_descuento":0,"porciento_descuento":0,"itbis":0,"propina":0,"total":1420,"forma_pago":"","cambio_efectivo":0,"referencia":"Uber","infoComprobante":null,"address":[{"formatted":"","countryCode":"947 25 389","city":"","street":"","number":"","apt":"","floor":"","entrance":"","pobox":"","comment":"","latLng":{"lat":"","lng":""}}],"members":[{"linea":1,"grupolinea":1,"plu":"K000621","descripcion":"Pizza Hut Cheese 1 Ing.","cantidad":1,"precio":1225,"ind_kit":"S","padre":""},{"linea":2,"grupolinea":1,"plu":"0100184","descripcion":"BASICA 1ING HUT CHEESE","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000621"},{"linea":3,"grupolinea":1,"plu":"0700172","descripcion":"ING SOLO MAIZ HUTCHEESE","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000621"},{"linea":4,"grupolinea":1,"plu":"0700173","descripcion":"ING SOLO PEPPERONI HUTC","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000621"},{"linea":5,"grupolinea":2,"plu":"03059","descripcion":"Coca Cola 2 Litros","cantidad":1,"precio":195,"ind_kit":"N","padre":""}]}
--------- Configuracion de Impuestos ---------
porc_itbis : 0.18
porc_propina : 0.1
factor_precio : 8.474
Valor descuento : 0
Porciento descuento : 0
Total Orden : 1420
totalporcimpuestos : 1.28
Orden Agregador, se asigno nuevo numero de Orden : 251047
Proximo # De Orden : T251047

-------------- 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,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('251047','T251047','AG','BBABD','30','LOPE DE VEGA - UBER','C',
 '829-947-3615','BBABD / Uber','','CONSUMO','',
 '','2024-06-03','20:05','',
 '1203.3834375','0','0','216.60901875','0','1420','0',
 '','' ,'' ,'','','',' ',
 '','','','','','Uber',''
)
header registrado
Ultimo ID : 18916
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
formatted : 
countryCode : 947 25 389
city : 
street : 
number : 
floor : 
latLng : Array
comment : 
-------------- Insertar detalle orden -----------
1- K000621 Pizza Hut Cheese 1 Ing. : 1 * 1225 = 1225
2- 0100184 BASICA 1ING HUT CHEESE : 1 * 0 = 0
3- 0700172 ING SOLO MAIZ HUTCHEESE : 1 * 0 = 0
4- 0700173 ING SOLO PEPPERONI HUTC : 1 * 0 = 0
5- 03059 Coca Cola 2 Litros : 1 * 195 = 195

  OK
Retorno : {
			"status":"200",
			"orden":"T251047",
			"email":"1"
		}
Orden registrada. # Orden Json : 251047 / # Orden Web : T251047
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------- J S O N  R E C I B I D O ----------------
{"orden":"1192471289","canal":"AG","tipo_fac":"","cod_unidad":"10","nom_unidad":"Venezuela - Pedidos Ya","email":"","telefono":"+18297027441","nombre":"Elainy Arrendel","calle":"","sector":"","casa":"","numero":"","comentario1":"","comentario2":"Medio de pago: VISA","comentario3":"","comentario4":"","tiponcf":"CONSUMO","rnc":"","razonsocial":"","fecha":"2024-06-03","hora":"20:07","hora_entrega":"2024-06-04T00:47:58.000Z","subtotal":1225,"valor_descuento":0,"porciento_descuento":0,"itbis":0,"propina":0,"total":1225,"forma_pago":"","cambio_efectivo":0,"referencia":"Pedidos Ya","infoComprobante":null,"address":[{"formatted":"","countryCode":"","city":"","street":"","number":"","apt":"","floor":"","entrance":"","pobox":"","comment":"","latLng":{"lat":"","lng":""}}],"members":[{"linea":1,"grupolinea":1,"plu":"K000621","descripcion":"Pizza Hut Cheese 1 Ing.","cantidad":1,"precio":1225,"ind_kit":"S","padre":""},{"linea":2,"grupolinea":1,"plu":"0100184","descripcion":" BASICA 1ING HUT CHEESE","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000621"},{"linea":3,"grupolinea":2,"plu":"0700188","descripcion":" ING SOLO CARNE DE RES HUT","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000621"},{"linea":4,"grupolinea":3,"plu":"0700188","descripcion":" ING SOLO CARNE DE RES HUT","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000621"}]}
--------- Configuracion de Impuestos ---------
porc_itbis : 0.18
porc_propina : 0.1
factor_precio : 8.474
Valor descuento : 0
Porciento descuento : 0
Total Orden : 1225
totalporcimpuestos : 1.28
Orden Agregador, se asigno nuevo numero de Orden : 251048
Proximo # De Orden : T251048

-------------- 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,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('251048','T251048','AG','471289','10','VENEZUELA - PEDIDOS YA','C',
 '829-702-7441','471289 / Pedidos Ya','','CONSUMO','',
 '','2024-06-03','20:07','',
 '1038.130078125','0','0','186.8634140625','0','1225','0',
 '','' ,'' ,'','','',' ',
 '','MEDIO DE PAGO: VISA','','','','Pedidos Ya',''
)
header registrado
Ultimo ID : 18918
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
formatted : 
countryCode : 
city : 
street : 
number : 
floor : 
latLng : Array
comment : 
-------------- Insertar detalle orden -----------
1- K000621 Pizza Hut Cheese 1 Ing. : 1 * 1225 = 1225
2- 0100184  BASICA 1ING HUT CHEESE : 1 * 0 = 0
3- 0700188  ING SOLO CARNE DE RES HUT : 1 * 0 = 0
4- 0700188  ING SOLO CARNE DE RES HUT : 1 * 0 = 0

  OK
Retorno : {
			"status":"200",
			"orden":"T251048",
			"email":"1"
		}
Orden registrada. # Orden Json : 251048 / # Orden Web : T251048
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------- J S O N  R E C I B I D O ----------------
{"orden":"8089D","canal":"AG","tipo_fac":"","cod_unidad":"08","nom_unidad":"Máximo Gómez - Uber","email":"","telefono":" 8299473615","nombre":"feng X.","calle":"","sector":"","casa":"","numero":"","comentario1":"","comentario2":"","comentario3":"","comentario4":"","tiponcf":"CONSUMO","rnc":"","razonsocial":"","fecha":"2024-06-03","hora":"20:07","hora_entrega":"2024-06-03T20:27:15-04:00","subtotal":0,"valor_descuento":0,"porciento_descuento":0,"itbis":0,"propina":0,"total":1225,"forma_pago":"","cambio_efectivo":0,"referencia":"Uber","infoComprobante":null,"address":[{"formatted":"","countryCode":"399 42 437","city":"","street":"","number":"","apt":"","floor":"","entrance":"","pobox":"","comment":"","latLng":{"lat":"","lng":""}}],"members":[{"linea":1,"grupolinea":1,"plu":"K000621","descripcion":"Pizza Hut Cheese 1 Ing.","cantidad":1,"precio":1225,"ind_kit":"S","padre":""},{"linea":2,"grupolinea":1,"plu":"0100184","descripcion":"BASICA 1ING HUT CHEESE","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000621"},{"linea":3,"grupolinea":1,"plu":"0700180","descripcion":"ING QUESO  HUTCHEESE","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000621"},{"linea":4,"grupolinea":1,"plu":"0700180","descripcion":"ING QUESO  HUTCHEESE","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000621"}]}
--------- Configuracion de Impuestos ---------
porc_itbis : 0.18
porc_propina : 0.1
factor_precio : 8.474
Valor descuento : 0
Porciento descuento : 0
Total Orden : 1225
totalporcimpuestos : 1.28
Orden Agregador, se asigno nuevo numero de Orden : 251049
Proximo # De Orden : T251049

-------------- 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,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('251049','T251049','AG','8089D','08','MAXIMO GOMEZ - UBER','C',
 '829-947-3615','8089D / Uber','','CONSUMO','',
 '','2024-06-03','20:07','',
 '1038.130078125','0','0','186.8634140625','0','1225','0',
 '','' ,'' ,'','','',' ',
 '','','','','','Uber',''
)
header registrado
Ultimo ID : 18919
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
formatted : 
countryCode : 399 42 437
city : 
street : 
number : 
floor : 
latLng : Array
comment : 
-------------- Insertar detalle orden -----------
1- K000621 Pizza Hut Cheese 1 Ing. : 1 * 1225 = 1225
2- 0100184 BASICA 1ING HUT CHEESE : 1 * 0 = 0
3- 0700180 ING QUESO  HUTCHEESE : 1 * 0 = 0
4- 0700180 ING QUESO  HUTCHEESE : 1 * 0 = 0

  OK
Retorno : {
			"status":"200",
			"orden":"T251049",
			"email":"1"
		}
Orden registrada. # Orden Json : 251049 / # Orden Web : T251049
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------- J S O N  R E C I B I D O ----------------
{"orden":"1192492913","canal":"AG","tipo_fac":"","cod_unidad":"09","nom_unidad":"Calle el Sol - Pedidos Ya","email":"","telefono":"+18096136957","nombre":"Vianela Mercedes Pantaleon Liriano","calle":"","sector":"","casa":"","numero":"","comentario1":"","comentario2":"Medio de pago: VISA","comentario3":"","comentario4":"","tiponcf":"CONSUMO","rnc":"","razonsocial":"","fecha":"2024-06-03","hora":"20:07","hora_entrega":"2024-06-04T00:53:37.000Z","subtotal":1745,"valor_descuento":55,"porciento_descuento":0,"itbis":0,"propina":0,"total":1745,"forma_pago":"","cambio_efectivo":0,"referencia":"Pedidos Ya","infoComprobante":null,"address":[{"formatted":"","countryCode":"","city":"","street":"","number":"","apt":"","floor":"","entrance":"","pobox":"","comment":"","latLng":{"lat":"","lng":""}}],"members":[{"linea":1,"grupolinea":1,"plu":"K000603","descripcion":"Hut Cheese 1 Ing. + Breadsticks + 1.25 L","cantidad":1,"precio":1745,"ind_kit":"S","padre":""},{"linea":2,"grupolinea":1,"plu":"0100184","descripcion":" BASICA 1ING HUT CHEESE","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000603"},{"linea":3,"grupolinea":2,"plu":"0700173","descripcion":" ING SOLO PEPPERONI HUTC","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000603"},{"linea":4,"grupolinea":3,"plu":"0700170","descripcion":" ING SOLO  HONGOS HUTCHE","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000603"},{"linea":5,"grupolinea":4,"plu":"20748","descripcion":" 1.25 LITRO COCA COLA","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000603"},{"linea":6,"grupolinea":5,"plu":"0200007","descripcion":" BREADSTICKS","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000603"}]}
--------- Configuracion de Impuestos ---------
porc_itbis : 0.18
porc_propina : 0.1
factor_precio : 8.474
Valor descuento : 55
Porciento descuento : 3
Total Orden : 1745
totalporcimpuestos : 1.28
Orden Agregador, se asigno nuevo numero de Orden : 251050
Proximo # De Orden : T251050

-------------- 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,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('251050','T251050','AG','492913','09','CALLE EL SOL - PEDIDOS YA','C',
 '809-613-6957','492913 / Pedidos Ya','','CONSUMO','',
 '','2024-06-03','20:07','',
 '1478.805703125','55','3','266.1850265625','0','1745','0',
 '','' ,'' ,'','','',' ',
 '','MEDIO DE PAGO: VISA','','','','Pedidos Ya',''
)
header registrado
Ultimo ID : 18920
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
formatted : 
countryCode : 
city : 
street : 
number : 
floor : 
latLng : Array
comment : 
-------------- Insertar detalle orden -----------
1- K000603 Hut Cheese 1 Ing. + Breadsticks + 1.25 L : 1 * 1745 = 1745
2- 0100184  BASICA 1ING HUT CHEESE : 1 * 0 = 0
3- 0700173  ING SOLO PEPPERONI HUTC : 1 * 0 = 0
4- 0700170  ING SOLO  HONGOS HUTCHE : 1 * 0 = 0
5- 20748  1.25 LITRO COCA COLA : 1 * 0 = 0
6- 0200007  BREADSTICKS : 1 * 0 = 0

  OK
Retorno : {
			"status":"200",
			"orden":"T251050",
			"email":"1"
		}
Orden registrada. # Orden Json : 251050 / # Orden Web : T251050
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------- J S O N  R E C I B I D O ----------------
{"orden":"69653299","canal":"Wa","tipo_fac":"D","cod_unidad":"31","nom_unidad":"BlueMall Punta Cana","email":"","telefono":" 8492513700","nombre":"Dios Dependo De Tu Amor","calle":"Calle 3ª","sector":"","casa":"","numero":"7","comentario1":"Doblando por el parador Miguelina a Mano izquierda, después que dobles entonces en la primera esquina a mano derecha segundo apartamento Abraham número 23","comentario2":"","comentario3":"No","comentario4":"","tiponcf":"CONSUMO","rnc":"","razonsocial":"","fecha":"2024-06-03","hora":"20:07","hora_entrega":"20:48","subtotal":0,"valor_descuento":0,"porciento_descuento":0,"itbis":0,"propina":0,"total":1295,"forma_pago":"EFECTIVO","cambio_efectivo":0,"referencia":"","infoComprobante":null,"address":[{"formatted":"HJJ4+7GP, C. 3ª, Punta Cana 23000, República Dominicana","countryCode":"DO","city":"Punta Cana","street":"Calle 3ª","number":"7","apt":"","floor":"","entrance":"","pobox":"","comment":"Doblando por el parador Miguelina a Mano izquierda, después que dobles entonces en la primera esquina a mano derecha segundo apartamento Abraham número 23","latLng":{"lat":"18.5807179","lng":"-68.39367969999999"}}],"members":[{"linea":1,"grupolinea":1,"plu":"K000914","descripcion":"Panormous Edge 1 Ing. + 1.25 L","cantidad":1,"precio":1295,"ind_kit":"S","padre":""},{"linea":2,"grupolinea":1,"plu":"0100552","descripcion":"PANORMOUS EDGE BASICA","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000914"},{"linea":3,"grupolinea":1,"plu":"0700048","descripcion":"ING SOLO PEPPERONI MED","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000914"},{"linea":4,"grupolinea":1,"plu":"0700086","descripcion":"ING SOLO MAIZ MED","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000914"},{"linea":5,"grupolinea":1,"plu":"20748","descripcion":"1.25 LITRO COCA COLA","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000914"}]}
--------- Configuracion de Impuestos ---------
porc_itbis : 0.18
porc_propina : 0.1
factor_precio : 8.474
Valor descuento : 0
Porciento descuento : 0
Total Orden : 1295
totalporcimpuestos : 1.28
Proximo # De Orden : T251051

-------------- 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,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('653299','T251051','WA','653299','31','BLUEMALL PUNTA CANA','D',
 '849-251-3700','DIOS DEPENDO DE TU AMOR','','CONSUMO','',
 '','2024-06-03','20:07','20:48',
 '1097.451796875','0','0','197.5413234375','0','1295','0',
 '','EFECTIVO' ,'18.5807179' ,'-68.39367969999999','','CALLE 3A','7 ',
 '','DOBLANDO POR EL PARADOR MIGUELINA A MANO',' IZQUIERDA, DESPUeS QUE DOBLES ENTONCES ','EN LA PRIMERA ESQUINA A MANO DERECHA SEG','EFECTIVO','',''
)
header registrado
Ultimo ID : 18921
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
formatted : HJJ4+7GP, C. 3ª, Punta Cana 23000, República Dominicana
countryCode : DO
city : Punta Cana
street : Calle 3ª
number : 7
floor : 
latLng : Array
comment : Doblando por el parador Miguelina a Mano izquierda, después que dobles entonces en la primera esquina a mano derecha segundo apartamento Abraham número 23
-------------- Insertar detalle orden -----------
1- K000914 Panormous Edge 1 Ing. + 1.25 L : 1 * 1295 = 1295
2- 0100552 PANORMOUS EDGE BASICA : 1 * 0 = 0
3- 0700048 ING SOLO PEPPERONI MED : 1 * 0 = 0
4- 0700086 ING SOLO MAIZ MED : 1 * 0 = 0
5- 20748 1.25 LITRO COCA COLA : 1 * 0 = 0

  OK
Retorno : {
			"status":"200",
			"orden":"T251051",
			"email":"1"
		}
Orden registrada. # Orden Json : 653299 / # Orden Web : T251051
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------- J S O N  R E C I B I D O ----------------
{"orden":"1192493197","canal":"AG","tipo_fac":"","cod_unidad":"40","nom_unidad":"San Pedro - Pedidos Ya","email":"","telefono":"+18294920844","nombre":"Gabriela Perera","calle":"","sector":"","casa":"","numero":"","comentario1":"","comentario2":"Medio de pago: VISA","comentario3":"","comentario4":"","tiponcf":"CONSUMO","rnc":"","razonsocial":"","fecha":"2024-06-03","hora":"20:08","hora_entrega":"2024-06-04T00:40:29.000Z","subtotal":1757,"valor_descuento":55,"porciento_descuento":0,"itbis":0,"propina":0,"total":1757,"forma_pago":"","cambio_efectivo":0,"referencia":"Pedidos Ya","infoComprobante":null,"address":[{"formatted":"","countryCode":"","city":"","street":"","number":"","apt":"","floor":"","entrance":"","pobox":"","comment":"","latLng":{"lat":"","lng":""}}],"members":[{"linea":1,"grupolinea":1,"plu":"K000603","descripcion":"Hut Cheese 1 Ing. + Breadsticks + 1.25 L","cantidad":1,"precio":1745,"ind_kit":"S","padre":""},{"linea":2,"grupolinea":1,"plu":"0100184","descripcion":" BASICA 1ING HUT CHEESE","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000603"},{"linea":3,"grupolinea":2,"plu":"0700180","descripcion":" ING QUESO  HUTCHEESE","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000603"},{"linea":4,"grupolinea":3,"plu":"0700171","descripcion":" ING SOLO JAMON HUTCHEESE","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000603"},{"linea":5,"grupolinea":4,"plu":"20748","descripcion":" 1.25 LITRO COCA COLA","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000603"},{"linea":6,"grupolinea":5,"plu":"0202021","descripcion":" BREADSTICKS GOLDEN","cantidad":1,"precio":12,"ind_kit":"N","padre":"K000603"}]}
--------- Configuracion de Impuestos ---------
porc_itbis : 0.18
porc_propina : 0.1
factor_precio : 8.474
Valor descuento : 55
Porciento descuento : 3
Total Orden : 1757
totalporcimpuestos : 1.28
Orden Agregador, se asigno nuevo numero de Orden : 251052
Proximo # De Orden : T251052

-------------- 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,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('251052','T251052','AG','493197','40','SAN PEDRO - PEDIDOS YA','C',
 '829-492-0844','493197 / Pedidos Ya','','CONSUMO','',
 '','2024-06-03','20:08','',
 '1488.975140625','55','3','268.0155253125','0','1757','0',
 '','' ,'' ,'','','',' ',
 '','MEDIO DE PAGO: VISA','','','','Pedidos Ya',''
)
header registrado
Ultimo ID : 18922
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
formatted : 
countryCode : 
city : 
street : 
number : 
floor : 
latLng : Array
comment : 
-------------- Insertar detalle orden -----------
1- K000603 Hut Cheese 1 Ing. + Breadsticks + 1.25 L : 1 * 1745 = 1745
2- 0100184  BASICA 1ING HUT CHEESE : 1 * 0 = 0
3- 0700180  ING QUESO  HUTCHEESE : 1 * 0 = 0
4- 0700171  ING SOLO JAMON HUTCHEESE : 1 * 0 = 0
5- 20748  1.25 LITRO COCA COLA : 1 * 0 = 0
6- 0202021  BREADSTICKS GOLDEN : 1 * 12 = 12

  OK
Retorno : {
			"status":"200",
			"orden":"T251052",
			"email":"1"
		}
Orden registrada. # Orden Json : 251052 / # Orden Web : T251052
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------- J S O N  R E C I B I D O ----------------
{"orden":"1192492728","canal":"AG","tipo_fac":"","cod_unidad":"07","nom_unidad":"Zona Rosa - Pedidos Ya","email":"","telefono":"+18294599356","nombre":"mdb8rhxbrn mdb8rhxbrn","calle":"","sector":"","casa":"","numero":"","comentario1":"","comentario2":"Medio de pago: Efectivo","comentario3":"","comentario4":"","tiponcf":"CONSUMO","rnc":"","razonsocial":"","fecha":"2024-06-03","hora":"20:08","hora_entrega":"2024-06-04T00:54:29.000Z","subtotal":1225,"valor_descuento":0,"porciento_descuento":0,"itbis":0,"propina":0,"total":1225,"forma_pago":"","cambio_efectivo":0,"referencia":"Pedidos Ya","infoComprobante":null,"address":[{"formatted":"","countryCode":"","city":"","street":"","number":"","apt":"","floor":"","entrance":"","pobox":"","comment":"","latLng":{"lat":"","lng":""}}],"members":[{"linea":1,"grupolinea":1,"plu":"K000621","descripcion":"Pizza Hut Cheese 1 Ing.","cantidad":1,"precio":1225,"ind_kit":"S","padre":""},{"linea":2,"grupolinea":1,"plu":"0100184","descripcion":" BASICA 1ING HUT CHEESE","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000621"},{"linea":3,"grupolinea":2,"plu":"0700173","descripcion":" ING SOLO PEPPERONI HUTC","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000621"},{"linea":4,"grupolinea":3,"plu":"0700172","descripcion":" ING SOLO MAIZ HUTCHEESE","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000621"}]}
--------- Configuracion de Impuestos ---------
porc_itbis : 0.18
porc_propina : 0.1
factor_precio : 8.474
Valor descuento : 0
Porciento descuento : 0
Total Orden : 1225
totalporcimpuestos : 1.28
Orden Agregador, se asigno nuevo numero de Orden : 251053
Proximo # De Orden : T251053

-------------- 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,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('251053','T251053','AG','492728','07','ZONA ROSA - PEDIDOS YA','C',
 '829-459-9356','492728 / Pedidos Ya','','CONSUMO','',
 '','2024-06-03','20:08','',
 '1038.130078125','0','0','186.8634140625','0','1225','0',
 '','' ,'' ,'','','',' ',
 '','MEDIO DE PAGO: EFECTIVO','','','','Pedidos Ya',''
)
header registrado
Ultimo ID : 18923
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
formatted : 
countryCode : 
city : 
street : 
number : 
floor : 
latLng : Array
comment : 
-------------- Insertar detalle orden -----------
1- K000621 Pizza Hut Cheese 1 Ing. : 1 * 1225 = 1225
2- 0100184  BASICA 1ING HUT CHEESE : 1 * 0 = 0
3- 0700173  ING SOLO PEPPERONI HUTC : 1 * 0 = 0
4- 0700172  ING SOLO MAIZ HUTCHEESE : 1 * 0 = 0

  OK
Retorno : {
			"status":"200",
			"orden":"T251053",
			"email":"1"
		}
Orden registrada. # Orden Json : 251053 / # Orden Web : T251053
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------- J S O N  R E C I B I D O ----------------
{"orden":"1192471765","canal":"AG","tipo_fac":"","cod_unidad":"40","nom_unidad":"San Pedro - Pedidos Ya","email":"","telefono":"+18499174094","nombre":"Yasberlyn Minel Morales Pérez","calle":"","sector":"","casa":"","numero":"","comentario1":"","comentario2":"Medio de pago: MASTERCARD","comentario3":"","comentario4":"","tiponcf":"CONSUMO","rnc":"","razonsocial":"","fecha":"2024-06-03","hora":"20:08","hora_entrega":"2024-06-04T00:43:01.000Z","subtotal":2450,"valor_descuento":0,"porciento_descuento":0,"itbis":0,"propina":0,"total":2450,"forma_pago":"","cambio_efectivo":0,"referencia":"Pedidos Ya","infoComprobante":null,"address":[{"formatted":"","countryCode":"","city":"","street":"","number":"","apt":"","floor":"","entrance":"","pobox":"","comment":"","latLng":{"lat":"","lng":""}}],"members":[{"linea":1,"grupolinea":1,"plu":"K000621","descripcion":"Pizza Hut Cheese 1 Ing.","cantidad":1,"precio":1225,"ind_kit":"S","padre":""},{"linea":2,"grupolinea":1,"plu":"0100184","descripcion":" BASICA 1ING HUT CHEESE","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000621"},{"linea":3,"grupolinea":2,"plu":"0700173","descripcion":" ING SOLO PEPPERONI HUTC","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000621"},{"linea":4,"grupolinea":3,"plu":"0700181","descripcion":" ING SOLO MOZARELLA HUTC","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000621"},{"linea":5,"grupolinea":5,"plu":"K000621","descripcion":"Pizza Hut Cheese 1 Ing.","cantidad":1,"precio":1225,"ind_kit":"S","padre":""},{"linea":6,"grupolinea":5,"plu":"0100184","descripcion":" BASICA 1ING HUT CHEESE","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000621"},{"linea":7,"grupolinea":6,"plu":"0700172","descripcion":" ING SOLO MAIZ HUTCHEESE","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000621"},{"linea":8,"grupolinea":7,"plu":"0700176","descripcion":" ING SOLO POLLO HUTCHEESE","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000621"}]}
--------- Configuracion de Impuestos ---------
porc_itbis : 0.18
porc_propina : 0.1
factor_precio : 8.474
Valor descuento : 0
Porciento descuento : 0
Total Orden : 2450
totalporcimpuestos : 1.28
Orden Agregador, se asigno nuevo numero de Orden : 251054
Proximo # De Orden : T251054

-------------- 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,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('251054','T251054','AG','471765','40','SAN PEDRO - PEDIDOS YA','C',
 '849-917-4094','471765 / Pedidos Ya','','CONSUMO','',
 '','2024-06-03','20:08','',
 '2076.26015625','0','0','373.726828125','0','2450','0',
 '','' ,'' ,'','','',' ',
 '','MEDIO DE PAGO: MASTERCARD','','','','Pedidos Ya',''
)
header registrado
Ultimo ID : 18924
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
formatted : 
countryCode : 
city : 
street : 
number : 
floor : 
latLng : Array
comment : 
-------------- Insertar detalle orden -----------
1- K000621 Pizza Hut Cheese 1 Ing. : 1 * 1225 = 1225
2- 0100184  BASICA 1ING HUT CHEESE : 1 * 0 = 0
3- 0700173  ING SOLO PEPPERONI HUTC : 1 * 0 = 0
4- 0700181  ING SOLO MOZARELLA HUTC : 1 * 0 = 0
5- K000621 Pizza Hut Cheese 1 Ing. : 1 * 1225 = 1225
6- 0100184  BASICA 1ING HUT CHEESE : 1 * 0 = 0
7- 0700172  ING SOLO MAIZ HUTCHEESE : 1 * 0 = 0
8- 0700176  ING SOLO POLLO HUTCHEESE : 1 * 0 = 0

  OK
Retorno : {
			"status":"200",
			"orden":"T251054",
			"email":"1"
		}
Orden registrada. # Orden Json : 251054 / # Orden Web : T251054
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------- J S O N  R E C I B I D O ----------------
{"orden":"1192471857","canal":"AG","tipo_fac":"","cod_unidad":"04","nom_unidad":"Conde - Pedidos Ya","email":"","telefono":"+18493912510","nombre":"nayelyg0 nayelyg0","calle":"","sector":"","casa":"","numero":"","comentario1":"","comentario2":"Medio de pago: Efectivo","comentario3":"","comentario4":"","tiponcf":"CONSUMO","rnc":"","razonsocial":"","fecha":"2024-06-03","hora":"20:09","hora_entrega":"2024-06-04T00:50:36.000Z","subtotal":1225,"valor_descuento":0,"porciento_descuento":0,"itbis":0,"propina":0,"total":1225,"forma_pago":"","cambio_efectivo":0,"referencia":"Pedidos Ya","infoComprobante":null,"address":[{"formatted":"","countryCode":"","city":"","street":"","number":"","apt":"","floor":"","entrance":"","pobox":"","comment":"","latLng":{"lat":"","lng":""}}],"members":[{"linea":1,"grupolinea":1,"plu":"K000621","descripcion":"Pizza Hut Cheese 1 Ing.","cantidad":1,"precio":1225,"ind_kit":"S","padre":""},{"linea":2,"grupolinea":1,"plu":"0100184","descripcion":" BASICA 1ING HUT CHEESE","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000621"},{"linea":3,"grupolinea":2,"plu":"0700173","descripcion":" ING SOLO PEPPERONI HUTC","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000621"},{"linea":4,"grupolinea":3,"plu":"0700176","descripcion":" ING SOLO POLLO HUTCHEESE","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000621"}]}
--------- Configuracion de Impuestos ---------
porc_itbis : 0.18
porc_propina : 0.1
factor_precio : 8.474
Valor descuento : 0
Porciento descuento : 0
Total Orden : 1225
totalporcimpuestos : 1.28
Orden Agregador, se asigno nuevo numero de Orden : 251055
Proximo # De Orden : T251055

-------------- 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,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('251055','T251055','AG','471857','04','CONDE - PEDIDOS YA','C',
 '849-391-2510','471857 / Pedidos Ya','','CONSUMO','',
 '','2024-06-03','20:09','',
 '1038.130078125','0','0','186.8634140625','0','1225','0',
 '','' ,'' ,'','','',' ',
 '','MEDIO DE PAGO: EFECTIVO','','','','Pedidos Ya',''
)
header registrado
Ultimo ID : 18925
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
formatted : 
countryCode : 
city : 
street : 
number : 
floor : 
latLng : Array
comment : 
-------------- Insertar detalle orden -----------
1- K000621 Pizza Hut Cheese 1 Ing. : 1 * 1225 = 1225
2- 0100184  BASICA 1ING HUT CHEESE : 1 * 0 = 0
3- 0700173  ING SOLO PEPPERONI HUTC : 1 * 0 = 0
4- 0700176  ING SOLO POLLO HUTCHEESE : 1 * 0 = 0

  OK
Retorno : {
			"status":"200",
			"orden":"T251055",
			"email":"1"
		}
Orden registrada. # Orden Json : 251055 / # Orden Web : T251055
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------- J S O N  R E C I B I D O ----------------
{"orden":"83F12","canal":"AG","tipo_fac":"","cod_unidad":"33","nom_unidad":"Fama - Uber","email":"","telefono":" 8299473615","nombre":"brenda M.","calle":"","sector":"","casa":"","numero":"","comentario1":"","comentario2":"","comentario3":"","comentario4":"","tiponcf":"CONSUMO","rnc":"","razonsocial":"","fecha":"2024-06-03","hora":"20:10","hora_entrega":"2024-06-03T20:34:37-04:00","subtotal":0,"valor_descuento":0,"porciento_descuento":0,"itbis":0,"propina":0,"total":1765,"forma_pago":"","cambio_efectivo":0,"referencia":"Uber","infoComprobante":null,"address":[{"formatted":"","countryCode":"682 66 946","city":"","street":"","number":"","apt":"","floor":"","entrance":"","pobox":"","comment":"","latLng":{"lat":"","lng":""}}],"members":[{"linea":1,"grupolinea":1,"plu":"K000529","descripcion":"Panormous Edge 1 Ing. + Breadsticks + 2 L","cantidad":1,"precio":1765,"ind_kit":"S","padre":""},{"linea":2,"grupolinea":1,"plu":"0100552","descripcion":"PANORMOUS EDGE BASICA","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000529"},{"linea":3,"grupolinea":1,"plu":"0700059","descripcion":"ING SOLO RES MED","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000529"},{"linea":4,"grupolinea":1,"plu":"0700048","descripcion":"ING SOLO PEPPERONI MED","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000529"},{"linea":5,"grupolinea":1,"plu":"20292","descripcion":"2 LITRO UVA","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000529"},{"linea":6,"grupolinea":1,"plu":"0200007","descripcion":"BREADSTICKS","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000529"}]}
--------- Configuracion de Impuestos ---------
porc_itbis : 0.18
porc_propina : 0.1
factor_precio : 8.474
Valor descuento : 0
Porciento descuento : 0
Total Orden : 1765
totalporcimpuestos : 1.28
Orden Agregador, se asigno nuevo numero de Orden : 251056
Proximo # De Orden : T251056

-------------- 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,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('251056','T251056','AG','83F12','33','FAMA - UBER','C',
 '829-947-3615','83F12 / Uber','','CONSUMO','',
 '','2024-06-03','20:10','',
 '1495.754765625','0','0','269.2358578125','0','1765','0',
 '','' ,'' ,'','','',' ',
 '','','','','','Uber',''
)
header registrado
Ultimo ID : 18927
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
formatted : 
countryCode : 682 66 946
city : 
street : 
number : 
floor : 
latLng : Array
comment : 
-------------- Insertar detalle orden -----------
1- K000529 Panormous Edge 1 Ing. + Breadsticks + 2 L : 1 * 1765 = 1765
2- 0100552 PANORMOUS EDGE BASICA : 1 * 0 = 0
3- 0700059 ING SOLO RES MED : 1 * 0 = 0
4- 0700048 ING SOLO PEPPERONI MED : 1 * 0 = 0
5- 20292 2 LITRO UVA : 1 * 0 = 0
6- 0200007 BREADSTICKS : 1 * 0 = 0

  OK
Retorno : {
			"status":"200",
			"orden":"T251056",
			"email":"1"
		}
Orden registrada. # Orden Json : 251056 / # Orden Web : T251056
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------- J S O N  R E C I B I D O ----------------
{"orden":"EB0B2","canal":"AG","tipo_fac":"","cod_unidad":"18","nom_unidad":"Megacentro - Uber","email":"","telefono":" 8299473615","nombre":"Laminados R.","calle":"","sector":"","casa":"","numero":"","comentario1":"","comentario2":"","comentario3":"","comentario4":"","tiponcf":"CONSUMO","rnc":"","razonsocial":"","fecha":"2024-06-03","hora":"20:12","hora_entrega":"2024-06-03T20:29:07-04:00","subtotal":0,"valor_descuento":0,"porciento_descuento":0,"itbis":0,"propina":0,"total":1350,"forma_pago":"","cambio_efectivo":0,"referencia":"Uber","infoComprobante":null,"address":[{"formatted":"","countryCode":"692 01 664","city":"","street":"","number":"","apt":"","floor":"","entrance":"","pobox":"","comment":"","latLng":{"lat":"","lng":""}}],"members":[{"linea":1,"grupolinea":1,"plu":"K000726","descripcion":"Big New Yorker + Breadsticks + 1.25 L","cantidad":1,"precio":1350,"ind_kit":"S","padre":""},{"linea":2,"grupolinea":1,"plu":"0100292","descripcion":"PIZZA BASICA 1 ING BNY","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000726"},{"linea":3,"grupolinea":1,"plu":"0700064","descripcion":"ING SOLO TOCINETA GDE","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000726"},{"linea":4,"grupolinea":1,"plu":"0700047","descripcion":"ING SOLO PEPPERONI GDE","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000726"},{"linea":5,"grupolinea":1,"plu":"0200007","descripcion":"BREADSTICKS","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000726"},{"linea":6,"grupolinea":1,"plu":"20748","descripcion":"1.25 LITRO COCA COLA","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000726"}]}
--------- Configuracion de Impuestos ---------
porc_itbis : 0.18
porc_propina : 0.1
factor_precio : 8.474
Valor descuento : 0
Porciento descuento : 0
Total Orden : 1350
totalporcimpuestos : 1.28
Orden Agregador, se asigno nuevo numero de Orden : 251057
Proximo # De Orden : T251057

-------------- 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,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('251057','T251057','AG','EB0B2','18','MEGACENTRO - UBER','C',
 '829-947-3615','EB0B2 / Uber','','CONSUMO','',
 '','2024-06-03','20:12','',
 '1144.06171875','0','0','205.931109375','0','1350','0',
 '','' ,'' ,'','','',' ',
 '','','','','','Uber',''
)
header registrado
Ultimo ID : 18928
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
formatted : 
countryCode : 692 01 664
city : 
street : 
number : 
floor : 
latLng : Array
comment : 
-------------- Insertar detalle orden -----------
1- K000726 Big New Yorker + Breadsticks + 1.25 L : 1 * 1350 = 1350
2- 0100292 PIZZA BASICA 1 ING BNY : 1 * 0 = 0
3- 0700064 ING SOLO TOCINETA GDE : 1 * 0 = 0
4- 0700047 ING SOLO PEPPERONI GDE : 1 * 0 = 0
5- 0200007 BREADSTICKS : 1 * 0 = 0
6- 20748 1.25 LITRO COCA COLA : 1 * 0 = 0

  OK
Retorno : {
			"status":"200",
			"orden":"T251057",
			"email":"1"
		}
Orden registrada. # Orden Json : 251057 / # Orden Web : T251057
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------- J S O N  R E C I B I D O ----------------
{"orden":"DAD7D","canal":"AG","tipo_fac":"","cod_unidad":"18","nom_unidad":"Megacentro - Uber","email":"","telefono":" 8299473615","nombre":"Roberto G.","calle":"","sector":"","casa":"","numero":"","comentario1":"","comentario2":"","comentario3":"","comentario4":"","tiponcf":"CONSUMO","rnc":"","razonsocial":"","fecha":"2024-06-03","hora":"20:12","hora_entrega":"2024-06-03T20:29:08-04:00","subtotal":0,"valor_descuento":0,"porciento_descuento":0,"itbis":0,"propina":0,"total":1335,"forma_pago":"","cambio_efectivo":0,"referencia":"Uber","infoComprobante":null,"address":[{"formatted":"","countryCode":"523 89 136","city":"","street":"","number":"","apt":"","floor":"","entrance":"","pobox":"","comment":"","latLng":{"lat":"","lng":""}}],"members":[{"linea":1,"grupolinea":1,"plu":"K000913","descripcion":"Panormous Edge 1 Ing.","cantidad":1,"precio":1335,"ind_kit":"S","padre":""},{"linea":2,"grupolinea":1,"plu":"0100552","descripcion":"PANORMOUS EDGE BASICA","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000913"},{"linea":3,"grupolinea":1,"plu":"0700062","descripcion":"ING SOLO CERDO MED","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000913"},{"linea":4,"grupolinea":1,"plu":"0700139","descripcion":"ING SOLO POLLO MED","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000913"}]}
--------- Configuracion de Impuestos ---------
porc_itbis : 0.18
porc_propina : 0.1
factor_precio : 8.474
Valor descuento : 0
Porciento descuento : 0
Total Orden : 1335
totalporcimpuestos : 1.28
Orden Agregador, se asigno nuevo numero de Orden : 251058
Proximo # De Orden : T251058

-------------- 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,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('251058','T251058','AG','DAD7D','18','MEGACENTRO - UBER','C',
 '829-947-3615','DAD7D / Uber','','CONSUMO','',
 '','2024-06-03','20:12','',
 '1131.349921875','0','0','203.6429859375','0','1335','0',
 '','' ,'' ,'','','',' ',
 '','','','','','Uber',''
)
header registrado
Ultimo ID : 18929
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
formatted : 
countryCode : 523 89 136
city : 
street : 
number : 
floor : 
latLng : Array
comment : 
-------------- Insertar detalle orden -----------
1- K000913 Panormous Edge 1 Ing. : 1 * 1335 = 1335
2- 0100552 PANORMOUS EDGE BASICA : 1 * 0 = 0
3- 0700062 ING SOLO CERDO MED : 1 * 0 = 0
4- 0700139 ING SOLO POLLO MED : 1 * 0 = 0

  OK
Retorno : {
			"status":"200",
			"orden":"T251058",
			"email":"1"
		}
Orden registrada. # Orden Json : 251058 / # Orden Web : T251058
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------- J S O N  R E C I B I D O ----------------
{"orden":"69657667","canal":"Wa","tipo_fac":"D","cod_unidad":"10","nom_unidad":"Venezuela","email":"","telefono":" 8298818736","nombre":"Liz  M","calle":"Calle Puerto Rico","sector":"","casa":"","numero":"132","comentario1":"","comentario2":"","comentario3":"No","comentario4":"Pagaré con tarjeta","tiponcf":"CONSUMO","rnc":"","razonsocial":"","fecha":"2024-06-03","hora":"20:14","hora_entrega":"20:45","subtotal":0,"valor_descuento":0,"porciento_descuento":0,"itbis":0,"propina":0,"total":1155,"forma_pago":"EFECTIVO","cambio_efectivo":0,"referencia":"","infoComprobante":null,"address":[{"formatted":"C. Puerto Rico 132, Santo Domingo Este 11503, República Dominicana","countryCode":"DO","city":"Santo Domingo Este","street":"Calle Puerto Rico","number":"132","apt":"","floor":"","entrance":"","pobox":"","comment":"","latLng":{"lat":"18.4913922","lng":"-69.8604838"}}],"members":[{"linea":1,"grupolinea":1,"plu":"K000913","descripcion":"Panormous Edge 1 Ing.","cantidad":1,"precio":1155,"ind_kit":"S","padre":""},{"linea":2,"grupolinea":1,"plu":"0100552","descripcion":"PANORMOUS EDGE BASICA","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000913"},{"linea":3,"grupolinea":1,"plu":"0700054","descripcion":"ING SOLO JAMON MED","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000913"},{"linea":4,"grupolinea":1,"plu":"0700048","descripcion":"ING SOLO PEPPERONI MED","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000913"}]}
--------- Configuracion de Impuestos ---------
porc_itbis : 0.18
porc_propina : 0.1
factor_precio : 8.474
Valor descuento : 0
Porciento descuento : 0
Total Orden : 1155
totalporcimpuestos : 1.28
Proximo # De Orden : T251059

-------------- 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,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('657667','T251059','WA','657667','10','VENEZUELA','D',
 '829-881-8736','LIZ  M','','CONSUMO','',
 '','2024-06-03','20:14','20:45',
 '978.808359375','0','0','176.1855046875','0','1155','0',
 '','EFECTIVO' ,'18.4913922' ,'-69.8604838','','CALLE PUERTO RICO','132 ',
 '','','','','EFECTIVO','',''
)
header registrado
Ultimo ID : 18930
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
formatted : C. Puerto Rico 132, Santo Domingo Este 11503, República Dominicana
countryCode : DO
city : Santo Domingo Este
street : Calle Puerto Rico
number : 132
floor : 
latLng : Array
comment : 
-------------- Insertar detalle orden -----------
1- K000913 Panormous Edge 1 Ing. : 1 * 1155 = 1155
2- 0100552 PANORMOUS EDGE BASICA : 1 * 0 = 0
3- 0700054 ING SOLO JAMON MED : 1 * 0 = 0
4- 0700048 ING SOLO PEPPERONI MED : 1 * 0 = 0

  OK
Retorno : {
			"status":"200",
			"orden":"T251059",
			"email":"1"
		}
Orden registrada. # Orden Json : 657667 / # Orden Web : T251059
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------- J S O N  R E C I B I D O ----------------
{"orden":"69659335","canal":"Wa","tipo_fac":"D","cod_unidad":"03","nom_unidad":"Bella Vista","email":"","telefono":" 8097067160","nombre":"Victoria Martinez","calle":"Calle 9","sector":"","casa":"","numero":"17","comentario1":"Calle 9, no 21. Mirador Norte. Torre Fernando I 7B","comentario2":"","comentario3":"No","comentario4":"","tiponcf":"CONSUMO","rnc":"","razonsocial":"","fecha":"2024-06-03","hora":"20:15","hora_entrega":"20:46","subtotal":0,"valor_descuento":0,"porciento_descuento":0,"itbis":0,"propina":0,"total":1635,"forma_pago":"EFECTIVO","cambio_efectivo":0,"referencia":"","infoComprobante":"Fiscal, 101636599, Karay","address":[{"formatted":"Calle 9 17, Santo Domingo, República Dominicana","countryCode":"DO","city":"Santo Domingo","street":"Calle 9","number":"17","apt":"","floor":"","entrance":"","pobox":"","comment":"Calle 9, no 21. Mirador Norte. Torre Fernando I 7B","latLng":{"lat":"18.4526495","lng":"-69.9569763"}}],"members":[{"linea":1,"grupolinea":1,"plu":"K000915","descripcion":"Pizza Grande 1 Ing. + Buffalo Wings 8 Unid. + 1.25 L","cantidad":1,"precio":1635,"ind_kit":"S","padre":""},{"linea":2,"grupolinea":1,"plu":"0100182","descripcion":"BASICA 1 ING GDE PAN","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000915"},{"linea":3,"grupolinea":1,"plu":"0700047","descripcion":"ING SOLO PEPPERONI GDE","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000915"},{"linea":4,"grupolinea":1,"plu":"0700053","descripcion":"ING SOLO JAMON GDE","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000915"},{"linea":5,"grupolinea":1,"plu":"0200023","descripcion":"BUFFALO WINGS 8 UND","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000915"},{"linea":6,"grupolinea":1,"plu":"20748","descripcion":"1.25 LITRO COCA COLA","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000915"}]}
--------- Configuracion de Impuestos ---------
porc_itbis : 0.18
porc_propina : 0.1
factor_precio : 8.474
Valor descuento : 0
Porciento descuento : 0
Total Orden : 1635
totalporcimpuestos : 1.28
Proximo # De Orden : T251060

-------------- 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,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('659335','T251060','WA','659335','03','BELLA VISTA','D',
 '809-706-7160','VICTORIA MARTINEZ','','CONSUMO','',
 '','2024-06-03','20:15','20:46',
 '1385.585859375','0','0','249.4054546875','0','1635','0',
 '','EFECTIVO' ,'18.4526495' ,'-69.9569763','','CALLE 9','17 ',
 '','CALLE 9, NO 21. MIRADOR NORTE. TORRE FER','NANDO I 7B','','EFECTIVO','','Fiscal, 101636599, Karay'
)
header registrado
Ultimo ID : 18931
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
formatted : Calle 9 17, Santo Domingo, República Dominicana
countryCode : DO
city : Santo Domingo
street : Calle 9
number : 17
floor : 
latLng : Array
comment : Calle 9, no 21. Mirador Norte. Torre Fernando I 7B
-------------- Insertar detalle orden -----------
1- K000915 Pizza Grande 1 Ing. + Buffalo Wings 8 Unid. + 1.25 L : 1 * 1635 = 1635
2- 0100182 BASICA 1 ING GDE PAN : 1 * 0 = 0
3- 0700047 ING SOLO PEPPERONI GDE : 1 * 0 = 0
4- 0700053 ING SOLO JAMON GDE : 1 * 0 = 0
5- 0200023 BUFFALO WINGS 8 UND : 1 * 0 = 0
6- 20748 1.25 LITRO COCA COLA : 1 * 0 = 0

  OK
Retorno : {
			"status":"200",
			"orden":"T251060",
			"email":"1"
		}
Orden registrada. # Orden Json : 659335 / # Orden Web : T251060
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------- J S O N  R E C I B I D O ----------------
{"orden":"69659235","canal":"Wa","tipo_fac":"D","cod_unidad":"19","nom_unidad":"Independencia","email":"","telefono":" 8296828064","nombre":"Alfonso Martinez","calle":"Calle 4ta.","sector":"","casa":"","numero":"18","comentario1":"C. 4ta, Le stanze 16 B1, Jardines del Sur, Distrito Nacional","comentario2":"","comentario3":"No","comentario4":"","tiponcf":"CONSUMO","rnc":"","razonsocial":"","fecha":"2024-06-03","hora":"20:17","hora_entrega":"20:47","subtotal":0,"valor_descuento":0,"porciento_descuento":0,"itbis":0,"propina":0,"total":2310,"forma_pago":"EFECTIVO","cambio_efectivo":0,"referencia":"","infoComprobante":null,"address":[{"formatted":"C. 4ta. 18, Santo Domingo 11105, República Dominicana","countryCode":"DO","city":"Santo Domingo","street":"Calle 4ta.","number":"18","apt":"","floor":"","entrance":"","pobox":"","comment":"C. 4ta, Le stanze 16 B1, Jardines del Sur, Distrito Nacional","latLng":{"lat":"18.4414562","lng":"-69.94882249999999"}}],"members":[{"linea":1,"grupolinea":1,"plu":"K000913","descripcion":"Panormous Edge 1 Ing.","cantidad":1,"precio":1155,"ind_kit":"S","padre":""},{"linea":2,"grupolinea":1,"plu":"0100552","descripcion":"PANORMOUS EDGE BASICA","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000913"},{"linea":3,"grupolinea":1,"plu":"0700054","descripcion":"ING SOLO JAMON MED","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000913"},{"linea":4,"grupolinea":1,"plu":"0700065","descripcion":"ING SOLO TOCINETA MED","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000913"},{"linea":5,"grupolinea":3,"plu":"K000913","descripcion":"Panormous Edge 1 Ing.","cantidad":1,"precio":1155,"ind_kit":"S","padre":""},{"linea":6,"grupolinea":3,"plu":"0100552","descripcion":"PANORMOUS EDGE BASICA","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000913"},{"linea":7,"grupolinea":3,"plu":"0700048","descripcion":"ING SOLO PEPPERONI MED","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000913"},{"linea":8,"grupolinea":3,"plu":"0700048","descripcion":"ING SOLO PEPPERONI MED","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000913"}]}
--------- Configuracion de Impuestos ---------
porc_itbis : 0.18
porc_propina : 0.1
factor_precio : 8.474
Valor descuento : 0
Porciento descuento : 0
Total Orden : 2310
totalporcimpuestos : 1.28
Proximo # De Orden : T251061

-------------- 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,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('659235','T251061','WA','659235','19','INDEPENDENCIA','D',
 '829-682-8064','ALFONSO MARTINEZ','','CONSUMO','',
 '','2024-06-03','20:17','20:47',
 '1957.61671875','0','0','352.371009375','0','2310','0',
 '','EFECTIVO' ,'18.4414562' ,'-69.94882249999999','','CALLE 4TA.','18 ',
 '','C. 4TA, LE STANZE 16 B1, JARDINES DEL SU','R, DISTRITO NACIONAL','','EFECTIVO','',''
)
header registrado
Ultimo ID : 18932
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
formatted : C. 4ta. 18, Santo Domingo 11105, República Dominicana
countryCode : DO
city : Santo Domingo
street : Calle 4ta.
number : 18
floor : 
latLng : Array
comment : C. 4ta, Le stanze 16 B1, Jardines del Sur, Distrito Nacional
-------------- Insertar detalle orden -----------
1- K000913 Panormous Edge 1 Ing. : 1 * 1155 = 1155
2- 0100552 PANORMOUS EDGE BASICA : 1 * 0 = 0
3- 0700054 ING SOLO JAMON MED : 1 * 0 = 0
4- 0700065 ING SOLO TOCINETA MED : 1 * 0 = 0
5- K000913 Panormous Edge 1 Ing. : 1 * 1155 = 1155
6- 0100552 PANORMOUS EDGE BASICA : 1 * 0 = 0
7- 0700048 ING SOLO PEPPERONI MED : 1 * 0 = 0
8- 0700048 ING SOLO PEPPERONI MED : 1 * 0 = 0

  OK
Retorno : {
			"status":"200",
			"orden":"T251061",
			"email":"1"
		}
Orden registrada. # Orden Json : 659235 / # Orden Web : T251061
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------- J S O N  R E C I B I D O ----------------
{"orden":"70338","canal":"AG","tipo_fac":"","cod_unidad":"10","nom_unidad":"Venezuela - Uber","email":"","telefono":" 8299473615","nombre":"Roossbert J.","calle":"","sector":"","casa":"","numero":"","comentario1":"","comentario2":"","comentario3":"","comentario4":"","tiponcf":"CONSUMO","rnc":"","razonsocial":"","fecha":"2024-06-03","hora":"20:17","hora_entrega":"2024-06-03T20:42:14-04:00","subtotal":0,"valor_descuento":0,"porciento_descuento":0,"itbis":0,"propina":0,"total":2250,"forma_pago":"","cambio_efectivo":0,"referencia":"Uber","infoComprobante":null,"address":[{"formatted":"","countryCode":"504 13 549","city":"","street":"","number":"","apt":"","floor":"","entrance":"","pobox":"","comment":"","latLng":{"lat":"","lng":""}}],"members":[{"linea":1,"grupolinea":1,"plu":"K000915","descripcion":"Pizza Grande 1 Ing. + Buffalo Wings 8 Unid. + 1.25 L","cantidad":1,"precio":1880,"ind_kit":"S","padre":""},{"linea":2,"grupolinea":1,"plu":"0100182","descripcion":"BASICA 1 ING GDE PAN","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000915"},{"linea":3,"grupolinea":1,"plu":"0700047","descripcion":"ING SOLO PEPPERONI GDE","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000915"},{"linea":4,"grupolinea":1,"plu":"0700085","descripcion":"ING SOLO  MAIZ GDE","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000915"},{"linea":5,"grupolinea":1,"plu":"0200023","descripcion":"BUFFALO WINGS 8 UND","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000915"},{"linea":6,"grupolinea":1,"plu":"20748","descripcion":"1.25 LITRO COCA COLA","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000915"},{"linea":7,"grupolinea":2,"plu":"0200065","descripcion":"Cheesesticks","cantidad":1,"precio":370,"ind_kit":"N","padre":""}]}
--------- Configuracion de Impuestos ---------
porc_itbis : 0.18
porc_propina : 0.1
factor_precio : 8.474
Valor descuento : 0
Porciento descuento : 0
Total Orden : 2250
totalporcimpuestos : 1.28
Orden Agregador, se asigno nuevo numero de Orden : 251062
Proximo # De Orden : T251062

-------------- 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,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('251062','T251062','AG','70338','10','VENEZUELA - UBER','C',
 '829-947-3615','70338 / Uber','','CONSUMO','',
 '','2024-06-03','20:17','',
 '1906.76953125','0','0','343.218515625','0','2250','0',
 '','' ,'' ,'','','',' ',
 '','','','','','Uber',''
)
header registrado
Ultimo ID : 18933
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
formatted : 
countryCode : 504 13 549
city : 
street : 
number : 
floor : 
latLng : Array
comment : 
-------------- Insertar detalle orden -----------
1- K000915 Pizza Grande 1 Ing. + Buffalo Wings 8 Unid. + 1.25 L : 1 * 1880 = 1880
2- 0100182 BASICA 1 ING GDE PAN : 1 * 0 = 0
3- 0700047 ING SOLO PEPPERONI GDE : 1 * 0 = 0
4- 0700085 ING SOLO  MAIZ GDE : 1 * 0 = 0
5- 0200023 BUFFALO WINGS 8 UND : 1 * 0 = 0
6- 20748 1.25 LITRO COCA COLA : 1 * 0 = 0
7- 0200065 Cheesesticks : 1 * 370 = 370

  OK
Retorno : {
			"status":"200",
			"orden":"T251062",
			"email":"1"
		}
Orden registrada. # Orden Json : 251062 / # Orden Web : T251062
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------- J S O N  R E C I B I D O ----------------
{"orden":"8E52D","canal":"AG","tipo_fac":"","cod_unidad":"07","nom_unidad":"Zona Rosa - Uber","email":"","telefono":" 8299473615","nombre":"Melissa R.","calle":"","sector":"","casa":"","numero":"","comentario1":"","comentario2":"","comentario3":"","comentario4":"","tiponcf":"CONSUMO","rnc":"","razonsocial":"","fecha":"2024-06-03","hora":"20:17","hora_entrega":"2024-06-03T20:37:57-04:00","subtotal":0,"valor_descuento":0,"porciento_descuento":0,"itbis":0,"propina":0,"total":1690,"forma_pago":"","cambio_efectivo":0,"referencia":"Uber","infoComprobante":null,"address":[{"formatted":"","countryCode":"149 01 127","city":"","street":"","number":"","apt":"","floor":"","entrance":"","pobox":"","comment":"","latLng":{"lat":"","lng":""}}],"members":[{"linea":1,"grupolinea":1,"plu":"K000603","descripcion":"Hut Cheese 1 Ing. + Breadsticks + 1.25 L","cantidad":1,"precio":1690,"ind_kit":"S","padre":""},{"linea":2,"grupolinea":1,"plu":"0100184","descripcion":"BASICA 1ING HUT CHEESE","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000603"},{"linea":3,"grupolinea":1,"plu":"0700171","descripcion":"ING SOLO JAMON HUTCHEESE","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000603"},{"linea":4,"grupolinea":1,"plu":"0700173","descripcion":"ING SOLO PEPPERONI HUTC","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000603"},{"linea":5,"grupolinea":1,"plu":"20748","descripcion":"1.25 LITRO COCA COLA","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000603"},{"linea":6,"grupolinea":1,"plu":"0200007","descripcion":"BREADSTICKS","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000603"}]}
--------- Configuracion de Impuestos ---------
porc_itbis : 0.18
porc_propina : 0.1
factor_precio : 8.474
Valor descuento : 0
Porciento descuento : 0
Total Orden : 1690
totalporcimpuestos : 1.28
Orden Agregador, se asigno nuevo numero de Orden : 251063
Proximo # De Orden : T251063

-------------- 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,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('251063','T251063','AG','8E52D','07','ZONA ROSA - UBER','C',
 '829-947-3615','8E52D / Uber','','CONSUMO','',
 '','2024-06-03','20:17','',
 '1432.19578125','0','0','257.795240625','0','1690','0',
 '','' ,'' ,'','','',' ',
 '','','','','','Uber',''
)
header registrado
Ultimo ID : 18934
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
formatted : 
countryCode : 149 01 127
city : 
street : 
number : 
floor : 
latLng : Array
comment : 
-------------- Insertar detalle orden -----------
1- K000603 Hut Cheese 1 Ing. + Breadsticks + 1.25 L : 1 * 1690 = 1690
2- 0100184 BASICA 1ING HUT CHEESE : 1 * 0 = 0
3- 0700171 ING SOLO JAMON HUTCHEESE : 1 * 0 = 0
4- 0700173 ING SOLO PEPPERONI HUTC : 1 * 0 = 0
5- 20748 1.25 LITRO COCA COLA : 1 * 0 = 0
6- 0200007 BREADSTICKS : 1 * 0 = 0

  OK
Retorno : {
			"status":"200",
			"orden":"T251063",
			"email":"1"
		}
Orden registrada. # Orden Json : 251063 / # Orden Web : T251063
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------- J S O N  R E C I B I D O ----------------
{"orden":"69658642","canal":"Wa","tipo_fac":"D","cod_unidad":"39","nom_unidad":"Higuey - Tictuk","email":"","telefono":" 8098673824","nombre":"danielafrias2121","calle":"Higüey","sector":"","casa":"","numero":"0","comentario1":"","comentario2":"","comentario3":"No","comentario4":"","tiponcf":"CONSUMO","rnc":"","razonsocial":"","fecha":"2024-06-03","hora":"20:18","hora_entrega":"20:48","subtotal":0,"valor_descuento":0,"porciento_descuento":0,"itbis":0,"propina":0,"total":1250,"forma_pago":"EFECTIVO","cambio_efectivo":1500,"referencia":"","infoComprobante":null,"address":[{"formatted":"J77G+CRW, Higüey 23000, República Dominicana","countryCode":"DO","city":"Higüey","street":"Higüey","number":"0","apt":"","floor":"","entrance":"","pobox":"","comment":"","latLng":{"lat":"18.6135881","lng":"-68.7228798"}}],"members":[{"linea":1,"grupolinea":1,"plu":"K000726","descripcion":"Big New Yorker + Breadsticks + 1.25 L","cantidad":1,"precio":1250,"ind_kit":"S","padre":""},{"linea":2,"grupolinea":1,"plu":"0100292","descripcion":"PIZZA BASICA 1 ING BNY","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000726"},{"linea":3,"grupolinea":1,"plu":"0700053","descripcion":"ING SOLO JAMON GDE","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000726"},{"linea":4,"grupolinea":1,"plu":"0700056","descripcion":"ING SOLO QUESO GDE","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000726"},{"linea":5,"grupolinea":1,"plu":"0200007","descripcion":"BREADSTICKS","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000726"},{"linea":6,"grupolinea":1,"plu":"20748","descripcion":"1.25 LITRO COCA COLA","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000726"}]}
--------- Configuracion de Impuestos ---------
porc_itbis : 0.18
porc_propina : 0.1
factor_precio : 8.474
Valor descuento : 0
Porciento descuento : 0
Total Orden : 1250
totalporcimpuestos : 1.28
Proximo # De Orden : T251064

-------------- 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,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('658642','T251064','WA','658642','39','HIGUEY - TICTUK','D',
 '809-867-3824','DANIELAFRIAS2121','','CONSUMO','',
 '','2024-06-03','20:18','20:48',
 '1059.31640625','0','0','190.676953125','0','1250','1500',
 '','EFECTIVO' ,'18.6135881' ,'-68.7228798','','HIGUEY','0 ',
 '','','','','EFECTIVO','',''
)
header registrado
Ultimo ID : 18935
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
formatted : J77G+CRW, Higüey 23000, República Dominicana
countryCode : DO
city : Higüey
street : Higüey
number : 0
floor : 
latLng : Array
comment : 
-------------- Insertar detalle orden -----------
1- K000726 Big New Yorker + Breadsticks + 1.25 L : 1 * 1250 = 1250
2- 0100292 PIZZA BASICA 1 ING BNY : 1 * 0 = 0
3- 0700053 ING SOLO JAMON GDE : 1 * 0 = 0
4- 0700056 ING SOLO QUESO GDE : 1 * 0 = 0
5- 0200007 BREADSTICKS : 1 * 0 = 0
6- 20748 1.25 LITRO COCA COLA : 1 * 0 = 0

  OK
Retorno : {
			"status":"200",
			"orden":"T251064",
			"email":"1"
		}
Orden registrada. # Orden Json : 658642 / # Orden Web : T251064
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------- J S O N  R E C I B I D O ----------------
{"orden":"1192495044","canal":"AG","tipo_fac":"","cod_unidad":"17","nom_unidad":"San Francisco de Macoris - Pedidos Ya","email":"","telefono":"+18293513710","nombre":"Edili Ortega","calle":"","sector":"","casa":"","numero":"","comentario1":"","comentario2":"Medio de pago: MASTERCARD","comentario3":"","comentario4":"","tiponcf":"CONSUMO","rnc":"","razonsocial":"","fecha":"2024-06-03","hora":"20:19","hora_entrega":"2024-06-04T00:49:02.000Z","subtotal":2140,"valor_descuento":260,"porciento_descuento":0,"itbis":0,"propina":0,"total":2140,"forma_pago":"","cambio_efectivo":0,"referencia":"Pedidos Ya","infoComprobante":null,"address":[{"formatted":"","countryCode":"","city":"","street":"","number":"","apt":"","floor":"","entrance":"","pobox":"","comment":"","latLng":{"lat":"","lng":""}}],"members":[{"linea":1,"grupolinea":1,"plu":"K000915","descripcion":"Pizza Grande 1 Ing. + Buffalo Wings 8 Unid. + 1.25 L","cantidad":1,"precio":2140,"ind_kit":"S","padre":""},{"linea":2,"grupolinea":1,"plu":"0100182","descripcion":" BASICA 1 ING GDE PAN","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000915"},{"linea":3,"grupolinea":2,"plu":"0700053","descripcion":" ING SOLO JAMON GDE","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000915"},{"linea":4,"grupolinea":3,"plu":"0700047","descripcion":" ING SOLO PEPPERONI GDE","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000915"},{"linea":5,"grupolinea":4,"plu":"0200023","descripcion":" BUFFALO WINGS 8 UND","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000915"},{"linea":6,"grupolinea":5,"plu":"20748","descripcion":" 1.25 LITRO COCA COLA","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000915"}]}
--------- Configuracion de Impuestos ---------
porc_itbis : 0.18
porc_propina : 0.1
factor_precio : 8.474
Valor descuento : 260
Porciento descuento : 12
Total Orden : 2140
totalporcimpuestos : 1.28
Orden Agregador, se asigno nuevo numero de Orden : 251065
Proximo # De Orden : T251065

-------------- 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,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('251065','T251065','AG','495044','17','SAN FRANCISCO DE MACORIS - PEDIDOS YA','C',
 '829-351-3710','495044 / Pedidos Ya','','CONSUMO','',
 '','2024-06-03','20:19','',
 '1813.5496875','260','12','326.43894375','0','2140','0',
 '','' ,'' ,'','','',' ',
 '','MEDIO DE PAGO: MASTERCARD','','','','Pedidos Ya',''
)
header registrado
Ultimo ID : 18936
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
formatted : 
countryCode : 
city : 
street : 
number : 
floor : 
latLng : Array
comment : 
-------------- Insertar detalle orden -----------
1- K000915 Pizza Grande 1 Ing. + Buffalo Wings 8 Unid. + 1.25 L : 1 * 2140 = 2140
2- 0100182  BASICA 1 ING GDE PAN : 1 * 0 = 0
3- 0700053  ING SOLO JAMON GDE : 1 * 0 = 0
4- 0700047  ING SOLO PEPPERONI GDE : 1 * 0 = 0
5- 0200023  BUFFALO WINGS 8 UND : 1 * 0 = 0
6- 20748  1.25 LITRO COCA COLA : 1 * 0 = 0

  OK
Retorno : {
			"status":"200",
			"orden":"T251065",
			"email":"1"
		}
Orden registrada. # Orden Json : 251065 / # Orden Web : T251065
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------- J S O N  R E C I B I D O ----------------
{"orden":"61383","canal":"AG","tipo_fac":"","cod_unidad":"18","nom_unidad":"Megacentro - Uber","email":"","telefono":" 8299473615","nombre":"Aliver B.","calle":"","sector":"","casa":"","numero":"","comentario1":"","comentario2":"","comentario3":"","comentario4":"","tiponcf":"CONSUMO","rnc":"","razonsocial":"","fecha":"2024-06-03","hora":"20:19","hora_entrega":"2024-06-03T20:36:28-04:00","subtotal":0,"valor_descuento":0,"porciento_descuento":0,"itbis":0,"propina":0,"total":1225,"forma_pago":"","cambio_efectivo":0,"referencia":"Uber","infoComprobante":null,"address":[{"formatted":"","countryCode":"533 91 247","city":"","street":"","number":"","apt":"","floor":"","entrance":"","pobox":"","comment":"","latLng":{"lat":"","lng":""}}],"members":[{"linea":1,"grupolinea":1,"plu":"K000621","descripcion":"Pizza Hut Cheese 1 Ing.","cantidad":1,"precio":1225,"ind_kit":"S","padre":""},{"linea":2,"grupolinea":1,"plu":"0100184","descripcion":"BASICA 1ING HUT CHEESE","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000621"},{"linea":3,"grupolinea":1,"plu":"0700171","descripcion":"ING SOLO JAMON HUTCHEESE","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000621"},{"linea":4,"grupolinea":1,"plu":"0700173","descripcion":"ING SOLO PEPPERONI HUTC","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000621"}]}
--------- Configuracion de Impuestos ---------
porc_itbis : 0.18
porc_propina : 0.1
factor_precio : 8.474
Valor descuento : 0
Porciento descuento : 0
Total Orden : 1225
totalporcimpuestos : 1.28
Orden Agregador, se asigno nuevo numero de Orden : 251066
Proximo # De Orden : T251066

-------------- 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,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('251066','T251066','AG','61383','18','MEGACENTRO - UBER','C',
 '829-947-3615','61383 / Uber','','CONSUMO','',
 '','2024-06-03','20:19','',
 '1038.130078125','0','0','186.8634140625','0','1225','0',
 '','' ,'' ,'','','',' ',
 '','','','','','Uber',''
)
header registrado
Ultimo ID : 18937
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
formatted : 
countryCode : 533 91 247
city : 
street : 
number : 
floor : 
latLng : Array
comment : 
-------------- Insertar detalle orden -----------
1- K000621 Pizza Hut Cheese 1 Ing. : 1 * 1225 = 1225
2- 0100184 BASICA 1ING HUT CHEESE : 1 * 0 = 0
3- 0700171 ING SOLO JAMON HUTCHEESE : 1 * 0 = 0
4- 0700173 ING SOLO PEPPERONI HUTC : 1 * 0 = 0

  OK
Retorno : {
			"status":"200",
			"orden":"T251066",
			"email":"1"
		}
Orden registrada. # Orden Json : 251066 / # Orden Web : T251066
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------- J S O N  R E C I B I D O ----------------
{"orden":"69650239","canal":"Wa","tipo_fac":"D","cod_unidad":"28","nom_unidad":"La Romana","email":"","telefono":" 8492691694","nombre":"Celina","calle":"Calle Amaury German Aristy","sector":"","casa":"","numero":"11","comentario1":"","comentario2":"","comentario3":"No","comentario4":"","tiponcf":"CONSUMO","rnc":"","razonsocial":"","fecha":"2024-06-03","hora":"20:20","hora_entrega":"20:50","subtotal":0,"valor_descuento":0,"porciento_descuento":0,"itbis":0,"propina":0,"total":675,"forma_pago":"EFECTIVO","cambio_efectivo":0,"referencia":"","infoComprobante":null,"address":[{"formatted":"C. Amaury German Aristy 11, La Romana 22000, República Dominicana","countryCode":"DO","city":"La Romana","street":"Calle Amaury German Aristy","number":"11","apt":"","floor":"","entrance":"","pobox":"","comment":"","latLng":{"lat":"18.4375673","lng":"-68.9809942"}}],"members":[{"linea":1,"grupolinea":1,"plu":"0100041","descripcion":"Meat Lover\u0027s Meat Lover\u0027s Pequeña Thin","cantidad":1,"precio":675,"ind_kit":"N","padre":""}]}
--------- Configuracion de Impuestos ---------
porc_itbis : 0.18
porc_propina : 0.1
factor_precio : 8.474
Valor descuento : 0
Porciento descuento : 0
Total Orden : 675
totalporcimpuestos : 1.28
Proximo # De Orden : T251067

-------------- 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,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('650239','T251067','WA','650239','28','LA ROMANA','D',
 '849-269-1694','CELINA','','CONSUMO','',
 '','2024-06-03','20:20','20:50',
 '572.030859375','0','0','102.9655546875','0','675','0',
 '','EFECTIVO' ,'18.4375673' ,'-68.9809942','','CALLE AMAURY GERMAN ARISTY','11 ',
 '','','','','EFECTIVO','',''
)
header registrado
Ultimo ID : 18938
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
formatted : C. Amaury German Aristy 11, La Romana 22000, República Dominicana
countryCode : DO
city : La Romana
street : Calle Amaury German Aristy
number : 11
floor : 
latLng : Array
comment : 
-------------- Insertar detalle orden -----------
1- 0100041 Meat Lover's Meat Lover's Pequeña Thin : 1 * 675 = 675

  OK
Retorno : {
			"status":"200",
			"orden":"T251067",
			"email":"1"
		}
Orden registrada. # Orden Json : 650239 / # Orden Web : T251067
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------- J S O N  R E C I B I D O ----------------
{"orden":"B4A5A","canal":"AG","tipo_fac":"","cod_unidad":"08","nom_unidad":"Máximo Gómez - Uber","email":"","telefono":" 8299473615","nombre":"Oscar D.","calle":"","sector":"","casa":"","numero":"","comentario1":"","comentario2":"","comentario3":"","comentario4":"","tiponcf":"CONSUMO","rnc":"","razonsocial":"","fecha":"2024-06-03","hora":"20:20","hora_entrega":"2024-06-03T20:41:58-04:00","subtotal":0,"valor_descuento":0,"porciento_descuento":0,"itbis":0,"propina":0,"total":1690,"forma_pago":"","cambio_efectivo":0,"referencia":"Uber","infoComprobante":null,"address":[{"formatted":"","countryCode":"315 40 548","city":"","street":"","number":"","apt":"","floor":"","entrance":"","pobox":"","comment":"","latLng":{"lat":"","lng":""}}],"members":[{"linea":1,"grupolinea":1,"plu":"K000603","descripcion":"Hut Cheese 1 Ing. + Breadsticks + 1.25 L","cantidad":1,"precio":1690,"ind_kit":"S","padre":""},{"linea":2,"grupolinea":1,"plu":"0100184","descripcion":"BASICA 1ING HUT CHEESE","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000603"},{"linea":3,"grupolinea":1,"plu":"0700173","descripcion":"ING SOLO PEPPERONI HUTC","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000603"},{"linea":4,"grupolinea":1,"plu":"0700177","descripcion":"ING SOLO SALCHICHA HUTCHE","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000603"},{"linea":5,"grupolinea":1,"plu":"20748","descripcion":"1.25 LITRO COCA COLA","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000603"},{"linea":6,"grupolinea":1,"plu":"0200007","descripcion":"BREADSTICKS","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000603"}]}
--------- Configuracion de Impuestos ---------
porc_itbis : 0.18
porc_propina : 0.1
factor_precio : 8.474
Valor descuento : 0
Porciento descuento : 0
Total Orden : 1690
totalporcimpuestos : 1.28
Orden Agregador, se asigno nuevo numero de Orden : 251068
Proximo # De Orden : T251068

-------------- 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,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('251068','T251068','AG','B4A5A','08','MAXIMO GOMEZ - UBER','C',
 '829-947-3615','B4A5A / Uber','','CONSUMO','',
 '','2024-06-03','20:20','',
 '1432.19578125','0','0','257.795240625','0','1690','0',
 '','' ,'' ,'','','',' ',
 '','','','','','Uber',''
)
header registrado
Ultimo ID : 18939
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
formatted : 
countryCode : 315 40 548
city : 
street : 
number : 
floor : 
latLng : Array
comment : 
-------------- Insertar detalle orden -----------
1- K000603 Hut Cheese 1 Ing. + Breadsticks + 1.25 L : 1 * 1690 = 1690
2- 0100184 BASICA 1ING HUT CHEESE : 1 * 0 = 0
3- 0700173 ING SOLO PEPPERONI HUTC : 1 * 0 = 0
4- 0700177 ING SOLO SALCHICHA HUTCHE : 1 * 0 = 0
5- 20748 1.25 LITRO COCA COLA : 1 * 0 = 0
6- 0200007 BREADSTICKS : 1 * 0 = 0

  OK
Retorno : {
			"status":"200",
			"orden":"T251068",
			"email":"1"
		}
Orden registrada. # Orden Json : 251068 / # Orden Web : T251068
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------- J S O N  R E C I B I D O ----------------
{"orden":"6AB50","canal":"AG","tipo_fac":"","cod_unidad":"30","nom_unidad":"Lope De Vega - Uber","email":"","telefono":" 8299473615","nombre":"Venus V.","calle":"","sector":"","casa":"","numero":"","comentario1":"","comentario2":"","comentario3":"","comentario4":"","tiponcf":"CONSUMO","rnc":"","razonsocial":"","fecha":"2024-06-03","hora":"20:21","hora_entrega":"2024-06-03T20:38:43-04:00","subtotal":0,"valor_descuento":0,"porciento_descuento":0,"itbis":0,"propina":0,"total":1420,"forma_pago":"","cambio_efectivo":0,"referencia":"Uber","infoComprobante":null,"address":[{"formatted":"","countryCode":"339 51 611","city":"","street":"","number":"","apt":"","floor":"","entrance":"","pobox":"","comment":"","latLng":{"lat":"","lng":""}}],"members":[{"linea":1,"grupolinea":1,"plu":"03059","descripcion":"Coca Cola 2 Litros","cantidad":1,"precio":195,"ind_kit":"N","padre":""},{"linea":2,"grupolinea":3,"plu":"K000621","descripcion":"Pizza Hut Cheese 1 Ing.","cantidad":1,"precio":1225,"ind_kit":"S","padre":""},{"linea":3,"grupolinea":3,"plu":"0100184","descripcion":"BASICA 1ING HUT CHEESE","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000621"},{"linea":4,"grupolinea":3,"plu":"0700173","descripcion":"ING SOLO PEPPERONI HUTC","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000621"},{"linea":5,"grupolinea":3,"plu":"0700177","descripcion":"ING SOLO SALCHICHA HUTCHE","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000621"}]}
--------- Configuracion de Impuestos ---------
porc_itbis : 0.18
porc_propina : 0.1
factor_precio : 8.474
Valor descuento : 0
Porciento descuento : 0
Total Orden : 1420
totalporcimpuestos : 1.28
Orden Agregador, se asigno nuevo numero de Orden : 251069
Proximo # De Orden : T251069

-------------- 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,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('251069','T251069','AG','6AB50','30','LOPE DE VEGA - UBER','C',
 '829-947-3615','6AB50 / Uber','','CONSUMO','',
 '','2024-06-03','20:21','',
 '1203.3834375','0','0','216.60901875','0','1420','0',
 '','' ,'' ,'','','',' ',
 '','','','','','Uber',''
)
header registrado
Ultimo ID : 18941
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
formatted : 
countryCode : 339 51 611
city : 
street : 
number : 
floor : 
latLng : Array
comment : 
-------------- Insertar detalle orden -----------
1- 03059 Coca Cola 2 Litros : 1 * 195 = 195
2- K000621 Pizza Hut Cheese 1 Ing. : 1 * 1225 = 1225
3- 0100184 BASICA 1ING HUT CHEESE : 1 * 0 = 0
4- 0700173 ING SOLO PEPPERONI HUTC : 1 * 0 = 0
5- 0700177 ING SOLO SALCHICHA HUTCHE : 1 * 0 = 0

  OK
Retorno : {
			"status":"200",
			"orden":"T251069",
			"email":"1"
		}
Orden registrada. # Orden Json : 251069 / # Orden Web : T251069
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------- J S O N  R E C I B I D O ----------------
{"orden":"69659305","canal":"Wa","tipo_fac":"C","cod_unidad":"19","nom_unidad":"Independencia","email":"","telefono":" 8496535053","nombre":"Customer","calle":"","sector":"","casa":"","numero":"","comentario1":"","comentario2":"","comentario3":"No","comentario4":"","tiponcf":"CONSUMO","rnc":"","razonsocial":"","fecha":"2024-06-03","hora":"20:22","hora_entrega":"20:37","subtotal":0,"valor_descuento":0,"porciento_descuento":0,"itbis":0,"propina":0,"total":1470,"forma_pago":"EFECTIVO","cambio_efectivo":0,"referencia":"","infoComprobante":null,"address":[{"formatted":"","countryCode":"","city":"","street":"","number":"","apt":"","floor":"","entrance":"","pobox":"","comment":"","latLng":{"lat":"0","lng":"0"}}],"members":[{"linea":1,"grupolinea":1,"plu":"K000603","descripcion":"Hut Cheese 1 Ing. + Breadsticks + 1.25 L","cantidad":1,"precio":1470,"ind_kit":"S","padre":""},{"linea":2,"grupolinea":1,"plu":"0100184","descripcion":"BASICA 1ING HUT CHEESE","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000603"},{"linea":3,"grupolinea":1,"plu":"0700173","descripcion":"ING SOLO PEPPERONI HUTC","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000603"},{"linea":4,"grupolinea":1,"plu":"0700175","descripcion":"ING SOLO PINA HUTCHEESE","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000603"},{"linea":5,"grupolinea":1,"plu":"20748","descripcion":"1.25 LITRO COCA COLA","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000603"},{"linea":6,"grupolinea":1,"plu":"0200007","descripcion":"BREADSTICKS","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000603"}]}
--------- Configuracion de Impuestos ---------
porc_itbis : 0.18
porc_propina : 0.1
factor_precio : 8.474
Valor descuento : 0
Porciento descuento : 0
Total Orden : 1470
totalporcimpuestos : 1.28
Proximo # De Orden : T251070

-------------- 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,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('659305','T251070','WA','659305','19','INDEPENDENCIA','C',
 '849-653-5053','CUSTOMER','','CONSUMO','',
 '','2024-06-03','20:22','20:37',
 '1245.75609375','0','0','224.236096875','0','1470','0',
 '','EFECTIVO' ,'0' ,'0','','',' ',
 '','','','','EFECTIVO','',''
)
header registrado
Ultimo ID : 18942
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
formatted : 
countryCode : 
city : 
street : 
number : 
floor : 
latLng : Array
comment : 
-------------- Insertar detalle orden -----------
1- K000603 Hut Cheese 1 Ing. + Breadsticks + 1.25 L : 1 * 1470 = 1470
2- 0100184 BASICA 1ING HUT CHEESE : 1 * 0 = 0
3- 0700173 ING SOLO PEPPERONI HUTC : 1 * 0 = 0
4- 0700175 ING SOLO PINA HUTCHEESE : 1 * 0 = 0
5- 20748 1.25 LITRO COCA COLA : 1 * 0 = 0
6- 0200007 BREADSTICKS : 1 * 0 = 0

  OK
Retorno : {
			"status":"200",
			"orden":"T251070",
			"email":"1"
		}
Orden registrada. # Orden Json : 659305 / # Orden Web : T251070
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------- J S O N  R E C I B I D O ----------------
{"orden":"69660189","canal":"Wa","tipo_fac":"D","cod_unidad":"12","nom_unidad":"Nuñez de Cáceres","email":"","telefono":" 8096271815","nombre":"Nathalie Campiz","calle":"Los Prados","sector":"","casa":"","numero":"0","comentario1":"Calle apolinar tejeda #18, los prados norte","comentario2":"","comentario3":"No","comentario4":"","tiponcf":"CONSUMO","rnc":"","razonsocial":"","fecha":"2024-06-03","hora":"20:22","hora_entrega":"20:53","subtotal":0,"valor_descuento":0,"porciento_descuento":0,"itbis":0,"propina":0,"total":1535,"forma_pago":"EFECTIVO","cambio_efectivo":0,"referencia":"","infoComprobante":null,"address":[{"formatted":"F2HR+3FR, Santo Domingo, República Dominicana","countryCode":"DO","city":"Santo Domingo","street":"Los Prados","number":"0","apt":"","floor":"","entrance":"","pobox":"","comment":"Calle apolinar tejeda #18, los prados norte","latLng":{"lat":"18.4777284","lng":"-69.95887239999999"}}],"members":[{"linea":1,"grupolinea":1,"plu":"K000529","descripcion":"Panormous Edge 1 Ing. + Breadsticks + 2 L","cantidad":1,"precio":1535,"ind_kit":"S","padre":""},{"linea":2,"grupolinea":1,"plu":"0100552","descripcion":"PANORMOUS EDGE BASICA","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000529"},{"linea":3,"grupolinea":1,"plu":"0700057","descripcion":"ING SOLO QUESO MED","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000529"},{"linea":4,"grupolinea":1,"plu":"0700048","descripcion":"ING SOLO PEPPERONI MED","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000529"},{"linea":5,"grupolinea":1,"plu":"03061","descripcion":"2 LITROS SPRITE","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000529"},{"linea":6,"grupolinea":1,"plu":"0200007","descripcion":"BREADSTICKS","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000529"}]}
--------- Configuracion de Impuestos ---------
porc_itbis : 0.18
porc_propina : 0.1
factor_precio : 8.474
Valor descuento : 0
Porciento descuento : 0
Total Orden : 1535
totalporcimpuestos : 1.28
Proximo # De Orden : T251071

-------------- 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,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('660189','T251071','WA','660189','12','NUNEZ DE CACERES','D',
 '809-627-1815','NATHALIE CAMPIZ','','CONSUMO','',
 '','2024-06-03','20:22','20:53',
 '1300.840546875','0','0','234.1512984375','0','1535','0',
 '','EFECTIVO' ,'18.4777284' ,'-69.95887239999999','','LOS PRADOS','0 ',
 '','CALLE APOLINAR TEJEDA #18, LOS PRADOS NO','RTE','','EFECTIVO','',''
)
header registrado
Ultimo ID : 18943
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
formatted : F2HR+3FR, Santo Domingo, República Dominicana
countryCode : DO
city : Santo Domingo
street : Los Prados
number : 0
floor : 
latLng : Array
comment : Calle apolinar tejeda #18, los prados norte
-------------- Insertar detalle orden -----------
1- K000529 Panormous Edge 1 Ing. + Breadsticks + 2 L : 1 * 1535 = 1535
2- 0100552 PANORMOUS EDGE BASICA : 1 * 0 = 0
3- 0700057 ING SOLO QUESO MED : 1 * 0 = 0
4- 0700048 ING SOLO PEPPERONI MED : 1 * 0 = 0
5- 03061 2 LITROS SPRITE : 1 * 0 = 0
6- 0200007 BREADSTICKS : 1 * 0 = 0

  OK
Retorno : {
			"status":"200",
			"orden":"T251071",
			"email":"1"
		}
Orden registrada. # Orden Json : 660189 / # Orden Web : T251071
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------- J S O N  R E C I B I D O ----------------
{"orden":"69658669","canal":"Wa","tipo_fac":"D","cod_unidad":"08","nom_unidad":"Máximo Gómez","email":"","telefono":" 8498036001","nombre":"Customer","calle":"Calle Pimentel","sector":"","casa":"","numero":"50","comentario1":"","comentario2":"","comentario3":"No","comentario4":"","tiponcf":"CONSUMO","rnc":"","razonsocial":"","fecha":"2024-06-03","hora":"20:22","hora_entrega":"20:53","subtotal":0,"valor_descuento":0,"porciento_descuento":0,"itbis":0,"propina":0,"total":1385,"forma_pago":"EFECTIVO","cambio_efectivo":2000,"referencia":"","infoComprobante":null,"address":[{"formatted":"C. Pimentel 50, Santo Domingo 10216, República Dominicana","countryCode":"DO","city":"Santo Domingo","street":"Calle Pimentel","number":"50","apt":"","floor":"","entrance":"","pobox":"","comment":"","latLng":{"lat":"18.4805066","lng":"-69.8957712"}}],"members":[{"linea":1,"grupolinea":1,"plu":"0200065","descripcion":"Cheesesticks","cantidad":1,"precio":310,"ind_kit":"N","padre":""},{"linea":2,"grupolinea":3,"plu":"K000621","descripcion":"Pizza Hut Cheese 1 Ing.","cantidad":1,"precio":1075,"ind_kit":"S","padre":""},{"linea":3,"grupolinea":3,"plu":"0100184","descripcion":"BASICA 1ING HUT CHEESE","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000621"},{"linea":4,"grupolinea":3,"plu":"0700173","descripcion":"ING SOLO PEPPERONI HUTC","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000621"},{"linea":5,"grupolinea":3,"plu":"0700188","descripcion":"ING SOLO CARNE DE RES HUT","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000621"}]}
--------- Configuracion de Impuestos ---------
porc_itbis : 0.18
porc_propina : 0.1
factor_precio : 8.474
Valor descuento : 0
Porciento descuento : 0
Total Orden : 1385
totalporcimpuestos : 1.28
Proximo # De Orden : T251072

-------------- 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,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('658669','T251072','WA','658669','08','MAXIMO GOMEZ','D',
 '849-803-6001','CUSTOMER','','CONSUMO','',
 '','2024-06-03','20:22','20:53',
 '1173.722578125','0','0','211.2700640625','0','1385','2000',
 '','EFECTIVO' ,'18.4805066' ,'-69.8957712','','CALLE PIMENTEL','50 ',
 '','','','','EFECTIVO','',''
)
header registrado
Ultimo ID : 18944
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
formatted : C. Pimentel 50, Santo Domingo 10216, República Dominicana
countryCode : DO
city : Santo Domingo
street : Calle Pimentel
number : 50
floor : 
latLng : Array
comment : 
-------------- Insertar detalle orden -----------
1- 0200065 Cheesesticks : 1 * 310 = 310
2- K000621 Pizza Hut Cheese 1 Ing. : 1 * 1075 = 1075
3- 0100184 BASICA 1ING HUT CHEESE : 1 * 0 = 0
4- 0700173 ING SOLO PEPPERONI HUTC : 1 * 0 = 0
5- 0700188 ING SOLO CARNE DE RES HUT : 1 * 0 = 0

  OK
Retorno : {
			"status":"200",
			"orden":"T251072",
			"email":"1"
		}
Orden registrada. # Orden Json : 658669 / # Orden Web : T251072
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------- J S O N  R E C I B I D O ----------------
{"orden":"1192474151","canal":"AG","tipo_fac":"","cod_unidad":"37","nom_unidad":"Puerto Plata - Pedidos Ya","email":"","telefono":"+18297834652","nombre":"Marlen Madussi","calle":"","sector":"","casa":"","numero":"","comentario1":"","comentario2":"Medio de pago: VISA","comentario3":"","comentario4":"","tiponcf":"CONSUMO","rnc":"","razonsocial":"","fecha":"2024-06-03","hora":"20:23","hora_entrega":"2024-06-04T01:03:17.000Z","subtotal":2695,"valor_descuento":55,"porciento_descuento":0,"itbis":0,"propina":0,"total":2695,"forma_pago":"","cambio_efectivo":0,"referencia":"Pedidos Ya","infoComprobante":null,"address":[{"formatted":"","countryCode":"","city":"","street":"","number":"","apt":"","floor":"","entrance":"","pobox":"","comment":"","latLng":{"lat":"","lng":""}}],"members":[{"linea":1,"grupolinea":1,"plu":"K000603","descripcion":"Hut Cheese 1 Ing. + Breadsticks + 1.25 L","cantidad":1,"precio":1745,"ind_kit":"S","padre":""},{"linea":2,"grupolinea":1,"plu":"0100184","descripcion":" BASICA 1ING HUT CHEESE","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000603"},{"linea":3,"grupolinea":2,"plu":"0700172","descripcion":" ING SOLO MAIZ HUTCHEESE","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000603"},{"linea":4,"grupolinea":3,"plu":"0700170","descripcion":" ING SOLO  HONGOS HUTCHE","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000603"},{"linea":5,"grupolinea":4,"plu":"20748","descripcion":" 1.25 LITRO COCA COLA","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000603"},{"linea":6,"grupolinea":5,"plu":"0200007","descripcion":" BREADSTICKS","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000603"},{"linea":7,"grupolinea":7,"plu":"K000625","descripcion":"Pizza Mediana 1 Ing.","cantidad":1,"precio":950,"ind_kit":"S","padre":""},{"linea":8,"grupolinea":7,"plu":"0100185","descripcion":" BASICA 1 ING MED PAN","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000625"},{"linea":9,"grupolinea":8,"plu":"0700139","descripcion":" ING SOLO POLLO MED","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000625"},{"linea":10,"grupolinea":9,"plu":"0700059","descripcion":" ING SOLO RES MED","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000625"}]}
--------- Configuracion de Impuestos ---------
porc_itbis : 0.18
porc_propina : 0.1
factor_precio : 8.474
Valor descuento : 55
Porciento descuento : 2
Total Orden : 2695
totalporcimpuestos : 1.28
Orden Agregador, se asigno nuevo numero de Orden : 251073
Proximo # De Orden : T251073

-------------- 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,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('251073','T251073','AG','474151','37','PUERTO PLATA - PEDIDOS YA','C',
 '829-783-4652','474151 / Pedidos Ya','','CONSUMO','',
 '','2024-06-03','20:23','',
 '2283.886171875','55','2','411.0995109375','0','2695','0',
 '','' ,'' ,'','','',' ',
 '','MEDIO DE PAGO: VISA','','','','Pedidos Ya',''
)
header registrado
Ultimo ID : 18945
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
formatted : 
countryCode : 
city : 
street : 
number : 
floor : 
latLng : Array
comment : 
-------------- Insertar detalle orden -----------
1- K000603 Hut Cheese 1 Ing. + Breadsticks + 1.25 L : 1 * 1745 = 1745
2- 0100184  BASICA 1ING HUT CHEESE : 1 * 0 = 0
3- 0700172  ING SOLO MAIZ HUTCHEESE : 1 * 0 = 0
4- 0700170  ING SOLO  HONGOS HUTCHE : 1 * 0 = 0
5- 20748  1.25 LITRO COCA COLA : 1 * 0 = 0
6- 0200007  BREADSTICKS : 1 * 0 = 0
7- K000625 Pizza Mediana 1 Ing. : 1 * 950 = 950
8- 0100185  BASICA 1 ING MED PAN : 1 * 0 = 0
9- 0700139  ING SOLO POLLO MED : 1 * 0 = 0
10- 0700059  ING SOLO RES MED : 1 * 0 = 0

  OK
Retorno : {
			"status":"200",
			"orden":"T251073",
			"email":"1"
		}
Orden registrada. # Orden Json : 251073 / # Orden Web : T251073
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------- J S O N  R E C I B I D O ----------------
{"orden":"69660461","canal":"Wa","tipo_fac":"D","cod_unidad":"37","nom_unidad":"Puerto Plata","email":"","telefono":" 8494094317","nombre":"Rod","calle":"Avenida José Eugenio Kounhardt","sector":"","casa":"","numero":"0","comentario1":"Jose Eugenio Kundhardt.  Por Hotel Mountain View. Casa Amarilla a lado de Banca A\u0026M.","comentario2":"","comentario3":"No","comentario4":"","tiponcf":"CONSUMO","rnc":"","razonsocial":"","fecha":"2024-06-03","hora":"20:23","hora_entrega":"20:54","subtotal":0,"valor_descuento":0,"porciento_descuento":0,"itbis":0,"propina":0,"total":590,"forma_pago":"EFECTIVO","cambio_efectivo":1000,"referencia":"","infoComprobante":null,"address":[{"formatted":"Q8R4+JFG, Av José Eugenio Kounhardt, Puerto Plata 57000, República Dominicana","countryCode":"DO","city":"Puerto Plata","street":"Avenida José Eugenio Kounhardt","number":"0","apt":"","floor":"","entrance":"","pobox":"","comment":"Jose Eugenio Kundhardt.  Por Hotel Mountain View. Casa Amarilla a lado de Banca A\u0026M.","latLng":{"lat":"19.7915613","lng":"-70.693786"}}],"members":[{"linea":1,"grupolinea":1,"plu":"1300009","descripcion":"Lasagna Bolognesa","cantidad":1,"precio":590,"ind_kit":"N","padre":""}]}
--------- Configuracion de Impuestos ---------
porc_itbis : 0.18
porc_propina : 0.1
factor_precio : 8.474
Valor descuento : 0
Porciento descuento : 0
Total Orden : 590
totalporcimpuestos : 1.28
Proximo # De Orden : T251074

-------------- 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,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('660461','T251074','WA','660461','37','PUERTO PLATA','D',
 '849-409-4317','ROD','','CONSUMO','',
 '','2024-06-03','20:23','20:54',
 '499.99734375','0','0','89.999521875','0','590','1000',
 '','EFECTIVO' ,'19.7915613' ,'-70.693786','','AVENIDA JOSE EUGENIO KOUNHARDT','0 ',
 '','JOSE EUGENIO KUNDHARDT.  POR HOTEL MOUNT','AIN VIEW. CASA AMARILLA A LADO DE BANCA ','A&M.','EFECTIVO','',''
)
header registrado
Ultimo ID : 18946
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
formatted : Q8R4+JFG, Av José Eugenio Kounhardt, Puerto Plata 57000, República Dominicana
countryCode : DO
city : Puerto Plata
street : Avenida José Eugenio Kounhardt
number : 0
floor : 
latLng : Array
comment : Jose Eugenio Kundhardt.  Por Hotel Mountain View. Casa Amarilla a lado de Banca A&M.
-------------- Insertar detalle orden -----------
1- 1300009 Lasagna Bolognesa : 1 * 590 = 590

  OK
Retorno : {
			"status":"200",
			"orden":"T251074",
			"email":"1"
		}
Orden registrada. # Orden Json : 660461 / # Orden Web : T251074
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------- J S O N  R E C I B I D O ----------------
{"orden":"E8DED","canal":"AG","tipo_fac":"","cod_unidad":"13","nom_unidad":"Carrefour - Uber","email":"","telefono":" 8299473615","nombre":"Felicia Cesarina S.","calle":"","sector":"","casa":"","numero":"","comentario1":"","comentario2":"","comentario3":"","comentario4":"","tiponcf":"CONSUMO","rnc":"","razonsocial":"","fecha":"2024-06-03","hora":"20:24","hora_entrega":"2024-06-03T20:38:31-04:00","subtotal":0,"valor_descuento":0,"porciento_descuento":0,"itbis":0,"propina":0,"total":1490,"forma_pago":"","cambio_efectivo":0,"referencia":"Uber","infoComprobante":null,"address":[{"formatted":"","countryCode":"473 78 134","city":"","street":"","number":"","apt":"","floor":"","entrance":"","pobox":"","comment":"","latLng":{"lat":"","lng":""}}],"members":[{"linea":1,"grupolinea":1,"plu":"K000914","descripcion":"Panormous Edge 1 Ing. + 1.25 L","cantidad":1,"precio":1490,"ind_kit":"S","padre":""},{"linea":2,"grupolinea":1,"plu":"0100552","descripcion":"PANORMOUS EDGE BASICA","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000914"},{"linea":3,"grupolinea":1,"plu":"0700065","descripcion":"ING SOLO TOCINETA MED","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000914"},{"linea":4,"grupolinea":1,"plu":"0700051","descripcion":"ING SOLO SALCHICHA MED","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000914"},{"linea":5,"grupolinea":1,"plu":"20748","descripcion":"1.25 LITRO COCA COLA","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000914"}]}
--------- Configuracion de Impuestos ---------
porc_itbis : 0.18
porc_propina : 0.1
factor_precio : 8.474
Valor descuento : 0
Porciento descuento : 0
Total Orden : 1490
totalporcimpuestos : 1.28
Orden Agregador, se asigno nuevo numero de Orden : 251075
Proximo # De Orden : T251075

-------------- 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,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('251075','T251075','AG','E8DED','13','CARREFOUR - UBER','C',
 '829-947-3615','E8DED / Uber','','CONSUMO','',
 '','2024-06-03','20:24','',
 '1262.70515625','0','0','227.286928125','0','1490','0',
 '','' ,'' ,'','','',' ',
 '','','','','','Uber',''
)
header registrado
Ultimo ID : 18947
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
formatted : 
countryCode : 473 78 134
city : 
street : 
number : 
floor : 
latLng : Array
comment : 
-------------- Insertar detalle orden -----------
1- K000914 Panormous Edge 1 Ing. + 1.25 L : 1 * 1490 = 1490
2- 0100552 PANORMOUS EDGE BASICA : 1 * 0 = 0
3- 0700065 ING SOLO TOCINETA MED : 1 * 0 = 0
4- 0700051 ING SOLO SALCHICHA MED : 1 * 0 = 0
5- 20748 1.25 LITRO COCA COLA : 1 * 0 = 0

  OK
Retorno : {
			"status":"200",
			"orden":"T251075",
			"email":"1"
		}
Orden registrada. # Orden Json : 251075 / # Orden Web : T251075
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------- J S O N  R E C I B I D O ----------------
{"orden":"1192495831","canal":"AG","tipo_fac":"","cod_unidad":"19","nom_unidad":"Av. Independencia - Pedidos Ya","email":"","telefono":"+18299856132","nombre":"Rosanyel Jimenez","calle":"","sector":"","casa":"","numero":"","comentario1":"","comentario2":"Medio de pago: VISA","comentario3":"","comentario4":"","tiponcf":"CONSUMO","rnc":"","razonsocial":"","fecha":"2024-06-03","hora":"20:24","hora_entrega":"2024-06-04T00:55:28.000Z","subtotal":950,"valor_descuento":0,"porciento_descuento":0,"itbis":0,"propina":0,"total":950,"forma_pago":"","cambio_efectivo":0,"referencia":"Pedidos Ya","infoComprobante":null,"address":[{"formatted":"","countryCode":"","city":"","street":"","number":"","apt":"","floor":"","entrance":"","pobox":"","comment":"","latLng":{"lat":"","lng":""}}],"members":[{"linea":1,"grupolinea":1,"plu":"K000625","descripcion":"Pizza Mediana 1 Ing.","cantidad":1,"precio":950,"ind_kit":"S","padre":""},{"linea":2,"grupolinea":1,"plu":"0100185","descripcion":" BASICA 1 ING MED PAN","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000625"},{"linea":3,"grupolinea":2,"plu":"0700051","descripcion":" ING SOLO SALCHICHA MED","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000625"},{"linea":4,"grupolinea":3,"plu":"0700139","descripcion":" ING SOLO POLLO MED","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000625"}]}
--------- Configuracion de Impuestos ---------
porc_itbis : 0.18
porc_propina : 0.1
factor_precio : 8.474
Valor descuento : 0
Porciento descuento : 0
Total Orden : 950
totalporcimpuestos : 1.28
Orden Agregador, se asigno nuevo numero de Orden : 251076
Proximo # De Orden : T251076

-------------- 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,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('251076','T251076','AG','495831','19','AV. INDEPENDENCIA - PEDIDOS YA','C',
 '829-985-6132','495831 / Pedidos Ya','','CONSUMO','',
 '','2024-06-03','20:24','',
 '805.08046875','0','0','144.914484375','0','950','0',
 '','' ,'' ,'','','',' ',
 '','MEDIO DE PAGO: VISA','','','','Pedidos Ya',''
)
header registrado
Ultimo ID : 18948
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
formatted : 
countryCode : 
city : 
street : 
number : 
floor : 
latLng : Array
comment : 
-------------- Insertar detalle orden -----------
1- K000625 Pizza Mediana 1 Ing. : 1 * 950 = 950
2- 0100185  BASICA 1 ING MED PAN : 1 * 0 = 0
3- 0700051  ING SOLO SALCHICHA MED : 1 * 0 = 0
4- 0700139  ING SOLO POLLO MED : 1 * 0 = 0

  OK
Retorno : {
			"status":"200",
			"orden":"T251076",
			"email":"1"
		}
Orden registrada. # Orden Json : 251076 / # Orden Web : T251076
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------- J S O N  R E C I B I D O ----------------
{"orden":"69660857","canal":"Wa","tipo_fac":"D","cod_unidad":"01","nom_unidad":"Unicentro","email":"","telefono":" 8294512577","nombre":"J  Carolina Suriel","calle":"Calle Porfirio Herrera","sector":"residencial ana","casa":"piso 203","numero":"30","comentario1":"Ok","comentario2":"información adicional: Porfirio herrera #30 residencial Ana María II. Piso 203.","comentario3":"No","comentario4":"","tiponcf":"CONSUMO","rnc":"","razonsocial":"","fecha":"2024-06-03","hora":"20:25","hora_entrega":"20:56","subtotal":0,"valor_descuento":0,"porciento_descuento":0,"itbis":0,"propina":0,"total":620,"forma_pago":"EFECTIVO","cambio_efectivo":0,"referencia":"","infoComprobante":null,"address":[{"formatted":"C. Porfirio Herrera 30, Santo Domingo, República Dominicana","countryCode":"DO","city":"Santo Domingo","street":"Calle Porfirio Herrera","number":"30","apt":"","floor":"piso 203","entrance":"residencial ana","pobox":"","comment":"Ok","latLng":{"lat":"18.4670867","lng":"-69.9405625"}}],"members":[{"linea":1,"grupolinea":1,"plu":"03064","descripcion":"Coca Cola 16 Onz","cantidad":1,"precio":110,"ind_kit":"N","padre":""},{"linea":2,"grupolinea":3,"plu":"K000627","descripcion":"Pizza Pequeña 1 Ing.","cantidad":1,"precio":510,"ind_kit":"S","padre":""},{"linea":3,"grupolinea":3,"plu":"0100187","descripcion":"BASICA 1 ING PEQ PAN","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000627"},{"linea":4,"grupolinea":3,"plu":"0700140","descripcion":"ING SOLO POLLO  PEQ","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000627"},{"linea":5,"grupolinea":3,"plu":"0700087","descripcion":"ING SOLO MAIZ PEQ","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000627"}]}
--------- Configuracion de Impuestos ---------
porc_itbis : 0.18
porc_propina : 0.1
factor_precio : 8.474
Valor descuento : 0
Porciento descuento : 0
Total Orden : 620
totalporcimpuestos : 1.28
Proximo # De Orden : T251077

-------------- 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,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('660857','T251077','WA','660857','01','UNICENTRO','D',
 '829-451-2577','J  CAROLINA SURIEL','','CONSUMO','',
 '','2024-06-03','20:25','20:56',
 '525.4209375','0','0','94.57576875','0','620','0',
 '','EFECTIVO' ,'18.4670867' ,'-69.9405625','','CALLE PORFIRIO HERRERA','30 ',
 'residencial ana','PORFIRIO HERRERA #30 RESIDENCIAL ANA MAR','iA II. PISO 203.','','EFECTIVO','',''
)
header registrado
Ultimo ID : 18949
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
formatted : C. Porfirio Herrera 30, Santo Domingo, República Dominicana
countryCode : DO
city : Santo Domingo
street : Calle Porfirio Herrera
number : 30
floor : piso 203
latLng : Array
comment : Ok
-------------- Insertar detalle orden -----------
1- 03064 Coca Cola 16 Onz : 1 * 110 = 110
2- K000627 Pizza Pequeña 1 Ing. : 1 * 510 = 510
3- 0100187 BASICA 1 ING PEQ PAN : 1 * 0 = 0
4- 0700140 ING SOLO POLLO  PEQ : 1 * 0 = 0
5- 0700087 ING SOLO MAIZ PEQ : 1 * 0 = 0

  OK
Retorno : {
			"status":"200",
			"orden":"T251077",
			"email":"1"
		}
Orden registrada. # Orden Json : 660857 / # Orden Web : T251077
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------- J S O N  R E C I B I D O ----------------
{"orden":"69660198","canal":"Wa","tipo_fac":"D","cod_unidad":"10","nom_unidad":"Venezuela","email":"","telefono":" 8493624878","nombre":"Customer","calle":"Calle Club de Leones","sector":"","casa":"","numero":"0","comentario1":"Edificio rojo apartamento 305","comentario2":"","comentario3":"No","comentario4":"","tiponcf":"CONSUMO","rnc":"","razonsocial":"","fecha":"2024-06-03","hora":"20:25","hora_entrega":"20:56","subtotal":0,"valor_descuento":0,"porciento_descuento":0,"itbis":0,"propina":0,"total":665,"forma_pago":"EFECTIVO","cambio_efectivo":0,"referencia":"","infoComprobante":null,"address":[{"formatted":"F4QH+QRC, C. Club de Leones, Santo Domingo Este 11501, República Dominicana","countryCode":"DO","city":"Santo Domingo Este","street":"Calle Club de Leones","number":"0","apt":"","floor":"","entrance":"","pobox":"","comment":"Edificio rojo apartamento 305","latLng":{"lat":"18.4893559","lng":"-69.8705129"}}],"members":[{"linea":1,"grupolinea":1,"plu":"0100136","descripcion":"Super Suprema Pequeña Pan","cantidad":1,"precio":665,"ind_kit":"N","padre":""}]}
--------- Configuracion de Impuestos ---------
porc_itbis : 0.18
porc_propina : 0.1
factor_precio : 8.474
Valor descuento : 0
Porciento descuento : 0
Total Orden : 665
totalporcimpuestos : 1.28
Proximo # De Orden : T251078

-------------- 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,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('660198','T251078','WA','660198','10','VENEZUELA','D',
 '849-362-4878','CUSTOMER','','CONSUMO','',
 '','2024-06-03','20:25','20:56',
 '563.556328125','0','0','101.4401390625','0','665','0',
 '','EFECTIVO' ,'18.4893559' ,'-69.8705129','','CALLE CLUB DE LEONES','0 ',
 '','EDIFICIO ROJO APARTAMENTO 305','','','EFECTIVO','',''
)
header registrado
Ultimo ID : 18950
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
formatted : F4QH+QRC, C. Club de Leones, Santo Domingo Este 11501, República Dominicana
countryCode : DO
city : Santo Domingo Este
street : Calle Club de Leones
number : 0
floor : 
latLng : Array
comment : Edificio rojo apartamento 305
-------------- Insertar detalle orden -----------
1- 0100136 Super Suprema Pequeña Pan : 1 * 665 = 665

  OK
Retorno : {
			"status":"200",
			"orden":"T251078",
			"email":"1"
		}
Orden registrada. # Orden Json : 660198 / # Orden Web : T251078
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------- J S O N  R E C I B I D O ----------------
{"orden":"C24EB","canal":"AG","tipo_fac":"","cod_unidad":"38","nom_unidad":"Colina Center - Uber","email":"","telefono":" 8299473615","nombre":"Caroline L.","calle":"","sector":"","casa":"","numero":"","comentario1":"","comentario2":"","comentario3":"","comentario4":"","tiponcf":"CONSUMO","rnc":"","razonsocial":"","fecha":"2024-06-03","hora":"20:26","hora_entrega":"2024-06-03T20:49:33-04:00","subtotal":0,"valor_descuento":0,"porciento_descuento":0,"itbis":0,"propina":0,"total":950,"forma_pago":"","cambio_efectivo":0,"referencia":"Uber","infoComprobante":null,"address":[{"formatted":"","countryCode":"208 28 459","city":"","street":"","number":"","apt":"","floor":"","entrance":"","pobox":"","comment":"","latLng":{"lat":"","lng":""}}],"members":[{"linea":1,"grupolinea":1,"plu":"K000625","descripcion":"Pizza Mediana 1 Ing.","cantidad":1,"precio":950,"ind_kit":"S","padre":""},{"linea":2,"grupolinea":1,"plu":"0100185","descripcion":"BASICA 1 ING MED PAN","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000625"},{"linea":3,"grupolinea":1,"plu":"0700057","descripcion":"ING SOLO QUESO MED","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000625"},{"linea":4,"grupolinea":1,"plu":"0700139","descripcion":"ING SOLO POLLO MED","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000625"}]}
--------- Configuracion de Impuestos ---------
porc_itbis : 0.18
porc_propina : 0.1
factor_precio : 8.474
Valor descuento : 0
Porciento descuento : 0
Total Orden : 950
totalporcimpuestos : 1.28
Orden Agregador, se asigno nuevo numero de Orden : 251079
Proximo # De Orden : T251079

-------------- 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,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('251079','T251079','AG','C24EB','38','COLINA CENTER - UBER','C',
 '829-947-3615','C24EB / Uber','','CONSUMO','',
 '','2024-06-03','20:26','',
 '805.08046875','0','0','144.914484375','0','950','0',
 '','' ,'' ,'','','',' ',
 '','','','','','Uber',''
)
header registrado
Ultimo ID : 18951
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
formatted : 
countryCode : 208 28 459
city : 
street : 
number : 
floor : 
latLng : Array
comment : 
-------------- Insertar detalle orden -----------
1- K000625 Pizza Mediana 1 Ing. : 1 * 950 = 950
2- 0100185 BASICA 1 ING MED PAN : 1 * 0 = 0
3- 0700057 ING SOLO QUESO MED : 1 * 0 = 0
4- 0700139 ING SOLO POLLO MED : 1 * 0 = 0

  OK
Retorno : {
			"status":"200",
			"orden":"T251079",
			"email":"1"
		}
Orden registrada. # Orden Json : 251079 / # Orden Web : T251079
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------- J S O N  R E C I B I D O ----------------
{"orden":"69660889","canal":"Wa","tipo_fac":"D","cod_unidad":"31","nom_unidad":"BlueMall Punta Cana","email":"","telefono":"+51 990 913 276","nombre":"Stefani Espinoza","calle":"Punta Cana","sector":"","casa":"","numero":"C 201","comentario1":"C 201, Cap Blue por la recta de tanama","comentario2":"","comentario3":"No","comentario4":"","tiponcf":"CONSUMO","rnc":"","razonsocial":"","fecha":"2024-06-03","hora":"20:28","hora_entrega":"21:08","subtotal":0,"valor_descuento":0,"porciento_descuento":0,"itbis":0,"propina":0,"total":1175,"forma_pago":"EFECTIVO","cambio_efectivo":0,"referencia":"","infoComprobante":null,"address":[{"formatted":"GJ62+VWW, Punta Cana 23000, República Dominicana","countryCode":"DO","city":"Punta Cana","street":"Punta Cana","number":"C 201","apt":"","floor":"","entrance":"","pobox":"","comment":"C 201, Cap Blue por la recta de tanama","latLng":{"lat":"18.5119453","lng":"-68.3975446"}}],"members":[{"linea":1,"grupolinea":1,"plu":"0100138","descripcion":"Super Suprema Mediana Pan","cantidad":1,"precio":1175,"ind_kit":"N","padre":""}]}
--------- Configuracion de Impuestos ---------
porc_itbis : 0.18
porc_propina : 0.1
factor_precio : 8.474
Valor descuento : 0
Porciento descuento : 0
Total Orden : 1175
totalporcimpuestos : 1.28
Proximo # De Orden : T251080

-------------- 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,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('660889','T251080','WA','660889','31','BLUEMALL PUNTA CANA','D',
 '199-091-3276','STEFANI ESPINOZA','','CONSUMO','',
 '','2024-06-03','20:28','21:08',
 '995.757421875','0','0','179.2363359375','0','1175','0',
 '','EFECTIVO' ,'18.5119453' ,'-68.3975446','','PUNTA CANA','C 201 ',
 '','C 201, CAP BLUE POR LA RECTA DE TANAMA','','','EFECTIVO','',''
)
header registrado
Ultimo ID : 18952
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
formatted : GJ62+VWW, Punta Cana 23000, República Dominicana
countryCode : DO
city : Punta Cana
street : Punta Cana
number : C 201
floor : 
latLng : Array
comment : C 201, Cap Blue por la recta de tanama
-------------- Insertar detalle orden -----------
1- 0100138 Super Suprema Mediana Pan : 1 * 1175 = 1175

  OK
Retorno : {
			"status":"200",
			"orden":"T251080",
			"email":"1"
		}
Orden registrada. # Orden Json : 660889 / # Orden Web : T251080
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------- J S O N  R E C I B I D O ----------------
{"orden":"69660331","canal":"Wa","tipo_fac":"D","cod_unidad":"36","nom_unidad":"Juan Pablo Duarte","email":"","telefono":" 8495278061","nombre":"Yuliana Medina","calle":"Profesor Manuel García García","sector":"","casa":"","numero":"116","comentario1":"","comentario2":"","comentario3":"No","comentario4":"","tiponcf":"CONSUMO","rnc":"","razonsocial":"","fecha":"2024-06-03","hora":"20:28","hora_entrega":"20:59","subtotal":0,"valor_descuento":0,"porciento_descuento":0,"itbis":0,"propina":0,"total":975,"forma_pago":"EFECTIVO","cambio_efectivo":0,"referencia":"","infoComprobante":null,"address":[{"formatted":"Prof Manuel García García 116, Santiago de los Caballeros 51000, República Dominicana","countryCode":"DO","city":"Santiago de los Caballeros","street":"Profesor Manuel García García","number":"116","apt":"","floor":"","entrance":"","pobox":"","comment":"","latLng":{"lat":"19.460949","lng":"-70.6499912"}}],"members":[{"linea":1,"grupolinea":1,"plu":"K000716","descripcion":"Big New Yorker 1 ing","cantidad":1,"precio":975,"ind_kit":"S","padre":""},{"linea":2,"grupolinea":1,"plu":"0100292","descripcion":"PIZZA BASICA 1 ING BNY","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000716"},{"linea":3,"grupolinea":1,"plu":"0700047","descripcion":"ING SOLO PEPPERONI GDE","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000716"},{"linea":4,"grupolinea":1,"plu":"0700138","descripcion":"ING SOLO POLLO GDE","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000716"}]}
--------- Configuracion de Impuestos ---------
porc_itbis : 0.18
porc_propina : 0.1
factor_precio : 8.474
Valor descuento : 0
Porciento descuento : 0
Total Orden : 975
totalporcimpuestos : 1.28
Proximo # De Orden : T251081

-------------- 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,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('660331','T251081','WA','660331','36','JUAN PABLO DUARTE','D',
 '849-527-8061','YULIANA MEDINA','','CONSUMO','',
 '','2024-06-03','20:28','20:59',
 '826.266796875','0','0','148.7280234375','0','975','0',
 '','EFECTIVO' ,'19.460949' ,'-70.6499912','','PROFESOR MANUEL GARCIA GARCIA','116 ',
 '','','','','EFECTIVO','',''
)
header registrado
Ultimo ID : 18953
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
formatted : Prof Manuel García García 116, Santiago de los Caballeros 51000, República Dominicana
countryCode : DO
city : Santiago de los Caballeros
street : Profesor Manuel García García
number : 116
floor : 
latLng : Array
comment : 
-------------- Insertar detalle orden -----------
1- K000716 Big New Yorker 1 ing : 1 * 975 = 975
2- 0100292 PIZZA BASICA 1 ING BNY : 1 * 0 = 0
3- 0700047 ING SOLO PEPPERONI GDE : 1 * 0 = 0
4- 0700138 ING SOLO POLLO GDE : 1 * 0 = 0

  OK
Retorno : {
			"status":"200",
			"orden":"T251081",
			"email":"1"
		}
Orden registrada. # Orden Json : 660331 / # Orden Web : T251081
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------- J S O N  R E C I B I D O ----------------
{"orden":"1192496702","canal":"AG","tipo_fac":"","cod_unidad":"17","nom_unidad":"San Francisco de Macoris - Pedidos Ya","email":"","telefono":"+18092088933","nombre":"jpnjqy2gwc jpnjqy2gwc","calle":"","sector":"","casa":"","numero":"","comentario1":"","comentario2":"Medio de pago: VISA","comentario3":"","comentario4":"","tiponcf":"CONSUMO","rnc":"","razonsocial":"","fecha":"2024-06-03","hora":"20:28","hora_entrega":"2024-06-04T00:56:34.000Z","subtotal":950,"valor_descuento":0,"porciento_descuento":0,"itbis":0,"propina":0,"total":950,"forma_pago":"","cambio_efectivo":0,"referencia":"Pedidos Ya","infoComprobante":null,"address":[{"formatted":"","countryCode":"","city":"","street":"","number":"","apt":"","floor":"","entrance":"","pobox":"","comment":"","latLng":{"lat":"","lng":""}}],"members":[{"linea":1,"grupolinea":1,"plu":"K000625","descripcion":"Pizza Mediana 1 Ing.","cantidad":1,"precio":950,"ind_kit":"S","padre":""},{"linea":2,"grupolinea":1,"plu":"0100185","descripcion":" BASICA 1 ING MED PAN","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000625"},{"linea":3,"grupolinea":2,"plu":"0700054","descripcion":" ING SOLO JAMON MED","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000625"},{"linea":4,"grupolinea":3,"plu":"0700054","descripcion":" ING SOLO JAMON MED","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000625"}]}
--------- Configuracion de Impuestos ---------
porc_itbis : 0.18
porc_propina : 0.1
factor_precio : 8.474
Valor descuento : 0
Porciento descuento : 0
Total Orden : 950
totalporcimpuestos : 1.28
Orden Agregador, se asigno nuevo numero de Orden : 251082
Proximo # De Orden : T251082

-------------- 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,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('251082','T251082','AG','496702','17','SAN FRANCISCO DE MACORIS - PEDIDOS YA','C',
 '809-208-8933','496702 / Pedidos Ya','','CONSUMO','',
 '','2024-06-03','20:28','',
 '805.08046875','0','0','144.914484375','0','950','0',
 '','' ,'' ,'','','',' ',
 '','MEDIO DE PAGO: VISA','','','','Pedidos Ya',''
)
header registrado
Ultimo ID : 18954
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
formatted : 
countryCode : 
city : 
street : 
number : 
floor : 
latLng : Array
comment : 
-------------- Insertar detalle orden -----------
1- K000625 Pizza Mediana 1 Ing. : 1 * 950 = 950
2- 0100185  BASICA 1 ING MED PAN : 1 * 0 = 0
3- 0700054  ING SOLO JAMON MED : 1 * 0 = 0
4- 0700054  ING SOLO JAMON MED : 1 * 0 = 0

  OK
Retorno : {
			"status":"200",
			"orden":"T251082",
			"email":"1"
		}
Orden registrada. # Orden Json : 251082 / # Orden Web : T251082
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------- J S O N  R E C I B I D O ----------------
{"orden":"1192493215","canal":"AG","tipo_fac":"","cod_unidad":"34","nom_unidad":"Bavaro City Center - Pedidos Ya","email":"","telefono":"+18494538992","nombre":"Angélica De los Santos Siri","calle":"","sector":"","casa":"","numero":"","comentario1":"","comentario2":"Medio de pago: Efectivo","comentario3":"","comentario4":"","tiponcf":"CONSUMO","rnc":"","razonsocial":"","fecha":"2024-06-03","hora":"20:31","hora_entrega":"2024-06-04T00:49:37.000Z","subtotal":950,"valor_descuento":0,"porciento_descuento":0,"itbis":0,"propina":0,"total":950,"forma_pago":"","cambio_efectivo":0,"referencia":"Pedidos Ya","infoComprobante":null,"address":[{"formatted":"","countryCode":"","city":"","street":"","number":"","apt":"","floor":"","entrance":"","pobox":"","comment":"","latLng":{"lat":"","lng":""}}],"members":[{"linea":1,"grupolinea":1,"plu":"K000625","descripcion":"Pizza Mediana 1 Ing.","cantidad":1,"precio":950,"ind_kit":"S","padre":""},{"linea":2,"grupolinea":1,"plu":"0100185","descripcion":" BASICA 1 ING MED PAN","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000625"},{"linea":3,"grupolinea":2,"plu":"0700057","descripcion":" ING SOLO QUESO MED","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000625"},{"linea":4,"grupolinea":3,"plu":"0700048","descripcion":" ING SOLO PEPPERONI MED","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000625"}]}
--------- Configuracion de Impuestos ---------
porc_itbis : 0.18
porc_propina : 0.1
factor_precio : 8.474
Valor descuento : 0
Porciento descuento : 0
Total Orden : 950
totalporcimpuestos : 1.28
Orden Agregador, se asigno nuevo numero de Orden : 251083
Proximo # De Orden : T251083

-------------- 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,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('251083','T251083','AG','493215','34','BAVARO CITY CENTER - PEDIDOS YA','C',
 '849-453-8992','493215 / Pedidos Ya','','CONSUMO','',
 '','2024-06-03','20:31','',
 '805.08046875','0','0','144.914484375','0','950','0',
 '','' ,'' ,'','','',' ',
 '','MEDIO DE PAGO: EFECTIVO','','','','Pedidos Ya',''
)
header registrado
Ultimo ID : 18955
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
formatted : 
countryCode : 
city : 
street : 
number : 
floor : 
latLng : Array
comment : 
-------------- Insertar detalle orden -----------
1- K000625 Pizza Mediana 1 Ing. : 1 * 950 = 950
2- 0100185  BASICA 1 ING MED PAN : 1 * 0 = 0
3- 0700057  ING SOLO QUESO MED : 1 * 0 = 0
4- 0700048  ING SOLO PEPPERONI MED : 1 * 0 = 0

  OK
Retorno : {
			"status":"200",
			"orden":"T251083",
			"email":"1"
		}
Orden registrada. # Orden Json : 251083 / # Orden Web : T251083
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------- J S O N  R E C I B I D O ----------------
{"orden":"69660318","canal":"Wa","tipo_fac":"D","cod_unidad":"27","nom_unidad":"República de Colombia","email":"","telefono":" 8099681917","nombre":"JOVANNY HICHEZ","calle":"Calle Senecal","sector":"","casa":"","numero":"0","comentario1":"Calle Senecal no. 4 residencial Carmen María I","comentario2":"","comentario3":"No","comentario4":"","tiponcf":"CONSUMO","rnc":"","razonsocial":"","fecha":"2024-06-03","hora":"20:31","hora_entrega":"21:02","subtotal":0,"valor_descuento":0,"porciento_descuento":0,"itbis":0,"propina":0,"total":2150,"forma_pago":"TARJETA","cambio_efectivo":0,"referencia":"","infoComprobante":null,"address":[{"formatted":"G26G+J8G, Cl. Senecal, Santo Domingo, República Dominicana","countryCode":"DO","city":"Santo Domingo","street":"Calle Senecal","number":"0","apt":"","floor":"","entrance":"","pobox":"","comment":"Calle Senecal no. 4 residencial Carmen María I","latLng":{"lat":"18.5115588","lng":"-69.97417390000001"}}],"members":[{"linea":1,"grupolinea":1,"plu":"0100063","descripcion":"Napolitana Hut Cheese","cantidad":1,"precio":1075,"ind_kit":"N","padre":""},{"linea":2,"grupolinea":3,"plu":"K000621","descripcion":"Pizza Hut Cheese 1 Ing.","cantidad":1,"precio":1075,"ind_kit":"S","padre":""},{"linea":3,"grupolinea":3,"plu":"0100184","descripcion":"BASICA 1ING HUT CHEESE","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000621"},{"linea":4,"grupolinea":3,"plu":"0700180","descripcion":"ING QUESO  HUTCHEESE","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000621"},{"linea":5,"grupolinea":3,"plu":"0700171","descripcion":"ING SOLO JAMON HUTCHEESE","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000621"}]}
--------- Configuracion de Impuestos ---------
porc_itbis : 0.18
porc_propina : 0.1
factor_precio : 8.474
Valor descuento : 0
Porciento descuento : 0
Total Orden : 2150
totalporcimpuestos : 1.28
Proximo # De Orden : T251084

-------------- 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,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('660318','T251084','WA','660318','27','REPUBLICA DE COLOMBIA','D',
 '809-968-1917','JOVANNY HICHEZ','','CONSUMO','',
 '','2024-06-03','20:31','21:02',
 '1822.02421875','0','0','327.964359375','0','2150','0',
 '','TARJETA' ,'18.5115588' ,'-69.97417390000001','','CALLE SENECAL','0 ',
 '','CALLE SENECAL NO. 4 RESIDENCIAL CARMEN M','ARiA I','','TARJETA','',''
)
header registrado
Ultimo ID : 18956
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
formatted : G26G+J8G, Cl. Senecal, Santo Domingo, República Dominicana
countryCode : DO
city : Santo Domingo
street : Calle Senecal
number : 0
floor : 
latLng : Array
comment : Calle Senecal no. 4 residencial Carmen María I
-------------- Insertar detalle orden -----------
1- 0100063 Napolitana Hut Cheese : 1 * 1075 = 1075
2- K000621 Pizza Hut Cheese 1 Ing. : 1 * 1075 = 1075
3- 0100184 BASICA 1ING HUT CHEESE : 1 * 0 = 0
4- 0700180 ING QUESO  HUTCHEESE : 1 * 0 = 0
5- 0700171 ING SOLO JAMON HUTCHEESE : 1 * 0 = 0

  OK
Retorno : {
			"status":"200",
			"orden":"T251084",
			"email":"1"
		}
Orden registrada. # Orden Json : 660318 / # Orden Web : T251084
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------- J S O N  R E C I B I D O ----------------
{"orden":"1192496950","canal":"AG","tipo_fac":"","cod_unidad":"04","nom_unidad":"Conde - Pedidos Ya","email":"","telefono":"+19739141361","nombre":"Keisy Gutierrez","calle":"","sector":"","casa":"","numero":"","comentario1":"","comentario2":"Medio de pago: Efectivo","comentario3":"","comentario4":"","tiponcf":"CONSUMO","rnc":"","razonsocial":"","fecha":"2024-06-03","hora":"20:31","hora_entrega":"2024-06-04T01:11:09.000Z","subtotal":1350,"valor_descuento":0,"porciento_descuento":0,"itbis":0,"propina":0,"total":1350,"forma_pago":"","cambio_efectivo":0,"referencia":"Pedidos Ya","infoComprobante":null,"address":[{"formatted":"","countryCode":"","city":"","street":"","number":"","apt":"","floor":"","entrance":"","pobox":"","comment":"","latLng":{"lat":"","lng":""}}],"members":[{"linea":1,"grupolinea":1,"plu":"K000726","descripcion":"Big New Yorker + Breadsticks + 1.25 L","cantidad":1,"precio":1350,"ind_kit":"S","padre":""},{"linea":2,"grupolinea":1,"plu":"0100292","descripcion":" PIZZA BASICA 1 ING BNY","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000726"},{"linea":3,"grupolinea":2,"plu":"0700056","descripcion":" ING SOLO QUESO GDE","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000726"},{"linea":4,"grupolinea":3,"plu":"0700053","descripcion":" ING SOLO JAMON GDE","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000726"},{"linea":5,"grupolinea":4,"plu":"0200007","descripcion":" BREADSTICKS","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000726"},{"linea":6,"grupolinea":5,"plu":"20748","descripcion":" 1.25 LITRO COCA COLA","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000726"}]}
--------- Configuracion de Impuestos ---------
porc_itbis : 0.18
porc_propina : 0.1
factor_precio : 8.474
Valor descuento : 0
Porciento descuento : 0
Total Orden : 1350
totalporcimpuestos : 1.28
Orden Agregador, se asigno nuevo numero de Orden : 251085
Proximo # De Orden : T251085

-------------- 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,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('251085','T251085','AG','496950','04','CONDE - PEDIDOS YA','C',
 '973-914-1361','496950 / Pedidos Ya','','CONSUMO','',
 '','2024-06-03','20:31','',
 '1144.06171875','0','0','205.931109375','0','1350','0',
 '','' ,'' ,'','','',' ',
 '','MEDIO DE PAGO: EFECTIVO','','','','Pedidos Ya',''
)
header registrado
Ultimo ID : 18957
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
formatted : 
countryCode : 
city : 
street : 
number : 
floor : 
latLng : Array
comment : 
-------------- Insertar detalle orden -----------
1- K000726 Big New Yorker + Breadsticks + 1.25 L : 1 * 1350 = 1350
2- 0100292  PIZZA BASICA 1 ING BNY : 1 * 0 = 0
3- 0700056  ING SOLO QUESO GDE : 1 * 0 = 0
4- 0700053  ING SOLO JAMON GDE : 1 * 0 = 0
5- 0200007  BREADSTICKS : 1 * 0 = 0
6- 20748  1.25 LITRO COCA COLA : 1 * 0 = 0

  OK
Retorno : {
			"status":"200",
			"orden":"T251085",
			"email":"1"
		}
Orden registrada. # Orden Json : 251085 / # Orden Web : T251085
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------- J S O N  R E C I B I D O ----------------
{"orden":"0C41C","canal":"AG","tipo_fac":"","cod_unidad":"22","nom_unidad":"Naco - Uber","email":"","telefono":" 8299473615","nombre":"Camila C.","calle":"","sector":"","casa":"","numero":"","comentario1":"","comentario2":"","comentario3":"","comentario4":"","tiponcf":"CONSUMO","rnc":"","razonsocial":"","fecha":"2024-06-03","hora":"20:32","hora_entrega":"2024-06-03T20:58:03-04:00","subtotal":0,"valor_descuento":0,"porciento_descuento":0,"itbis":0,"propina":0,"total":1335,"forma_pago":"","cambio_efectivo":0,"referencia":"Uber","infoComprobante":null,"address":[{"formatted":"","countryCode":"943 24 318","city":"","street":"","number":"","apt":"","floor":"","entrance":"","pobox":"","comment":"","latLng":{"lat":"","lng":""}}],"members":[{"linea":1,"grupolinea":1,"plu":"K000913","descripcion":"Panormous Edge 1 Ing.","cantidad":1,"precio":1335,"ind_kit":"S","padre":""},{"linea":2,"grupolinea":1,"plu":"0100552","descripcion":"PANORMOUS EDGE BASICA","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000913"},{"linea":3,"grupolinea":1,"plu":"0700065","descripcion":"ING SOLO TOCINETA MED","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000913"},{"linea":4,"grupolinea":1,"plu":"0700051","descripcion":"ING SOLO SALCHICHA MED","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000913"}]}
--------- Configuracion de Impuestos ---------
porc_itbis : 0.18
porc_propina : 0.1
factor_precio : 8.474
Valor descuento : 0
Porciento descuento : 0
Total Orden : 1335
totalporcimpuestos : 1.28
Orden Agregador, se asigno nuevo numero de Orden : 251086
Proximo # De Orden : T251086

-------------- 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,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('251086','T251086','AG','0C41C','22','NACO - UBER','C',
 '829-947-3615','0C41C / Uber','','CONSUMO','',
 '','2024-06-03','20:32','',
 '1131.349921875','0','0','203.6429859375','0','1335','0',
 '','' ,'' ,'','','',' ',
 '','','','','','Uber',''
)
header registrado
Ultimo ID : 18958
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
formatted : 
countryCode : 943 24 318
city : 
street : 
number : 
floor : 
latLng : Array
comment : 
-------------- Insertar detalle orden -----------
1- K000913 Panormous Edge 1 Ing. : 1 * 1335 = 1335
2- 0100552 PANORMOUS EDGE BASICA : 1 * 0 = 0
3- 0700065 ING SOLO TOCINETA MED : 1 * 0 = 0
4- 0700051 ING SOLO SALCHICHA MED : 1 * 0 = 0

  OK
Retorno : {
			"status":"200",
			"orden":"T251086",
			"email":"1"
		}
Orden registrada. # Orden Json : 251086 / # Orden Web : T251086
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------- J S O N  R E C I B I D O ----------------
{"orden":"492EC","canal":"AG","tipo_fac":"","cod_unidad":"27","nom_unidad":"República de Colombia - Uber","email":"","telefono":" 8299473615","nombre":"Katherine V.","calle":"","sector":"","casa":"","numero":"","comentario1":"","comentario2":"","comentario3":"","comentario4":"","tiponcf":"CONSUMO","rnc":"","razonsocial":"","fecha":"2024-06-03","hora":"20:32","hora_entrega":"2024-06-03T20:44:12-04:00","subtotal":0,"valor_descuento":0,"porciento_descuento":0,"itbis":0,"propina":0,"total":1295,"forma_pago":"","cambio_efectivo":0,"referencia":"Uber","infoComprobante":null,"address":[{"formatted":"","countryCode":"254 84 217","city":"","street":"","number":"","apt":"","floor":"","entrance":"","pobox":"","comment":"","latLng":{"lat":"","lng":""}}],"members":[{"linea":1,"grupolinea":1,"plu":"K000583","descripcion":"Pizza Mediana 1 Ing. + Breadsticks + 2 Bebidas 16 Onz","cantidad":1,"precio":1295,"ind_kit":"S","padre":""},{"linea":2,"grupolinea":1,"plu":"0100186","descripcion":"BASICA 1 ING MED THIN","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000583"},{"linea":3,"grupolinea":1,"plu":"0700051","descripcion":"ING SOLO SALCHICHA MED","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000583"},{"linea":4,"grupolinea":1,"plu":"0700065","descripcion":"ING SOLO TOCINETA MED","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000583"},{"linea":5,"grupolinea":1,"plu":"03064","descripcion":"16 0Z COCA COLA","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000583"},{"linea":6,"grupolinea":1,"plu":"0200007","descripcion":"BREADSTICKS","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000583"},{"linea":7,"grupolinea":1,"plu":"03064","descripcion":"16 0Z COCA COLA","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000583"}]}
--------- Configuracion de Impuestos ---------
porc_itbis : 0.18
porc_propina : 0.1
factor_precio : 8.474
Valor descuento : 0
Porciento descuento : 0
Total Orden : 1295
totalporcimpuestos : 1.28
Orden Agregador, se asigno nuevo numero de Orden : 251087
Proximo # De Orden : T251087

-------------- 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,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('251087','T251087','AG','492EC','27','REPUBLICA DE COLOMBIA - UBER','C',
 '829-947-3615','492EC / Uber','','CONSUMO','',
 '','2024-06-03','20:32','',
 '1097.451796875','0','0','197.5413234375','0','1295','0',
 '','' ,'' ,'','','',' ',
 '','','','','','Uber',''
)
header registrado
Ultimo ID : 18959
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
formatted : 
countryCode : 254 84 217
city : 
street : 
number : 
floor : 
latLng : Array
comment : 
-------------- Insertar detalle orden -----------
1- K000583 Pizza Mediana 1 Ing. + Breadsticks + 2 Bebidas 16 Onz : 1 * 1295 = 1295
2- 0100186 BASICA 1 ING MED THIN : 1 * 0 = 0
3- 0700051 ING SOLO SALCHICHA MED : 1 * 0 = 0
4- 0700065 ING SOLO TOCINETA MED : 1 * 0 = 0
5- 03064 16 0Z COCA COLA : 1 * 0 = 0
6- 0200007 BREADSTICKS : 1 * 0 = 0
7- 03064 16 0Z COCA COLA : 1 * 0 = 0

  OK
Retorno : {
			"status":"200",
			"orden":"T251087",
			"email":"1"
		}
Orden registrada. # Orden Json : 251087 / # Orden Web : T251087
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------- J S O N  R E C I B I D O ----------------
{"orden":"69661056","canal":"Wa","tipo_fac":"D","cod_unidad":"39","nom_unidad":"Higuey - Tictuk","email":"","telefono":" 8093963524","nombre":"Monas Beauty Nails  Siempre estamos felices de verte","calle":"Higüey","sector":"","casa":"","numero":"0","comentario1":"Aceptan pagos con tarjeta ?","comentario2":"","comentario3":"No","comentario4":"","tiponcf":"CONSUMO","rnc":"","razonsocial":"","fecha":"2024-06-03","hora":"20:34","hora_entrega":"21:04","subtotal":0,"valor_descuento":0,"porciento_descuento":0,"itbis":0,"propina":0,"total":825,"forma_pago":"EFECTIVO","cambio_efectivo":0,"referencia":"","infoComprobante":"Forma de pagos ?","address":[{"formatted":"J7CF+6CX, Higüey 23000, República Dominicana","countryCode":"DO","city":"Higüey","street":"Higüey","number":"0","apt":"","floor":"","entrance":"","pobox":"","comment":"Aceptan pagos con tarjeta ?","latLng":{"lat":"18.6205578","lng":"-68.7263731"}}],"members":[{"linea":1,"grupolinea":1,"plu":"K000625","descripcion":"Pizza Mediana 1 Ing.","cantidad":1,"precio":825,"ind_kit":"S","padre":""},{"linea":2,"grupolinea":1,"plu":"0100185","descripcion":"BASICA 1 ING MED PAN","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000625"},{"linea":3,"grupolinea":1,"plu":"0700048","descripcion":"ING SOLO PEPPERONI MED","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000625"},{"linea":4,"grupolinea":1,"plu":"0700065","descripcion":"ING SOLO TOCINETA MED","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000625"}]}
--------- Configuracion de Impuestos ---------
porc_itbis : 0.18
porc_propina : 0.1
factor_precio : 8.474
Valor descuento : 0
Porciento descuento : 0
Total Orden : 825
totalporcimpuestos : 1.28
Proximo # De Orden : T251088

-------------- 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,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('661056','T251088','WA','661056','39','HIGUEY - TICTUK','D',
 '809-396-3524','MONAS BEAUTY NAILS  SIEMPRE ESTAMOS FELICES DE VERTE','','CONSUMO','',
 '','2024-06-03','20:34','21:04',
 '699.148828125','0','0','125.8467890625','0','825','0',
 '','EFECTIVO' ,'18.6205578' ,'-68.7263731','','HIGUEY','0 ',
 '','ACEPTAN PAGOS CON TARJETA ?','','','EFECTIVO','','Forma de pagos ?'
)
header registrado
Ultimo ID : 18960
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
formatted : J7CF+6CX, Higüey 23000, República Dominicana
countryCode : DO
city : Higüey
street : Higüey
number : 0
floor : 
latLng : Array
comment : Aceptan pagos con tarjeta ?
-------------- Insertar detalle orden -----------
1- K000625 Pizza Mediana 1 Ing. : 1 * 825 = 825
2- 0100185 BASICA 1 ING MED PAN : 1 * 0 = 0
3- 0700048 ING SOLO PEPPERONI MED : 1 * 0 = 0
4- 0700065 ING SOLO TOCINETA MED : 1 * 0 = 0

  OK
Retorno : {
			"status":"200",
			"orden":"T251088",
			"email":"1"
		}
Orden registrada. # Orden Json : 661056 / # Orden Web : T251088
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------- J S O N  R E C I B I D O ----------------
{"orden":"69660910","canal":"Wa","tipo_fac":"D","cod_unidad":"19","nom_unidad":"Independencia","email":"","telefono":" 8097697677","nombre":"SF II","calle":"Calle Beta","sector":"","casa":"","numero":"14","comentario1":"RESIDENCIAL GALVAN VIII C/BETA #14 ENTRANDO POR ANDAMIOS DOMINICANOS","comentario2":"","comentario3":"No","comentario4":"","tiponcf":"CONSUMO","rnc":"","razonsocial":"","fecha":"2024-06-03","hora":"20:34","hora_entrega":"21:05","subtotal":0,"valor_descuento":0,"porciento_descuento":0,"itbis":0,"propina":0,"total":540,"forma_pago":"EFECTIVO","cambio_efectivo":0,"referencia":"","infoComprobante":"Factura con Valor Fiscal RNC 132248996 Saiz Paisajismo, SRL","address":[{"formatted":"C. Beta 14, Santo Domingo, República Dominicana","countryCode":"DO","city":"Santo Domingo","street":"Calle Beta","number":"14","apt":"","floor":"","entrance":"","pobox":"","comment":"RESIDENCIAL GALVAN VIII C/BETA #14 ENTRANDO POR ANDAMIOS DOMINICANOS","latLng":{"lat":"18.4341281","lng":"-69.9561907"}}],"members":[{"linea":1,"grupolinea":1,"plu":"0100003","descripcion":"Veggie Lover\u0027s Pequeña Pan","cantidad":1,"precio":540,"ind_kit":"N","padre":""}]}
--------- Configuracion de Impuestos ---------
porc_itbis : 0.18
porc_propina : 0.1
factor_precio : 8.474
Valor descuento : 0
Porciento descuento : 0
Total Orden : 540
totalporcimpuestos : 1.28
Proximo # De Orden : T251089

-------------- 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,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('660910','T251089','WA','660910','19','INDEPENDENCIA','D',
 '809-769-7677','SF II','','CONSUMO','',
 '','2024-06-03','20:34','21:05',
 '457.6246875','0','0','82.37244375','0','540','0',
 '','EFECTIVO' ,'18.4341281' ,'-69.9561907','','CALLE BETA','14 ',
 '','RESIDENCIAL GALVAN VIII C/BETA #14 ENTRA','NDO POR ANDAMIOS DOMINICANOS','','EFECTIVO','','Factura con Valor Fiscal RNC 132248996 Saiz Paisajismo, SRL'
)
header registrado
Ultimo ID : 18961
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
formatted : C. Beta 14, Santo Domingo, República Dominicana
countryCode : DO
city : Santo Domingo
street : Calle Beta
number : 14
floor : 
latLng : Array
comment : RESIDENCIAL GALVAN VIII C/BETA #14 ENTRANDO POR ANDAMIOS DOMINICANOS
-------------- Insertar detalle orden -----------
1- 0100003 Veggie Lover's Pequeña Pan : 1 * 540 = 540

  OK
Retorno : {
			"status":"200",
			"orden":"T251089",
			"email":"1"
		}
Orden registrada. # Orden Json : 660910 / # Orden Web : T251089
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------- J S O N  R E C I B I D O ----------------
{"orden":"45E5D","canal":"AG","tipo_fac":"","cod_unidad":"18","nom_unidad":"Megacentro - Uber","email":"","telefono":" 8299473615","nombre":"raymond R.","calle":"","sector":"","casa":"","numero":"","comentario1":"","comentario2":"","comentario3":"","comentario4":"","tiponcf":"CONSUMO","rnc":"","razonsocial":"","fecha":"2024-06-03","hora":"20:35","hora_entrega":"2024-06-03T20:51:20-04:00","subtotal":0,"valor_descuento":0,"porciento_descuento":0,"itbis":0,"propina":0,"total":1100,"forma_pago":"","cambio_efectivo":0,"referencia":"Uber","infoComprobante":null,"address":[{"formatted":"","countryCode":"729 19 746","city":"","street":"","number":"","apt":"","floor":"","entrance":"","pobox":"","comment":"","latLng":{"lat":"","lng":""}}],"members":[{"linea":1,"grupolinea":1,"plu":"K000716","descripcion":"Big New Yorker 1 ing.","cantidad":1,"precio":1100,"ind_kit":"S","padre":""},{"linea":2,"grupolinea":1,"plu":"0100292","descripcion":"PIZZA BASICA 1 ING BNY","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000716"},{"linea":3,"grupolinea":1,"plu":"0700061","descripcion":"ING SOLO CERDO GDE","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000716"},{"linea":4,"grupolinea":1,"plu":"0700138","descripcion":"ING SOLO POLLO GDE","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000716"}]}
--------- Configuracion de Impuestos ---------
porc_itbis : 0.18
porc_propina : 0.1
factor_precio : 8.474
Valor descuento : 0
Porciento descuento : 0
Total Orden : 1100
totalporcimpuestos : 1.28
Orden Agregador, se asigno nuevo numero de Orden : 251090
Proximo # De Orden : T251090

-------------- 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,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('251090','T251090','AG','45E5D','18','MEGACENTRO - UBER','C',
 '829-947-3615','45E5D / Uber','','CONSUMO','',
 '','2024-06-03','20:35','',
 '932.1984375','0','0','167.79571875','0','1100','0',
 '','' ,'' ,'','','',' ',
 '','','','','','Uber',''
)
header registrado
Ultimo ID : 18962
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
formatted : 
countryCode : 729 19 746
city : 
street : 
number : 
floor : 
latLng : Array
comment : 
-------------- Insertar detalle orden -----------
1- K000716 Big New Yorker 1 ing. : 1 * 1100 = 1100
2- 0100292 PIZZA BASICA 1 ING BNY : 1 * 0 = 0
3- 0700061 ING SOLO CERDO GDE : 1 * 0 = 0
4- 0700138 ING SOLO POLLO GDE : 1 * 0 = 0

  OK
Retorno : {
			"status":"200",
			"orden":"T251090",
			"email":"1"
		}
Orden registrada. # Orden Json : 251090 / # Orden Web : T251090
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------- J S O N  R E C I B I D O ----------------
{"orden":"69661600","canal":"Wa","tipo_fac":"D","cod_unidad":"17","nom_unidad":"San Francisco de Macorís","email":"","telefono":" 8298730982","nombre":"Fraily Mora","calle":"San Francisco de Macorís","sector":"","casa":"","numero":"0","comentario1":"Urbanización Hidalgo Residencial Mónaco bloque C apartamento 301","comentario2":"","comentario3":"No","comentario4":"","tiponcf":"CONSUMO","rnc":"","razonsocial":"","fecha":"2024-06-03","hora":"20:35","hora_entrega":"21:06","subtotal":0,"valor_descuento":0,"porciento_descuento":0,"itbis":0,"propina":0,"total":510,"forma_pago":"EFECTIVO","cambio_efectivo":0,"referencia":"","infoComprobante":null,"address":[{"formatted":"7PM5+59F, San Francisco de Macorís 31000, República Dominicana","countryCode":"DO","city":"San Francisco de Macorís","street":"San Francisco de Macorís","number":"0","apt":"","floor":"","entrance":"","pobox":"","comment":"Urbanización Hidalgo Residencial Mónaco bloque C apartamento 301","latLng":{"lat":"19.2829276","lng":"-70.29162649999999"}}],"members":[{"linea":1,"grupolinea":1,"plu":"K000627","descripcion":"Pizza Pequeña 1 Ing.","cantidad":1,"precio":510,"ind_kit":"S","padre":""},{"linea":2,"grupolinea":1,"plu":"0100187","descripcion":"BASICA 1 ING PEQ PAN","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000627"},{"linea":3,"grupolinea":1,"plu":"0700140","descripcion":"ING SOLO POLLO  PEQ","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000627"},{"linea":4,"grupolinea":1,"plu":"0700087","descripcion":"ING SOLO MAIZ PEQ","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000627"}]}
--------- Configuracion de Impuestos ---------
porc_itbis : 0.18
porc_propina : 0.1
factor_precio : 8.474
Valor descuento : 0
Porciento descuento : 0
Total Orden : 510
totalporcimpuestos : 1.28
Proximo # De Orden : T251091

-------------- 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,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('661600','T251091','WA','661600','17','SAN FRANCISCO DE MACORIS','D',
 '829-873-0982','FRAILY MORA','','CONSUMO','',
 '','2024-06-03','20:35','21:06',
 '432.20109375','0','0','77.796196875','0','510','0',
 '','EFECTIVO' ,'19.2829276' ,'-70.29162649999999','','SAN FRANCISCO DE MACORIS','0 ',
 '','URBANIZACIoN HIDALGO RESIDENCIAL MoNACO ','BLOQUE C APARTAMENTO 301','','EFECTIVO','',''
)
header registrado
Ultimo ID : 18963
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
formatted : 7PM5+59F, San Francisco de Macorís 31000, República Dominicana
countryCode : DO
city : San Francisco de Macorís
street : San Francisco de Macorís
number : 0
floor : 
latLng : Array
comment : Urbanización Hidalgo Residencial Mónaco bloque C apartamento 301
-------------- Insertar detalle orden -----------
1- K000627 Pizza Pequeña 1 Ing. : 1 * 510 = 510
2- 0100187 BASICA 1 ING PEQ PAN : 1 * 0 = 0
3- 0700140 ING SOLO POLLO  PEQ : 1 * 0 = 0
4- 0700087 ING SOLO MAIZ PEQ : 1 * 0 = 0

  OK
Retorno : {
			"status":"200",
			"orden":"T251091",
			"email":"1"
		}
Orden registrada. # Orden Json : 661600 / # Orden Web : T251091
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------- J S O N  R E C I B I D O ----------------
{"orden":"E69B4","canal":"AG","tipo_fac":"","cod_unidad":"18","nom_unidad":"Megacentro - Uber","email":"","telefono":" 8299473615","nombre":"yesenia D.","calle":"","sector":"","casa":"","numero":"","comentario1":"","comentario2":"","comentario3":"","comentario4":"","tiponcf":"CONSUMO","rnc":"","razonsocial":"","fecha":"2024-06-03","hora":"20:37","hora_entrega":"2024-06-03T20:53:23-04:00","subtotal":0,"valor_descuento":0,"porciento_descuento":0,"itbis":0,"propina":0,"total":1490,"forma_pago":"","cambio_efectivo":0,"referencia":"Uber","infoComprobante":null,"address":[{"formatted":"","countryCode":"693 75 399","city":"","street":"","number":"","apt":"","floor":"","entrance":"","pobox":"","comment":"","latLng":{"lat":"","lng":""}}],"members":[{"linea":1,"grupolinea":1,"plu":"K000914","descripcion":"Panormous Edge 1 Ing. + 1.25 L","cantidad":1,"precio":1490,"ind_kit":"S","padre":""},{"linea":2,"grupolinea":1,"plu":"0100552","descripcion":"PANORMOUS EDGE BASICA","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000914"},{"linea":3,"grupolinea":1,"plu":"0700048","descripcion":"ING SOLO PEPPERONI MED","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000914"},{"linea":4,"grupolinea":1,"plu":"0700065","descripcion":"ING SOLO TOCINETA MED","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000914"},{"linea":5,"grupolinea":1,"plu":"20748","descripcion":"1.25 LITRO COCA COLA","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000914"}]}
--------- Configuracion de Impuestos ---------
porc_itbis : 0.18
porc_propina : 0.1
factor_precio : 8.474
Valor descuento : 0
Porciento descuento : 0
Total Orden : 1490
totalporcimpuestos : 1.28
Orden Agregador, se asigno nuevo numero de Orden : 251092
Proximo # De Orden : T251092

-------------- 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,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('251092','T251092','AG','E69B4','18','MEGACENTRO - UBER','C',
 '829-947-3615','E69B4 / Uber','','CONSUMO','',
 '','2024-06-03','20:37','',
 '1262.70515625','0','0','227.286928125','0','1490','0',
 '','' ,'' ,'','','',' ',
 '','','','','','Uber',''
)
header registrado
Ultimo ID : 18964
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
formatted : 
countryCode : 693 75 399
city : 
street : 
number : 
floor : 
latLng : Array
comment : 
-------------- Insertar detalle orden -----------
1- K000914 Panormous Edge 1 Ing. + 1.25 L : 1 * 1490 = 1490
2- 0100552 PANORMOUS EDGE BASICA : 1 * 0 = 0
3- 0700048 ING SOLO PEPPERONI MED : 1 * 0 = 0
4- 0700065 ING SOLO TOCINETA MED : 1 * 0 = 0
5- 20748 1.25 LITRO COCA COLA : 1 * 0 = 0

  OK
Retorno : {
			"status":"200",
			"orden":"T251092",
			"email":"1"
		}
Orden registrada. # Orden Json : 251092 / # Orden Web : T251092
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------- J S O N  R E C I B I D O ----------------
{"orden":"1192497374","canal":"AG","tipo_fac":"","cod_unidad":"09","nom_unidad":"Calle el Sol - Pedidos Ya","email":"","telefono":"**********","nombre":"Ana Maite Torres Frias","calle":"","sector":"","casa":"","numero":"","comentario1":"","comentario2":"Medio de pago: Efectivo","comentario3":"","comentario4":"","tiponcf":"CONSUMO","rnc":"","razonsocial":"","fecha":"2024-06-03","hora":"20:37","hora_entrega":"2024-06-04T01:11:12.000Z","subtotal":1570,"valor_descuento":275,"porciento_descuento":0,"itbis":0,"propina":0,"total":1570,"forma_pago":"","cambio_efectivo":0,"referencia":"Pedidos Ya","infoComprobante":null,"address":[{"formatted":"","countryCode":"","city":"","street":"","number":"","apt":"","floor":"","entrance":"","pobox":"","comment":"","latLng":{"lat":"","lng":""}}],"members":[{"linea":1,"grupolinea":1,"plu":"K000583","descripcion":"Pizza Mediana 1 Ing. + Breadsticks + 2 Bebidas 16 Onz","cantidad":1,"precio":1570,"ind_kit":"S","padre":""},{"linea":2,"grupolinea":1,"plu":"0100185","descripcion":" BASICA 1 ING MED PAN","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000583"},{"linea":3,"grupolinea":2,"plu":"0700139","descripcion":" ING SOLO POLLO MED","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000583"},{"linea":4,"grupolinea":3,"plu":"0700048","descripcion":" ING SOLO PEPPERONI MED","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000583"},{"linea":5,"grupolinea":4,"plu":"03064","descripcion":" 16 0Z COCA COLA","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000583"},{"linea":6,"grupolinea":5,"plu":"0200007","descripcion":" BREADSTICKS","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000583"},{"linea":7,"grupolinea":6,"plu":"03064","descripcion":" 16 0Z COCA COLA","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000583"}]}
--------- Configuracion de Impuestos ---------
porc_itbis : 0.18
porc_propina : 0.1
factor_precio : 8.474
Valor descuento : 275
Porciento descuento : 18
Total Orden : 1570
totalporcimpuestos : 1.28
Orden Agregador, se asigno nuevo numero de Orden : 251093
Proximo # De Orden : T251093

-------------- 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,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('251093','T251093','AG','497374','09','CALLE EL SOL - PEDIDOS YA','C',
 '***-***-****','497374 / Pedidos Ya','','CONSUMO','',
 '','2024-06-03','20:37','',
 '1330.50140625','275','18','239.490253125','0','1570','0',
 '','' ,'' ,'','','',' ',
 '','MEDIO DE PAGO: EFECTIVO','','','','Pedidos Ya',''
)
header registrado
Ultimo ID : 18965
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
formatted : 
countryCode : 
city : 
street : 
number : 
floor : 
latLng : Array
comment : 
-------------- Insertar detalle orden -----------
1- K000583 Pizza Mediana 1 Ing. + Breadsticks + 2 Bebidas 16 Onz : 1 * 1570 = 1570
2- 0100185  BASICA 1 ING MED PAN : 1 * 0 = 0
3- 0700139  ING SOLO POLLO MED : 1 * 0 = 0
4- 0700048  ING SOLO PEPPERONI MED : 1 * 0 = 0
5- 03064  16 0Z COCA COLA : 1 * 0 = 0
6- 0200007  BREADSTICKS : 1 * 0 = 0
7- 03064  16 0Z COCA COLA : 1 * 0 = 0

  OK
Retorno : {
			"status":"200",
			"orden":"T251093",
			"email":"1"
		}
Orden registrada. # Orden Json : 251093 / # Orden Web : T251093
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------- J S O N  R E C I B I D O ----------------
{"orden":"1192497988","canal":"AG","tipo_fac":"","cod_unidad":"08","nom_unidad":"Máximo Gomez - Pedidos Ya","email":"","telefono":"+18297874133","nombre":"Reyniel Caraballo Custodio","calle":"","sector":"","casa":"","numero":"","comentario1":"","comentario2":"Medio de pago: VISA","comentario3":"","comentario4":"","tiponcf":"CONSUMO","rnc":"","razonsocial":"","fecha":"2024-06-03","hora":"20:37","hora_entrega":"2024-06-04T01:10:01.000Z","subtotal":1225,"valor_descuento":0,"porciento_descuento":0,"itbis":0,"propina":0,"total":1225,"forma_pago":"","cambio_efectivo":0,"referencia":"Pedidos Ya","infoComprobante":null,"address":[{"formatted":"","countryCode":"","city":"","street":"","number":"","apt":"","floor":"","entrance":"","pobox":"","comment":"","latLng":{"lat":"","lng":""}}],"members":[{"linea":1,"grupolinea":1,"plu":"K000621","descripcion":"Pizza Hut Cheese 1 Ing.","cantidad":1,"precio":1225,"ind_kit":"S","padre":""},{"linea":2,"grupolinea":1,"plu":"0100184","descripcion":" BASICA 1ING HUT CHEESE","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000621"},{"linea":3,"grupolinea":2,"plu":"0700172","descripcion":" ING SOLO MAIZ HUTCHEESE","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000621"},{"linea":4,"grupolinea":3,"plu":"0700171","descripcion":" ING SOLO JAMON HUTCHEESE","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000621"}]}
--------- Configuracion de Impuestos ---------
porc_itbis : 0.18
porc_propina : 0.1
factor_precio : 8.474
Valor descuento : 0
Porciento descuento : 0
Total Orden : 1225
totalporcimpuestos : 1.28
Orden Agregador, se asigno nuevo numero de Orden : 251094
Proximo # De Orden : T251094

-------------- 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,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('251094','T251094','AG','497988','08','MAXIMO GOMEZ - PEDIDOS YA','C',
 '829-787-4133','497988 / Pedidos Ya','','CONSUMO','',
 '','2024-06-03','20:37','',
 '1038.130078125','0','0','186.8634140625','0','1225','0',
 '','' ,'' ,'','','',' ',
 '','MEDIO DE PAGO: VISA','','','','Pedidos Ya',''
)
header registrado
Ultimo ID : 18966
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
formatted : 
countryCode : 
city : 
street : 
number : 
floor : 
latLng : Array
comment : 
-------------- Insertar detalle orden -----------
1- K000621 Pizza Hut Cheese 1 Ing. : 1 * 1225 = 1225
2- 0100184  BASICA 1ING HUT CHEESE : 1 * 0 = 0
3- 0700172  ING SOLO MAIZ HUTCHEESE : 1 * 0 = 0
4- 0700171  ING SOLO JAMON HUTCHEESE : 1 * 0 = 0

  OK
Retorno : {
			"status":"200",
			"orden":"T251094",
			"email":"1"
		}
Orden registrada. # Orden Json : 251094 / # Orden Web : T251094
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------- J S O N  R E C I B I D O ----------------
{"orden":"69660607","canal":"Wa","tipo_fac":"D","cod_unidad":"10","nom_unidad":"Venezuela","email":"","telefono":" 8096093351","nombre":"Ana Cuello","calle":"Calle Hermanas Carmelitas","sector":"","casa":"","numero":"63","comentario1":"Entre la Calle Puerto Rico y Costa Rica","comentario2":"","comentario3":"No","comentario4":"","tiponcf":"CONSUMO","rnc":"","razonsocial":"","fecha":"2024-06-03","hora":"20:37","hora_entrega":"21:08","subtotal":0,"valor_descuento":0,"porciento_descuento":0,"itbis":0,"propina":0,"total":835,"forma_pago":"EFECTIVO","cambio_efectivo":0,"referencia":"","infoComprobante":"00105217798, Daysi Thamara Márquez","address":[{"formatted":"C. Hermanas Carmelitas 63, Santo Domingo Este 11501, República Dominicana","countryCode":"DO","city":"Santo Domingo Este","street":"Calle Hermanas Carmelitas","number":"63","apt":"","floor":"","entrance":"","pobox":"","comment":"Entre la Calle Puerto Rico y Costa Rica","latLng":{"lat":"18.4925076","lng":"-69.8749668"}}],"members":[{"linea":1,"grupolinea":1,"plu":"0200065","descripcion":"Cheesesticks","cantidad":1,"precio":310,"ind_kit":"N","padre":""},{"linea":2,"grupolinea":3,"plu":"1300015","descripcion":"Veggie Lovers","cantidad":1,"precio":525,"ind_kit":"N","padre":""}]}
--------- Configuracion de Impuestos ---------
porc_itbis : 0.18
porc_propina : 0.1
factor_precio : 8.474
Valor descuento : 0
Porciento descuento : 0
Total Orden : 835
totalporcimpuestos : 1.28
Proximo # De Orden : T251095

-------------- 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,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('660607','T251095','WA','660607','10','VENEZUELA','D',
 '809-609-3351','ANA CUELLO','','CONSUMO','',
 '','2024-06-03','20:37','21:08',
 '707.623359375','0','0','127.3722046875','0','835','0',
 '','EFECTIVO' ,'18.4925076' ,'-69.8749668','','CALLE HERMANAS CARMELITAS','63 ',
 '','ENTRE LA CALLE PUERTO RICO Y COSTA RICA','','','EFECTIVO','','00105217798, Daysi Thamara Marquez'
)
header registrado
Ultimo ID : 18967
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
formatted : C. Hermanas Carmelitas 63, Santo Domingo Este 11501, República Dominicana
countryCode : DO
city : Santo Domingo Este
street : Calle Hermanas Carmelitas
number : 63
floor : 
latLng : Array
comment : Entre la Calle Puerto Rico y Costa Rica
-------------- Insertar detalle orden -----------
1- 0200065 Cheesesticks : 1 * 310 = 310
2- 1300015 Veggie Lovers : 1 * 525 = 525

  OK
Retorno : {
			"status":"200",
			"orden":"T251095",
			"email":"1"
		}
Orden registrada. # Orden Json : 660607 / # Orden Web : T251095
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------- J S O N  R E C I B I D O ----------------
{"orden":"5C0AA","canal":"AG","tipo_fac":"","cod_unidad":"10","nom_unidad":"Venezuela - Uber","email":"","telefono":" 8299473615","nombre":"Emilia L.","calle":"","sector":"","casa":"","numero":"","comentario1":"","comentario2":"","comentario3":"","comentario4":"","tiponcf":"CONSUMO","rnc":"","razonsocial":"","fecha":"2024-06-03","hora":"20:37","hora_entrega":"2024-06-03T21:00:38-04:00","subtotal":0,"valor_descuento":0,"porciento_descuento":0,"itbis":0,"propina":0,"total":1690,"forma_pago":"","cambio_efectivo":0,"referencia":"Uber","infoComprobante":null,"address":[{"formatted":"","countryCode":"362 67 472","city":"","street":"","number":"","apt":"","floor":"","entrance":"","pobox":"","comment":"","latLng":{"lat":"","lng":""}}],"members":[{"linea":1,"grupolinea":1,"plu":"K000603","descripcion":"Hut Cheese 1 Ing. + Breadsticks + 1.25 L","cantidad":1,"precio":1690,"ind_kit":"S","padre":""},{"linea":2,"grupolinea":1,"plu":"0100184","descripcion":"BASICA 1ING HUT CHEESE","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000603"},{"linea":3,"grupolinea":1,"plu":"0700178","descripcion":"ING SOLO TOCINETA HUTCHEE","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000603"},{"linea":4,"grupolinea":1,"plu":"0700172","descripcion":"ING SOLO MAIZ HUTCHEESE","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000603"},{"linea":5,"grupolinea":1,"plu":"20748","descripcion":"1.25 LITRO COCA COLA","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000603"},{"linea":6,"grupolinea":1,"plu":"0200007","descripcion":"BREADSTICKS","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000603"}]}
--------- Configuracion de Impuestos ---------
porc_itbis : 0.18
porc_propina : 0.1
factor_precio : 8.474
Valor descuento : 0
Porciento descuento : 0
Total Orden : 1690
totalporcimpuestos : 1.28
Orden Agregador, se asigno nuevo numero de Orden : 251096
Proximo # De Orden : T251096

-------------- 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,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('251096','T251096','AG','5C0AA','10','VENEZUELA - UBER','C',
 '829-947-3615','5C0AA / Uber','','CONSUMO','',
 '','2024-06-03','20:37','',
 '1432.19578125','0','0','257.795240625','0','1690','0',
 '','' ,'' ,'','','',' ',
 '','','','','','Uber',''
)
header registrado
Ultimo ID : 18968
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
formatted : 
countryCode : 362 67 472
city : 
street : 
number : 
floor : 
latLng : Array
comment : 
-------------- Insertar detalle orden -----------
1- K000603 Hut Cheese 1 Ing. + Breadsticks + 1.25 L : 1 * 1690 = 1690
2- 0100184 BASICA 1ING HUT CHEESE : 1 * 0 = 0
3- 0700178 ING SOLO TOCINETA HUTCHEE : 1 * 0 = 0
4- 0700172 ING SOLO MAIZ HUTCHEESE : 1 * 0 = 0
5- 20748 1.25 LITRO COCA COLA : 1 * 0 = 0
6- 0200007 BREADSTICKS : 1 * 0 = 0

  OK
Retorno : {
			"status":"200",
			"orden":"T251096",
			"email":"1"
		}
Orden registrada. # Orden Json : 251096 / # Orden Web : T251096
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------- J S O N  R E C I B I D O ----------------
{"orden":"1192540838","canal":"AG","tipo_fac":"","cod_unidad":"08","nom_unidad":"Máximo Gomez - Pedidos Ya","email":"","telefono":"+18294510910","nombre":"Penelope Patricio","calle":"","sector":"","casa":"","numero":"","comentario1":"","comentario2":"Medio de pago: MASTERCARD","comentario3":"","comentario4":"","tiponcf":"CONSUMO","rnc":"","razonsocial":"","fecha":"2024-06-03","hora":"20:38","hora_entrega":"2024-06-04T01:07:00.000Z","subtotal":1350,"valor_descuento":0,"porciento_descuento":0,"itbis":0,"propina":0,"total":1350,"forma_pago":"","cambio_efectivo":0,"referencia":"Pedidos Ya","infoComprobante":null,"address":[{"formatted":"","countryCode":"","city":"","street":"","number":"","apt":"","floor":"","entrance":"","pobox":"","comment":"","latLng":{"lat":"","lng":""}}],"members":[{"linea":1,"grupolinea":1,"plu":"K000726","descripcion":"Big New Yorker + Breadsticks + 1.25 L","cantidad":1,"precio":1350,"ind_kit":"S","padre":""},{"linea":2,"grupolinea":1,"plu":"0100292","descripcion":" PIZZA BASICA 1 ING BNY","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000726"},{"linea":3,"grupolinea":2,"plu":"0700050","descripcion":" ING SOLO SALCHICHA GDE","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000726"},{"linea":4,"grupolinea":3,"plu":"0700058","descripcion":" ING SOLO RES GDE","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000726"},{"linea":5,"grupolinea":4,"plu":"0200007","descripcion":" BREADSTICKS","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000726"},{"linea":6,"grupolinea":5,"plu":"20748","descripcion":" 1.25 LITRO COCA COLA","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000726"}]}
--------- Configuracion de Impuestos ---------
porc_itbis : 0.18
porc_propina : 0.1
factor_precio : 8.474
Valor descuento : 0
Porciento descuento : 0
Total Orden : 1350
totalporcimpuestos : 1.28
Orden Agregador, se asigno nuevo numero de Orden : 251097
Proximo # De Orden : T251097

-------------- 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,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('251097','T251097','AG','540838','08','MAXIMO GOMEZ - PEDIDOS YA','C',
 '829-451-0910','540838 / Pedidos Ya','','CONSUMO','',
 '','2024-06-03','20:38','',
 '1144.06171875','0','0','205.931109375','0','1350','0',
 '','' ,'' ,'','','',' ',
 '','MEDIO DE PAGO: MASTERCARD','','','','Pedidos Ya',''
)
header registrado
Ultimo ID : 18969
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
formatted : 
countryCode : 
city : 
street : 
number : 
floor : 
latLng : Array
comment : 
-------------- Insertar detalle orden -----------
1- K000726 Big New Yorker + Breadsticks + 1.25 L : 1 * 1350 = 1350
2- 0100292  PIZZA BASICA 1 ING BNY : 1 * 0 = 0
3- 0700050  ING SOLO SALCHICHA GDE : 1 * 0 = 0
4- 0700058  ING SOLO RES GDE : 1 * 0 = 0
5- 0200007  BREADSTICKS : 1 * 0 = 0
6- 20748  1.25 LITRO COCA COLA : 1 * 0 = 0

  OK
Retorno : {
			"status":"200",
			"orden":"T251097",
			"email":"1"
		}
Orden registrada. # Orden Json : 251097 / # Orden Web : T251097
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------- J S O N  R E C I B I D O ----------------
{"orden":"87FDF","canal":"AG","tipo_fac":"","cod_unidad":"07","nom_unidad":"Zona Rosa - Uber","email":"","telefono":" 8299473615","nombre":"Nathalie P.","calle":"","sector":"","casa":"","numero":"","comentario1":"","comentario2":"","comentario3":"","comentario4":"","tiponcf":"CONSUMO","rnc":"","razonsocial":"","fecha":"2024-06-03","hora":"20:39","hora_entrega":"2024-06-03T21:03:46-04:00","subtotal":0,"valor_descuento":0,"porciento_descuento":0,"itbis":0,"propina":0,"total":1618,"forma_pago":"","cambio_efectivo":0,"referencia":"Uber","infoComprobante":null,"address":[{"formatted":"","countryCode":"433 14 264","city":"","street":"","number":"","apt":"","floor":"","entrance":"","pobox":"","comment":"","latLng":{"lat":"","lng":""}}],"members":[{"linea":1,"grupolinea":1,"plu":"K000557","descripcion":"Pizza Grande 1 Ing. + Breadsticks + 1.25 L","cantidad":1,"precio":1606,"ind_kit":"S","padre":""},{"linea":2,"grupolinea":1,"plu":"0100183","descripcion":"BASICA 1ING GDE THIN","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000557"},{"linea":3,"grupolinea":1,"plu":"0700050","descripcion":"ING SOLO SALCHICHA GDE","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000557"},{"linea":4,"grupolinea":1,"plu":"0700138","descripcion":"ING SOLO POLLO GDE","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000557"},{"linea":5,"grupolinea":1,"plu":"20748","descripcion":"1.25 LITRO COCA COLA","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000557"},{"linea":6,"grupolinea":1,"plu":"0202021","descripcion":"BREADSTICKS GOLDEN","cantidad":1,"precio":12,"ind_kit":"N","padre":"K000557"}]}
--------- Configuracion de Impuestos ---------
porc_itbis : 0.18
porc_propina : 0.1
factor_precio : 8.474
Valor descuento : 0
Porciento descuento : 0
Total Orden : 1618
totalporcimpuestos : 1.28
Orden Agregador, se asigno nuevo numero de Orden : 251098
Proximo # De Orden : T251098

-------------- 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,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('251098','T251098','AG','87FDF','07','ZONA ROSA - UBER','C',
 '829-947-3615','87FDF / Uber','','CONSUMO','',
 '','2024-06-03','20:39','',
 '1371.17915625','0','0','246.812248125','0','1618','0',
 '','' ,'' ,'','','',' ',
 '','','','','','Uber',''
)
header registrado
Ultimo ID : 18970
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
formatted : 
countryCode : 433 14 264
city : 
street : 
number : 
floor : 
latLng : Array
comment : 
-------------- Insertar detalle orden -----------
1- K000557 Pizza Grande 1 Ing. + Breadsticks + 1.25 L : 1 * 1606 = 1606
2- 0100183 BASICA 1ING GDE THIN : 1 * 0 = 0
3- 0700050 ING SOLO SALCHICHA GDE : 1 * 0 = 0
4- 0700138 ING SOLO POLLO GDE : 1 * 0 = 0
5- 20748 1.25 LITRO COCA COLA : 1 * 0 = 0
6- 0202021 BREADSTICKS GOLDEN : 1 * 12 = 12

  OK
Retorno : {
			"status":"200",
			"orden":"T251098",
			"email":"1"
		}
Orden registrada. # Orden Json : 251098 / # Orden Web : T251098
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------- J S O N  R E C I B I D O ----------------
{"orden":"B041E","canal":"AG","tipo_fac":"","cod_unidad":"18","nom_unidad":"Megacentro - Uber","email":"","telefono":" 8299473615","nombre":"ANDRES S.","calle":"","sector":"","casa":"","numero":"","comentario1":"","comentario2":"","comentario3":"","comentario4":"","tiponcf":"CONSUMO","rnc":"","razonsocial":"","fecha":"2024-06-03","hora":"20:39","hora_entrega":"2024-06-03T20:55:07-04:00","subtotal":0,"valor_descuento":0,"porciento_descuento":0,"itbis":0,"propina":0,"total":1490,"forma_pago":"","cambio_efectivo":0,"referencia":"Uber","infoComprobante":null,"address":[{"formatted":"","countryCode":"249 71 744","city":"","street":"","number":"","apt":"","floor":"","entrance":"","pobox":"","comment":"","latLng":{"lat":"","lng":""}}],"members":[{"linea":1,"grupolinea":1,"plu":"K000914","descripcion":"Panormous Edge 1 Ing. + 1.25 L","cantidad":1,"precio":1490,"ind_kit":"S","padre":""},{"linea":2,"grupolinea":1,"plu":"0100552","descripcion":"PANORMOUS EDGE BASICA","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000914"},{"linea":3,"grupolinea":1,"plu":"0700048","descripcion":"ING SOLO PEPPERONI MED","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000914"},{"linea":4,"grupolinea":1,"plu":"0700054","descripcion":"ING SOLO JAMON MED","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000914"},{"linea":5,"grupolinea":1,"plu":"20748","descripcion":"1.25 LITRO COCA COLA","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000914"}]}
--------- Configuracion de Impuestos ---------
porc_itbis : 0.18
porc_propina : 0.1
factor_precio : 8.474
Valor descuento : 0
Porciento descuento : 0
Total Orden : 1490
totalporcimpuestos : 1.28
Orden Agregador, se asigno nuevo numero de Orden : 251099
Proximo # De Orden : T251099

-------------- 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,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('251099','T251099','AG','B041E','18','MEGACENTRO - UBER','C',
 '829-947-3615','B041E / Uber','','CONSUMO','',
 '','2024-06-03','20:39','',
 '1262.70515625','0','0','227.286928125','0','1490','0',
 '','' ,'' ,'','','',' ',
 '','','','','','Uber',''
)
header registrado
Ultimo ID : 18971
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
formatted : 
countryCode : 249 71 744
city : 
street : 
number : 
floor : 
latLng : Array
comment : 
-------------- Insertar detalle orden -----------
1- K000914 Panormous Edge 1 Ing. + 1.25 L : 1 * 1490 = 1490
2- 0100552 PANORMOUS EDGE BASICA : 1 * 0 = 0
3- 0700048 ING SOLO PEPPERONI MED : 1 * 0 = 0
4- 0700054 ING SOLO JAMON MED : 1 * 0 = 0
5- 20748 1.25 LITRO COCA COLA : 1 * 0 = 0

  OK
Retorno : {
			"status":"200",
			"orden":"T251099",
			"email":"1"
		}
Orden registrada. # Orden Json : 251099 / # Orden Web : T251099
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------- J S O N  R E C I B I D O ----------------
{"orden":"1192554425","canal":"AG","tipo_fac":"","cod_unidad":"37","nom_unidad":"Puerto Plata - Pedidos Ya","email":"","telefono":"+18093091429","nombre":"Carla Cadet","calle":"","sector":"","casa":"","numero":"","comentario1":"","comentario2":"Medio de pago: VISA","comentario3":"","comentario4":"","tiponcf":"CONSUMO","rnc":"","razonsocial":"","fecha":"2024-06-03","hora":"20:39","hora_entrega":"2024-06-04T01:17:33.000Z","subtotal":950,"valor_descuento":0,"porciento_descuento":0,"itbis":0,"propina":0,"total":950,"forma_pago":"","cambio_efectivo":0,"referencia":"Pedidos Ya","infoComprobante":null,"address":[{"formatted":"","countryCode":"","city":"","street":"","number":"","apt":"","floor":"","entrance":"","pobox":"","comment":"","latLng":{"lat":"","lng":""}}],"members":[{"linea":1,"grupolinea":1,"plu":"K000625","descripcion":"Pizza Mediana 1 Ing.","cantidad":1,"precio":950,"ind_kit":"S","padre":""},{"linea":2,"grupolinea":1,"plu":"0100185","descripcion":" BASICA 1 ING MED PAN","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000625"},{"linea":3,"grupolinea":2,"plu":"0700048","descripcion":" ING SOLO PEPPERONI MED","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000625"},{"linea":4,"grupolinea":3,"plu":"0700054","descripcion":" ING SOLO JAMON MED","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000625"}]}
--------- Configuracion de Impuestos ---------
porc_itbis : 0.18
porc_propina : 0.1
factor_precio : 8.474
Valor descuento : 0
Porciento descuento : 0
Total Orden : 950
totalporcimpuestos : 1.28
Orden Agregador, se asigno nuevo numero de Orden : 251100
Proximo # De Orden : T251100

-------------- 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,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('251100','T251100','AG','554425','37','PUERTO PLATA - PEDIDOS YA','C',
 '809-309-1429','554425 / Pedidos Ya','','CONSUMO','',
 '','2024-06-03','20:39','',
 '805.08046875','0','0','144.914484375','0','950','0',
 '','' ,'' ,'','','',' ',
 '','MEDIO DE PAGO: VISA','','','','Pedidos Ya',''
)
header registrado
Ultimo ID : 18972
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
formatted : 
countryCode : 
city : 
street : 
number : 
floor : 
latLng : Array
comment : 
-------------- Insertar detalle orden -----------
1- K000625 Pizza Mediana 1 Ing. : 1 * 950 = 950
2- 0100185  BASICA 1 ING MED PAN : 1 * 0 = 0
3- 0700048  ING SOLO PEPPERONI MED : 1 * 0 = 0
4- 0700054  ING SOLO JAMON MED : 1 * 0 = 0

  OK
Retorno : {
			"status":"200",
			"orden":"T251100",
			"email":"1"
		}
Orden registrada. # Orden Json : 251100 / # Orden Web : T251100
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------- J S O N  R E C I B I D O ----------------
{"orden":"1192540946","canal":"AG","tipo_fac":"","cod_unidad":"15","nom_unidad":"Arroyo Hondo - Pedidos Ya","email":"","telefono":"+18099051505","nombre":"Maria Varela","calle":"","sector":"","casa":"","numero":"","comentario1":"","comentario2":"Medio de pago: VISA","comentario3":"","comentario4":"","tiponcf":"CONSUMO","rnc":"","razonsocial":"","fecha":"2024-06-03","hora":"20:39","hora_entrega":"2024-06-04T01:08:38.000Z","subtotal":1225,"valor_descuento":0,"porciento_descuento":0,"itbis":0,"propina":0,"total":1225,"forma_pago":"","cambio_efectivo":0,"referencia":"Pedidos Ya","infoComprobante":null,"address":[{"formatted":"","countryCode":"","city":"","street":"","number":"","apt":"","floor":"","entrance":"","pobox":"","comment":"","latLng":{"lat":"","lng":""}}],"members":[{"linea":1,"grupolinea":1,"plu":"K000716","descripcion":"Big New Yorker 1 ing","cantidad":1,"precio":1100,"ind_kit":"S","padre":""},{"linea":2,"grupolinea":1,"plu":"0100292","descripcion":" PIZZA BASICA 1 ING BNY","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000716"},{"linea":3,"grupolinea":2,"plu":"0700047","descripcion":" ING SOLO PEPPERONI GDE","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000716"},{"linea":4,"grupolinea":3,"plu":"0700047","descripcion":" ING SOLO PEPPERONI GDE","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000716"},{"linea":5,"grupolinea":5,"plu":"03064","descripcion":"Coca Cola 16 Onz","cantidad":1,"precio":125,"ind_kit":"N","padre":""}]}
--------- Configuracion de Impuestos ---------
porc_itbis : 0.18
porc_propina : 0.1
factor_precio : 8.474
Valor descuento : 0
Porciento descuento : 0
Total Orden : 1225
totalporcimpuestos : 1.28
Orden Agregador, se asigno nuevo numero de Orden : 251101
Proximo # De Orden : T251101

-------------- 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,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('251101','T251101','AG','540946','15','ARROYO HONDO - PEDIDOS YA','C',
 '809-905-1505','540946 / Pedidos Ya','','CONSUMO','',
 '','2024-06-03','20:39','',
 '1038.130078125','0','0','186.8634140625','0','1225','0',
 '','' ,'' ,'','','',' ',
 '','MEDIO DE PAGO: VISA','','','','Pedidos Ya',''
)
header registrado
Ultimo ID : 18973
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
formatted : 
countryCode : 
city : 
street : 
number : 
floor : 
latLng : Array
comment : 
-------------- Insertar detalle orden -----------
1- K000716 Big New Yorker 1 ing : 1 * 1100 = 1100
2- 0100292  PIZZA BASICA 1 ING BNY : 1 * 0 = 0
3- 0700047  ING SOLO PEPPERONI GDE : 1 * 0 = 0
4- 0700047  ING SOLO PEPPERONI GDE : 1 * 0 = 0
5- 03064 Coca Cola 16 Onz : 1 * 125 = 125

  OK
Retorno : {
			"status":"200",
			"orden":"T251101",
			"email":"1"
		}
Orden registrada. # Orden Json : 251101 / # Orden Web : T251101
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------- J S O N  R E C I B I D O ----------------
{"orden":"69661926","canal":"Wa","tipo_fac":"D","cod_unidad":"10","nom_unidad":"Venezuela","email":"","telefono":" 8292647119","nombre":"Emm","calle":"Calle Pepeyo Ricardo","sector":"","casa":"","numero":"35","comentario1":"","comentario2":"","comentario3":"No","comentario4":"","tiponcf":"CONSUMO","rnc":"","razonsocial":"","fecha":"2024-06-03","hora":"20:40","hora_entrega":"21:11","subtotal":0,"valor_descuento":0,"porciento_descuento":0,"itbis":0,"propina":0,"total":1155,"forma_pago":"EFECTIVO","cambio_efectivo":2000,"referencia":"","infoComprobante":null,"address":[{"formatted":"C. Pepeyo Ricardo 83, Santo Domingo Este 11511, República Dominicana","countryCode":"DO","city":"Santo Domingo Este","street":"Calle Pepeyo Ricardo","number":"35","apt":"","floor":"","entrance":"","pobox":"","comment":"","latLng":{"lat":"18.5003184","lng":"-69.8576485"}}],"members":[{"linea":1,"grupolinea":1,"plu":"K000913","descripcion":"Panormous Edge 1 Ing.","cantidad":1,"precio":1155,"ind_kit":"S","padre":""},{"linea":2,"grupolinea":1,"plu":"0100552","descripcion":"PANORMOUS EDGE BASICA","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000913"},{"linea":3,"grupolinea":1,"plu":"0700054","descripcion":"ING SOLO JAMON MED","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000913"},{"linea":4,"grupolinea":1,"plu":"0700139","descripcion":"ING SOLO POLLO MED","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000913"}]}
--------- Configuracion de Impuestos ---------
porc_itbis : 0.18
porc_propina : 0.1
factor_precio : 8.474
Valor descuento : 0
Porciento descuento : 0
Total Orden : 1155
totalporcimpuestos : 1.28
Proximo # De Orden : T251102

-------------- 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,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('661926','T251102','WA','661926','10','VENEZUELA','D',
 '829-264-7119','EMM','','CONSUMO','',
 '','2024-06-03','20:40','21:11',
 '978.808359375','0','0','176.1855046875','0','1155','2000',
 '','EFECTIVO' ,'18.5003184' ,'-69.8576485','','CALLE PEPEYO RICARDO','35 ',
 '','','','','EFECTIVO','',''
)
header registrado
Ultimo ID : 18974
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
formatted : C. Pepeyo Ricardo 83, Santo Domingo Este 11511, República Dominicana
countryCode : DO
city : Santo Domingo Este
street : Calle Pepeyo Ricardo
number : 35
floor : 
latLng : Array
comment : 
-------------- Insertar detalle orden -----------
1- K000913 Panormous Edge 1 Ing. : 1 * 1155 = 1155
2- 0100552 PANORMOUS EDGE BASICA : 1 * 0 = 0
3- 0700054 ING SOLO JAMON MED : 1 * 0 = 0
4- 0700139 ING SOLO POLLO MED : 1 * 0 = 0

  OK
Retorno : {
			"status":"200",
			"orden":"T251102",
			"email":"1"
		}
Orden registrada. # Orden Json : 661926 / # Orden Web : T251102
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------- J S O N  R E C I B I D O ----------------
{"orden":"69660557","canal":"Wa","tipo_fac":"D","cod_unidad":"15","nom_unidad":"Arroyo Hondo","email":"","telefono":" 8098780990","nombre":"Laura Melissa Rodriguez Reyes","calle":"Calle A","sector":"","casa":"","numero":"93,201","comentario1":"Calle A edificio 93 apartamento 201 La Yuca De los Rios","comentario2":"","comentario3":"No","comentario4":"","tiponcf":"CONSUMO","rnc":"","razonsocial":"","fecha":"2024-06-03","hora":"20:40","hora_entrega":"21:11","subtotal":0,"valor_descuento":0,"porciento_descuento":0,"itbis":0,"propina":0,"total":1547,"forma_pago":"EFECTIVO","cambio_efectivo":0,"referencia":"","infoComprobante":null,"address":[{"formatted":"F2WM+XRG, C. A, Santo Domingo, República Dominicana","countryCode":"DO","city":"Santo Domingo","street":"Calle A","number":"93,201","apt":"","floor":"","entrance":"","pobox":"","comment":"Calle A edificio 93 apartamento 201 La Yuca De los Rios","latLng":{"lat":"18.4974263","lng":"-69.96541169999999"}}],"members":[{"linea":1,"grupolinea":1,"plu":"K000529","descripcion":"Panormous Edge 1 Ing. + Breadsticks + 2 L","cantidad":1,"precio":1535,"ind_kit":"S","padre":""},{"linea":2,"grupolinea":1,"plu":"0100552","descripcion":"PANORMOUS EDGE BASICA","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000529"},{"linea":3,"grupolinea":1,"plu":"0700048","descripcion":"ING SOLO PEPPERONI MED","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000529"},{"linea":4,"grupolinea":1,"plu":"0700051","descripcion":"ING SOLO SALCHICHA MED","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000529"},{"linea":5,"grupolinea":1,"plu":"03060","descripcion":"2 LITRO COCA COLA ZERO","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000529"},{"linea":6,"grupolinea":1,"plu":"0202021","descripcion":"BREADSTICKS GOLDEN","cantidad":1,"precio":12,"ind_kit":"N","padre":"K000529"}]}
--------- Configuracion de Impuestos ---------
porc_itbis : 0.18
porc_propina : 0.1
factor_precio : 8.474
Valor descuento : 0
Porciento descuento : 0
Total Orden : 1547
totalporcimpuestos : 1.28
Proximo # De Orden : T251103

-------------- 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,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('660557','T251103','WA','660557','15','ARROYO HONDO','D',
 '809-878-0990','LAURA MELISSA RODRIGUEZ REYES','','CONSUMO','',
 '','2024-06-03','20:40','21:11',
 '1311.009984375','0','0','235.9817971875','0','1547','0',
 '','EFECTIVO' ,'18.4974263' ,'-69.96541169999999','','CALLE A','93,201 ',
 '','CALLE A EDIFICIO 93 APARTAMENTO 201 LA Y','UCA DE LOS RIOS','','EFECTIVO','',''
)
header registrado
Ultimo ID : 18975
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
formatted : F2WM+XRG, C. A, Santo Domingo, República Dominicana
countryCode : DO
city : Santo Domingo
street : Calle A
number : 93,201
floor : 
latLng : Array
comment : Calle A edificio 93 apartamento 201 La Yuca De los Rios
-------------- Insertar detalle orden -----------
1- K000529 Panormous Edge 1 Ing. + Breadsticks + 2 L : 1 * 1535 = 1535
2- 0100552 PANORMOUS EDGE BASICA : 1 * 0 = 0
3- 0700048 ING SOLO PEPPERONI MED : 1 * 0 = 0
4- 0700051 ING SOLO SALCHICHA MED : 1 * 0 = 0
5- 03060 2 LITRO COCA COLA ZERO : 1 * 0 = 0
6- 0202021 BREADSTICKS GOLDEN : 1 * 12 = 12

  OK
Retorno : {
			"status":"200",
			"orden":"T251103",
			"email":"1"
		}
Orden registrada. # Orden Json : 660557 / # Orden Web : T251103
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------- J S O N  R E C I B I D O ----------------
{"orden":"CACE1","canal":"AG","tipo_fac":"","cod_unidad":"33","nom_unidad":"Fama - Uber","email":"","telefono":" 8299473615","nombre":"Leidy Massel R.","calle":"","sector":"","casa":"","numero":"","comentario1":"","comentario2":"","comentario3":"","comentario4":"","tiponcf":"CONSUMO","rnc":"","razonsocial":"","fecha":"2024-06-03","hora":"20:41","hora_entrega":"2024-06-03T21:00:18-04:00","subtotal":0,"valor_descuento":0,"porciento_descuento":0,"itbis":0,"propina":0,"total":950,"forma_pago":"","cambio_efectivo":0,"referencia":"Uber","infoComprobante":null,"address":[{"formatted":"","countryCode":"555 88 459","city":"","street":"","number":"","apt":"","floor":"","entrance":"","pobox":"","comment":"","latLng":{"lat":"","lng":""}}],"members":[{"linea":1,"grupolinea":1,"plu":"K000625","descripcion":"Pizza Mediana 1 Ing.","cantidad":1,"precio":950,"ind_kit":"S","padre":""},{"linea":2,"grupolinea":1,"plu":"0100185","descripcion":"BASICA 1 ING MED PAN","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000625"},{"linea":3,"grupolinea":1,"plu":"0700139","descripcion":"ING SOLO POLLO MED","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000625"},{"linea":4,"grupolinea":1,"plu":"0700048","descripcion":"ING SOLO PEPPERONI MED","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000625"}]}
--------- Configuracion de Impuestos ---------
porc_itbis : 0.18
porc_propina : 0.1
factor_precio : 8.474
Valor descuento : 0
Porciento descuento : 0
Total Orden : 950
totalporcimpuestos : 1.28
Orden Agregador, se asigno nuevo numero de Orden : 251104
Proximo # De Orden : T251104

-------------- 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,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('251104','T251104','AG','CACE1','33','FAMA - UBER','C',
 '829-947-3615','CACE1 / Uber','','CONSUMO','',
 '','2024-06-03','20:41','',
 '805.08046875','0','0','144.914484375','0','950','0',
 '','' ,'' ,'','','',' ',
 '','','','','','Uber',''
)
header registrado
Ultimo ID : 18976
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
formatted : 
countryCode : 555 88 459
city : 
street : 
number : 
floor : 
latLng : Array
comment : 
-------------- Insertar detalle orden -----------
1- K000625 Pizza Mediana 1 Ing. : 1 * 950 = 950
2- 0100185 BASICA 1 ING MED PAN : 1 * 0 = 0
3- 0700139 ING SOLO POLLO MED : 1 * 0 = 0
4- 0700048 ING SOLO PEPPERONI MED : 1 * 0 = 0

  OK
Retorno : {
			"status":"200",
			"orden":"T251104",
			"email":"1"
		}
Orden registrada. # Orden Json : 251104 / # Orden Web : T251104
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------- J S O N  R E C I B I D O ----------------
{"orden":"69661887","canal":"Wa","tipo_fac":"D","cod_unidad":"36","nom_unidad":"Juan Pablo Duarte","email":"","telefono":" 8297437845","nombre":"Esmerlyn Rodriguez","calle":"Llanos de Gurabo I","sector":"","casa":"","numero":"0","comentario1":"Residencial Don Juan maria 2, edificios A-B, Apartamento B-3","comentario2":"","comentario3":"No","comentario4":"","tiponcf":"CONSUMO","rnc":"","razonsocial":"","fecha":"2024-06-03","hora":"20:42","hora_entrega":"21:13","subtotal":0,"valor_descuento":0,"porciento_descuento":0,"itbis":0,"propina":0,"total":2630,"forma_pago":"EFECTIVO","cambio_efectivo":0,"referencia":"","infoComprobante":null,"address":[{"formatted":"F8CV+X8H, Santiago de los Caballeros 51000, República Dominicana","countryCode":"DO","city":"Santiago de los Caballeros","street":"Llanos de Gurabo I","number":"0","apt":"","floor":"","entrance":"","pobox":"","comment":"Residencial Don Juan maria 2, edificios A-B, Apartamento B-3","latLng":{"lat":"19.4724734","lng":"-70.6565097"}}],"members":[{"linea":1,"grupolinea":1,"plu":"0200014","descripcion":"Palitos a la Toscana","cantidad":1,"precio":350,"ind_kit":"N","padre":""},{"linea":2,"grupolinea":3,"plu":"0100129","descripcion":"Suprema Original Hut Cheese","cantidad":1,"precio":1405,"ind_kit":"N","padre":""},{"linea":3,"grupolinea":5,"plu":"0202022","descripcion":"Buffalo Wings (12 Unid.)","cantidad":1,"precio":875,"ind_kit":"N","padre":""}]}
--------- Configuracion de Impuestos ---------
porc_itbis : 0.18
porc_propina : 0.1
factor_precio : 8.474
Valor descuento : 0
Porciento descuento : 0
Total Orden : 2630
totalporcimpuestos : 1.28
Proximo # De Orden : T251105

-------------- 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,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('661887','T251105','WA','661887','36','JUAN PABLO DUARTE','D',
 '829-743-7845','ESMERLYN RODRIGUEZ','','CONSUMO','',
 '','2024-06-03','20:42','21:13',
 '2228.80171875','0','0','401.184309375','0','2630','0',
 '','EFECTIVO' ,'19.4724734' ,'-70.6565097','','LLANOS DE GURABO I','0 ',
 '','RESIDENCIAL DON JUAN MARIA 2, EDIFICIOS ','A-B, APARTAMENTO B-3','','EFECTIVO','',''
)
header registrado
Ultimo ID : 18977
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
formatted : F8CV+X8H, Santiago de los Caballeros 51000, República Dominicana
countryCode : DO
city : Santiago de los Caballeros
street : Llanos de Gurabo I
number : 0
floor : 
latLng : Array
comment : Residencial Don Juan maria 2, edificios A-B, Apartamento B-3
-------------- Insertar detalle orden -----------
1- 0200014 Palitos a la Toscana : 1 * 350 = 350
2- 0100129 Suprema Original Hut Cheese : 1 * 1405 = 1405
3- 0202022 Buffalo Wings (12 Unid.) : 1 * 875 = 875

  OK
Retorno : {
			"status":"200",
			"orden":"T251105",
			"email":"1"
		}
Orden registrada. # Orden Json : 661887 / # Orden Web : T251105
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------- J S O N  R E C I B I D O ----------------
{"orden":"5FA39","canal":"AG","tipo_fac":"","cod_unidad":"27","nom_unidad":"República de Colombia - Uber","email":"","telefono":" 8299473615","nombre":"Enyer F.","calle":"","sector":"","casa":"","numero":"","comentario1":"","comentario2":"","comentario3":"","comentario4":"","tiponcf":"CONSUMO","rnc":"","razonsocial":"","fecha":"2024-06-03","hora":"20:44","hora_entrega":"2024-06-03T20:58:29-04:00","subtotal":0,"valor_descuento":0,"porciento_descuento":0,"itbis":0,"propina":0,"total":2155,"forma_pago":"","cambio_efectivo":0,"referencia":"Uber","infoComprobante":null,"address":[{"formatted":"","countryCode":"760 43 008","city":"","street":"","number":"","apt":"","floor":"","entrance":"","pobox":"","comment":"","latLng":{"lat":"","lng":""}}],"members":[{"linea":1,"grupolinea":1,"plu":"K000619","descripcion":"Pizza Grande 1 Ing.","cantidad":1,"precio":1145,"ind_kit":"S","padre":""},{"linea":2,"grupolinea":1,"plu":"0100183","descripcion":"BASICA 1ING GDE THIN","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000619"},{"linea":3,"grupolinea":1,"plu":"0700064","descripcion":"ING SOLO TOCINETA GDE","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000619"},{"linea":4,"grupolinea":1,"plu":"0700047","descripcion":"ING SOLO PEPPERONI GDE","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000619"},{"linea":5,"grupolinea":2,"plu":"0202022","descripcion":"Buffalo Wings (12 Unid.)","cantidad":1,"precio":1010,"ind_kit":"N","padre":""}]}
--------- Configuracion de Impuestos ---------
porc_itbis : 0.18
porc_propina : 0.1
factor_precio : 8.474
Valor descuento : 0
Porciento descuento : 0
Total Orden : 2155
totalporcimpuestos : 1.28
Orden Agregador, se asigno nuevo numero de Orden : 251106
Proximo # De Orden : T251106

-------------- 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,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('251106','T251106','AG','5FA39','27','REPUBLICA DE COLOMBIA - UBER','C',
 '829-947-3615','5FA39 / Uber','','CONSUMO','',
 '','2024-06-03','20:44','',
 '1826.261484375','0','0','328.7270671875','0','2155','0',
 '','' ,'' ,'','','',' ',
 '','','','','','Uber',''
)
header registrado
Ultimo ID : 18978
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
formatted : 
countryCode : 760 43 008
city : 
street : 
number : 
floor : 
latLng : Array
comment : 
-------------- Insertar detalle orden -----------
1- K000619 Pizza Grande 1 Ing. : 1 * 1145 = 1145
2- 0100183 BASICA 1ING GDE THIN : 1 * 0 = 0
3- 0700064 ING SOLO TOCINETA GDE : 1 * 0 = 0
4- 0700047 ING SOLO PEPPERONI GDE : 1 * 0 = 0
5- 0202022 Buffalo Wings (12 Unid.) : 1 * 1010 = 1010

  OK
Retorno : {
			"status":"200",
			"orden":"T251106",
			"email":"1"
		}
Orden registrada. # Orden Json : 251106 / # Orden Web : T251106
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------- J S O N  R E C I B I D O ----------------
{"orden":"69662893","canal":"Wa","tipo_fac":"D","cod_unidad":"10","nom_unidad":"Venezuela","email":"","telefono":" 8093302585","nombre":"Dra kilostv","calle":"Calle Presidente Vásquez","sector":"","casa":"","numero":"176","comentario1":"Edificio merlo III\nApartamento A4","comentario2":"información adicional: Calle presidente vasquez 176 esquina julio cesar martinez \nEdificio merlo 3 a4.","comentario3":"No","comentario4":"","tiponcf":"CONSUMO","rnc":"","razonsocial":"","fecha":"2024-06-03","hora":"20:46","hora_entrega":"21:16","subtotal":0,"valor_descuento":0,"porciento_descuento":0,"itbis":0,"propina":0,"total":1295,"forma_pago":"EFECTIVO","cambio_efectivo":0,"referencia":"","infoComprobante":"Fiscal, 130196303, pentafarma","address":[{"formatted":"C. Pdte. Vásquez 176, Santo Domingo Este 11504, República Dominicana","countryCode":"DO","city":"Santo Domingo Este","street":"Calle Presidente Vásquez","number":"176","apt":"","floor":"","entrance":"","pobox":"","comment":"Edificio merlo III\nApartamento A4","latLng":{"lat":"18.4886046","lng":"-69.8588408"}}],"members":[{"linea":1,"grupolinea":1,"plu":"K000914","descripcion":"Panormous Edge 1 Ing. + 1.25 L","cantidad":1,"precio":1295,"ind_kit":"S","padre":""},{"linea":2,"grupolinea":1,"plu":"0100552","descripcion":"PANORMOUS EDGE BASICA","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000914"},{"linea":3,"grupolinea":1,"plu":"0700048","descripcion":"ING SOLO PEPPERONI MED","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000914"},{"linea":4,"grupolinea":1,"plu":"0700065","descripcion":"ING SOLO TOCINETA MED","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000914"},{"linea":5,"grupolinea":1,"plu":"20748","descripcion":"1.25 LITRO COCA COLA","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000914"}]}
--------- Configuracion de Impuestos ---------
porc_itbis : 0.18
porc_propina : 0.1
factor_precio : 8.474
Valor descuento : 0
Porciento descuento : 0
Total Orden : 1295
totalporcimpuestos : 1.28
Proximo # De Orden : T251107

-------------- 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,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('662893','T251107','WA','662893','10','VENEZUELA','D',
 '809-330-2585','DRA KILOSTV','','CONSUMO','',
 '','2024-06-03','20:46','21:16',
 '1097.451796875','0','0','197.5413234375','0','1295','0',
 '','EFECTIVO' ,'18.4886046' ,'-69.8588408','','CALLE PRESIDENTE VASQUEZ','176 ',
 '','CALLE PRESIDENTE VASQUEZ 176 ESQUINA JUL','IO CESAR MARTINEZ EDIFICIO MERLO 3 A4.','','EFECTIVO','','Fiscal, 130196303, pentafarma'
)
header registrado
Ultimo ID : 18979
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
formatted : C. Pdte. Vásquez 176, Santo Domingo Este 11504, República Dominicana
countryCode : DO
city : Santo Domingo Este
street : Calle Presidente Vásquez
number : 176
floor : 
latLng : Array
comment : Edificio merlo III
Apartamento A4
-------------- Insertar detalle orden -----------
1- K000914 Panormous Edge 1 Ing. + 1.25 L : 1 * 1295 = 1295
2- 0100552 PANORMOUS EDGE BASICA : 1 * 0 = 0
3- 0700048 ING SOLO PEPPERONI MED : 1 * 0 = 0
4- 0700065 ING SOLO TOCINETA MED : 1 * 0 = 0
5- 20748 1.25 LITRO COCA COLA : 1 * 0 = 0

  OK
Retorno : {
			"status":"200",
			"orden":"T251107",
			"email":"1"
		}
Orden registrada. # Orden Json : 662893 / # Orden Web : T251107
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------- J S O N  R E C I B I D O ----------------
{"orden":"1192472687","canal":"AG","tipo_fac":"","cod_unidad":"18","nom_unidad":"Mega Centro - Pedidos Ya","email":"","telefono":"+16465834929","nombre":"Ruby Santiago","calle":"","sector":"","casa":"","numero":"","comentario1":"","comentario2":"Medio de pago: Efectivo","comentario3":"","comentario4":"","tiponcf":"CONSUMO","rnc":"","razonsocial":"","fecha":"2024-06-03","hora":"20:46","hora_entrega":"2024-06-04T01:09:47.000Z","subtotal":1885,"valor_descuento":25,"porciento_descuento":0,"itbis":0,"propina":0,"total":1885,"forma_pago":"","cambio_efectivo":0,"referencia":"Pedidos Ya","infoComprobante":null,"address":[{"formatted":"","countryCode":"","city":"","street":"","number":"","apt":"","floor":"","entrance":"","pobox":"","comment":"","latLng":{"lat":"","lng":""}}],"members":[{"linea":1,"grupolinea":1,"plu":"K000914","descripcion":"Panormous Edge 1 Ing. + 1.25 L","cantidad":1,"precio":1515,"ind_kit":"S","padre":""},{"linea":2,"grupolinea":1,"plu":"0100552","descripcion":" PANORMOUS EDGE BASICA","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000914"},{"linea":3,"grupolinea":2,"plu":"0700048","descripcion":" ING SOLO PEPPERONI MED","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000914"},{"linea":4,"grupolinea":3,"plu":"0700139","descripcion":" ING SOLO POLLO MED","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000914"},{"linea":5,"grupolinea":4,"plu":"20748","descripcion":" 1.25 LITRO COCA COLA","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000914"},{"linea":6,"grupolinea":6,"plu":"0200065","descripcion":"Cheesesticks","cantidad":1,"precio":370,"ind_kit":"N","padre":""}]}
--------- Configuracion de Impuestos ---------
porc_itbis : 0.18
porc_propina : 0.1
factor_precio : 8.474
Valor descuento : 25
Porciento descuento : 1
Total Orden : 1885
totalporcimpuestos : 1.28
Orden Agregador, se asigno nuevo numero de Orden : 251108
Proximo # De Orden : T251108

-------------- 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,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('251108','T251108','AG','472687','18','MEGA CENTRO - PEDIDOS YA','C',
 '646-583-4929','472687 / Pedidos Ya','','CONSUMO','',
 '','2024-06-03','20:46','',
 '1597.449140625','25','1','287.5408453125','0','1885','0',
 '','' ,'' ,'','','',' ',
 '','MEDIO DE PAGO: EFECTIVO','','','','Pedidos Ya',''
)
header registrado
Ultimo ID : 18980
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
formatted : 
countryCode : 
city : 
street : 
number : 
floor : 
latLng : Array
comment : 
-------------- Insertar detalle orden -----------
1- K000914 Panormous Edge 1 Ing. + 1.25 L : 1 * 1515 = 1515
2- 0100552  PANORMOUS EDGE BASICA : 1 * 0 = 0
3- 0700048  ING SOLO PEPPERONI MED : 1 * 0 = 0
4- 0700139  ING SOLO POLLO MED : 1 * 0 = 0
5- 20748  1.25 LITRO COCA COLA : 1 * 0 = 0
6- 0200065 Cheesesticks : 1 * 370 = 370

  OK
Retorno : {
			"status":"200",
			"orden":"T251108",
			"email":"1"
		}
Orden registrada. # Orden Json : 251108 / # Orden Web : T251108
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------- J S O N  R E C I B I D O ----------------
{"orden":"1192555510","canal":"AG","tipo_fac":"","cod_unidad":"18","nom_unidad":"Mega Centro - Pedidos Ya","email":"","telefono":"+18295528118","nombre":"Seline Hernandez","calle":"","sector":"","casa":"","numero":"","comentario1":"","comentario2":"Medio de pago: VISA","comentario3":"","comentario4":"","tiponcf":"CONSUMO","rnc":"","razonsocial":"","fecha":"2024-06-03","hora":"20:46","hora_entrega":"2024-06-04T01:36:18.000Z","subtotal":1145,"valor_descuento":0,"porciento_descuento":0,"itbis":0,"propina":0,"total":1145,"forma_pago":"","cambio_efectivo":0,"referencia":"Pedidos Ya","infoComprobante":null,"address":[{"formatted":"","countryCode":"","city":"","street":"","number":"","apt":"","floor":"","entrance":"","pobox":"","comment":"","latLng":{"lat":"","lng":""}}],"members":[{"linea":1,"grupolinea":1,"plu":"K000619","descripcion":"Pizza Grande 1 Ing.","cantidad":1,"precio":1145,"ind_kit":"S","padre":""},{"linea":2,"grupolinea":1,"plu":"0100183","descripcion":" BASICA 1ING GDE THIN","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000619"},{"linea":3,"grupolinea":2,"plu":"0700053","descripcion":" ING SOLO JAMON GDE","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000619"},{"linea":4,"grupolinea":3,"plu":"0700064","descripcion":" ING SOLO TOCINETA GDE","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000619"}]}
--------- Configuracion de Impuestos ---------
porc_itbis : 0.18
porc_propina : 0.1
factor_precio : 8.474
Valor descuento : 0
Porciento descuento : 0
Total Orden : 1145
totalporcimpuestos : 1.28
Orden Agregador, se asigno nuevo numero de Orden : 251109
Proximo # De Orden : T251109

-------------- 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,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('251109','T251109','AG','555510','18','MEGA CENTRO - PEDIDOS YA','C',
 '829-552-8118','555510 / Pedidos Ya','','CONSUMO','',
 '','2024-06-03','20:46','',
 '970.333828125','0','0','174.6600890625','0','1145','0',
 '','' ,'' ,'','','',' ',
 '','MEDIO DE PAGO: VISA','','','','Pedidos Ya',''
)
header registrado
Ultimo ID : 18981
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
formatted : 
countryCode : 
city : 
street : 
number : 
floor : 
latLng : Array
comment : 
-------------- Insertar detalle orden -----------
1- K000619 Pizza Grande 1 Ing. : 1 * 1145 = 1145
2- 0100183  BASICA 1ING GDE THIN : 1 * 0 = 0
3- 0700053  ING SOLO JAMON GDE : 1 * 0 = 0
4- 0700064  ING SOLO TOCINETA GDE : 1 * 0 = 0

  OK
Retorno : {
			"status":"200",
			"orden":"T251109",
			"email":"1"
		}
Orden registrada. # Orden Json : 251109 / # Orden Web : T251109
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------- J S O N  R E C I B I D O ----------------
{"orden":"69662396","canal":"Wa","tipo_fac":"D","cod_unidad":"12","nom_unidad":"Nuñez de Cáceres","email":"","telefono":" 8097292389","nombre":"Jose Ramos","calle":"Calle Font Bernard","sector":"","casa":"","numero":"10","comentario1":"Calle font Bernard 10 Edif princesa 2 apto 2b frente a salud integral . Los prados","comentario2":"","comentario3":"No","comentario4":"","tiponcf":"CONSUMO","rnc":"","razonsocial":"","fecha":"2024-06-03","hora":"20:46","hora_entrega":"21:17","subtotal":0,"valor_descuento":0,"porciento_descuento":0,"itbis":0,"propina":0,"total":975,"forma_pago":"EFECTIVO","cambio_efectivo":0,"referencia":"","infoComprobante":null,"address":[{"formatted":"Calle Font Bernard 10, Santo Domingo, República Dominicana","countryCode":"DO","city":"Santo Domingo","street":"Calle Font Bernard","number":"10","apt":"","floor":"","entrance":"","pobox":"","comment":"Calle font Bernard 10 Edif princesa 2 apto 2b frente a salud integral . Los prados","latLng":{"lat":"18.47330299999999","lng":"-69.959563"}}],"members":[{"linea":1,"grupolinea":1,"plu":"K000716","descripcion":"Big New Yorker 1 ing","cantidad":1,"precio":975,"ind_kit":"S","padre":""},{"linea":2,"grupolinea":1,"plu":"0100292","descripcion":"PIZZA BASICA 1 ING BNY","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000716"},{"linea":3,"grupolinea":1,"plu":"0700047","descripcion":"ING SOLO PEPPERONI GDE","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000716"},{"linea":4,"grupolinea":1,"plu":"0700056","descripcion":"ING SOLO QUESO GDE","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000716"}]}
--------- Configuracion de Impuestos ---------
porc_itbis : 0.18
porc_propina : 0.1
factor_precio : 8.474
Valor descuento : 0
Porciento descuento : 0
Total Orden : 975
totalporcimpuestos : 1.28
Proximo # De Orden : T251110

-------------- 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,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('662396','T251110','WA','662396','12','NUNEZ DE CACERES','D',
 '809-729-2389','JOSE RAMOS','','CONSUMO','',
 '','2024-06-03','20:46','21:17',
 '826.266796875','0','0','148.7280234375','0','975','0',
 '','EFECTIVO' ,'18.47330299999999' ,'-69.959563','','CALLE FONT BERNARD','10 ',
 '','CALLE FONT BERNARD 10 EDIF PRINCESA 2 AP','TO 2B FRENTE A SALUD INTEGRAL . LOS PRAD','OS','EFECTIVO','',''
)
header registrado
Ultimo ID : 18982
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
formatted : Calle Font Bernard 10, Santo Domingo, República Dominicana
countryCode : DO
city : Santo Domingo
street : Calle Font Bernard
number : 10
floor : 
latLng : Array
comment : Calle font Bernard 10 Edif princesa 2 apto 2b frente a salud integral . Los prados
-------------- Insertar detalle orden -----------
1- K000716 Big New Yorker 1 ing : 1 * 975 = 975
2- 0100292 PIZZA BASICA 1 ING BNY : 1 * 0 = 0
3- 0700047 ING SOLO PEPPERONI GDE : 1 * 0 = 0
4- 0700056 ING SOLO QUESO GDE : 1 * 0 = 0

  OK
Retorno : {
			"status":"200",
			"orden":"T251110",
			"email":"1"
		}
Orden registrada. # Orden Json : 662396 / # Orden Web : T251110
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------- J S O N  R E C I B I D O ----------------
{"orden":"1192555728","canal":"AG","tipo_fac":"","cod_unidad":"03","nom_unidad":"Bella Vista - Pedidos Ya","email":"","telefono":"+18292585555","nombre":"George Martin Hazoury","calle":"","sector":"","casa":"","numero":"","comentario1":"","comentario2":"Medio de pago: VISA","comentario3":"","comentario4":"","tiponcf":"CONSUMO","rnc":"","razonsocial":"","fecha":"2024-06-03","hora":"20:47","hora_entrega":"2024-06-04T01:20:39.000Z","subtotal":950,"valor_descuento":0,"porciento_descuento":0,"itbis":0,"propina":0,"total":950,"forma_pago":"","cambio_efectivo":0,"referencia":"Pedidos Ya","infoComprobante":null,"address":[{"formatted":"","countryCode":"","city":"","street":"","number":"","apt":"","floor":"","entrance":"","pobox":"","comment":"","latLng":{"lat":"","lng":""}}],"members":[{"linea":1,"grupolinea":1,"plu":"K000625","descripcion":"Pizza Mediana 1 Ing.","cantidad":1,"precio":950,"ind_kit":"S","padre":""},{"linea":2,"grupolinea":1,"plu":"0100185","descripcion":" BASICA 1 ING MED PAN","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000625"},{"linea":3,"grupolinea":2,"plu":"0700048","descripcion":" ING SOLO PEPPERONI MED","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000625"},{"linea":4,"grupolinea":3,"plu":"0700048","descripcion":" ING SOLO PEPPERONI MED","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000625"}]}
--------- Configuracion de Impuestos ---------
porc_itbis : 0.18
porc_propina : 0.1
factor_precio : 8.474
Valor descuento : 0
Porciento descuento : 0
Total Orden : 950
totalporcimpuestos : 1.28
Orden Agregador, se asigno nuevo numero de Orden : 251111
Proximo # De Orden : T251111

-------------- 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,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('251111','T251111','AG','555728','03','BELLA VISTA - PEDIDOS YA','C',
 '829-258-5555','555728 / Pedidos Ya','','CONSUMO','',
 '','2024-06-03','20:47','',
 '805.08046875','0','0','144.914484375','0','950','0',
 '','' ,'' ,'','','',' ',
 '','MEDIO DE PAGO: VISA','','','','Pedidos Ya',''
)
header registrado
Ultimo ID : 18983
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
formatted : 
countryCode : 
city : 
street : 
number : 
floor : 
latLng : Array
comment : 
-------------- Insertar detalle orden -----------
1- K000625 Pizza Mediana 1 Ing. : 1 * 950 = 950
2- 0100185  BASICA 1 ING MED PAN : 1 * 0 = 0
3- 0700048  ING SOLO PEPPERONI MED : 1 * 0 = 0
4- 0700048  ING SOLO PEPPERONI MED : 1 * 0 = 0

  OK
Retorno : {
			"status":"200",
			"orden":"T251111",
			"email":"1"
		}
Orden registrada. # Orden Json : 251111 / # Orden Web : T251111
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------- J S O N  R E C I B I D O ----------------
{"orden":"1321F","canal":"AG","tipo_fac":"","cod_unidad":"18","nom_unidad":"Megacentro - Uber","email":"","telefono":" 8299473615","nombre":"necker R.","calle":"","sector":"","casa":"","numero":"","comentario1":"","comentario2":"","comentario3":"","comentario4":"","tiponcf":"CONSUMO","rnc":"","razonsocial":"","fecha":"2024-06-03","hora":"20:47","hora_entrega":"2024-06-03T21:04:58-04:00","subtotal":0,"valor_descuento":0,"porciento_descuento":0,"itbis":0,"propina":0,"total":1690,"forma_pago":"","cambio_efectivo":0,"referencia":"Uber","infoComprobante":null,"address":[{"formatted":"","countryCode":"649 80 968","city":"","street":"","number":"","apt":"","floor":"","entrance":"","pobox":"","comment":"","latLng":{"lat":"","lng":""}}],"members":[{"linea":1,"grupolinea":1,"plu":"K000603","descripcion":"Hut Cheese 1 Ing. + Breadsticks + 1.25 L","cantidad":1,"precio":1690,"ind_kit":"S","padre":""},{"linea":2,"grupolinea":1,"plu":"0100184","descripcion":"BASICA 1ING HUT CHEESE","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000603"},{"linea":3,"grupolinea":1,"plu":"0700176","descripcion":"ING SOLO POLLO HUTCHEESE","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000603"},{"linea":4,"grupolinea":1,"plu":"0700178","descripcion":"ING SOLO TOCINETA HUTCHEE","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000603"},{"linea":5,"grupolinea":1,"plu":"20748","descripcion":"1.25 LITRO COCA COLA","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000603"},{"linea":6,"grupolinea":1,"plu":"0200007","descripcion":"BREADSTICKS","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000603"}]}
--------- Configuracion de Impuestos ---------
porc_itbis : 0.18
porc_propina : 0.1
factor_precio : 8.474
Valor descuento : 0
Porciento descuento : 0
Total Orden : 1690
totalporcimpuestos : 1.28
Orden Agregador, se asigno nuevo numero de Orden : 251112
Proximo # De Orden : T251112

-------------- 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,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('251112','T251112','AG','1321F','18','MEGACENTRO - UBER','C',
 '829-947-3615','1321F / Uber','','CONSUMO','',
 '','2024-06-03','20:47','',
 '1432.19578125','0','0','257.795240625','0','1690','0',
 '','' ,'' ,'','','',' ',
 '','','','','','Uber',''
)
header registrado
Ultimo ID : 18984
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
formatted : 
countryCode : 649 80 968
city : 
street : 
number : 
floor : 
latLng : Array
comment : 
-------------- Insertar detalle orden -----------
1- K000603 Hut Cheese 1 Ing. + Breadsticks + 1.25 L : 1 * 1690 = 1690
2- 0100184 BASICA 1ING HUT CHEESE : 1 * 0 = 0
3- 0700176 ING SOLO POLLO HUTCHEESE : 1 * 0 = 0
4- 0700178 ING SOLO TOCINETA HUTCHEE : 1 * 0 = 0
5- 20748 1.25 LITRO COCA COLA : 1 * 0 = 0
6- 0200007 BREADSTICKS : 1 * 0 = 0

  OK
Retorno : {
			"status":"200",
			"orden":"T251112",
			"email":"1"
		}
Orden registrada. # Orden Json : 251112 / # Orden Web : T251112
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------- J S O N  R E C I B I D O ----------------
{"orden":"24FB4","canal":"AG","tipo_fac":"","cod_unidad":"33","nom_unidad":"Fama - Uber","email":"","telefono":" 8299473615","nombre":"Lary F.","calle":"","sector":"","casa":"","numero":"","comentario1":"","comentario2":"","comentario3":"","comentario4":"","tiponcf":"CONSUMO","rnc":"","razonsocial":"","fecha":"2024-06-03","hora":"20:48","hora_entrega":"2024-06-03T21:09:52-04:00","subtotal":0,"valor_descuento":0,"porciento_descuento":0,"itbis":0,"propina":0,"total":1335,"forma_pago":"","cambio_efectivo":0,"referencia":"Uber","infoComprobante":null,"address":[{"formatted":"","countryCode":"032 91 079","city":"","street":"","number":"","apt":"","floor":"","entrance":"","pobox":"","comment":"","latLng":{"lat":"","lng":""}}],"members":[{"linea":1,"grupolinea":1,"plu":"K000913","descripcion":"Panormous Edge 1 Ing.","cantidad":1,"precio":1335,"ind_kit":"S","padre":""},{"linea":2,"grupolinea":1,"plu":"0100552","descripcion":"PANORMOUS EDGE BASICA","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000913"},{"linea":3,"grupolinea":1,"plu":"0700065","descripcion":"ING SOLO TOCINETA MED","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000913"},{"linea":4,"grupolinea":1,"plu":"0700139","descripcion":"ING SOLO POLLO MED","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000913"}]}
--------- Configuracion de Impuestos ---------
porc_itbis : 0.18
porc_propina : 0.1
factor_precio : 8.474
Valor descuento : 0
Porciento descuento : 0
Total Orden : 1335
totalporcimpuestos : 1.28
Orden Agregador, se asigno nuevo numero de Orden : 251113
Proximo # De Orden : T251113

-------------- 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,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('251113','T251113','AG','24FB4','33','FAMA - UBER','C',
 '829-947-3615','24FB4 / Uber','','CONSUMO','',
 '','2024-06-03','20:48','',
 '1131.349921875','0','0','203.6429859375','0','1335','0',
 '','' ,'' ,'','','',' ',
 '','','','','','Uber',''
)
header registrado
Ultimo ID : 18985
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
formatted : 
countryCode : 032 91 079
city : 
street : 
number : 
floor : 
latLng : Array
comment : 
-------------- Insertar detalle orden -----------
1- K000913 Panormous Edge 1 Ing. : 1 * 1335 = 1335
2- 0100552 PANORMOUS EDGE BASICA : 1 * 0 = 0
3- 0700065 ING SOLO TOCINETA MED : 1 * 0 = 0
4- 0700139 ING SOLO POLLO MED : 1 * 0 = 0

  OK
Retorno : {
			"status":"200",
			"orden":"T251113",
			"email":"1"
		}
Orden registrada. # Orden Json : 251113 / # Orden Web : T251113
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------- J S O N  R E C I B I D O ----------------
{"orden":"1192539022","canal":"AG","tipo_fac":"","cod_unidad":"28","nom_unidad":"La Romana - Pedidos Ya","email":"","telefono":"+18297894880","nombre":"Mayelin Alberto","calle":"","sector":"","casa":"","numero":"","comentario1":"","comentario2":"Medio de pago: Efectivo","comentario3":"","comentario4":"","tiponcf":"CONSUMO","rnc":"","razonsocial":"","fecha":"2024-06-03","hora":"20:48","hora_entrega":"2024-06-04T01:17:35.000Z","subtotal":3095,"valor_descuento":55,"porciento_descuento":0,"itbis":0,"propina":0,"total":3095,"forma_pago":"","cambio_efectivo":0,"referencia":"Pedidos Ya","infoComprobante":null,"address":[{"formatted":"","countryCode":"","city":"","street":"","number":"","apt":"","floor":"","entrance":"","pobox":"","comment":"","latLng":{"lat":"","lng":""}}],"members":[{"linea":1,"grupolinea":1,"plu":"K000603","descripcion":"Hut Cheese 1 Ing. + Breadsticks + 1.25 L","cantidad":1,"precio":1745,"ind_kit":"S","padre":""},{"linea":2,"grupolinea":1,"plu":"0100184","descripcion":" BASICA 1ING HUT CHEESE","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000603"},{"linea":3,"grupolinea":2,"plu":"0700173","descripcion":" ING SOLO PEPPERONI HUTC","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000603"},{"linea":4,"grupolinea":3,"plu":"0700168","descripcion":" ING SOLO CERDO HUTCHEESE","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000603"},{"linea":5,"grupolinea":4,"plu":"20748","descripcion":" 1.25 LITRO COCA COLA","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000603"},{"linea":6,"grupolinea":5,"plu":"0200007","descripcion":" BREADSTICKS","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000603"},{"linea":7,"grupolinea":6,"plu":"0100138","descripcion":"Super Suprema  Mediana Pan","cantidad":1,"precio":1350,"ind_kit":"N","padre":""}]}
--------- Configuracion de Impuestos ---------
porc_itbis : 0.18
porc_propina : 0.1
factor_precio : 8.474
Valor descuento : 55
Porciento descuento : 2
Total Orden : 3095
totalporcimpuestos : 1.28
Orden Agregador, se asigno nuevo numero de Orden : 251114
Proximo # De Orden : T251114

-------------- 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,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('251114','T251114','AG','539022','28','LA ROMANA - PEDIDOS YA','C',
 '829-789-4880','539022 / Pedidos Ya','','CONSUMO','',
 '','2024-06-03','20:48','',
 '2622.867421875','55','2','472.1161359375','0','3095','0',
 '','' ,'' ,'','','',' ',
 '','MEDIO DE PAGO: EFECTIVO','','','','Pedidos Ya',''
)
header registrado
Ultimo ID : 18986
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
formatted : 
countryCode : 
city : 
street : 
number : 
floor : 
latLng : Array
comment : 
-------------- Insertar detalle orden -----------
1- K000603 Hut Cheese 1 Ing. + Breadsticks + 1.25 L : 1 * 1745 = 1745
2- 0100184  BASICA 1ING HUT CHEESE : 1 * 0 = 0
3- 0700173  ING SOLO PEPPERONI HUTC : 1 * 0 = 0
4- 0700168  ING SOLO CERDO HUTCHEESE : 1 * 0 = 0
5- 20748  1.25 LITRO COCA COLA : 1 * 0 = 0
6- 0200007  BREADSTICKS : 1 * 0 = 0
7- 0100138 Super Suprema  Mediana Pan : 1 * 1350 = 1350

  OK
Retorno : {
			"status":"200",
			"orden":"T251114",
			"email":"1"
		}
Orden registrada. # Orden Json : 251114 / # Orden Web : T251114
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------- J S O N  R E C I B I D O ----------------
{"orden":"69662298","canal":"Wa","tipo_fac":"D","cod_unidad":"39","nom_unidad":"Higuey - Tictuk","email":"","telefono":" 8097521543","nombre":"Anslee Nu ez","calle":"Higüey","sector":"","casa":"","numero":"8","comentario1":"Al lado de la farmacia Bella vista, apartamento #8 lanço con una pared verde al frente","comentario2":"","comentario3":"No","comentario4":"","tiponcf":"CONSUMO","rnc":"","razonsocial":"","fecha":"2024-06-03","hora":"20:49","hora_entrega":"21:20","subtotal":0,"valor_descuento":0,"porciento_descuento":0,"itbis":0,"propina":0,"total":620,"forma_pago":"EFECTIVO","cambio_efectivo":0,"referencia":"","infoComprobante":null,"address":[{"formatted":"J79G+XVH, Higüey 23000, República Dominicana","countryCode":"DO","city":"Higüey","street":"Higüey","number":"8","apt":"","floor":"","entrance":"","pobox":"","comment":"Al lado de la farmacia Bella vista, apartamento #8 lanço con una pared verde al frente","latLng":{"lat":"18.6199537","lng":"-68.7227401"}}],"members":[{"linea":1,"grupolinea":1,"plu":"03064","descripcion":"Coca Cola 16 Onz","cantidad":1,"precio":110,"ind_kit":"N","padre":""},{"linea":2,"grupolinea":3,"plu":"K000627","descripcion":"Pizza Pequeña 1 Ing.","cantidad":1,"precio":510,"ind_kit":"S","padre":""},{"linea":3,"grupolinea":3,"plu":"0100187","descripcion":"BASICA 1 ING PEQ PAN","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000627"},{"linea":4,"grupolinea":3,"plu":"0700140","descripcion":"ING SOLO POLLO  PEQ","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000627"},{"linea":5,"grupolinea":3,"plu":"0700046","descripcion":"ING SOLO QUESO PEQ","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000627"}]}
--------- Configuracion de Impuestos ---------
porc_itbis : 0.18
porc_propina : 0.1
factor_precio : 8.474
Valor descuento : 0
Porciento descuento : 0
Total Orden : 620
totalporcimpuestos : 1.28
Proximo # De Orden : T251115

-------------- 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,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('662298','T251115','WA','662298','39','HIGUEY - TICTUK','D',
 '809-752-1543','ANSLEE NU EZ','','CONSUMO','',
 '','2024-06-03','20:49','21:20',
 '525.4209375','0','0','94.57576875','0','620','0',
 '','EFECTIVO' ,'18.6199537' ,'-68.7227401','','HIGUEY','8 ',
 '','AL LADO DE LA FARMACIA BELLA VISTA, APAR','TAMENTO #8 LANcO CON UNA PARED VERDE AL ','FRENTE','EFECTIVO','',''
)
header registrado
Ultimo ID : 18987
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
formatted : J79G+XVH, Higüey 23000, República Dominicana
countryCode : DO
city : Higüey
street : Higüey
number : 8
floor : 
latLng : Array
comment : Al lado de la farmacia Bella vista, apartamento #8 lanço con una pared verde al frente
-------------- Insertar detalle orden -----------
1- 03064 Coca Cola 16 Onz : 1 * 110 = 110
2- K000627 Pizza Pequeña 1 Ing. : 1 * 510 = 510
3- 0100187 BASICA 1 ING PEQ PAN : 1 * 0 = 0
4- 0700140 ING SOLO POLLO  PEQ : 1 * 0 = 0
5- 0700046 ING SOLO QUESO PEQ : 1 * 0 = 0

  OK
Retorno : {
			"status":"200",
			"orden":"T251115",
			"email":"1"
		}
Orden registrada. # Orden Json : 662298 / # Orden Web : T251115
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------- J S O N  R E C I B I D O ----------------
{"orden":"FF7CD","canal":"AG","tipo_fac":"","cod_unidad":"30","nom_unidad":"Lope De Vega - Uber","email":"","telefono":" 8299473615","nombre":"Michelle V.","calle":"","sector":"","casa":"","numero":"","comentario1":"","comentario2":"","comentario3":"","comentario4":"","tiponcf":"CONSUMO","rnc":"","razonsocial":"","fecha":"2024-06-03","hora":"20:50","hora_entrega":"2024-06-03T21:04:25-04:00","subtotal":0,"valor_descuento":0,"porciento_descuento":0,"itbis":0,"propina":0,"total":1702,"forma_pago":"","cambio_efectivo":0,"referencia":"Uber","infoComprobante":null,"address":[{"formatted":"","countryCode":"136 56 394","city":"","street":"","number":"","apt":"","floor":"","entrance":"","pobox":"","comment":"","latLng":{"lat":"","lng":""}}],"members":[{"linea":1,"grupolinea":1,"plu":"K000603","descripcion":"Hut Cheese 1 Ing. + Breadsticks + 1.25 L","cantidad":1,"precio":1690,"ind_kit":"S","padre":""},{"linea":2,"grupolinea":1,"plu":"0100184","descripcion":"BASICA 1ING HUT CHEESE","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000603"},{"linea":3,"grupolinea":1,"plu":"0700171","descripcion":"ING SOLO JAMON HUTCHEESE","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000603"},{"linea":4,"grupolinea":1,"plu":"0700176","descripcion":"ING SOLO POLLO HUTCHEESE","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000603"},{"linea":5,"grupolinea":1,"plu":"20748","descripcion":"1.25 LITRO COCA COLA","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000603"},{"linea":6,"grupolinea":1,"plu":"0202021","descripcion":"BREADSTICKS GOLDEN","cantidad":1,"precio":12,"ind_kit":"N","padre":"K000603"}]}
--------- Configuracion de Impuestos ---------
porc_itbis : 0.18
porc_propina : 0.1
factor_precio : 8.474
Valor descuento : 0
Porciento descuento : 0
Total Orden : 1702
totalporcimpuestos : 1.28
Orden Agregador, se asigno nuevo numero de Orden : 251116
Proximo # De Orden : T251116

-------------- 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,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('251116','T251116','AG','FF7CD','30','LOPE DE VEGA - UBER','C',
 '829-947-3615','FF7CD / Uber','','CONSUMO','',
 '','2024-06-03','20:50','',
 '1442.36521875','0','0','259.625739375','0','1702','0',
 '','' ,'' ,'','','',' ',
 '','','','','','Uber',''
)
header registrado
Ultimo ID : 18988
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
formatted : 
countryCode : 136 56 394
city : 
street : 
number : 
floor : 
latLng : Array
comment : 
-------------- Insertar detalle orden -----------
1- K000603 Hut Cheese 1 Ing. + Breadsticks + 1.25 L : 1 * 1690 = 1690
2- 0100184 BASICA 1ING HUT CHEESE : 1 * 0 = 0
3- 0700171 ING SOLO JAMON HUTCHEESE : 1 * 0 = 0
4- 0700176 ING SOLO POLLO HUTCHEESE : 1 * 0 = 0
5- 20748 1.25 LITRO COCA COLA : 1 * 0 = 0
6- 0202021 BREADSTICKS GOLDEN : 1 * 12 = 12

  OK
Retorno : {
			"status":"200",
			"orden":"T251116",
			"email":"1"
		}
Orden registrada. # Orden Json : 251116 / # Orden Web : T251116
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------- J S O N  R E C I B I D O ----------------
{"orden":"B1334","canal":"AG","tipo_fac":"","cod_unidad":"33","nom_unidad":"Fama - Uber","email":"","telefono":" 8299473615","nombre":"lewis O.","calle":"","sector":"","casa":"","numero":"","comentario1":"","comentario2":"","comentario3":"","comentario4":"","tiponcf":"CONSUMO","rnc":"","razonsocial":"","fecha":"2024-06-03","hora":"20:50","hora_entrega":"2024-06-03T21:12:21-04:00","subtotal":0,"valor_descuento":0,"porciento_descuento":0,"itbis":0,"propina":0,"total":1185,"forma_pago":"","cambio_efectivo":0,"referencia":"Uber","infoComprobante":null,"address":[{"formatted":"","countryCode":"631 91 121","city":"","street":"","number":"","apt":"","floor":"","entrance":"","pobox":"","comment":"","latLng":{"lat":"","lng":""}}],"members":[{"linea":1,"grupolinea":1,"plu":"0100120","descripcion":"Suprema Original Mediana Pan","cantidad":1,"precio":1185,"ind_kit":"N","padre":""}]}
--------- Configuracion de Impuestos ---------
porc_itbis : 0.18
porc_propina : 0.1
factor_precio : 8.474
Valor descuento : 0
Porciento descuento : 0
Total Orden : 1185
totalporcimpuestos : 1.28
Orden Agregador, se asigno nuevo numero de Orden : 251117
Proximo # De Orden : T251117

-------------- 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,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('251117','T251117','AG','B1334','33','FAMA - UBER','C',
 '829-947-3615','B1334 / Uber','','CONSUMO','',
 '','2024-06-03','20:50','',
 '1004.231953125','0','0','180.7617515625','0','1185','0',
 '','' ,'' ,'','','',' ',
 '','','','','','Uber',''
)
header registrado
Ultimo ID : 18991
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
formatted : 
countryCode : 631 91 121
city : 
street : 
number : 
floor : 
latLng : Array
comment : 
-------------- Insertar detalle orden -----------
1- 0100120 Suprema Original Mediana Pan : 1 * 1185 = 1185

  OK
Retorno : {
			"status":"200",
			"orden":"T251117",
			"email":"1"
		}
Orden registrada. # Orden Json : 251117 / # Orden Web : T251117
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------- J S O N  R E C I B I D O ----------------
{"orden":"69663842","canal":"Wa","tipo_fac":"D","cod_unidad":"01","nom_unidad":"Unicentro","email":"","telefono":" 8496265280","nombre":"Mayt  Molina","calle":"Santo Domingo","sector":"","casa":"","numero":"0","comentario1":"Residencial Plaza Santo Domingo, Bloque A, apt 401! \n\nEntre Lincoln y Churchill, Frente al canal 7","comentario2":"","comentario3":"No","comentario4":"","tiponcf":"CONSUMO","rnc":"","razonsocial":"","fecha":"2024-06-03","hora":"20:53","hora_entrega":"21:24","subtotal":0,"valor_descuento":0,"porciento_descuento":0,"itbis":0,"propina":0,"total":1155,"forma_pago":"EFECTIVO","cambio_efectivo":0,"referencia":"","infoComprobante":null,"address":[{"formatted":"F33F+2VV, Santo Domingo 10102, República Dominicana","countryCode":"DO","city":"Santo Domingo","street":"Santo Domingo","number":"0","apt":"","floor":"","entrance":"","pobox":"","comment":"Residencial Plaza Santo Domingo, Bloque A, apt 401! \n\nEntre Lincoln y Churchill, Frente al canal 7","latLng":{"lat":"18.4526866","lng":"-69.92532589999999"}}],"members":[{"linea":1,"grupolinea":1,"plu":"K000913","descripcion":"Panormous Edge 1 Ing.","cantidad":1,"precio":1155,"ind_kit":"S","padre":""},{"linea":2,"grupolinea":1,"plu":"0100552","descripcion":"PANORMOUS EDGE BASICA","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000913"},{"linea":3,"grupolinea":1,"plu":"0700057","descripcion":"ING SOLO QUESO MED","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000913"},{"linea":4,"grupolinea":1,"plu":"0700048","descripcion":"ING SOLO PEPPERONI MED","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000913"}]}
--------- Configuracion de Impuestos ---------
porc_itbis : 0.18
porc_propina : 0.1
factor_precio : 8.474
Valor descuento : 0
Porciento descuento : 0
Total Orden : 1155
totalporcimpuestos : 1.28
Proximo # De Orden : T251118

-------------- 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,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('663842','T251118','WA','663842','01','UNICENTRO','D',
 '849-626-5280','MAYT  MOLINA','','CONSUMO','',
 '','2024-06-03','20:53','21:24',
 '978.808359375','0','0','176.1855046875','0','1155','0',
 '','EFECTIVO' ,'18.4526866' ,'-69.92532589999999','','SANTO DOMINGO','0 ',
 '','RESIDENCIAL PLAZA SANTO DOMINGO, BLOQUE ','A, APT 401! ENTRE LINCOLN Y CHURCHILL, F','RENTE AL CANAL 7','EFECTIVO','',''
)
header registrado
Ultimo ID : 18992
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
formatted : F33F+2VV, Santo Domingo 10102, República Dominicana
countryCode : DO
city : Santo Domingo
street : Santo Domingo
number : 0
floor : 
latLng : Array
comment : Residencial Plaza Santo Domingo, Bloque A, apt 401! 

Entre Lincoln y Churchill, Frente al canal 7
-------------- Insertar detalle orden -----------
1- K000913 Panormous Edge 1 Ing. : 1 * 1155 = 1155
2- 0100552 PANORMOUS EDGE BASICA : 1 * 0 = 0
3- 0700057 ING SOLO QUESO MED : 1 * 0 = 0
4- 0700048 ING SOLO PEPPERONI MED : 1 * 0 = 0

  OK
Retorno : {
			"status":"200",
			"orden":"T251118",
			"email":"1"
		}
Orden registrada. # Orden Json : 663842 / # Orden Web : T251118
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------- J S O N  R E C I B I D O ----------------
{"orden":"69663517","canal":"Wa","tipo_fac":"D","cod_unidad":"08","nom_unidad":"Máximo Gómez","email":"","telefono":" 8294963316","nombre":"Sahirubi Genao","calle":"Calle Doctor Tejada Florentino","sector":"","casa":"","numero":"5","comentario1":"Apartamento 301 C - calle doctor Tejada Florentino florentino no. 5","comentario2":"","comentario3":"No","comentario4":"Favor llamar debajo para abrir el portón y el delivery pueda subir","tiponcf":"CONSUMO","rnc":"","razonsocial":"","fecha":"2024-06-03","hora":"20:53","hora_entrega":"21:24","subtotal":0,"valor_descuento":0,"porciento_descuento":0,"itbis":0,"propina":0,"total":995,"forma_pago":"EFECTIVO","cambio_efectivo":0,"referencia":"","infoComprobante":null,"address":[{"formatted":"C. Dr. Tejada Florentino 5, Santo Domingo 10309, República Dominicana","countryCode":"DO","city":"Santo Domingo","street":"Calle Doctor Tejada Florentino","number":"5","apt":"","floor":"","entrance":"","pobox":"","comment":"Apartamento 301 C - calle doctor Tejada Florentino florentino no. 5","latLng":{"lat":"18.4819676","lng":"-69.90215859999999"}}],"members":[{"linea":1,"grupolinea":1,"plu":"K000619","descripcion":"Pizza Grande 1 Ing.","cantidad":1,"precio":995,"ind_kit":"S","padre":""},{"linea":2,"grupolinea":1,"plu":"0100182","descripcion":"BASICA 1 ING GDE PAN","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000619"},{"linea":3,"grupolinea":1,"plu":"0700047","descripcion":"ING SOLO PEPPERONI GDE","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000619"},{"linea":4,"grupolinea":1,"plu":"0700053","descripcion":"ING SOLO JAMON GDE","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000619"}]}
--------- Configuracion de Impuestos ---------
porc_itbis : 0.18
porc_propina : 0.1
factor_precio : 8.474
Valor descuento : 0
Porciento descuento : 0
Total Orden : 995
totalporcimpuestos : 1.28
Proximo # De Orden : T251119

-------------- 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,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('663517','T251119','WA','663517','08','MAXIMO GOMEZ','D',
 '829-496-3316','SAHIRUBI GENAO','','CONSUMO','',
 '','2024-06-03','20:53','21:24',
 '843.215859375','0','0','151.7788546875','0','995','0',
 '','EFECTIVO' ,'18.4819676' ,'-69.90215859999999','','CALLE DOCTOR TEJADA FLORENTINO','5 ',
 '','APARTAMENTO 301 C - CALLE DOCTOR TEJADA ','FLORENTINO FLORENTINO NO. 5','','EFECTIVO','',''
)
header registrado
Ultimo ID : 18993
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
formatted : C. Dr. Tejada Florentino 5, Santo Domingo 10309, República Dominicana
countryCode : DO
city : Santo Domingo
street : Calle Doctor Tejada Florentino
number : 5
floor : 
latLng : Array
comment : Apartamento 301 C - calle doctor Tejada Florentino florentino no. 5
-------------- Insertar detalle orden -----------
1- K000619 Pizza Grande 1 Ing. : 1 * 995 = 995
2- 0100182 BASICA 1 ING GDE PAN : 1 * 0 = 0
3- 0700047 ING SOLO PEPPERONI GDE : 1 * 0 = 0
4- 0700053 ING SOLO JAMON GDE : 1 * 0 = 0

  OK
Retorno : {
			"status":"200",
			"orden":"T251119",
			"email":"1"
		}
Orden registrada. # Orden Json : 663517 / # Orden Web : T251119
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------- J S O N  R E C I B I D O ----------------
{"orden":"B4138","canal":"AG","tipo_fac":"","cod_unidad":"38","nom_unidad":"Colina Center - Uber","email":"","telefono":" 8299473615","nombre":"Dady N.","calle":"","sector":"","casa":"","numero":"","comentario1":"","comentario2":"","comentario3":"","comentario4":"","tiponcf":"CONSUMO","rnc":"","razonsocial":"","fecha":"2024-06-03","hora":"20:53","hora_entrega":"2024-06-03T21:16:46-04:00","subtotal":0,"valor_descuento":0,"porciento_descuento":0,"itbis":0,"propina":0,"total":950,"forma_pago":"","cambio_efectivo":0,"referencia":"Uber","infoComprobante":null,"address":[{"formatted":"","countryCode":"880 71 796","city":"","street":"","number":"","apt":"","floor":"","entrance":"","pobox":"","comment":"","latLng":{"lat":"","lng":""}}],"members":[{"linea":1,"grupolinea":1,"plu":"K000625","descripcion":"Pizza Mediana 1 Ing.","cantidad":1,"precio":950,"ind_kit":"S","padre":""},{"linea":2,"grupolinea":1,"plu":"0100185","descripcion":"BASICA 1 ING MED PAN","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000625"},{"linea":3,"grupolinea":1,"plu":"0700059","descripcion":"ING SOLO RES MED","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000625"},{"linea":4,"grupolinea":1,"plu":"0700048","descripcion":"ING SOLO PEPPERONI MED","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000625"}]}
--------- Configuracion de Impuestos ---------
porc_itbis : 0.18
porc_propina : 0.1
factor_precio : 8.474
Valor descuento : 0
Porciento descuento : 0
Total Orden : 950
totalporcimpuestos : 1.28
Orden Agregador, se asigno nuevo numero de Orden : 251120
Proximo # De Orden : T251120

-------------- 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,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('251120','T251120','AG','B4138','38','COLINA CENTER - UBER','C',
 '829-947-3615','B4138 / Uber','','CONSUMO','',
 '','2024-06-03','20:53','',
 '805.08046875','0','0','144.914484375','0','950','0',
 '','' ,'' ,'','','',' ',
 '','','','','','Uber',''
)
header registrado
Ultimo ID : 18994
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
formatted : 
countryCode : 880 71 796
city : 
street : 
number : 
floor : 
latLng : Array
comment : 
-------------- Insertar detalle orden -----------
1- K000625 Pizza Mediana 1 Ing. : 1 * 950 = 950
2- 0100185 BASICA 1 ING MED PAN : 1 * 0 = 0
3- 0700059 ING SOLO RES MED : 1 * 0 = 0
4- 0700048 ING SOLO PEPPERONI MED : 1 * 0 = 0

  OK
Retorno : {
			"status":"200",
			"orden":"T251120",
			"email":"1"
		}
Orden registrada. # Orden Json : 251120 / # Orden Web : T251120
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------- J S O N  R E C I B I D O ----------------
{"orden":"1192538683","canal":"AG","tipo_fac":"","cod_unidad":"28","nom_unidad":"La Romana - Pedidos Ya","email":"","telefono":"+18097592337","nombre":"Danáños Perez","calle":"","sector":"","casa":"","numero":"","comentario1":"","comentario2":"Medio de pago: Efectivo","comentario3":"","comentario4":"","tiponcf":"CONSUMO","rnc":"","razonsocial":"","fecha":"2024-06-03","hora":"20:54","hora_entrega":"2024-06-04T01:13:41.000Z","subtotal":1745,"valor_descuento":55,"porciento_descuento":0,"itbis":0,"propina":0,"total":1745,"forma_pago":"","cambio_efectivo":0,"referencia":"Pedidos Ya","infoComprobante":null,"address":[{"formatted":"","countryCode":"","city":"","street":"","number":"","apt":"","floor":"","entrance":"","pobox":"","comment":"","latLng":{"lat":"","lng":""}}],"members":[{"linea":1,"grupolinea":1,"plu":"K000603","descripcion":"Hut Cheese 1 Ing. + Breadsticks + 1.25 L","cantidad":1,"precio":1745,"ind_kit":"S","padre":""},{"linea":2,"grupolinea":1,"plu":"0100184","descripcion":" BASICA 1ING HUT CHEESE","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000603"},{"linea":3,"grupolinea":2,"plu":"0700180","descripcion":" ING QUESO  HUTCHEESE","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000603"},{"linea":4,"grupolinea":3,"plu":"0700173","descripcion":" ING SOLO PEPPERONI HUTC","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000603"},{"linea":5,"grupolinea":4,"plu":"20748","descripcion":" 1.25 LITRO COCA COLA","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000603"},{"linea":6,"grupolinea":5,"plu":"0200007","descripcion":" BREADSTICKS","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000603"}]}
--------- Configuracion de Impuestos ---------
porc_itbis : 0.18
porc_propina : 0.1
factor_precio : 8.474
Valor descuento : 55
Porciento descuento : 3
Total Orden : 1745
totalporcimpuestos : 1.28
Orden Agregador, se asigno nuevo numero de Orden : 251121
Proximo # De Orden : T251121

-------------- 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,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('251121','T251121','AG','538683','28','LA ROMANA - PEDIDOS YA','C',
 '809-759-2337','538683 / Pedidos Ya','','CONSUMO','',
 '','2024-06-03','20:54','',
 '1478.805703125','55','3','266.1850265625','0','1745','0',
 '','' ,'' ,'','','',' ',
 '','MEDIO DE PAGO: EFECTIVO','','','','Pedidos Ya',''
)
header registrado
Ultimo ID : 18995
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
formatted : 
countryCode : 
city : 
street : 
number : 
floor : 
latLng : Array
comment : 
-------------- Insertar detalle orden -----------
1- K000603 Hut Cheese 1 Ing. + Breadsticks + 1.25 L : 1 * 1745 = 1745
2- 0100184  BASICA 1ING HUT CHEESE : 1 * 0 = 0
3- 0700180  ING QUESO  HUTCHEESE : 1 * 0 = 0
4- 0700173  ING SOLO PEPPERONI HUTC : 1 * 0 = 0
5- 20748  1.25 LITRO COCA COLA : 1 * 0 = 0
6- 0200007  BREADSTICKS : 1 * 0 = 0

  OK
Retorno : {
			"status":"200",
			"orden":"T251121",
			"email":"1"
		}
Orden registrada. # Orden Json : 251121 / # Orden Web : T251121
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------- J S O N  R E C I B I D O ----------------
{"orden":"69663778","canal":"Wa","tipo_fac":"D","cod_unidad":"12","nom_unidad":"Nuñez de Cáceres","email":"","telefono":" 8097694402","nombre":"LMN","calle":"Guarocuya","sector":"","casa":"","numero":"9","comentario1":"C/ Guarocuya esq 27 oeste, residencial ronawa, casa 9.","comentario2":"","comentario3":"No","comentario4":"","tiponcf":"CONSUMO","rnc":"","razonsocial":"","fecha":"2024-06-03","hora":"20:55","hora_entrega":"21:26","subtotal":0,"valor_descuento":0,"porciento_descuento":0,"itbis":0,"propina":0,"total":1395,"forma_pago":"EFECTIVO","cambio_efectivo":0,"referencia":"","infoComprobante":null,"address":[{"formatted":"Guarocuya 54, Santo Domingo, República Dominicana","countryCode":"DO","city":"Santo Domingo","street":"Guarocuya","number":"9","apt":"","floor":"","entrance":"","pobox":"","comment":"C/ Guarocuya esq 27 oeste, residencial ronawa, casa 9.","latLng":{"lat":"18.4594526","lng":"-69.9652464"}}],"members":[{"linea":1,"grupolinea":1,"plu":"K000557","descripcion":"Pizza Grande 1 Ing. + Breadsticks + 1.25 L","cantidad":1,"precio":1395,"ind_kit":"S","padre":""},{"linea":2,"grupolinea":1,"plu":"0100182","descripcion":"BASICA 1 ING GDE PAN","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000557"},{"linea":3,"grupolinea":1,"plu":"0700047","descripcion":"ING SOLO PEPPERONI GDE","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000557"},{"linea":4,"grupolinea":1,"plu":"0700047","descripcion":"ING SOLO PEPPERONI GDE","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000557"},{"linea":5,"grupolinea":1,"plu":"20748","descripcion":"1.25 LITRO COCA COLA","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000557"},{"linea":6,"grupolinea":1,"plu":"0200007","descripcion":"BREADSTICKS","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000557"}]}
--------- Configuracion de Impuestos ---------
porc_itbis : 0.18
porc_propina : 0.1
factor_precio : 8.474
Valor descuento : 0
Porciento descuento : 0
Total Orden : 1395
totalporcimpuestos : 1.28
Proximo # De Orden : T251122

-------------- 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,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('663778','T251122','WA','663778','12','NUNEZ DE CACERES','D',
 '809-769-4402','LMN','','CONSUMO','',
 '','2024-06-03','20:55','21:26',
 '1182.197109375','0','0','212.7954796875','0','1395','0',
 '','EFECTIVO' ,'18.4594526' ,'-69.9652464','','GUAROCUYA','9 ',
 '','C/ GUAROCUYA ESQ 27 OESTE, RESIDENCIAL R','ONAWA, CASA 9.','','EFECTIVO','',''
)
header registrado
Ultimo ID : 18996
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
formatted : Guarocuya 54, Santo Domingo, República Dominicana
countryCode : DO
city : Santo Domingo
street : Guarocuya
number : 9
floor : 
latLng : Array
comment : C/ Guarocuya esq 27 oeste, residencial ronawa, casa 9.
-------------- Insertar detalle orden -----------
1- K000557 Pizza Grande 1 Ing. + Breadsticks + 1.25 L : 1 * 1395 = 1395
2- 0100182 BASICA 1 ING GDE PAN : 1 * 0 = 0
3- 0700047 ING SOLO PEPPERONI GDE : 1 * 0 = 0
4- 0700047 ING SOLO PEPPERONI GDE : 1 * 0 = 0
5- 20748 1.25 LITRO COCA COLA : 1 * 0 = 0
6- 0200007 BREADSTICKS : 1 * 0 = 0

  OK
Retorno : {
			"status":"200",
			"orden":"T251122",
			"email":"1"
		}
Orden registrada. # Orden Json : 663778 / # Orden Web : T251122
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------- J S O N  R E C I B I D O ----------------
{"orden":"91493","canal":"AG","tipo_fac":"","cod_unidad":"18","nom_unidad":"Megacentro - Uber","email":"","telefono":" 8299473615","nombre":"Wendy C.","calle":"","sector":"","casa":"","numero":"","comentario1":"","comentario2":"","comentario3":"","comentario4":"","tiponcf":"CONSUMO","rnc":"","razonsocial":"","fecha":"2024-06-03","hora":"20:57","hora_entrega":"2024-06-03T21:13:57-04:00","subtotal":0,"valor_descuento":0,"porciento_descuento":0,"itbis":0,"propina":0,"total":1920,"forma_pago":"","cambio_efectivo":0,"referencia":"Uber","infoComprobante":null,"address":[{"formatted":"","countryCode":"379 39 726","city":"","street":"","number":"","apt":"","floor":"","entrance":"","pobox":"","comment":"","latLng":{"lat":"","lng":""}}],"members":[{"linea":1,"grupolinea":1,"plu":"03059","descripcion":"Coca Cola 2 Litros","cantidad":1,"precio":195,"ind_kit":"N","padre":""},{"linea":2,"grupolinea":3,"plu":"0100146","descripcion":"Super Suprema Hut Cheese","cantidad":1,"precio":1725,"ind_kit":"N","padre":""}]}
--------- Configuracion de Impuestos ---------
porc_itbis : 0.18
porc_propina : 0.1
factor_precio : 8.474
Valor descuento : 0
Porciento descuento : 0
Total Orden : 1920
totalporcimpuestos : 1.28
Orden Agregador, se asigno nuevo numero de Orden : 251123
Proximo # De Orden : T251123

-------------- 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,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('251123','T251123','AG','91493','18','MEGACENTRO - UBER','C',
 '829-947-3615','91493 / Uber','','CONSUMO','',
 '','2024-06-03','20:57','',
 '1627.11','0','0','292.8798','0','1920','0',
 '','' ,'' ,'','','',' ',
 '','','','','','Uber',''
)
header registrado
Ultimo ID : 18997
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
formatted : 
countryCode : 379 39 726
city : 
street : 
number : 
floor : 
latLng : Array
comment : 
-------------- Insertar detalle orden -----------
1- 03059 Coca Cola 2 Litros : 1 * 195 = 195
2- 0100146 Super Suprema Hut Cheese : 1 * 1725 = 1725

  OK
Retorno : {
			"status":"200",
			"orden":"T251123",
			"email":"1"
		}
Orden registrada. # Orden Json : 251123 / # Orden Web : T251123
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------- J S O N  R E C I B I D O ----------------
{"orden":"1192543969","canal":"AG","tipo_fac":"","cod_unidad":"40","nom_unidad":"San Pedro - Pedidos Ya","email":"","telefono":"+18298264059","nombre":"Dilci Qiezada","calle":"","sector":"","casa":"","numero":"","comentario1":"","comentario2":"Medio de pago: Efectivo","comentario3":"","comentario4":"","tiponcf":"CONSUMO","rnc":"","razonsocial":"","fecha":"2024-06-03","hora":"20:58","hora_entrega":"2024-06-04T01:33:03.000Z","subtotal":1570,"valor_descuento":275,"porciento_descuento":0,"itbis":0,"propina":0,"total":1570,"forma_pago":"","cambio_efectivo":0,"referencia":"Pedidos Ya","infoComprobante":null,"address":[{"formatted":"","countryCode":"","city":"","street":"","number":"","apt":"","floor":"","entrance":"","pobox":"","comment":"","latLng":{"lat":"","lng":""}}],"members":[{"linea":1,"grupolinea":1,"plu":"K000583","descripcion":"Pizza Mediana 1 Ing. + Breadsticks + 2 Bebidas 16 Onz","cantidad":1,"precio":1570,"ind_kit":"S","padre":""},{"linea":2,"grupolinea":1,"plu":"0100185","descripcion":" BASICA 1 ING MED PAN","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000583"},{"linea":3,"grupolinea":2,"plu":"0700048","descripcion":" ING SOLO PEPPERONI MED","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000583"},{"linea":4,"grupolinea":3,"plu":"0700068","descripcion":" ING SOLO HONGOS MED","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000583"},{"linea":5,"grupolinea":4,"plu":"03064","descripcion":" 16 0Z COCA COLA","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000583"},{"linea":6,"grupolinea":5,"plu":"0200007","descripcion":" BREADSTICKS","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000583"},{"linea":7,"grupolinea":6,"plu":"03064","descripcion":" 16 0Z COCA COLA","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000583"}]}
--------- Configuracion de Impuestos ---------
porc_itbis : 0.18
porc_propina : 0.1
factor_precio : 8.474
Valor descuento : 275
Porciento descuento : 18
Total Orden : 1570
totalporcimpuestos : 1.28
Orden Agregador, se asigno nuevo numero de Orden : 251124
Proximo # De Orden : T251124

-------------- 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,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('251124','T251124','AG','543969','40','SAN PEDRO - PEDIDOS YA','C',
 '829-826-4059','543969 / Pedidos Ya','','CONSUMO','',
 '','2024-06-03','20:58','',
 '1330.50140625','275','18','239.490253125','0','1570','0',
 '','' ,'' ,'','','',' ',
 '','MEDIO DE PAGO: EFECTIVO','','','','Pedidos Ya',''
)
header registrado
Ultimo ID : 18998
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
formatted : 
countryCode : 
city : 
street : 
number : 
floor : 
latLng : Array
comment : 
-------------- Insertar detalle orden -----------
1- K000583 Pizza Mediana 1 Ing. + Breadsticks + 2 Bebidas 16 Onz : 1 * 1570 = 1570
2- 0100185  BASICA 1 ING MED PAN : 1 * 0 = 0
3- 0700048  ING SOLO PEPPERONI MED : 1 * 0 = 0
4- 0700068  ING SOLO HONGOS MED : 1 * 0 = 0
5- 03064  16 0Z COCA COLA : 1 * 0 = 0
6- 0200007  BREADSTICKS : 1 * 0 = 0
7- 03064  16 0Z COCA COLA : 1 * 0 = 0

  OK
Retorno : {
			"status":"200",
			"orden":"T251124",
			"email":"1"
		}
Orden registrada. # Orden Json : 251124 / # Orden Web : T251124
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------- J S O N  R E C I B I D O ----------------
{"orden":"DCD8C","canal":"AG","tipo_fac":"","cod_unidad":"27","nom_unidad":"República de Colombia - Uber","email":"","telefono":" 8299473615","nombre":"Veronica B.","calle":"","sector":"","casa":"","numero":"","comentario1":"","comentario2":"","comentario3":"","comentario4":"","tiponcf":"CONSUMO","rnc":"","razonsocial":"","fecha":"2024-06-03","hora":"21:02","hora_entrega":"2024-06-03T21:15:11-04:00","subtotal":0,"valor_descuento":0,"porciento_descuento":0,"itbis":0,"propina":0,"total":1350,"forma_pago":"","cambio_efectivo":0,"referencia":"Uber","infoComprobante":null,"address":[{"formatted":"","countryCode":"339 31 785","city":"","street":"","number":"","apt":"","floor":"","entrance":"","pobox":"","comment":"","latLng":{"lat":"","lng":""}}],"members":[{"linea":1,"grupolinea":1,"plu":"K000726","descripcion":"Big New Yorker + Breadsticks + 1.25 L","cantidad":1,"precio":1350,"ind_kit":"S","padre":""},{"linea":2,"grupolinea":1,"plu":"0100292","descripcion":"PIZZA BASICA 1 ING BNY","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000726"},{"linea":3,"grupolinea":1,"plu":"0700047","descripcion":"ING SOLO PEPPERONI GDE","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000726"},{"linea":4,"grupolinea":1,"plu":"0700053","descripcion":"ING SOLO JAMON GDE","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000726"},{"linea":5,"grupolinea":1,"plu":"0200007","descripcion":"BREADSTICKS","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000726"},{"linea":6,"grupolinea":1,"plu":"20748","descripcion":"1.25 LITRO COCA COLA","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000726"}]}
--------- Configuracion de Impuestos ---------
porc_itbis : 0.18
porc_propina : 0.1
factor_precio : 8.474
Valor descuento : 0
Porciento descuento : 0
Total Orden : 1350
totalporcimpuestos : 1.28
Orden Agregador, se asigno nuevo numero de Orden : 251125
Proximo # De Orden : T251125

-------------- 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,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('251125','T251125','AG','DCD8C','27','REPUBLICA DE COLOMBIA - UBER','C',
 '829-947-3615','DCD8C / Uber','','CONSUMO','',
 '','2024-06-03','21:02','',
 '1144.06171875','0','0','205.931109375','0','1350','0',
 '','' ,'' ,'','','',' ',
 '','','','','','Uber',''
)
header registrado
Ultimo ID : 19000
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
formatted : 
countryCode : 339 31 785
city : 
street : 
number : 
floor : 
latLng : Array
comment : 
-------------- Insertar detalle orden -----------
1- K000726 Big New Yorker + Breadsticks + 1.25 L : 1 * 1350 = 1350
2- 0100292 PIZZA BASICA 1 ING BNY : 1 * 0 = 0
3- 0700047 ING SOLO PEPPERONI GDE : 1 * 0 = 0
4- 0700053 ING SOLO JAMON GDE : 1 * 0 = 0
5- 0200007 BREADSTICKS : 1 * 0 = 0
6- 20748 1.25 LITRO COCA COLA : 1 * 0 = 0

  OK
Retorno : {
			"status":"200",
			"orden":"T251125",
			"email":"1"
		}
Orden registrada. # Orden Json : 251125 / # Orden Web : T251125
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------- J S O N  R E C I B I D O ----------------
{"orden":"69661988","canal":"Wa","tipo_fac":"D","cod_unidad":"37","nom_unidad":"Puerto Plata","email":"","telefono":" 8094374265","nombre":"Angel Osvaldo Richard P","calle":"Puerto Plata","sector":"","casa":"","numero":"0","comentario1":"Los Olivas. Callejón detrás de la Prisión de Puerto Plata","comentario2":"","comentario3":"No","comentario4":"","tiponcf":"CONSUMO","rnc":"","razonsocial":"","fecha":"2024-06-03","hora":"21:02","hora_entrega":"21:33","subtotal":0,"valor_descuento":0,"porciento_descuento":0,"itbis":0,"propina":0,"total":665,"forma_pago":"EFECTIVO","cambio_efectivo":0,"referencia":"","infoComprobante":null,"address":[{"formatted":"Q8J4+MWW, Puerto Plata 57000, República Dominicana","countryCode":"DO","city":"Puerto Plata","street":"Puerto Plata","number":"0","apt":"","floor":"","entrance":"","pobox":"","comment":"Los Olivas. Callejón detrás de la Prisión de Puerto Plata","latLng":{"lat":"19.7817597","lng":"-70.6926967"}}],"members":[{"linea":1,"grupolinea":1,"plu":"0100136","descripcion":"Super Suprema Pequeña Pan","cantidad":1,"precio":665,"ind_kit":"N","padre":""}]}
--------- Configuracion de Impuestos ---------
porc_itbis : 0.18
porc_propina : 0.1
factor_precio : 8.474
Valor descuento : 0
Porciento descuento : 0
Total Orden : 665
totalporcimpuestos : 1.28
Proximo # De Orden : T251126

-------------- 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,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('661988','T251126','WA','661988','37','PUERTO PLATA','D',
 '809-437-4265','ANGEL OSVALDO RICHARD P','','CONSUMO','',
 '','2024-06-03','21:02','21:33',
 '563.556328125','0','0','101.4401390625','0','665','0',
 '','EFECTIVO' ,'19.7817597' ,'-70.6926967','','PUERTO PLATA','0 ',
 '','LOS OLIVAS. CALLEJoN DETRaS DE LA PRISIo','N DE PUERTO PLATA','','EFECTIVO','',''
)
header registrado
Ultimo ID : 19001
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
formatted : Q8J4+MWW, Puerto Plata 57000, República Dominicana
countryCode : DO
city : Puerto Plata
street : Puerto Plata
number : 0
floor : 
latLng : Array
comment : Los Olivas. Callejón detrás de la Prisión de Puerto Plata
-------------- Insertar detalle orden -----------
1- 0100136 Super Suprema Pequeña Pan : 1 * 665 = 665

  OK
Retorno : {
			"status":"200",
			"orden":"T251126",
			"email":"1"
		}
Orden registrada. # Orden Json : 661988 / # Orden Web : T251126
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------- J S O N  R E C I B I D O ----------------
{"orden":"69662583","canal":"Wa","tipo_fac":"D","cod_unidad":"24","nom_unidad":"San Juan (Bávaro)","email":"","telefono":" 8094961296","nombre":"Rey","calle":"Calle Principal Hotel Barceló","sector":"","casa":"","numero":"1","comentario1":" - ","comentario2":"información adicional: Hotel Barceló bavaro palace.","comentario3":"No","comentario4":"","tiponcf":"CONSUMO","rnc":"","razonsocial":"","fecha":"2024-06-03","hora":"21:05","hora_entrega":"21:36","subtotal":0,"valor_descuento":0,"porciento_descuento":0,"itbis":0,"propina":0,"total":1950,"forma_pago":"EFECTIVO","cambio_efectivo":0,"referencia":"","infoComprobante":"~removeItems~","address":[{"formatted":"nº1, Calle Principal Hotel Barceló 1, Punta Cana 23001, República Dominicana","countryCode":"DO","city":"Punta Cana","street":"Calle Principal Hotel Barceló","number":"1","apt":"apto nº1","floor":"","entrance":"","pobox":"","comment":" - ","latLng":{"lat":"18.6633538","lng":"-68.3962896"}}],"members":[{"linea":1,"grupolinea":1,"plu":"K000716","descripcion":"Big New Yorker 1 ing","cantidad":1,"precio":975,"ind_kit":"S","padre":""},{"linea":2,"grupolinea":1,"plu":"0100292","descripcion":"PIZZA BASICA 1 ING BNY","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000716"},{"linea":3,"grupolinea":1,"plu":"0700085","descripcion":"ING SOLO  MAIZ GDE","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000716"},{"linea":4,"grupolinea":1,"plu":"0700047","descripcion":"ING SOLO PEPPERONI GDE","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000716"},{"linea":5,"grupolinea":3,"plu":"K000716","descripcion":"Big New Yorker 1 ing","cantidad":1,"precio":975,"ind_kit":"S","padre":""},{"linea":6,"grupolinea":3,"plu":"0100292","descripcion":"PIZZA BASICA 1 ING BNY","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000716"},{"linea":7,"grupolinea":3,"plu":"0700047","descripcion":"ING SOLO PEPPERONI GDE","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000716"},{"linea":8,"grupolinea":3,"plu":"0700085","descripcion":"ING SOLO  MAIZ GDE","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000716"}]}
--------- Configuracion de Impuestos ---------
porc_itbis : 0.18
porc_propina : 0.1
factor_precio : 8.474
Valor descuento : 0
Porciento descuento : 0
Total Orden : 1950
totalporcimpuestos : 1.28
Proximo # De Orden : T251127

-------------- 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,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('662583','T251127','WA','662583','24','SAN JUAN (BAVARO)','D',
 '809-496-1296','REY','','CONSUMO','',
 '','2024-06-03','21:05','21:36',
 '1652.53359375','0','0','297.456046875','0','1950','0',
 '','EFECTIVO' ,'18.6633538' ,'-68.3962896','','CALLE PRINCIPAL HOTEL BARCELO','1 apto nº1',
 '','HOTEL BARCELo BAVARO PALACE.','','','EFECTIVO','','~removeItems~'
)
header registrado
Ultimo ID : 19002
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
formatted : nº1, Calle Principal Hotel Barceló 1, Punta Cana 23001, República Dominicana
countryCode : DO
city : Punta Cana
street : Calle Principal Hotel Barceló
number : 1
floor : 
latLng : Array
comment :  - 
-------------- Insertar detalle orden -----------
1- K000716 Big New Yorker 1 ing : 1 * 975 = 975
2- 0100292 PIZZA BASICA 1 ING BNY : 1 * 0 = 0
3- 0700085 ING SOLO  MAIZ GDE : 1 * 0 = 0
4- 0700047 ING SOLO PEPPERONI GDE : 1 * 0 = 0
5- K000716 Big New Yorker 1 ing : 1 * 975 = 975
6- 0100292 PIZZA BASICA 1 ING BNY : 1 * 0 = 0
7- 0700047 ING SOLO PEPPERONI GDE : 1 * 0 = 0
8- 0700085 ING SOLO  MAIZ GDE : 1 * 0 = 0

  OK
Retorno : {
			"status":"200",
			"orden":"T251127",
			"email":"1"
		}
Orden registrada. # Orden Json : 662583 / # Orden Web : T251127
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------- J S O N  R E C I B I D O ----------------
{"orden":"1192545161","canal":"AG","tipo_fac":"","cod_unidad":"10","nom_unidad":"Venezuela - Pedidos Ya","email":"","telefono":"+18098996549","nombre":"Sol Valdez","calle":"","sector":"","casa":"","numero":"","comentario1":"","comentario2":"Facturar a empresa: Banco Popular Dominicano - Nro.: 101010632 | Medio de pago: MASTERCARD","comentario3":"","comentario4":"","tiponcf":"CONSUMO","rnc":"","razonsocial":"","fecha":"2024-06-03","hora":"21:05","hora_entrega":"2024-06-04T01:42:49.000Z","subtotal":1245,"valor_descuento":0,"porciento_descuento":0,"itbis":0,"propina":0,"total":1245,"forma_pago":"","cambio_efectivo":0,"referencia":"Pedidos Ya","infoComprobante":" Banco Popular Dominicano   , 101010632 ","address":[{"formatted":"","countryCode":"","city":"","street":"","number":"","apt":"","floor":"","entrance":"","pobox":"","comment":"","latLng":{"lat":"","lng":""}}],"members":[{"linea":1,"grupolinea":0,"plu":"0100163","descripcion":"Pepperoni Lover\u0027s  Mediana Pan","cantidad":1,"precio":1050,"ind_kit":"N","padre":""},{"linea":2,"grupolinea":2,"plu":"03059","descripcion":"Coca Cola 2 Litros","cantidad":1,"precio":195,"ind_kit":"N","padre":""}]}
--------- Configuracion de Impuestos ---------
porc_itbis : 0.18
porc_propina : 0.1
factor_precio : 8.474
Valor descuento : 0
Porciento descuento : 0
Total Orden : 1245
totalporcimpuestos : 1.28
Orden Agregador, se asigno nuevo numero de Orden : 251128
Proximo # De Orden : T251128

-------------- 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,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('251128','T251128','AG','545161','10','VENEZUELA - PEDIDOS YA','C',
 '809-899-6549','545161 / Pedidos Ya','','CONSUMO','',
 '','2024-06-03','21:05','',
 '1055.079140625','0','0','189.9142453125','0','1245','0',
 '','' ,'' ,'','','',' ',
 '','FACTURAR A EMPRESA: BANCO POPULAR DOMINI','CANO - NRO.: 101010632 | MEDIO DE PAGO: ','MASTERCARD','','Pedidos Ya','Banco Popular Dominicano   , 101010632'
)
header registrado
Ultimo ID : 19003
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
formatted : 
countryCode : 
city : 
street : 
number : 
floor : 
latLng : Array
comment : 
-------------- Insertar detalle orden -----------
1- 0100163 Pepperoni Lover's  Mediana Pan : 1 * 1050 = 1050
2- 03059 Coca Cola 2 Litros : 1 * 195 = 195

  OK
Retorno : {
			"status":"200",
			"orden":"T251128",
			"email":"1"
		}
Orden registrada. # Orden Json : 251128 / # Orden Web : T251128
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------- J S O N  R E C I B I D O ----------------
{"orden":"1192558682","canal":"AG","tipo_fac":"","cod_unidad":"19","nom_unidad":"Av. Independencia - Pedidos Ya","email":"","telefono":"+18294505984","nombre":"Joaquin Sanchez","calle":"","sector":"","casa":"","numero":"","comentario1":"","comentario2":"Medio de pago: MASTERCARD","comentario3":"","comentario4":"","tiponcf":"CONSUMO","rnc":"","razonsocial":"","fecha":"2024-06-03","hora":"21:05","hora_entrega":"2024-06-04T01:39:31.000Z","subtotal":2007,"valor_descuento":0,"porciento_descuento":0,"itbis":0,"propina":0,"total":2007,"forma_pago":"","cambio_efectivo":0,"referencia":"Pedidos Ya","infoComprobante":null,"address":[{"formatted":"","countryCode":"","city":"","street":"","number":"","apt":"","floor":"","entrance":"","pobox":"","comment":"","latLng":{"lat":"","lng":""}}],"members":[{"linea":1,"grupolinea":1,"plu":"K000838","descripcion":"Suprema Original + Breadsticks + 1.25 L","cantidad":1,"precio":1995,"ind_kit":"S","padre":""},{"linea":2,"grupolinea":1,"plu":"0100122","descripcion":" SUPREMA GDE. PAN","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000838"},{"linea":3,"grupolinea":2,"plu":"0300004","descripcion":" REFRESCO COCA COLA JARRA","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000838"},{"linea":4,"grupolinea":3,"plu":"20748","descripcion":" 1.25 LITRO COCA COLA","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000838"},{"linea":5,"grupolinea":4,"plu":"0202021","descripcion":" BREADSTICKS GOLDEN","cantidad":1,"precio":12,"ind_kit":"N","padre":"K000838"}]}
--------- Configuracion de Impuestos ---------
porc_itbis : 0.18
porc_propina : 0.1
factor_precio : 8.474
Valor descuento : 0
Porciento descuento : 0
Total Orden : 2007
totalporcimpuestos : 1.28
Orden Agregador, se asigno nuevo numero de Orden : 251129
Proximo # De Orden : T251129

-------------- 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,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('251129','T251129','AG','558682','19','AV. INDEPENDENCIA - PEDIDOS YA','C',
 '829-450-5984','558682 / Pedidos Ya','','CONSUMO','',
 '','2024-06-03','21:05','',
 '1700.838421875','0','0','306.1509159375','0','2007','0',
 '','' ,'' ,'','','',' ',
 '','MEDIO DE PAGO: MASTERCARD','','','','Pedidos Ya',''
)
header registrado
Ultimo ID : 19004
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
formatted : 
countryCode : 
city : 
street : 
number : 
floor : 
latLng : Array
comment : 
-------------- Insertar detalle orden -----------
1- K000838 Suprema Original + Breadsticks + 1.25 L : 1 * 1995 = 1995
2- 0100122  SUPREMA GDE. PAN : 1 * 0 = 0
3- 0300004  REFRESCO COCA COLA JARRA : 1 * 0 = 0
4- 20748  1.25 LITRO COCA COLA : 1 * 0 = 0
5- 0202021  BREADSTICKS GOLDEN : 1 * 12 = 12

  OK
Retorno : {
			"status":"200",
			"orden":"T251129",
			"email":"1"
		}
Orden registrada. # Orden Json : 251129 / # Orden Web : T251129
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------- J S O N  R E C I B I D O ----------------
{"orden":"69664292","canal":"Wa","tipo_fac":"D","cod_unidad":"09","nom_unidad":"Calle El Sol","email":"","telefono":" 8493589961","nombre":"Ana Lima","calle":"Calle 17","sector":"","casa":"","numero":"10a10","comentario1":"El ensueño calle 6b casa 10a10","comentario2":"","comentario3":"No","comentario4":"","tiponcf":"CONSUMO","rnc":"","razonsocial":"","fecha":"2024-06-03","hora":"21:06","hora_entrega":"21:36","subtotal":0,"valor_descuento":0,"porciento_descuento":0,"itbis":0,"propina":0,"total":1575,"forma_pago":"EFECTIVO","cambio_efectivo":0,"referencia":"","infoComprobante":null,"address":[{"formatted":"C. 17 1a, Santiago de los Caballeros 51000, República Dominicana","countryCode":"DO","city":"Santiago de los Caballeros","street":"Calle 17","number":"10a10","apt":"","floor":"","entrance":"","pobox":"","comment":"El ensueño calle 6b casa 10a10","latLng":{"lat":"19.4396576","lng":"-70.69566209999999"}}],"members":[{"linea":1,"grupolinea":1,"plu":"03059","descripcion":"Coca Cola 2 Litros","cantidad":1,"precio":170,"ind_kit":"N","padre":""},{"linea":2,"grupolinea":3,"plu":"0100129","descripcion":"Suprema Original Hut Cheese","cantidad":1,"precio":1405,"ind_kit":"N","padre":""}]}
--------- Configuracion de Impuestos ---------
porc_itbis : 0.18
porc_propina : 0.1
factor_precio : 8.474
Valor descuento : 0
Porciento descuento : 0
Total Orden : 1575
totalporcimpuestos : 1.28
Proximo # De Orden : T251130

-------------- 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,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('664292','T251130','WA','664292','09','CALLE EL SOL','D',
 '849-358-9961','ANA LIMA','','CONSUMO','',
 '','2024-06-03','21:06','21:36',
 '1334.738671875','0','0','240.2529609375','0','1575','0',
 '','EFECTIVO' ,'19.4396576' ,'-70.69566209999999','','CALLE 17','10a10 ',
 '','EL ENSUEnO CALLE 6B CASA 10A10','','','EFECTIVO','',''
)
header registrado
Ultimo ID : 19005
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
formatted : C. 17 1a, Santiago de los Caballeros 51000, República Dominicana
countryCode : DO
city : Santiago de los Caballeros
street : Calle 17
number : 10a10
floor : 
latLng : Array
comment : El ensueño calle 6b casa 10a10
-------------- Insertar detalle orden -----------
1- 03059 Coca Cola 2 Litros : 1 * 170 = 170
2- 0100129 Suprema Original Hut Cheese : 1 * 1405 = 1405

  OK
Retorno : {
			"status":"200",
			"orden":"T251130",
			"email":"1"
		}
Orden registrada. # Orden Json : 664292 / # Orden Web : T251130
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------- J S O N  R E C I B I D O ----------------
{"orden":"17482","canal":"AG","tipo_fac":"","cod_unidad":"03","nom_unidad":"Bella Vista - Uber","email":"","telefono":" 8299473615","nombre":"Ramon S.","calle":"","sector":"","casa":"","numero":"","comentario1":"","comentario2":"","comentario3":"","comentario4":"","tiponcf":"CONSUMO","rnc":"","razonsocial":"","fecha":"2024-06-03","hora":"21:07","hora_entrega":"2024-06-03T21:29:42-04:00","subtotal":0,"valor_descuento":0,"porciento_descuento":0,"itbis":0,"propina":0,"total":1295,"forma_pago":"","cambio_efectivo":0,"referencia":"Uber","infoComprobante":null,"address":[{"formatted":"","countryCode":"910 51 871","city":"","street":"","number":"","apt":"","floor":"","entrance":"","pobox":"","comment":"","latLng":{"lat":"","lng":""}}],"members":[{"linea":1,"grupolinea":1,"plu":"K000583","descripcion":"Pizza Mediana 1 Ing. + Breadsticks + 2 Bebidas 16 Onz","cantidad":1,"precio":1295,"ind_kit":"S","padre":""},{"linea":2,"grupolinea":1,"plu":"0100185","descripcion":"BASICA 1 ING MED PAN","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000583"},{"linea":3,"grupolinea":1,"plu":"0700048","descripcion":"ING SOLO PEPPERONI MED","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000583"},{"linea":4,"grupolinea":1,"plu":"0700086","descripcion":"ING SOLO MAIZ MED","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000583"},{"linea":5,"grupolinea":1,"plu":"03064","descripcion":"16 0Z COCA COLA","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000583"},{"linea":6,"grupolinea":1,"plu":"0200007","descripcion":"BREADSTICKS","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000583"},{"linea":7,"grupolinea":1,"plu":"03064","descripcion":"16 0Z COCA COLA","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000583"}]}
--------- Configuracion de Impuestos ---------
porc_itbis : 0.18
porc_propina : 0.1
factor_precio : 8.474
Valor descuento : 0
Porciento descuento : 0
Total Orden : 1295
totalporcimpuestos : 1.28
Orden Agregador, se asigno nuevo numero de Orden : 251131
Proximo # De Orden : T251131

-------------- 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,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('251131','T251131','AG','17482','03','BELLA VISTA - UBER','C',
 '829-947-3615','17482 / Uber','','CONSUMO','',
 '','2024-06-03','21:07','',
 '1097.451796875','0','0','197.5413234375','0','1295','0',
 '','' ,'' ,'','','',' ',
 '','','','','','Uber',''
)
header registrado
Ultimo ID : 19006
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
formatted : 
countryCode : 910 51 871
city : 
street : 
number : 
floor : 
latLng : Array
comment : 
-------------- Insertar detalle orden -----------
1- K000583 Pizza Mediana 1 Ing. + Breadsticks + 2 Bebidas 16 Onz : 1 * 1295 = 1295
2- 0100185 BASICA 1 ING MED PAN : 1 * 0 = 0
3- 0700048 ING SOLO PEPPERONI MED : 1 * 0 = 0
4- 0700086 ING SOLO MAIZ MED : 1 * 0 = 0
5- 03064 16 0Z COCA COLA : 1 * 0 = 0
6- 0200007 BREADSTICKS : 1 * 0 = 0
7- 03064 16 0Z COCA COLA : 1 * 0 = 0

  OK
Retorno : {
			"status":"200",
			"orden":"T251131",
			"email":"1"
		}
Orden registrada. # Orden Json : 251131 / # Orden Web : T251131
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------- J S O N  R E C I B I D O ----------------
{"orden":"1192559167","canal":"AG","tipo_fac":"","cod_unidad":"13","nom_unidad":"Carrefour - Pedidos Ya","email":"","telefono":"+18295760744","nombre":"carolinaespinale carolinaespinale","calle":"","sector":"","casa":"","numero":"","comentario1":"","comentario2":"Medio de pago: Efectivo","comentario3":"","comentario4":"","tiponcf":"CONSUMO","rnc":"","razonsocial":"","fecha":"2024-06-03","hora":"21:08","hora_entrega":"2024-06-04T01:37:17.000Z","subtotal":1515,"valor_descuento":25,"porciento_descuento":0,"itbis":0,"propina":0,"total":1515,"forma_pago":"","cambio_efectivo":0,"referencia":"Pedidos Ya","infoComprobante":null,"address":[{"formatted":"","countryCode":"","city":"","street":"","number":"","apt":"","floor":"","entrance":"","pobox":"","comment":"","latLng":{"lat":"","lng":""}}],"members":[{"linea":1,"grupolinea":1,"plu":"K000914","descripcion":"Panormous Edge 1 Ing. + 1.25 L","cantidad":1,"precio":1515,"ind_kit":"S","padre":""},{"linea":2,"grupolinea":1,"plu":"0100552","descripcion":" PANORMOUS EDGE BASICA","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000914"},{"linea":3,"grupolinea":2,"plu":"0700051","descripcion":" ING SOLO SALCHICHA MED","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000914"},{"linea":4,"grupolinea":3,"plu":"0700048","descripcion":" ING SOLO PEPPERONI MED","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000914"},{"linea":5,"grupolinea":4,"plu":"20748","descripcion":" 1.25 LITRO COCA COLA","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000914"}]}
--------- Configuracion de Impuestos ---------
porc_itbis : 0.18
porc_propina : 0.1
factor_precio : 8.474
Valor descuento : 25
Porciento descuento : 2
Total Orden : 1515
totalporcimpuestos : 1.28
Orden Agregador, se asigno nuevo numero de Orden : 251132
Proximo # De Orden : T251132

-------------- 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,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('251132','T251132','AG','559167','13','CARREFOUR - PEDIDOS YA','C',
 '829-576-0744','559167 / Pedidos Ya','','CONSUMO','',
 '','2024-06-03','21:08','',
 '1283.891484375','25','2','231.1004671875','0','1515','0',
 '','' ,'' ,'','','',' ',
 '','MEDIO DE PAGO: EFECTIVO','','','','Pedidos Ya',''
)
header registrado
Ultimo ID : 19007
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
formatted : 
countryCode : 
city : 
street : 
number : 
floor : 
latLng : Array
comment : 
-------------- Insertar detalle orden -----------
1- K000914 Panormous Edge 1 Ing. + 1.25 L : 1 * 1515 = 1515
2- 0100552  PANORMOUS EDGE BASICA : 1 * 0 = 0
3- 0700051  ING SOLO SALCHICHA MED : 1 * 0 = 0
4- 0700048  ING SOLO PEPPERONI MED : 1 * 0 = 0
5- 20748  1.25 LITRO COCA COLA : 1 * 0 = 0

  OK
Retorno : {
			"status":"200",
			"orden":"T251132",
			"email":"1"
		}
Orden registrada. # Orden Json : 251132 / # Orden Web : T251132
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------- J S O N  R E C I B I D O ----------------
{"orden":"85B89","canal":"AG","tipo_fac":"","cod_unidad":"30","nom_unidad":"Lope De Vega - Uber","email":"","telefono":" 8299473615","nombre":"Carlos L.","calle":"","sector":"","casa":"","numero":"","comentario1":"","comentario2":"","comentario3":"","comentario4":"","tiponcf":"CONSUMO","rnc":"","razonsocial":"","fecha":"2024-06-03","hora":"21:08","hora_entrega":"2024-06-03T21:21:37-04:00","subtotal":0,"valor_descuento":0,"porciento_descuento":0,"itbis":0,"propina":0,"total":950,"forma_pago":"","cambio_efectivo":0,"referencia":"Uber","infoComprobante":null,"address":[{"formatted":"","countryCode":"485 37 872","city":"","street":"","number":"","apt":"","floor":"","entrance":"","pobox":"","comment":"","latLng":{"lat":"","lng":""}}],"members":[{"linea":1,"grupolinea":1,"plu":"K000625","descripcion":"Pizza Mediana 1 Ing.","cantidad":1,"precio":950,"ind_kit":"S","padre":""},{"linea":2,"grupolinea":1,"plu":"0100186","descripcion":"BASICA 1 ING MED THIN","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000625"},{"linea":3,"grupolinea":1,"plu":"0700054","descripcion":"ING SOLO JAMON MED","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000625"},{"linea":4,"grupolinea":1,"plu":"0700048","descripcion":"ING SOLO PEPPERONI MED","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000625"}]}
--------- Configuracion de Impuestos ---------
porc_itbis : 0.18
porc_propina : 0.1
factor_precio : 8.474
Valor descuento : 0
Porciento descuento : 0
Total Orden : 950
totalporcimpuestos : 1.28
Orden Agregador, se asigno nuevo numero de Orden : 251133
Proximo # De Orden : T251133

-------------- 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,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('251133','T251133','AG','85B89','30','LOPE DE VEGA - UBER','C',
 '829-947-3615','85B89 / Uber','','CONSUMO','',
 '','2024-06-03','21:08','',
 '805.08046875','0','0','144.914484375','0','950','0',
 '','' ,'' ,'','','',' ',
 '','','','','','Uber',''
)
header registrado
Ultimo ID : 19008
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
formatted : 
countryCode : 485 37 872
city : 
street : 
number : 
floor : 
latLng : Array
comment : 
-------------- Insertar detalle orden -----------
1- K000625 Pizza Mediana 1 Ing. : 1 * 950 = 950
2- 0100186 BASICA 1 ING MED THIN : 1 * 0 = 0
3- 0700054 ING SOLO JAMON MED : 1 * 0 = 0
4- 0700048 ING SOLO PEPPERONI MED : 1 * 0 = 0

  OK
Retorno : {
			"status":"200",
			"orden":"T251133",
			"email":"1"
		}
Orden registrada. # Orden Json : 251133 / # Orden Web : T251133
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------- J S O N  R E C I B I D O ----------------
{"orden":"1192559401","canal":"AG","tipo_fac":"","cod_unidad":"09","nom_unidad":"Calle el Sol - Pedidos Ya","email":"","telefono":"+18294608556","nombre":"Romiel L","calle":"","sector":"","casa":"","numero":"","comentario1":"","comentario2":"Medio de pago: MASTERCARD","comentario3":"","comentario4":"","tiponcf":"CONSUMO","rnc":"","razonsocial":"","fecha":"2024-06-03","hora":"21:09","hora_entrega":"2024-06-04T01:50:37.000Z","subtotal":370,"valor_descuento":0,"porciento_descuento":0,"itbis":0,"propina":0,"total":370,"forma_pago":"","cambio_efectivo":0,"referencia":"Pedidos Ya","infoComprobante":null,"address":[{"formatted":"","countryCode":"","city":"","street":"","number":"","apt":"","floor":"","entrance":"","pobox":"","comment":"","latLng":{"lat":"","lng":""}}],"members":[{"linea":1,"grupolinea":1,"plu":"0200065","descripcion":"Cheesesticks","cantidad":1,"precio":370,"ind_kit":"N","padre":""}]}
--------- Configuracion de Impuestos ---------
porc_itbis : 0.18
porc_propina : 0.1
factor_precio : 8.474
Valor descuento : 0
Porciento descuento : 0
Total Orden : 370
totalporcimpuestos : 1.28
Orden Agregador, se asigno nuevo numero de Orden : 251134
Proximo # De Orden : T251134

-------------- 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,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('251134','T251134','AG','559401','09','CALLE EL SOL - PEDIDOS YA','C',
 '829-460-8556','559401 / Pedidos Ya','','CONSUMO','',
 '','2024-06-03','21:09','',
 '313.55765625','0','0','56.440378125','0','370','0',
 '','' ,'' ,'','','',' ',
 '','MEDIO DE PAGO: MASTERCARD','','','','Pedidos Ya',''
)
header registrado
Ultimo ID : 19009
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
formatted : 
countryCode : 
city : 
street : 
number : 
floor : 
latLng : Array
comment : 
-------------- Insertar detalle orden -----------
1- 0200065 Cheesesticks : 1 * 370 = 370

  OK
Retorno : {
			"status":"200",
			"orden":"T251134",
			"email":"1"
		}
Orden registrada. # Orden Json : 251134 / # Orden Web : T251134
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------- J S O N  R E C I B I D O ----------------
{"orden":"69665477","canal":"Wa","tipo_fac":"D","cod_unidad":"22","nom_unidad":"Naco","email":"","telefono":" 8494725010","nombre":"Sarah Peralta","calle":"Calle 14 de Junio","sector":"","casa":"","numero":"58","comentario1":" - ","comentario2":"información adicional: Calle 14 de junio #58 ensanche la fe, edificios sejoco, apartamento 101 primer piso.","comentario3":"No","comentario4":"","tiponcf":"CONSUMO","rnc":"","razonsocial":"","fecha":"2024-06-03","hora":"21:09","hora_entrega":"21:40","subtotal":0,"valor_descuento":0,"porciento_descuento":0,"itbis":0,"propina":0,"total":1295,"forma_pago":"EFECTIVO","cambio_efectivo":0,"referencia":"","infoComprobante":null,"address":[{"formatted":"C. 14 de Junio 58, Santo Domingo, República Dominicana","countryCode":"DO","city":"Santo Domingo","street":"Calle 14 de Junio","number":"58","apt":"apartamento 101","floor":"","entrance":"","pobox":"","comment":" - ","latLng":{"lat":"18.4884732","lng":"-69.9170236"}}],"members":[{"linea":1,"grupolinea":1,"plu":"K000914","descripcion":"Panormous Edge 1 Ing. + 1.25 L","cantidad":1,"precio":1295,"ind_kit":"S","padre":""},{"linea":2,"grupolinea":1,"plu":"0100552","descripcion":"PANORMOUS EDGE BASICA","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000914"},{"linea":3,"grupolinea":1,"plu":"0700048","descripcion":"ING SOLO PEPPERONI MED","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000914"},{"linea":4,"grupolinea":1,"plu":"0700139","descripcion":"ING SOLO POLLO MED","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000914"},{"linea":5,"grupolinea":1,"plu":"20748","descripcion":"1.25 LITRO COCA COLA","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000914"}]}
--------- Configuracion de Impuestos ---------
porc_itbis : 0.18
porc_propina : 0.1
factor_precio : 8.474
Valor descuento : 0
Porciento descuento : 0
Total Orden : 1295
totalporcimpuestos : 1.28
Proximo # De Orden : T251135

-------------- 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,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('665477','T251135','WA','665477','22','NACO','D',
 '849-472-5010','SARAH PERALTA','','CONSUMO','',
 '','2024-06-03','21:09','21:40',
 '1097.451796875','0','0','197.5413234375','0','1295','0',
 '','EFECTIVO' ,'18.4884732' ,'-69.9170236','','CALLE 14 DE JUNIO','58 apartamento 101',
 '','CALLE 14 DE JUNIO #58 ENSANCHE LA FE, ED','IFICIOS SEJOCO, APARTAMENTO 101 PRIMER P','ISO.','EFECTIVO','',''
)
header registrado
Ultimo ID : 19010
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
formatted : C. 14 de Junio 58, Santo Domingo, República Dominicana
countryCode : DO
city : Santo Domingo
street : Calle 14 de Junio
number : 58
floor : 
latLng : Array
comment :  - 
-------------- Insertar detalle orden -----------
1- K000914 Panormous Edge 1 Ing. + 1.25 L : 1 * 1295 = 1295
2- 0100552 PANORMOUS EDGE BASICA : 1 * 0 = 0
3- 0700048 ING SOLO PEPPERONI MED : 1 * 0 = 0
4- 0700139 ING SOLO POLLO MED : 1 * 0 = 0
5- 20748 1.25 LITRO COCA COLA : 1 * 0 = 0

  OK
Retorno : {
			"status":"200",
			"orden":"T251135",
			"email":"1"
		}
Orden registrada. # Orden Json : 665477 / # Orden Web : T251135
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------- J S O N  R E C I B I D O ----------------
{"orden":"DA1DF","canal":"AG","tipo_fac":"","cod_unidad":"19","nom_unidad":"Independencia - Uber","email":"","telefono":" 8299473615","nombre":"Eduardo L.","calle":"","sector":"","casa":"","numero":"","comentario1":"","comentario2":"","comentario3":"","comentario4":"","tiponcf":"CONSUMO","rnc":"","razonsocial":"","fecha":"2024-06-03","hora":"21:10","hora_entrega":"2024-06-03T21:30:42-04:00","subtotal":0,"valor_descuento":0,"porciento_descuento":0,"itbis":0,"propina":0,"total":1702,"forma_pago":"","cambio_efectivo":0,"referencia":"Uber","infoComprobante":null,"address":[{"formatted":"","countryCode":"023 60 047","city":"","street":"","number":"","apt":"","floor":"","entrance":"","pobox":"","comment":"","latLng":{"lat":"","lng":""}}],"members":[{"linea":1,"grupolinea":1,"plu":"K000603","descripcion":"Hut Cheese 1 Ing. + Breadsticks + 1.25 L","cantidad":1,"precio":1690,"ind_kit":"S","padre":""},{"linea":2,"grupolinea":1,"plu":"0100184","descripcion":"BASICA 1ING HUT CHEESE","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000603"},{"linea":3,"grupolinea":1,"plu":"0700172","descripcion":"ING SOLO MAIZ HUTCHEESE","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000603"},{"linea":4,"grupolinea":1,"plu":"0700173","descripcion":"ING SOLO PEPPERONI HUTC","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000603"},{"linea":5,"grupolinea":1,"plu":"20748","descripcion":"1.25 LITRO COCA COLA","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000603"},{"linea":6,"grupolinea":1,"plu":"0202021","descripcion":"BREADSTICKS GOLDEN","cantidad":1,"precio":12,"ind_kit":"N","padre":"K000603"}]}
--------- Configuracion de Impuestos ---------
porc_itbis : 0.18
porc_propina : 0.1
factor_precio : 8.474
Valor descuento : 0
Porciento descuento : 0
Total Orden : 1702
totalporcimpuestos : 1.28
Orden Agregador, se asigno nuevo numero de Orden : 251136
Proximo # De Orden : T251136

-------------- 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,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('251136','T251136','AG','DA1DF','19','INDEPENDENCIA - UBER','C',
 '829-947-3615','DA1DF / Uber','','CONSUMO','',
 '','2024-06-03','21:10','',
 '1442.36521875','0','0','259.625739375','0','1702','0',
 '','' ,'' ,'','','',' ',
 '','','','','','Uber',''
)
header registrado
Ultimo ID : 19011
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
formatted : 
countryCode : 023 60 047
city : 
street : 
number : 
floor : 
latLng : Array
comment : 
-------------- Insertar detalle orden -----------
1- K000603 Hut Cheese 1 Ing. + Breadsticks + 1.25 L : 1 * 1690 = 1690
2- 0100184 BASICA 1ING HUT CHEESE : 1 * 0 = 0
3- 0700172 ING SOLO MAIZ HUTCHEESE : 1 * 0 = 0
4- 0700173 ING SOLO PEPPERONI HUTC : 1 * 0 = 0
5- 20748 1.25 LITRO COCA COLA : 1 * 0 = 0
6- 0202021 BREADSTICKS GOLDEN : 1 * 12 = 12

  OK
Retorno : {
			"status":"200",
			"orden":"T251136",
			"email":"1"
		}
Orden registrada. # Orden Json : 251136 / # Orden Web : T251136
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------- J S O N  R E C I B I D O ----------------
{"orden":"1192559521","canal":"AG","tipo_fac":"","cod_unidad":"18","nom_unidad":"Mega Centro - Pedidos Ya","email":"","telefono":"+18098690585","nombre":"Yomely Fanfan","calle":"","sector":"","casa":"","numero":"","comentario1":"","comentario2":"Medio de pago: VISA","comentario3":"","comentario4":"","tiponcf":"CONSUMO","rnc":"","razonsocial":"","fecha":"2024-06-03","hora":"21:10","hora_entrega":"2024-06-04T01:54:32.000Z","subtotal":1335,"valor_descuento":0,"porciento_descuento":0,"itbis":0,"propina":0,"total":1335,"forma_pago":"","cambio_efectivo":0,"referencia":"Pedidos Ya","infoComprobante":null,"address":[{"formatted":"","countryCode":"","city":"","street":"","number":"","apt":"","floor":"","entrance":"","pobox":"","comment":"","latLng":{"lat":"","lng":""}}],"members":[{"linea":1,"grupolinea":1,"plu":"K000913","descripcion":"Panormous Edge 1 Ing.","cantidad":1,"precio":1335,"ind_kit":"S","padre":""},{"linea":2,"grupolinea":1,"plu":"0100552","descripcion":" PANORMOUS EDGE BASICA","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000913"},{"linea":3,"grupolinea":2,"plu":"0700048","descripcion":" ING SOLO PEPPERONI MED","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000913"},{"linea":4,"grupolinea":3,"plu":"0700059","descripcion":" ING SOLO RES MED","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000913"}]}
--------- Configuracion de Impuestos ---------
porc_itbis : 0.18
porc_propina : 0.1
factor_precio : 8.474
Valor descuento : 0
Porciento descuento : 0
Total Orden : 1335
totalporcimpuestos : 1.28
Orden Agregador, se asigno nuevo numero de Orden : 251137
Proximo # De Orden : T251137

-------------- 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,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('251137','T251137','AG','559521','18','MEGA CENTRO - PEDIDOS YA','C',
 '809-869-0585','559521 / Pedidos Ya','','CONSUMO','',
 '','2024-06-03','21:10','',
 '1131.349921875','0','0','203.6429859375','0','1335','0',
 '','' ,'' ,'','','',' ',
 '','MEDIO DE PAGO: VISA','','','','Pedidos Ya',''
)
header registrado
Ultimo ID : 19012
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
formatted : 
countryCode : 
city : 
street : 
number : 
floor : 
latLng : Array
comment : 
-------------- Insertar detalle orden -----------
1- K000913 Panormous Edge 1 Ing. : 1 * 1335 = 1335
2- 0100552  PANORMOUS EDGE BASICA : 1 * 0 = 0
3- 0700048  ING SOLO PEPPERONI MED : 1 * 0 = 0
4- 0700059  ING SOLO RES MED : 1 * 0 = 0

  OK
Retorno : {
			"status":"200",
			"orden":"T251137",
			"email":"1"
		}
Orden registrada. # Orden Json : 251137 / # Orden Web : T251137
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------- J S O N  R E C I B I D O ----------------
{"orden":"69664236","canal":"Wa","tipo_fac":"C","cod_unidad":"07","nom_unidad":"Zona Rosa","email":"","telefono":" 8299774930","nombre":"Katherine Salazar","calle":"","sector":"","casa":"","numero":"","comentario1":"","comentario2":"","comentario3":"No","comentario4":"","tiponcf":"CONSUMO","rnc":"","razonsocial":"","fecha":"2024-06-03","hora":"21:12","hora_entrega":"21:28","subtotal":0,"valor_descuento":0,"porciento_descuento":0,"itbis":0,"propina":0,"total":1535,"forma_pago":"EFECTIVO","cambio_efectivo":2000,"referencia":"","infoComprobante":null,"address":[{"formatted":"","countryCode":"","city":"","street":"","number":"","apt":"","floor":"","entrance":"","pobox":"","comment":"","latLng":{"lat":"0","lng":"0"}}],"members":[{"linea":1,"grupolinea":1,"plu":"K000529","descripcion":"Panormous Edge 1 Ing. + Breadsticks + 2 L","cantidad":1,"precio":1535,"ind_kit":"S","padre":""},{"linea":2,"grupolinea":1,"plu":"0100552","descripcion":"PANORMOUS EDGE BASICA","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000529"},{"linea":3,"grupolinea":1,"plu":"0700054","descripcion":"ING SOLO JAMON MED","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000529"},{"linea":4,"grupolinea":1,"plu":"0700139","descripcion":"ING SOLO POLLO MED","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000529"},{"linea":5,"grupolinea":1,"plu":"03059","descripcion":"2 LITROS COCA COLA","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000529"},{"linea":6,"grupolinea":1,"plu":"0200007","descripcion":"BREADSTICKS","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000529"}]}
--------- Configuracion de Impuestos ---------
porc_itbis : 0.18
porc_propina : 0.1
factor_precio : 8.474
Valor descuento : 0
Porciento descuento : 0
Total Orden : 1535
totalporcimpuestos : 1.28
Proximo # De Orden : T251138

-------------- 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,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('664236','T251138','WA','664236','07','ZONA ROSA','C',
 '829-977-4930','KATHERINE SALAZAR','','CONSUMO','',
 '','2024-06-03','21:12','21:28',
 '1300.840546875','0','0','234.1512984375','0','1535','2000',
 '','EFECTIVO' ,'0' ,'0','','',' ',
 '','','','','EFECTIVO','',''
)
header registrado
Ultimo ID : 19013
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
formatted : 
countryCode : 
city : 
street : 
number : 
floor : 
latLng : Array
comment : 
-------------- Insertar detalle orden -----------
1- K000529 Panormous Edge 1 Ing. + Breadsticks + 2 L : 1 * 1535 = 1535
2- 0100552 PANORMOUS EDGE BASICA : 1 * 0 = 0
3- 0700054 ING SOLO JAMON MED : 1 * 0 = 0
4- 0700139 ING SOLO POLLO MED : 1 * 0 = 0
5- 03059 2 LITROS COCA COLA : 1 * 0 = 0
6- 0200007 BREADSTICKS : 1 * 0 = 0

  OK
Retorno : {
			"status":"200",
			"orden":"T251138",
			"email":"1"
		}
Orden registrada. # Orden Json : 664236 / # Orden Web : T251138
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------- J S O N  R E C I B I D O ----------------
{"orden":"802DE","canal":"AG","tipo_fac":"","cod_unidad":"10","nom_unidad":"Venezuela - Uber","email":"","telefono":" 8299473615","nombre":"Sandra R.","calle":"","sector":"","casa":"","numero":"","comentario1":"","comentario2":"","comentario3":"","comentario4":"","tiponcf":"CONSUMO","rnc":"","razonsocial":"","fecha":"2024-06-03","hora":"21:13","hora_entrega":"2024-06-03T21:37:06-04:00","subtotal":0,"valor_descuento":0,"porciento_descuento":0,"itbis":0,"propina":0,"total":1530,"forma_pago":"","cambio_efectivo":0,"referencia":"Uber","infoComprobante":null,"address":[{"formatted":"","countryCode":"274 05 994","city":"","street":"","number":"","apt":"","floor":"","entrance":"","pobox":"","comment":"","latLng":{"lat":"","lng":""}}],"members":[{"linea":1,"grupolinea":1,"plu":"03059","descripcion":"Coca Cola 2 Litros","cantidad":1,"precio":195,"ind_kit":"N","padre":""},{"linea":2,"grupolinea":3,"plu":"K000913","descripcion":"Panormous Edge 1 Ing.","cantidad":1,"precio":1335,"ind_kit":"S","padre":""},{"linea":3,"grupolinea":3,"plu":"0100552","descripcion":"PANORMOUS EDGE BASICA","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000913"},{"linea":4,"grupolinea":3,"plu":"0700051","descripcion":"ING SOLO SALCHICHA MED","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000913"},{"linea":5,"grupolinea":3,"plu":"0700065","descripcion":"ING SOLO TOCINETA MED","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000913"}]}
--------- Configuracion de Impuestos ---------
porc_itbis : 0.18
porc_propina : 0.1
factor_precio : 8.474
Valor descuento : 0
Porciento descuento : 0
Total Orden : 1530
totalporcimpuestos : 1.28
Orden Agregador, se asigno nuevo numero de Orden : 251139
Proximo # De Orden : T251139

-------------- 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,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('251139','T251139','AG','802DE','10','VENEZUELA - UBER','C',
 '829-947-3615','802DE / Uber','','CONSUMO','',
 '','2024-06-03','21:13','',
 '1296.60328125','0','0','233.388590625','0','1530','0',
 '','' ,'' ,'','','',' ',
 '','','','','','Uber',''
)
header registrado
Ultimo ID : 19014
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
formatted : 
countryCode : 274 05 994
city : 
street : 
number : 
floor : 
latLng : Array
comment : 
-------------- Insertar detalle orden -----------
1- 03059 Coca Cola 2 Litros : 1 * 195 = 195
2- K000913 Panormous Edge 1 Ing. : 1 * 1335 = 1335
3- 0100552 PANORMOUS EDGE BASICA : 1 * 0 = 0
4- 0700051 ING SOLO SALCHICHA MED : 1 * 0 = 0
5- 0700065 ING SOLO TOCINETA MED : 1 * 0 = 0

  OK
Retorno : {
			"status":"200",
			"orden":"T251139",
			"email":"1"
		}
Orden registrada. # Orden Json : 251139 / # Orden Web : T251139
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------- J S O N  R E C I B I D O ----------------
{"orden":"9C324","canal":"AG","tipo_fac":"","cod_unidad":"22","nom_unidad":"Naco - Uber","email":"","telefono":" 8299473615","nombre":"Romeo C.","calle":"","sector":"","casa":"","numero":"","comentario1":"","comentario2":"","comentario3":"","comentario4":"","tiponcf":"CONSUMO","rnc":"","razonsocial":"","fecha":"2024-06-03","hora":"21:13","hora_entrega":"2024-06-03T21:39:04-04:00","subtotal":0,"valor_descuento":0,"porciento_descuento":0,"itbis":0,"propina":0,"total":1690,"forma_pago":"","cambio_efectivo":0,"referencia":"Uber","infoComprobante":null,"address":[{"formatted":"","countryCode":"643 88 849","city":"","street":"","number":"","apt":"","floor":"","entrance":"","pobox":"","comment":"","latLng":{"lat":"","lng":""}}],"members":[{"linea":1,"grupolinea":1,"plu":"K000603","descripcion":"Hut Cheese 1 Ing. + Breadsticks + 1.25 L","cantidad":1,"precio":1690,"ind_kit":"S","padre":""},{"linea":2,"grupolinea":1,"plu":"0100184","descripcion":"BASICA 1ING HUT CHEESE","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000603"},{"linea":3,"grupolinea":1,"plu":"0700168","descripcion":"ING SOLO CERDO HUTCHEESE","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000603"},{"linea":4,"grupolinea":1,"plu":"0700173","descripcion":"ING SOLO PEPPERONI HUTC","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000603"},{"linea":5,"grupolinea":1,"plu":"20748","descripcion":"1.25 LITRO COCA COLA","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000603"},{"linea":6,"grupolinea":1,"plu":"0200007","descripcion":"BREADSTICKS","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000603"}]}
--------- Configuracion de Impuestos ---------
porc_itbis : 0.18
porc_propina : 0.1
factor_precio : 8.474
Valor descuento : 0
Porciento descuento : 0
Total Orden : 1690
totalporcimpuestos : 1.28
Orden Agregador, se asigno nuevo numero de Orden : 251140
Proximo # De Orden : T251140

-------------- 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,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('251140','T251140','AG','9C324','22','NACO - UBER','C',
 '829-947-3615','9C324 / Uber','','CONSUMO','',
 '','2024-06-03','21:13','',
 '1432.19578125','0','0','257.795240625','0','1690','0',
 '','' ,'' ,'','','',' ',
 '','','','','','Uber',''
)
header registrado
Ultimo ID : 19015
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
formatted : 
countryCode : 643 88 849
city : 
street : 
number : 
floor : 
latLng : Array
comment : 
-------------- Insertar detalle orden -----------
1- K000603 Hut Cheese 1 Ing. + Breadsticks + 1.25 L : 1 * 1690 = 1690
2- 0100184 BASICA 1ING HUT CHEESE : 1 * 0 = 0
3- 0700168 ING SOLO CERDO HUTCHEESE : 1 * 0 = 0
4- 0700173 ING SOLO PEPPERONI HUTC : 1 * 0 = 0
5- 20748 1.25 LITRO COCA COLA : 1 * 0 = 0
6- 0200007 BREADSTICKS : 1 * 0 = 0

  OK
Retorno : {
			"status":"200",
			"orden":"T251140",
			"email":"1"
		}
Orden registrada. # Orden Json : 251140 / # Orden Web : T251140
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------- J S O N  R E C I B I D O ----------------
{"orden":"1192560076","canal":"AG","tipo_fac":"","cod_unidad":"19","nom_unidad":"Av. Independencia - Pedidos Ya","email":"","telefono":"+18296496180","nombre":"Cynthia Medina","calle":"","sector":"","casa":"","numero":"","comentario1":"","comentario2":"Medio de pago: MASTERCARD","comentario3":"","comentario4":"","tiponcf":"CONSUMO","rnc":"","razonsocial":"","fecha":"2024-06-03","hora":"21:14","hora_entrega":"2024-06-04T01:42:15.000Z","subtotal":950,"valor_descuento":0,"porciento_descuento":0,"itbis":0,"propina":0,"total":950,"forma_pago":"","cambio_efectivo":0,"referencia":"Pedidos Ya","infoComprobante":null,"address":[{"formatted":"","countryCode":"","city":"","street":"","number":"","apt":"","floor":"","entrance":"","pobox":"","comment":"","latLng":{"lat":"","lng":""}}],"members":[{"linea":1,"grupolinea":0,"plu":"0100055","descripcion":"Napolitana  Mediana Pan","cantidad":1,"precio":950,"ind_kit":"N","padre":""}]}
--------- Configuracion de Impuestos ---------
porc_itbis : 0.18
porc_propina : 0.1
factor_precio : 8.474
Valor descuento : 0
Porciento descuento : 0
Total Orden : 950
totalporcimpuestos : 1.28
Orden Agregador, se asigno nuevo numero de Orden : 251141
Proximo # De Orden : T251141

-------------- 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,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('251141','T251141','AG','560076','19','AV. INDEPENDENCIA - PEDIDOS YA','C',
 '829-649-6180','560076 / Pedidos Ya','','CONSUMO','',
 '','2024-06-03','21:14','',
 '805.08046875','0','0','144.914484375','0','950','0',
 '','' ,'' ,'','','',' ',
 '','MEDIO DE PAGO: MASTERCARD','','','','Pedidos Ya',''
)
header registrado
Ultimo ID : 19016
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
formatted : 
countryCode : 
city : 
street : 
number : 
floor : 
latLng : Array
comment : 
-------------- Insertar detalle orden -----------
1- 0100055 Napolitana  Mediana Pan : 1 * 950 = 950

  OK
Retorno : {
			"status":"200",
			"orden":"T251141",
			"email":"1"
		}
Orden registrada. # Orden Json : 251141 / # Orden Web : T251141
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------- J S O N  R E C I B I D O ----------------
{"orden":"69665187","canal":"Wa","tipo_fac":"D","cod_unidad":"09","nom_unidad":"Calle El Sol","email":"","telefono":" 8293948948","nombre":"Las Mellas Eventos","calle":"Calle 9","sector":"","casa":"","numero":"13","comentario1":"","comentario2":"","comentario3":"No","comentario4":"","tiponcf":"CONSUMO","rnc":"","razonsocial":"","fecha":"2024-06-03","hora":"21:14","hora_entrega":"21:45","subtotal":0,"valor_descuento":0,"porciento_descuento":0,"itbis":0,"propina":0,"total":975,"forma_pago":"EFECTIVO","cambio_efectivo":0,"referencia":"","infoComprobante":null,"address":[{"formatted":"C. 9 13, Santiago de los Caballeros 51000, República Dominicana","countryCode":"DO","city":"Santiago de los Caballeros","street":"Calle 9","number":"13","apt":"","floor":"","entrance":"","pobox":"","comment":"","latLng":{"lat":"19.4435294","lng":"-70.7003"}}],"members":[{"linea":1,"grupolinea":1,"plu":"K000716","descripcion":"Big New Yorker 1 ing","cantidad":1,"precio":975,"ind_kit":"S","padre":""},{"linea":2,"grupolinea":1,"plu":"0100292","descripcion":"PIZZA BASICA 1 ING BNY","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000716"},{"linea":3,"grupolinea":1,"plu":"0700085","descripcion":"ING SOLO  MAIZ GDE","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000716"},{"linea":4,"grupolinea":1,"plu":"0700047","descripcion":"ING SOLO PEPPERONI GDE","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000716"}]}
--------- Configuracion de Impuestos ---------
porc_itbis : 0.18
porc_propina : 0.1
factor_precio : 8.474
Valor descuento : 0
Porciento descuento : 0
Total Orden : 975
totalporcimpuestos : 1.28
Proximo # De Orden : T251142

-------------- 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,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('665187','T251142','WA','665187','09','CALLE EL SOL','D',
 '829-394-8948','LAS MELLAS EVENTOS','','CONSUMO','',
 '','2024-06-03','21:14','21:45',
 '826.266796875','0','0','148.7280234375','0','975','0',
 '','EFECTIVO' ,'19.4435294' ,'-70.7003','','CALLE 9','13 ',
 '','','','','EFECTIVO','',''
)
header registrado
Ultimo ID : 19017
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
formatted : C. 9 13, Santiago de los Caballeros 51000, República Dominicana
countryCode : DO
city : Santiago de los Caballeros
street : Calle 9
number : 13
floor : 
latLng : Array
comment : 
-------------- Insertar detalle orden -----------
1- K000716 Big New Yorker 1 ing : 1 * 975 = 975
2- 0100292 PIZZA BASICA 1 ING BNY : 1 * 0 = 0
3- 0700085 ING SOLO  MAIZ GDE : 1 * 0 = 0
4- 0700047 ING SOLO PEPPERONI GDE : 1 * 0 = 0

  OK
Retorno : {
			"status":"200",
			"orden":"T251142",
			"email":"1"
		}
Orden registrada. # Orden Json : 665187 / # Orden Web : T251142
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------- J S O N  R E C I B I D O ----------------
{"orden":"1192594878","canal":"AG","tipo_fac":"","cod_unidad":"08","nom_unidad":"Máximo Gomez - Pedidos Ya","email":"","telefono":"+18297874133","nombre":"Reyniel Caraballo Custodio","calle":"","sector":"","casa":"","numero":"","comentario1":"","comentario2":"Medio de pago: VISA","comentario3":"","comentario4":"","tiponcf":"CONSUMO","rnc":"","razonsocial":"","fecha":"2024-06-03","hora":"21:16","hora_entrega":"2024-06-04T01:51:56.000Z","subtotal":1225,"valor_descuento":0,"porciento_descuento":0,"itbis":0,"propina":0,"total":1225,"forma_pago":"","cambio_efectivo":0,"referencia":"Pedidos Ya","infoComprobante":null,"address":[{"formatted":"","countryCode":"","city":"","street":"","number":"","apt":"","floor":"","entrance":"","pobox":"","comment":"","latLng":{"lat":"","lng":""}}],"members":[{"linea":1,"grupolinea":1,"plu":"K000621","descripcion":"Pizza Hut Cheese 1 Ing.","cantidad":1,"precio":1225,"ind_kit":"S","padre":""},{"linea":2,"grupolinea":1,"plu":"0100184","descripcion":" BASICA 1ING HUT CHEESE","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000621"},{"linea":3,"grupolinea":2,"plu":"0700172","descripcion":" ING SOLO MAIZ HUTCHEESE","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000621"},{"linea":4,"grupolinea":3,"plu":"0700171","descripcion":" ING SOLO JAMON HUTCHEESE","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000621"}]}
--------- Configuracion de Impuestos ---------
porc_itbis : 0.18
porc_propina : 0.1
factor_precio : 8.474
Valor descuento : 0
Porciento descuento : 0
Total Orden : 1225
totalporcimpuestos : 1.28
Orden Agregador, se asigno nuevo numero de Orden : 251143
Proximo # De Orden : T251143

-------------- 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,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('251143','T251143','AG','594878','08','MAXIMO GOMEZ - PEDIDOS YA','C',
 '829-787-4133','594878 / Pedidos Ya','','CONSUMO','',
 '','2024-06-03','21:16','',
 '1038.130078125','0','0','186.8634140625','0','1225','0',
 '','' ,'' ,'','','',' ',
 '','MEDIO DE PAGO: VISA','','','','Pedidos Ya',''
)
header registrado
Ultimo ID : 19018
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
formatted : 
countryCode : 
city : 
street : 
number : 
floor : 
latLng : Array
comment : 
-------------- Insertar detalle orden -----------
1- K000621 Pizza Hut Cheese 1 Ing. : 1 * 1225 = 1225
2- 0100184  BASICA 1ING HUT CHEESE : 1 * 0 = 0
3- 0700172  ING SOLO MAIZ HUTCHEESE : 1 * 0 = 0
4- 0700171  ING SOLO JAMON HUTCHEESE : 1 * 0 = 0

  OK
Retorno : {
			"status":"200",
			"orden":"T251143",
			"email":"1"
		}
Orden registrada. # Orden Json : 251143 / # Orden Web : T251143
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------- J S O N  R E C I B I D O ----------------
{"orden":"69666074","canal":"Wa","tipo_fac":"D","cod_unidad":"34","nom_unidad":"Pueblo Bávaro","email":"","telefono":" 8292698787","nombre":"Carmona","calle":"Calle Manati","sector":"","casa":"","numero":"0","comentario1":"La doble vía calle manati frente al colmado luchy apartamentos magdalena 103","comentario2":"","comentario3":"No","comentario4":"","tiponcf":"CONSUMO","rnc":"","razonsocial":"","fecha":"2024-06-03","hora":"21:19","hora_entrega":"22:00","subtotal":0,"valor_descuento":0,"porciento_descuento":0,"itbis":0,"propina":0,"total":1155,"forma_pago":"EFECTIVO","cambio_efectivo":0,"referencia":"","infoComprobante":null,"address":[{"formatted":"HHWJ+68R, C. Manati, Punta Cana 23000, República Dominicana","countryCode":"DO","city":"Punta Cana","street":"Calle Manati","number":"0","apt":"","floor":"","entrance":"","pobox":"","comment":"La doble vía calle manati frente al colmado luchy apartamentos magdalena 103","latLng":{"lat":"18.5956224","lng":"-68.4192211"}}],"members":[{"linea":1,"grupolinea":1,"plu":"K000913","descripcion":"Panormous Edge 1 Ing.","cantidad":1,"precio":1155,"ind_kit":"S","padre":""},{"linea":2,"grupolinea":1,"plu":"0100552","descripcion":"PANORMOUS EDGE BASICA","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000913"},{"linea":3,"grupolinea":1,"plu":"0700062","descripcion":"ING SOLO CERDO MED","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000913"},{"linea":4,"grupolinea":1,"plu":"0700139","descripcion":"ING SOLO POLLO MED","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000913"}]}
--------- Configuracion de Impuestos ---------
porc_itbis : 0.18
porc_propina : 0.1
factor_precio : 8.474
Valor descuento : 0
Porciento descuento : 0
Total Orden : 1155
totalporcimpuestos : 1.28
Proximo # De Orden : T251144

-------------- 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,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('666074','T251144','WA','666074','34','PUEBLO BAVARO','D',
 '829-269-8787','CARMONA','','CONSUMO','',
 '','2024-06-03','21:19','22:00',
 '978.808359375','0','0','176.1855046875','0','1155','0',
 '','EFECTIVO' ,'18.5956224' ,'-68.4192211','','CALLE MANATI','0 ',
 '','LA DOBLE ViA CALLE MANATI FRENTE AL COLM','ADO LUCHY APARTAMENTOS MAGDALENA 103','','EFECTIVO','',''
)
header registrado
Ultimo ID : 19019
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
formatted : HHWJ+68R, C. Manati, Punta Cana 23000, República Dominicana
countryCode : DO
city : Punta Cana
street : Calle Manati
number : 0
floor : 
latLng : Array
comment : La doble vía calle manati frente al colmado luchy apartamentos magdalena 103
-------------- Insertar detalle orden -----------
1- K000913 Panormous Edge 1 Ing. : 1 * 1155 = 1155
2- 0100552 PANORMOUS EDGE BASICA : 1 * 0 = 0
3- 0700062 ING SOLO CERDO MED : 1 * 0 = 0
4- 0700139 ING SOLO POLLO MED : 1 * 0 = 0

  OK
Retorno : {
			"status":"200",
			"orden":"T251144",
			"email":"1"
		}
Orden registrada. # Orden Json : 666074 / # Orden Web : T251144
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------- J S O N  R E C I B I D O ----------------
{"orden":"1192561032","canal":"AG","tipo_fac":"","cod_unidad":"19","nom_unidad":"Av. Independencia - Pedidos Ya","email":"","telefono":"+18295738175","nombre":"ranferi perez","calle":"","sector":"","casa":"","numero":"","comentario1":"","comentario2":"Facturar a empresa: IDEAS COMERCIALES JABAST SRL - Nro.: 132192893 | Medio de pago: VISA","comentario3":"","comentario4":"","tiponcf":"CONSUMO","rnc":"","razonsocial":"","fecha":"2024-06-03","hora":"21:20","hora_entrega":"2024-06-04T01:53:54.000Z","subtotal":1350,"valor_descuento":0,"porciento_descuento":0,"itbis":0,"propina":0,"total":1350,"forma_pago":"","cambio_efectivo":0,"referencia":"Pedidos Ya","infoComprobante":" IDEAS COMERCIALES JABAST SRL   , 132192893 ","address":[{"formatted":"","countryCode":"","city":"","street":"","number":"","apt":"","floor":"","entrance":"","pobox":"","comment":"","latLng":{"lat":"","lng":""}}],"members":[{"linea":1,"grupolinea":1,"plu":"K000726","descripcion":"Big New Yorker + Breadsticks + 1.25 L","cantidad":1,"precio":1350,"ind_kit":"S","padre":""},{"linea":2,"grupolinea":1,"plu":"0100292","descripcion":" PIZZA BASICA 1 ING BNY","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000726"},{"linea":3,"grupolinea":2,"plu":"0700047","descripcion":" ING SOLO PEPPERONI GDE","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000726"},{"linea":4,"grupolinea":3,"plu":"0700047","descripcion":" ING SOLO PEPPERONI GDE","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000726"},{"linea":5,"grupolinea":4,"plu":"0200007","descripcion":" BREADSTICKS","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000726"},{"linea":6,"grupolinea":5,"plu":"20748","descripcion":" 1.25 LITRO COCA COLA","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000726"}]}
--------- Configuracion de Impuestos ---------
porc_itbis : 0.18
porc_propina : 0.1
factor_precio : 8.474
Valor descuento : 0
Porciento descuento : 0
Total Orden : 1350
totalporcimpuestos : 1.28
Orden Agregador, se asigno nuevo numero de Orden : 251145
Proximo # De Orden : T251145

-------------- 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,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('251145','T251145','AG','561032','19','AV. INDEPENDENCIA - PEDIDOS YA','C',
 '829-573-8175','561032 / Pedidos Ya','','CONSUMO','',
 '','2024-06-03','21:20','',
 '1144.06171875','0','0','205.931109375','0','1350','0',
 '','' ,'' ,'','','',' ',
 '','FACTURAR A EMPRESA: IDEAS COMERCIALES JA','BAST SRL - NRO.: 132192893 | MEDIO DE PA','GO: VISA','','Pedidos Ya','IDEAS COMERCIALES JABAST SRL   , 132192893'
)
header registrado
Ultimo ID : 19020
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
formatted : 
countryCode : 
city : 
street : 
number : 
floor : 
latLng : Array
comment : 
-------------- Insertar detalle orden -----------
1- K000726 Big New Yorker + Breadsticks + 1.25 L : 1 * 1350 = 1350
2- 0100292  PIZZA BASICA 1 ING BNY : 1 * 0 = 0
3- 0700047  ING SOLO PEPPERONI GDE : 1 * 0 = 0
4- 0700047  ING SOLO PEPPERONI GDE : 1 * 0 = 0
5- 0200007  BREADSTICKS : 1 * 0 = 0
6- 20748  1.25 LITRO COCA COLA : 1 * 0 = 0

  OK
Retorno : {
			"status":"200",
			"orden":"T251145",
			"email":"1"
		}
Orden registrada. # Orden Json : 251145 / # Orden Web : T251145
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------- J S O N  R E C I B I D O ----------------
{"orden":"69666807","canal":"Wa","tipo_fac":"D","cod_unidad":"38","nom_unidad":"Colina Center","email":"","telefono":" 8492522505","nombre":"Saga","calle":"Calle Colinas del Viento","sector":"","casa":"","numero":"0","comentario1":" - ","comentario2":"información adicional: Santo Domingo Norte, Colinas del viento, etapa breva, casa 2-34.","comentario3":"No","comentario4":"","tiponcf":"CONSUMO","rnc":"","razonsocial":"","fecha":"2024-06-03","hora":"21:21","hora_entrega":"21:52","subtotal":0,"valor_descuento":0,"porciento_descuento":0,"itbis":0,"propina":0,"total":1155,"forma_pago":"EFECTIVO","cambio_efectivo":0,"referencia":"","infoComprobante":null,"address":[{"formatted":"C. Colinas del Viento, República Dominicana","countryCode":"DO","city":"Santo Domingo Norte","street":"Calle Colinas del Viento","number":"0","apt":"casa 2","floor":"","entrance":"","pobox":"","comment":" - ","latLng":{"lat":"18.5576534","lng":"-69.9431186"}}],"members":[{"linea":1,"grupolinea":1,"plu":"K000913","descripcion":"Panormous Edge 1 Ing.","cantidad":1,"precio":1155,"ind_kit":"S","padre":""},{"linea":2,"grupolinea":1,"plu":"0100552","descripcion":"PANORMOUS EDGE BASICA","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000913"},{"linea":3,"grupolinea":1,"plu":"0700048","descripcion":"ING SOLO PEPPERONI MED","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000913"},{"linea":4,"grupolinea":1,"plu":"0700065","descripcion":"ING SOLO TOCINETA MED","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000913"}]}
--------- Configuracion de Impuestos ---------
porc_itbis : 0.18
porc_propina : 0.1
factor_precio : 8.474
Valor descuento : 0
Porciento descuento : 0
Total Orden : 1155
totalporcimpuestos : 1.28
Proximo # De Orden : T251146

-------------- 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,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('666807','T251146','WA','666807','38','COLINA CENTER','D',
 '849-252-2505','SAGA','','CONSUMO','',
 '','2024-06-03','21:21','21:52',
 '978.808359375','0','0','176.1855046875','0','1155','0',
 '','EFECTIVO' ,'18.5576534' ,'-69.9431186','','CALLE COLINAS DEL VIENTO','0 casa 2',
 '','SANTO DOMINGO NORTE, COLINAS DEL VIENTO,',' ETAPA BREVA, CASA 2-34.','','EFECTIVO','',''
)
header registrado
Ultimo ID : 19021
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
formatted : C. Colinas del Viento, República Dominicana
countryCode : DO
city : Santo Domingo Norte
street : Calle Colinas del Viento
number : 0
floor : 
latLng : Array
comment :  - 
-------------- Insertar detalle orden -----------
1- K000913 Panormous Edge 1 Ing. : 1 * 1155 = 1155
2- 0100552 PANORMOUS EDGE BASICA : 1 * 0 = 0
3- 0700048 ING SOLO PEPPERONI MED : 1 * 0 = 0
4- 0700065 ING SOLO TOCINETA MED : 1 * 0 = 0

  OK
Retorno : {
			"status":"200",
			"orden":"T251146",
			"email":"1"
		}
Orden registrada. # Orden Json : 666807 / # Orden Web : T251146
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------- J S O N  R E C I B I D O ----------------
{"orden":"1192596089","canal":"AG","tipo_fac":"","cod_unidad":"15","nom_unidad":"Arroyo Hondo - Pedidos Ya","email":"","telefono":"+18293495007","nombre":"Angela Echavarria","calle":"","sector":"","casa":"","numero":"","comentario1":"","comentario2":"Medio de pago: VISA","comentario3":"","comentario4":"","tiponcf":"CONSUMO","rnc":"","razonsocial":"","fecha":"2024-06-03","hora":"21:25","hora_entrega":"2024-06-04T01:55:34.000Z","subtotal":1745,"valor_descuento":55,"porciento_descuento":0,"itbis":0,"propina":0,"total":1745,"forma_pago":"","cambio_efectivo":0,"referencia":"Pedidos Ya","infoComprobante":null,"address":[{"formatted":"","countryCode":"","city":"","street":"","number":"","apt":"","floor":"","entrance":"","pobox":"","comment":"","latLng":{"lat":"","lng":""}}],"members":[{"linea":1,"grupolinea":1,"plu":"K000603","descripcion":"Hut Cheese 1 Ing. + Breadsticks + 1.25 L","cantidad":1,"precio":1745,"ind_kit":"S","padre":""},{"linea":2,"grupolinea":1,"plu":"0100184","descripcion":" BASICA 1ING HUT CHEESE","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000603"},{"linea":3,"grupolinea":2,"plu":"0700178","descripcion":" ING SOLO TOCINETA HUTCHEE","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000603"},{"linea":4,"grupolinea":3,"plu":"0700170","descripcion":" ING SOLO  HONGOS HUTCHE","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000603"},{"linea":5,"grupolinea":4,"plu":"20748","descripcion":" 1.25 LITRO COCA COLA","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000603"},{"linea":6,"grupolinea":5,"plu":"0200007","descripcion":" BREADSTICKS","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000603"}]}
--------- Configuracion de Impuestos ---------
porc_itbis : 0.18
porc_propina : 0.1
factor_precio : 8.474
Valor descuento : 55
Porciento descuento : 3
Total Orden : 1745
totalporcimpuestos : 1.28
Orden Agregador, se asigno nuevo numero de Orden : 251147
Proximo # De Orden : T251147

-------------- 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,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('251147','T251147','AG','596089','15','ARROYO HONDO - PEDIDOS YA','C',
 '829-349-5007','596089 / Pedidos Ya','','CONSUMO','',
 '','2024-06-03','21:25','',
 '1478.805703125','55','3','266.1850265625','0','1745','0',
 '','' ,'' ,'','','',' ',
 '','MEDIO DE PAGO: VISA','','','','Pedidos Ya',''
)
header registrado
Ultimo ID : 19023
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
formatted : 
countryCode : 
city : 
street : 
number : 
floor : 
latLng : Array
comment : 
-------------- Insertar detalle orden -----------
1- K000603 Hut Cheese 1 Ing. + Breadsticks + 1.25 L : 1 * 1745 = 1745
2- 0100184  BASICA 1ING HUT CHEESE : 1 * 0 = 0
3- 0700178  ING SOLO TOCINETA HUTCHEE : 1 * 0 = 0
4- 0700170  ING SOLO  HONGOS HUTCHE : 1 * 0 = 0
5- 20748  1.25 LITRO COCA COLA : 1 * 0 = 0
6- 0200007  BREADSTICKS : 1 * 0 = 0

  OK
Retorno : {
			"status":"200",
			"orden":"T251147",
			"email":"1"
		}
Orden registrada. # Orden Json : 251147 / # Orden Web : T251147
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------- J S O N  R E C I B I D O ----------------
{"orden":"69666912","canal":"Wa","tipo_fac":"D","cod_unidad":"37","nom_unidad":"Puerto Plata","email":"","telefono":" 8293339275","nombre":"Veva","calle":"Urbanización El Doral","sector":"","casa":"","numero":"0","comentario1":"El Doral , cuando entre doble a mano izquierda luego mano derecha , seguir derecho y en la segunda entrada doblar izquierda y lueho derecho","comentario2":"información adicional: Urbanización el Doral puerto plata.","comentario3":"No","comentario4":"","tiponcf":"CONSUMO","rnc":"","razonsocial":"","fecha":"2024-06-03","hora":"21:26","hora_entrega":"21:56","subtotal":0,"valor_descuento":0,"porciento_descuento":0,"itbis":0,"propina":0,"total":645,"forma_pago":"EFECTIVO","cambio_efectivo":0,"referencia":"","infoComprobante":null,"address":[{"formatted":"Urb. El Doral, 57000 Puerto Plata, República Dominicana","countryCode":"DO","city":"Puerto Plata","street":"Urbanización El Doral","number":"0","apt":"","floor":"","entrance":"","pobox":"","comment":"El Doral , cuando entre doble a mano izquierda luego mano derecha , seguir derecho y en la segunda entrada doblar izquierda y lueho derecho","latLng":{"lat":"19.7719122","lng":"-70.6630174"}}],"members":[{"linea":1,"grupolinea":1,"plu":"0100161","descripcion":"Pepperoni Lover\u0027s Pequeña Pan","cantidad":1,"precio":535,"ind_kit":"N","padre":""},{"linea":2,"grupolinea":3,"plu":"03064","descripcion":"Coca Cola 16 Onz","cantidad":1,"precio":110,"ind_kit":"N","padre":""}]}
--------- Configuracion de Impuestos ---------
porc_itbis : 0.18
porc_propina : 0.1
factor_precio : 8.474
Valor descuento : 0
Porciento descuento : 0
Total Orden : 645
totalporcimpuestos : 1.28
Proximo # De Orden : T251148

-------------- 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,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('666912','T251148','WA','666912','37','PUERTO PLATA','D',
 '829-333-9275','VEVA','','CONSUMO','',
 '','2024-06-03','21:26','21:56',
 '546.607265625','0','0','98.3893078125','0','645','0',
 '','EFECTIVO' ,'19.7719122' ,'-70.6630174','','URBANIZACION EL DORAL','0 ',
 '','EL DORAL , CUANDO ENTRE DOBLE A MANO IZQ','UIERDA LUEGO MANO DERECHA , SEGUIR DEREC','HO Y EN LA SEGUNDA ENTRADA DOBLAR IZQUIE','EFECTIVO','',''
)
header registrado
Ultimo ID : 19024
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
formatted : Urb. El Doral, 57000 Puerto Plata, República Dominicana
countryCode : DO
city : Puerto Plata
street : Urbanización El Doral
number : 0
floor : 
latLng : Array
comment : El Doral , cuando entre doble a mano izquierda luego mano derecha , seguir derecho y en la segunda entrada doblar izquierda y lueho derecho
-------------- Insertar detalle orden -----------
1- 0100161 Pepperoni Lover's Pequeña Pan : 1 * 535 = 535
2- 03064 Coca Cola 16 Onz : 1 * 110 = 110

  OK
Retorno : {
			"status":"200",
			"orden":"T251148",
			"email":"1"
		}
Orden registrada. # Orden Json : 666912 / # Orden Web : T251148
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------- J S O N  R E C I B I D O ----------------
{"orden":"1192561837","canal":"AG","tipo_fac":"","cod_unidad":"12","nom_unidad":"Nuñez de Cáceres - Pedidos Ya","email":"","telefono":"+18095017199","nombre":"Daniel Cabrales","calle":"","sector":"","casa":"","numero":"","comentario1":"","comentario2":"Medio de pago: VISA","comentario3":"","comentario4":"","tiponcf":"CONSUMO","rnc":"","razonsocial":"","fecha":"2024-06-03","hora":"21:26","hora_entrega":"2024-06-04T02:02:21.000Z","subtotal":1245,"valor_descuento":0,"porciento_descuento":0,"itbis":0,"propina":0,"total":1245,"forma_pago":"","cambio_efectivo":0,"referencia":"Pedidos Ya","infoComprobante":null,"address":[{"formatted":"","countryCode":"","city":"","street":"","number":"","apt":"","floor":"","entrance":"","pobox":"","comment":"","latLng":{"lat":"","lng":""}}],"members":[{"linea":1,"grupolinea":1,"plu":"03059","descripcion":"Coca Cola 2 Litros","cantidad":1,"precio":195,"ind_kit":"N","padre":""},{"linea":2,"grupolinea":2,"plu":"0100164","descripcion":"Pepperoni Lover\u0027s  Mediana Thin","cantidad":1,"precio":1050,"ind_kit":"N","padre":""}]}
--------- Configuracion de Impuestos ---------
porc_itbis : 0.18
porc_propina : 0.1
factor_precio : 8.474
Valor descuento : 0
Porciento descuento : 0
Total Orden : 1245
totalporcimpuestos : 1.28
Orden Agregador, se asigno nuevo numero de Orden : 251149
Proximo # De Orden : T251149

-------------- 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,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('251149','T251149','AG','561837','12','NUNEZ DE CACERES - PEDIDOS YA','C',
 '809-501-7199','561837 / Pedidos Ya','','CONSUMO','',
 '','2024-06-03','21:26','',
 '1055.079140625','0','0','189.9142453125','0','1245','0',
 '','' ,'' ,'','','',' ',
 '','MEDIO DE PAGO: VISA','','','','Pedidos Ya',''
)
header registrado
Ultimo ID : 19025
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
formatted : 
countryCode : 
city : 
street : 
number : 
floor : 
latLng : Array
comment : 
-------------- Insertar detalle orden -----------
1- 03059 Coca Cola 2 Litros : 1 * 195 = 195
2- 0100164 Pepperoni Lover's  Mediana Thin : 1 * 1050 = 1050

  OK
Retorno : {
			"status":"200",
			"orden":"T251149",
			"email":"1"
		}
Orden registrada. # Orden Json : 251149 / # Orden Web : T251149
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------- J S O N  R E C I B I D O ----------------
{"orden":"69667682","canal":"Wa","tipo_fac":"D","cod_unidad":"28","nom_unidad":"La Romana","email":"","telefono":" 8298902145","nombre":"Batista","calle":"Villa Verde","sector":"","casa":"","numero":"0","comentario1":"Frente al colegio el peñón, en un colmado","comentario2":"","comentario3":"No","comentario4":"","tiponcf":"CONSUMO","rnc":"","razonsocial":"","fecha":"2024-06-03","hora":"21:28","hora_entrega":"21:59","subtotal":0,"valor_descuento":0,"porciento_descuento":0,"itbis":0,"propina":0,"total":1075,"forma_pago":"EFECTIVO","cambio_efectivo":0,"referencia":"","infoComprobante":null,"address":[{"formatted":"C2RH+9X7, La Romana 22000, República Dominicana","countryCode":"DO","city":"La Romana","street":"Villa Verde","number":"0","apt":"","floor":"","entrance":"","pobox":"","comment":"Frente al colegio el peñón, en un colmado","latLng":{"lat":"18.440935","lng":"-68.9700964"}}],"members":[{"linea":1,"grupolinea":1,"plu":"K000621","descripcion":"Pizza Hut Cheese 1 Ing.","cantidad":1,"precio":1075,"ind_kit":"S","padre":""},{"linea":2,"grupolinea":1,"plu":"0100184","descripcion":"BASICA 1ING HUT CHEESE","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000621"},{"linea":3,"grupolinea":1,"plu":"0700176","descripcion":"ING SOLO POLLO HUTCHEESE","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000621"},{"linea":4,"grupolinea":1,"plu":"0700173","descripcion":"ING SOLO PEPPERONI HUTC","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000621"}]}
--------- Configuracion de Impuestos ---------
porc_itbis : 0.18
porc_propina : 0.1
factor_precio : 8.474
Valor descuento : 0
Porciento descuento : 0
Total Orden : 1075
totalporcimpuestos : 1.28
Proximo # De Orden : T251150

-------------- 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,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('667682','T251150','WA','667682','28','LA ROMANA','D',
 '829-890-2145','BATISTA','','CONSUMO','',
 '','2024-06-03','21:28','21:59',
 '911.012109375','0','0','163.9821796875','0','1075','0',
 '','EFECTIVO' ,'18.440935' ,'-68.9700964','','VILLA VERDE','0 ',
 '','FRENTE AL COLEGIO EL PEnoN, EN UN COLMAD','O','','EFECTIVO','',''
)
header registrado
Ultimo ID : 19026
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
formatted : C2RH+9X7, La Romana 22000, República Dominicana
countryCode : DO
city : La Romana
street : Villa Verde
number : 0
floor : 
latLng : Array
comment : Frente al colegio el peñón, en un colmado
-------------- Insertar detalle orden -----------
1- K000621 Pizza Hut Cheese 1 Ing. : 1 * 1075 = 1075
2- 0100184 BASICA 1ING HUT CHEESE : 1 * 0 = 0
3- 0700176 ING SOLO POLLO HUTCHEESE : 1 * 0 = 0
4- 0700173 ING SOLO PEPPERONI HUTC : 1 * 0 = 0

  OK
Retorno : {
			"status":"200",
			"orden":"T251150",
			"email":"1"
		}
Orden registrada. # Orden Json : 667682 / # Orden Web : T251150
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------- J S O N  R E C I B I D O ----------------
{"orden":"0689D","canal":"AG","tipo_fac":"","cod_unidad":"09","nom_unidad":"Calle del Sol - Uber","email":"","telefono":" 8299473615","nombre":"Jorge D.","calle":"","sector":"","casa":"","numero":"","comentario1":"","comentario2":"","comentario3":"","comentario4":"","tiponcf":"CONSUMO","rnc":"","razonsocial":"","fecha":"2024-06-03","hora":"21:30","hora_entrega":"2024-06-03T21:56:00-04:00","subtotal":0,"valor_descuento":0,"porciento_descuento":0,"itbis":0,"propina":0,"total":2540,"forma_pago":"","cambio_efectivo":0,"referencia":"Uber","infoComprobante":null,"address":[{"formatted":"","countryCode":"436 56 874","city":"","street":"","number":"","apt":"","floor":"","entrance":"","pobox":"","comment":"","latLng":{"lat":"","lng":""}}],"members":[{"linea":1,"grupolinea":1,"plu":"0100146","descripcion":"Super Suprema Hut Cheese","cantidad":1,"precio":1725,"ind_kit":"N","padre":""},{"linea":2,"grupolinea":3,"plu":"0200023","descripcion":"Buffalo Wings (8 Unid.)","cantidad":1,"precio":815,"ind_kit":"N","padre":""}]}
--------- Configuracion de Impuestos ---------
porc_itbis : 0.18
porc_propina : 0.1
factor_precio : 8.474
Valor descuento : 0
Porciento descuento : 0
Total Orden : 2540
totalporcimpuestos : 1.28
Orden Agregador, se asigno nuevo numero de Orden : 251151
Proximo # De Orden : T251151

-------------- 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,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('251151','T251151','AG','0689D','09','CALLE DEL SOL - UBER','C',
 '829-947-3615','0689D / Uber','','CONSUMO','',
 '','2024-06-03','21:30','',
 '2152.5309375','0','0','387.45556875','0','2540','0',
 '','' ,'' ,'','','',' ',
 '','','','','','Uber',''
)
header registrado
Ultimo ID : 19027
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
formatted : 
countryCode : 436 56 874
city : 
street : 
number : 
floor : 
latLng : Array
comment : 
-------------- Insertar detalle orden -----------
1- 0100146 Super Suprema Hut Cheese : 1 * 1725 = 1725
2- 0200023 Buffalo Wings (8 Unid.) : 1 * 815 = 815

  OK
Retorno : {
			"status":"200",
			"orden":"T251151",
			"email":"1"
		}
Orden registrada. # Orden Json : 251151 / # Orden Web : T251151
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------- J S O N  R E C I B I D O ----------------
{"orden":"1192597263","canal":"AG","tipo_fac":"","cod_unidad":"37","nom_unidad":"Puerto Plata - Pedidos Ya","email":"","telefono":"+18098201678","nombre":"Kessler Salazar","calle":"","sector":"","casa":"","numero":"","comentario1":"","comentario2":"Medio de pago: VISA","comentario3":"","comentario4":"","tiponcf":"CONSUMO","rnc":"","razonsocial":"","fecha":"2024-06-03","hora":"21:34","hora_entrega":"2024-06-04T02:15:28.000Z","subtotal":1010,"valor_descuento":0,"porciento_descuento":0,"itbis":0,"propina":0,"total":1010,"forma_pago":"","cambio_efectivo":0,"referencia":"Pedidos Ya","infoComprobante":null,"address":[{"formatted":"","countryCode":"","city":"","street":"","number":"","apt":"","floor":"","entrance":"","pobox":"","comment":"","latLng":{"lat":"","lng":""}}],"members":[{"linea":1,"grupolinea":1,"plu":"0202022","descripcion":"Buffalo Wings (12 Unid.)","cantidad":1,"precio":1010,"ind_kit":"N","padre":""}]}
--------- Configuracion de Impuestos ---------
porc_itbis : 0.18
porc_propina : 0.1
factor_precio : 8.474
Valor descuento : 0
Porciento descuento : 0
Total Orden : 1010
totalporcimpuestos : 1.28
Orden Agregador, se asigno nuevo numero de Orden : 251152
Proximo # De Orden : T251152

-------------- 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,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('251152','T251152','AG','597263','37','PUERTO PLATA - PEDIDOS YA','C',
 '809-820-1678','597263 / Pedidos Ya','','CONSUMO','',
 '','2024-06-03','21:34','',
 '855.92765625','0','0','154.066978125','0','1010','0',
 '','' ,'' ,'','','',' ',
 '','MEDIO DE PAGO: VISA','','','','Pedidos Ya',''
)
header registrado
Ultimo ID : 19028
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
formatted : 
countryCode : 
city : 
street : 
number : 
floor : 
latLng : Array
comment : 
-------------- Insertar detalle orden -----------
1- 0202022 Buffalo Wings (12 Unid.) : 1 * 1010 = 1010

  OK
Retorno : {
			"status":"200",
			"orden":"T251152",
			"email":"1"
		}
Orden registrada. # Orden Json : 251152 / # Orden Web : T251152
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------- J S O N  R E C I B I D O ----------------
{"orden":"1192597381","canal":"AG","tipo_fac":"","cod_unidad":"03","nom_unidad":"Bella Vista - Pedidos Ya","email":"","telefono":"+18496335631","nombre":"Aileen Bautista","calle":"","sector":"","casa":"","numero":"","comentario1":"","comentario2":"Medio de pago: VISA","comentario3":"","comentario4":"","tiponcf":"CONSUMO","rnc":"","razonsocial":"","fecha":"2024-06-03","hora":"21:35","hora_entrega":"2024-06-04T02:03:23.000Z","subtotal":1757,"valor_descuento":55,"porciento_descuento":0,"itbis":0,"propina":0,"total":1757,"forma_pago":"","cambio_efectivo":0,"referencia":"Pedidos Ya","infoComprobante":null,"address":[{"formatted":"","countryCode":"","city":"","street":"","number":"","apt":"","floor":"","entrance":"","pobox":"","comment":"","latLng":{"lat":"","lng":""}}],"members":[{"linea":1,"grupolinea":1,"plu":"K000603","descripcion":"Hut Cheese 1 Ing. + Breadsticks + 1.25 L","cantidad":1,"precio":1745,"ind_kit":"S","padre":""},{"linea":2,"grupolinea":1,"plu":"0100184","descripcion":" BASICA 1ING HUT CHEESE","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000603"},{"linea":3,"grupolinea":2,"plu":"0700178","descripcion":" ING SOLO TOCINETA HUTCHEE","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000603"},{"linea":4,"grupolinea":3,"plu":"0700177","descripcion":" ING SOLO SALCHICHA HUTCHE","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000603"},{"linea":5,"grupolinea":4,"plu":"20748","descripcion":" 1.25 LITRO COCA COLA","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000603"},{"linea":6,"grupolinea":5,"plu":"0202021","descripcion":" BREADSTICKS GOLDEN","cantidad":1,"precio":12,"ind_kit":"N","padre":"K000603"}]}
--------- Configuracion de Impuestos ---------
porc_itbis : 0.18
porc_propina : 0.1
factor_precio : 8.474
Valor descuento : 55
Porciento descuento : 3
Total Orden : 1757
totalporcimpuestos : 1.28
Orden Agregador, se asigno nuevo numero de Orden : 251153
Proximo # De Orden : T251153

-------------- 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,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('251153','T251153','AG','597381','03','BELLA VISTA - PEDIDOS YA','C',
 '849-633-5631','597381 / Pedidos Ya','','CONSUMO','',
 '','2024-06-03','21:35','',
 '1488.975140625','55','3','268.0155253125','0','1757','0',
 '','' ,'' ,'','','',' ',
 '','MEDIO DE PAGO: VISA','','','','Pedidos Ya',''
)
header registrado
Ultimo ID : 19029
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
formatted : 
countryCode : 
city : 
street : 
number : 
floor : 
latLng : Array
comment : 
-------------- Insertar detalle orden -----------
1- K000603 Hut Cheese 1 Ing. + Breadsticks + 1.25 L : 1 * 1745 = 1745
2- 0100184  BASICA 1ING HUT CHEESE : 1 * 0 = 0
3- 0700178  ING SOLO TOCINETA HUTCHEE : 1 * 0 = 0
4- 0700177  ING SOLO SALCHICHA HUTCHE : 1 * 0 = 0
5- 20748  1.25 LITRO COCA COLA : 1 * 0 = 0
6- 0202021  BREADSTICKS GOLDEN : 1 * 12 = 12

  OK
Retorno : {
			"status":"200",
			"orden":"T251153",
			"email":"1"
		}
Orden registrada. # Orden Json : 251153 / # Orden Web : T251153
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------- J S O N  R E C I B I D O ----------------
{"orden":"69667930","canal":"Wa","tipo_fac":"C","cod_unidad":"31","nom_unidad":"BlueMall Punta Cana","email":"","telefono":" 8296935410","nombre":"Brenda Abreu","calle":"","sector":"","casa":"","numero":"","comentario1":"","comentario2":"","comentario3":"No","comentario4":"","tiponcf":"CONSUMO","rnc":"","razonsocial":"","fecha":"2024-06-03","hora":"21:36","hora_entrega":"21:51","subtotal":0,"valor_descuento":0,"porciento_descuento":0,"itbis":0,"propina":0,"total":1430,"forma_pago":"EFECTIVO","cambio_efectivo":0,"referencia":"","infoComprobante":"101026669 servicolt srl","address":[{"formatted":"","countryCode":"","city":"","street":"","number":"","apt":"","floor":"","entrance":"","pobox":"","comment":"","latLng":{"lat":"0","lng":"0"}}],"members":[{"linea":1,"grupolinea":1,"plu":"0100140","descripcion":"Super Suprema Pan Grande","cantidad":1,"precio":1430,"ind_kit":"N","padre":""}]}
--------- Configuracion de Impuestos ---------
porc_itbis : 0.18
porc_propina : 0.1
factor_precio : 8.474
Valor descuento : 0
Porciento descuento : 0
Total Orden : 1430
totalporcimpuestos : 1.28
Proximo # De Orden : T251154

-------------- 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,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('667930','T251154','WA','667930','31','BLUEMALL PUNTA CANA','C',
 '829-693-5410','BRENDA ABREU','','CONSUMO','',
 '','2024-06-03','21:36','21:51',
 '1211.85796875','0','0','218.134434375','0','1430','0',
 '','EFECTIVO' ,'0' ,'0','','',' ',
 '','','','','EFECTIVO','','101026669 servicolt srl'
)
header registrado
Ultimo ID : 19030
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
formatted : 
countryCode : 
city : 
street : 
number : 
floor : 
latLng : Array
comment : 
-------------- Insertar detalle orden -----------
1- 0100140 Super Suprema Pan Grande : 1 * 1430 = 1430

  OK
Retorno : {
			"status":"200",
			"orden":"T251154",
			"email":"1"
		}
Orden registrada. # Orden Json : 667930 / # Orden Web : T251154
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------- J S O N  R E C I B I D O ----------------
{"orden":"69667417","canal":"Wa","tipo_fac":"D","cod_unidad":"37","nom_unidad":"Puerto Plata","email":"","telefono":" 8492727674","nombre":"Onasis","calle":"Barrio Las Yaguitas","sector":"","casa":"","numero":"0","comentario1":"","comentario2":"","comentario3":"No","comentario4":"","tiponcf":"CONSUMO","rnc":"","razonsocial":"","fecha":"2024-06-03","hora":"21:36","hora_entrega":"22:06","subtotal":0,"valor_descuento":0,"porciento_descuento":0,"itbis":0,"propina":0,"total":1250,"forma_pago":"EFECTIVO","cambio_efectivo":2000,"referencia":"","infoComprobante":null,"address":[{"formatted":"Q8JF+QFP, Puerto Plata 57000, República Dominicana","countryCode":"DO","city":"Puerto Plata","street":"Barrio Las Yaguitas","number":"0","apt":"","floor":"","entrance":"","pobox":"","comment":"","latLng":{"lat":"19.781956","lng":"-70.6762961"}}],"members":[{"linea":1,"grupolinea":1,"plu":"K000726","descripcion":"Big New Yorker + Breadsticks + 1.25 L","cantidad":1,"precio":1250,"ind_kit":"S","padre":""},{"linea":2,"grupolinea":1,"plu":"0100292","descripcion":"PIZZA BASICA 1 ING BNY","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000726"},{"linea":3,"grupolinea":1,"plu":"0700138","descripcion":"ING SOLO POLLO GDE","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000726"},{"linea":4,"grupolinea":1,"plu":"0700047","descripcion":"ING SOLO PEPPERONI GDE","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000726"},{"linea":5,"grupolinea":1,"plu":"0200007","descripcion":"BREADSTICKS","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000726"},{"linea":6,"grupolinea":1,"plu":"20748","descripcion":"1.25 LITRO COCA COLA","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000726"}]}
--------- Configuracion de Impuestos ---------
porc_itbis : 0.18
porc_propina : 0.1
factor_precio : 8.474
Valor descuento : 0
Porciento descuento : 0
Total Orden : 1250
totalporcimpuestos : 1.28
Proximo # De Orden : T251155

-------------- 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,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('667417','T251155','WA','667417','37','PUERTO PLATA','D',
 '849-272-7674','ONASIS','','CONSUMO','',
 '','2024-06-03','21:36','22:06',
 '1059.31640625','0','0','190.676953125','0','1250','2000',
 '','EFECTIVO' ,'19.781956' ,'-70.6762961','','BARRIO LAS YAGUITAS','0 ',
 '','','','','EFECTIVO','',''
)
header registrado
Ultimo ID : 19031
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
formatted : Q8JF+QFP, Puerto Plata 57000, República Dominicana
countryCode : DO
city : Puerto Plata
street : Barrio Las Yaguitas
number : 0
floor : 
latLng : Array
comment : 
-------------- Insertar detalle orden -----------
1- K000726 Big New Yorker + Breadsticks + 1.25 L : 1 * 1250 = 1250
2- 0100292 PIZZA BASICA 1 ING BNY : 1 * 0 = 0
3- 0700138 ING SOLO POLLO GDE : 1 * 0 = 0
4- 0700047 ING SOLO PEPPERONI GDE : 1 * 0 = 0
5- 0200007 BREADSTICKS : 1 * 0 = 0
6- 20748 1.25 LITRO COCA COLA : 1 * 0 = 0

  OK
Retorno : {
			"status":"200",
			"orden":"T251155",
			"email":"1"
		}
Orden registrada. # Orden Json : 667417 / # Orden Web : T251155
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------- J S O N  R E C I B I D O ----------------
{"orden":"1192619194","canal":"AG","tipo_fac":"","cod_unidad":"12","nom_unidad":"Nuñez de Cáceres - Pedidos Ya","email":"","telefono":"+18498833112","nombre":"Abel Levasseur","calle":"","sector":"","casa":"","numero":"","comentario1":"","comentario2":"Medio de pago: VISA","comentario3":"","comentario4":"","tiponcf":"CONSUMO","rnc":"","razonsocial":"","fecha":"2024-06-03","hora":"21:36","hora_entrega":"2024-06-04T02:02:59.000Z","subtotal":950,"valor_descuento":0,"porciento_descuento":0,"itbis":0,"propina":0,"total":950,"forma_pago":"","cambio_efectivo":0,"referencia":"Pedidos Ya","infoComprobante":null,"address":[{"formatted":"","countryCode":"","city":"","street":"","number":"","apt":"","floor":"","entrance":"","pobox":"","comment":"","latLng":{"lat":"","lng":""}}],"members":[{"linea":1,"grupolinea":1,"plu":"K000625","descripcion":"Pizza Mediana 1 Ing.","cantidad":1,"precio":950,"ind_kit":"S","padre":""},{"linea":2,"grupolinea":1,"plu":"0100185","descripcion":" BASICA 1 ING MED PAN","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000625"},{"linea":3,"grupolinea":2,"plu":"0700048","descripcion":" ING SOLO PEPPERONI MED","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000625"},{"linea":4,"grupolinea":3,"plu":"0700086","descripcion":" ING SOLO MAIZ MED","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000625"}]}
--------- Configuracion de Impuestos ---------
porc_itbis : 0.18
porc_propina : 0.1
factor_precio : 8.474
Valor descuento : 0
Porciento descuento : 0
Total Orden : 950
totalporcimpuestos : 1.28
Orden Agregador, se asigno nuevo numero de Orden : 251156
Proximo # De Orden : T251156

-------------- 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,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('251156','T251156','AG','619194','12','NUNEZ DE CACERES - PEDIDOS YA','C',
 '849-883-3112','619194 / Pedidos Ya','','CONSUMO','',
 '','2024-06-03','21:36','',
 '805.08046875','0','0','144.914484375','0','950','0',
 '','' ,'' ,'','','',' ',
 '','MEDIO DE PAGO: VISA','','','','Pedidos Ya',''
)
header registrado
Ultimo ID : 19032
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
formatted : 
countryCode : 
city : 
street : 
number : 
floor : 
latLng : Array
comment : 
-------------- Insertar detalle orden -----------
1- K000625 Pizza Mediana 1 Ing. : 1 * 950 = 950
2- 0100185  BASICA 1 ING MED PAN : 1 * 0 = 0
3- 0700048  ING SOLO PEPPERONI MED : 1 * 0 = 0
4- 0700086  ING SOLO MAIZ MED : 1 * 0 = 0

  OK
Retorno : {
			"status":"200",
			"orden":"T251156",
			"email":"1"
		}
Orden registrada. # Orden Json : 251156 / # Orden Web : T251156
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------- J S O N  R E C I B I D O ----------------
{"orden":"69667160","canal":"Wa","tipo_fac":"D","cod_unidad":"31","nom_unidad":"BlueMall Punta Cana","email":"","telefono":" 8295563536","nombre":"Edwin","calle":"Punta Cana","sector":"","casa":"","numero":"0","comentario1":"","comentario2":"","comentario3":"No","comentario4":"","tiponcf":"CONSUMO","rnc":"","razonsocial":"","fecha":"2024-06-03","hora":"21:38","hora_entrega":"22:18","subtotal":0,"valor_descuento":0,"porciento_descuento":0,"itbis":0,"propina":0,"total":570,"forma_pago":"EFECTIVO","cambio_efectivo":0,"referencia":"","infoComprobante":null,"address":[{"formatted":"GJPP+M4M, Punta Cana 23000, República Dominicana","countryCode":"DO","city":"Punta Cana","street":"Punta Cana","number":"0","apt":"","floor":"","entrance":"","pobox":"","comment":"","latLng":{"lat":"18.5363446","lng":"-68.3641353"}}],"members":[{"linea":1,"grupolinea":1,"plu":"0100148","descripcion":"Suprema de Pollo Pequeña Pan","cantidad":1,"precio":570,"ind_kit":"N","padre":""}]}
--------- Configuracion de Impuestos ---------
porc_itbis : 0.18
porc_propina : 0.1
factor_precio : 8.474
Valor descuento : 0
Porciento descuento : 0
Total Orden : 570
totalporcimpuestos : 1.28
Proximo # De Orden : T251157

-------------- 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,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('667160','T251157','WA','667160','31','BLUEMALL PUNTA CANA','D',
 '829-556-3536','EDWIN','','CONSUMO','',
 '','2024-06-03','21:38','22:18',
 '483.04828125','0','0','86.948690625','0','570','0',
 '','EFECTIVO' ,'18.5363446' ,'-68.3641353','','PUNTA CANA','0 ',
 '','','','','EFECTIVO','',''
)
header registrado
Ultimo ID : 19033
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
formatted : GJPP+M4M, Punta Cana 23000, República Dominicana
countryCode : DO
city : Punta Cana
street : Punta Cana
number : 0
floor : 
latLng : Array
comment : 
-------------- Insertar detalle orden -----------
1- 0100148 Suprema de Pollo Pequeña Pan : 1 * 570 = 570

  OK
Retorno : {
			"status":"200",
			"orden":"T251157",
			"email":"1"
		}
Orden registrada. # Orden Json : 667160 / # Orden Web : T251157
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------- J S O N  R E C I B I D O ----------------
{"orden":"69668597","canal":"Wa","tipo_fac":"D","cod_unidad":"12","nom_unidad":"Nuñez de Cáceres","email":"","telefono":" 8099105211","nombre":"Arq  Marina Cuacos","calle":"Calle 2","sector":"","casa":"","numero":"37","comentario1":"Calle 2da edificio mercedes andrea piso 2A el millón","comentario2":"","comentario3":"No","comentario4":"","tiponcf":"CONSUMO","rnc":"","razonsocial":"","fecha":"2024-06-03","hora":"21:39","hora_entrega":"22:09","subtotal":0,"valor_descuento":0,"porciento_descuento":0,"itbis":0,"propina":0,"total":1250,"forma_pago":"EFECTIVO","cambio_efectivo":0,"referencia":"","infoComprobante":null,"address":[{"formatted":"C. 2 37, Santo Domingo, República Dominicana","countryCode":"DO","city":"Santo Domingo","street":"Calle 2","number":"37","apt":"","floor":"","entrance":"","pobox":"","comment":"Calle 2da edificio mercedes andrea piso 2A el millón","latLng":{"lat":"18.4536814","lng":"-69.9606403"}}],"members":[{"linea":1,"grupolinea":1,"plu":"K000726","descripcion":"Big New Yorker + Breadsticks + 1.25 L","cantidad":1,"precio":1250,"ind_kit":"S","padre":""},{"linea":2,"grupolinea":1,"plu":"0100292","descripcion":"PIZZA BASICA 1 ING BNY","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000726"},{"linea":3,"grupolinea":1,"plu":"0700053","descripcion":"ING SOLO JAMON GDE","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000726"},{"linea":4,"grupolinea":1,"plu":"0700064","descripcion":"ING SOLO TOCINETA GDE","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000726"},{"linea":5,"grupolinea":1,"plu":"0200007","descripcion":"BREADSTICKS","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000726"},{"linea":6,"grupolinea":1,"plu":"20748","descripcion":"1.25 LITRO COCA COLA","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000726"}]}
--------- Configuracion de Impuestos ---------
porc_itbis : 0.18
porc_propina : 0.1
factor_precio : 8.474
Valor descuento : 0
Porciento descuento : 0
Total Orden : 1250
totalporcimpuestos : 1.28
Proximo # De Orden : T251158

-------------- 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,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('668597','T251158','WA','668597','12','NUNEZ DE CACERES','D',
 '809-910-5211','ARQ  MARINA CUACOS','','CONSUMO','',
 '','2024-06-03','21:39','22:09',
 '1059.31640625','0','0','190.676953125','0','1250','0',
 '','EFECTIVO' ,'18.4536814' ,'-69.9606403','','CALLE 2','37 ',
 '','CALLE 2DA EDIFICIO MERCEDES ANDREA PISO ','2A EL MILLoN','','EFECTIVO','',''
)
header registrado
Ultimo ID : 19034
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
formatted : C. 2 37, Santo Domingo, República Dominicana
countryCode : DO
city : Santo Domingo
street : Calle 2
number : 37
floor : 
latLng : Array
comment : Calle 2da edificio mercedes andrea piso 2A el millón
-------------- Insertar detalle orden -----------
1- K000726 Big New Yorker + Breadsticks + 1.25 L : 1 * 1250 = 1250
2- 0100292 PIZZA BASICA 1 ING BNY : 1 * 0 = 0
3- 0700053 ING SOLO JAMON GDE : 1 * 0 = 0
4- 0700064 ING SOLO TOCINETA GDE : 1 * 0 = 0
5- 0200007 BREADSTICKS : 1 * 0 = 0
6- 20748 1.25 LITRO COCA COLA : 1 * 0 = 0

  OK
Retorno : {
			"status":"200",
			"orden":"T251158",
			"email":"1"
		}
Orden registrada. # Orden Json : 668597 / # Orden Web : T251158
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------- J S O N  R E C I B I D O ----------------
{"orden":"69669089","canal":"Wa","tipo_fac":"D","cod_unidad":"17","nom_unidad":"San Francisco de Macorís","email":"","telefono":" 8493741099","nombre":"Ashley Paredes","calle":"San Francisco de Macorís","sector":"","casa":"","numero":"0","comentario1":"","comentario2":"","comentario3":"No","comentario4":"","tiponcf":"CONSUMO","rnc":"","razonsocial":"","fecha":"2024-06-03","hora":"21:42","hora_entrega":"22:13","subtotal":0,"valor_descuento":0,"porciento_descuento":0,"itbis":0,"propina":0,"total":510,"forma_pago":"EFECTIVO","cambio_efectivo":1000,"referencia":"","infoComprobante":null,"address":[{"formatted":"7PVR+P9J, San Francisco de Macorís 31000, República Dominicana","countryCode":"DO","city":"San Francisco de Macorís","street":"San Francisco de Macorís","number":"0","apt":"","floor":"","entrance":"","pobox":"","comment":"","latLng":{"lat":"19.2943854","lng":"-70.2590858"}}],"members":[{"linea":1,"grupolinea":1,"plu":"K000627","descripcion":"Pizza Pequeña 1 Ing.","cantidad":1,"precio":510,"ind_kit":"S","padre":""},{"linea":2,"grupolinea":1,"plu":"0100187","descripcion":"BASICA 1 ING PEQ PAN","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000627"},{"linea":3,"grupolinea":1,"plu":"0700049","descripcion":"ING SOLO PEPPERONI PEQ","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000627"},{"linea":4,"grupolinea":1,"plu":"0700066","descripcion":"ING SOLO TOCINETA PEQ","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000627"}]}
--------- Configuracion de Impuestos ---------
porc_itbis : 0.18
porc_propina : 0.1
factor_precio : 8.474
Valor descuento : 0
Porciento descuento : 0
Total Orden : 510
totalporcimpuestos : 1.28
Proximo # De Orden : T251159

-------------- 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,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('669089','T251159','WA','669089','17','SAN FRANCISCO DE MACORIS','D',
 '849-374-1099','ASHLEY PAREDES','','CONSUMO','',
 '','2024-06-03','21:42','22:13',
 '432.20109375','0','0','77.796196875','0','510','1000',
 '','EFECTIVO' ,'19.2943854' ,'-70.2590858','','SAN FRANCISCO DE MACORIS','0 ',
 '','','','','EFECTIVO','',''
)
header registrado
Ultimo ID : 19035
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
formatted : 7PVR+P9J, San Francisco de Macorís 31000, República Dominicana
countryCode : DO
city : San Francisco de Macorís
street : San Francisco de Macorís
number : 0
floor : 
latLng : Array
comment : 
-------------- Insertar detalle orden -----------
1- K000627 Pizza Pequeña 1 Ing. : 1 * 510 = 510
2- 0100187 BASICA 1 ING PEQ PAN : 1 * 0 = 0
3- 0700049 ING SOLO PEPPERONI PEQ : 1 * 0 = 0
4- 0700066 ING SOLO TOCINETA PEQ : 1 * 0 = 0

  OK
Retorno : {
			"status":"200",
			"orden":"T251159",
			"email":"1"
		}
Orden registrada. # Orden Json : 669089 / # Orden Web : T251159
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------- J S O N  R E C I B I D O ----------------
{"orden":"1192598385","canal":"AG","tipo_fac":"","cod_unidad":"37","nom_unidad":"Puerto Plata - Pedidos Ya","email":"","telefono":"+18493535788","nombre":"Rociel Escaño","calle":"","sector":"","casa":"","numero":"","comentario1":"","comentario2":"Medio de pago: VISA","comentario3":"","comentario4":"","tiponcf":"CONSUMO","rnc":"","razonsocial":"","fecha":"2024-06-03","hora":"21:43","hora_entrega":"2024-06-04T02:15:32.000Z","subtotal":370,"valor_descuento":0,"porciento_descuento":0,"itbis":0,"propina":0,"total":370,"forma_pago":"","cambio_efectivo":0,"referencia":"Pedidos Ya","infoComprobante":null,"address":[{"formatted":"","countryCode":"","city":"","street":"","number":"","apt":"","floor":"","entrance":"","pobox":"","comment":"","latLng":{"lat":"","lng":""}}],"members":[{"linea":1,"grupolinea":1,"plu":"0200065","descripcion":"Cheesesticks","cantidad":1,"precio":370,"ind_kit":"N","padre":""}]}
--------- Configuracion de Impuestos ---------
porc_itbis : 0.18
porc_propina : 0.1
factor_precio : 8.474
Valor descuento : 0
Porciento descuento : 0
Total Orden : 370
totalporcimpuestos : 1.28
Orden Agregador, se asigno nuevo numero de Orden : 251160
Proximo # De Orden : T251160

-------------- 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,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('251160','T251160','AG','598385','37','PUERTO PLATA - PEDIDOS YA','C',
 '849-353-5788','598385 / Pedidos Ya','','CONSUMO','',
 '','2024-06-03','21:43','',
 '313.55765625','0','0','56.440378125','0','370','0',
 '','' ,'' ,'','','',' ',
 '','MEDIO DE PAGO: VISA','','','','Pedidos Ya',''
)
header registrado
Ultimo ID : 19036
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
formatted : 
countryCode : 
city : 
street : 
number : 
floor : 
latLng : Array
comment : 
-------------- Insertar detalle orden -----------
1- 0200065 Cheesesticks : 1 * 370 = 370

  OK
Retorno : {
			"status":"200",
			"orden":"T251160",
			"email":"1"
		}
Orden registrada. # Orden Json : 251160 / # Orden Web : T251160
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------- J S O N  R E C I B I D O ----------------
{"orden":"D5010","canal":"AG","tipo_fac":"","cod_unidad":"07","nom_unidad":"Zona Rosa - Uber","email":"","telefono":" 8299473615","nombre":"ALVIN M.","calle":"","sector":"","casa":"","numero":"","comentario1":"","comentario2":"","comentario3":"","comentario4":"","tiponcf":"CONSUMO","rnc":"","razonsocial":"","fecha":"2024-06-03","hora":"21:45","hora_entrega":"2024-06-03T22:03:45-04:00","subtotal":0,"valor_descuento":0,"porciento_descuento":0,"itbis":0,"propina":0,"total":1702,"forma_pago":"","cambio_efectivo":0,"referencia":"Uber","infoComprobante":null,"address":[{"formatted":"","countryCode":"262 52 549","city":"","street":"","number":"","apt":"","floor":"","entrance":"","pobox":"","comment":"","latLng":{"lat":"","lng":""}}],"members":[{"linea":1,"grupolinea":1,"plu":"K000603","descripcion":"Hut Cheese 1 Ing. + Breadsticks + 1.25 L","cantidad":1,"precio":1690,"ind_kit":"S","padre":""},{"linea":2,"grupolinea":1,"plu":"0100184","descripcion":"BASICA 1ING HUT CHEESE","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000603"},{"linea":3,"grupolinea":1,"plu":"0700181","descripcion":"ING SOLO MOZARELLA HUTC","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000603"},{"linea":4,"grupolinea":1,"plu":"0700177","descripcion":"ING SOLO SALCHICHA HUTCHE","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000603"},{"linea":5,"grupolinea":1,"plu":"20748","descripcion":"1.25 LITRO COCA COLA","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000603"},{"linea":6,"grupolinea":1,"plu":"0202021","descripcion":"BREADSTICKS GOLDEN","cantidad":1,"precio":12,"ind_kit":"N","padre":"K000603"}]}
--------- Configuracion de Impuestos ---------
porc_itbis : 0.18
porc_propina : 0.1
factor_precio : 8.474
Valor descuento : 0
Porciento descuento : 0
Total Orden : 1702
totalporcimpuestos : 1.28
Orden Agregador, se asigno nuevo numero de Orden : 251161
Proximo # De Orden : T251161

-------------- 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,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('251161','T251161','AG','D5010','07','ZONA ROSA - UBER','C',
 '829-947-3615','D5010 / Uber','','CONSUMO','',
 '','2024-06-03','21:45','',
 '1442.36521875','0','0','259.625739375','0','1702','0',
 '','' ,'' ,'','','',' ',
 '','','','','','Uber',''
)
header registrado
Ultimo ID : 19037
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
formatted : 
countryCode : 262 52 549
city : 
street : 
number : 
floor : 
latLng : Array
comment : 
-------------- Insertar detalle orden -----------
1- K000603 Hut Cheese 1 Ing. + Breadsticks + 1.25 L : 1 * 1690 = 1690
2- 0100184 BASICA 1ING HUT CHEESE : 1 * 0 = 0
3- 0700181 ING SOLO MOZARELLA HUTC : 1 * 0 = 0
4- 0700177 ING SOLO SALCHICHA HUTCHE : 1 * 0 = 0
5- 20748 1.25 LITRO COCA COLA : 1 * 0 = 0
6- 0202021 BREADSTICKS GOLDEN : 1 * 12 = 12

  OK
Retorno : {
			"status":"200",
			"orden":"T251161",
			"email":"1"
		}
Orden registrada. # Orden Json : 251161 / # Orden Web : T251161
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------- J S O N  R E C I B I D O ----------------
{"orden":"1192620355","canal":"AG","tipo_fac":"","cod_unidad":"13","nom_unidad":"Carrefour - Pedidos Ya","email":"","telefono":"+18299039751","nombre":"joensi T M R","calle":"","sector":"","casa":"","numero":"","comentario1":"","comentario2":"Medio de pago: VISA","comentario3":"","comentario4":"","tiponcf":"CONSUMO","rnc":"","razonsocial":"","fecha":"2024-06-03","hora":"21:46","hora_entrega":"2024-06-04T02:22:38.000Z","subtotal":1570,"valor_descuento":275,"porciento_descuento":0,"itbis":0,"propina":0,"total":1570,"forma_pago":"","cambio_efectivo":0,"referencia":"Pedidos Ya","infoComprobante":null,"address":[{"formatted":"","countryCode":"","city":"","street":"","number":"","apt":"","floor":"","entrance":"","pobox":"","comment":"","latLng":{"lat":"","lng":""}}],"members":[{"linea":1,"grupolinea":1,"plu":"K000583","descripcion":"Pizza Mediana 1 Ing. + Breadsticks + 2 Bebidas 16 Onz","cantidad":1,"precio":1570,"ind_kit":"S","padre":""},{"linea":2,"grupolinea":1,"plu":"0100185","descripcion":" BASICA 1 ING MED PAN","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000583"},{"linea":3,"grupolinea":2,"plu":"0700059","descripcion":" ING SOLO RES MED","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000583"},{"linea":4,"grupolinea":3,"plu":"0700086","descripcion":" ING SOLO MAIZ MED","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000583"},{"linea":5,"grupolinea":4,"plu":"03064","descripcion":" 16 0Z COCA COLA","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000583"},{"linea":6,"grupolinea":5,"plu":"0200007","descripcion":" BREADSTICKS","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000583"},{"linea":7,"grupolinea":6,"plu":"03064","descripcion":" 16 0Z COCA COLA","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000583"}]}
--------- Configuracion de Impuestos ---------
porc_itbis : 0.18
porc_propina : 0.1
factor_precio : 8.474
Valor descuento : 275
Porciento descuento : 18
Total Orden : 1570
totalporcimpuestos : 1.28
Orden Agregador, se asigno nuevo numero de Orden : 251162
Proximo # De Orden : T251162

-------------- 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,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('251162','T251162','AG','620355','13','CARREFOUR - PEDIDOS YA','C',
 '829-903-9751','620355 / Pedidos Ya','','CONSUMO','',
 '','2024-06-03','21:46','',
 '1330.50140625','275','18','239.490253125','0','1570','0',
 '','' ,'' ,'','','',' ',
 '','MEDIO DE PAGO: VISA','','','','Pedidos Ya',''
)
header registrado
Ultimo ID : 19038
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
formatted : 
countryCode : 
city : 
street : 
number : 
floor : 
latLng : Array
comment : 
-------------- Insertar detalle orden -----------
1- K000583 Pizza Mediana 1 Ing. + Breadsticks + 2 Bebidas 16 Onz : 1 * 1570 = 1570
2- 0100185  BASICA 1 ING MED PAN : 1 * 0 = 0
3- 0700059  ING SOLO RES MED : 1 * 0 = 0
4- 0700086  ING SOLO MAIZ MED : 1 * 0 = 0
5- 03064  16 0Z COCA COLA : 1 * 0 = 0
6- 0200007  BREADSTICKS : 1 * 0 = 0
7- 03064  16 0Z COCA COLA : 1 * 0 = 0

  OK
Retorno : {
			"status":"200",
			"orden":"T251162",
			"email":"1"
		}
Orden registrada. # Orden Json : 251162 / # Orden Web : T251162
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------- J S O N  R E C I B I D O ----------------
{"orden":"1192598859","canal":"AG","tipo_fac":"","cod_unidad":"03","nom_unidad":"Bella Vista - Pedidos Ya","email":"","telefono":"+18094073003","nombre":"Mikhail Kuniashov","calle":"","sector":"","casa":"","numero":"","comentario1":"","comentario2":"Medio de pago: VISA","comentario3":"","comentario4":"","tiponcf":"CONSUMO","rnc":"","razonsocial":"","fecha":"2024-06-03","hora":"21:47","hora_entrega":"2024-06-04T02:14:21.000Z","subtotal":1565,"valor_descuento":0,"porciento_descuento":0,"itbis":0,"propina":0,"total":1565,"forma_pago":"","cambio_efectivo":0,"referencia":"Pedidos Ya","infoComprobante":null,"address":[{"formatted":"","countryCode":"","city":"","street":"","number":"","apt":"","floor":"","entrance":"","pobox":"","comment":"","latLng":{"lat":"","lng":""}}],"members":[{"linea":1,"grupolinea":1,"plu":"03059","descripcion":"Coca Cola 2 Litros","cantidad":1,"precio":195,"ind_kit":"N","padre":""},{"linea":2,"grupolinea":2,"plu":"0100044","descripcion":"Meat Lover\u0027s  MEAT LOVERS GDE. PAN","cantidad":1,"precio":1370,"ind_kit":"N","padre":""}]}
--------- Configuracion de Impuestos ---------
porc_itbis : 0.18
porc_propina : 0.1
factor_precio : 8.474
Valor descuento : 0
Porciento descuento : 0
Total Orden : 1565
totalporcimpuestos : 1.28
Orden Agregador, se asigno nuevo numero de Orden : 251163
Proximo # De Orden : T251163

-------------- 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,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('251163','T251163','AG','598859','03','BELLA VISTA - PEDIDOS YA','C',
 '809-407-3003','598859 / Pedidos Ya','','CONSUMO','',
 '','2024-06-03','21:47','',
 '1326.264140625','0','0','238.7275453125','0','1565','0',
 '','' ,'' ,'','','',' ',
 '','MEDIO DE PAGO: VISA','','','','Pedidos Ya',''
)
header registrado
Ultimo ID : 19040
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
formatted : 
countryCode : 
city : 
street : 
number : 
floor : 
latLng : Array
comment : 
-------------- Insertar detalle orden -----------
1- 03059 Coca Cola 2 Litros : 1 * 195 = 195
2- 0100044 Meat Lover's  MEAT LOVERS GDE. PAN : 1 * 1370 = 1370

  OK
Retorno : {
			"status":"200",
			"orden":"T251163",
			"email":"1"
		}
Orden registrada. # Orden Json : 251163 / # Orden Web : T251163
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------- J S O N  R E C I B I D O ----------------
{"orden":"FB7C1","canal":"AG","tipo_fac":"","cod_unidad":"22","nom_unidad":"Naco - Uber","email":"","telefono":" 8299473615","nombre":"Jose G.","calle":"","sector":"","casa":"","numero":"","comentario1":"","comentario2":"","comentario3":"","comentario4":"","tiponcf":"CONSUMO","rnc":"","razonsocial":"","fecha":"2024-06-03","hora":"21:48","hora_entrega":"2024-06-03T22:11:58-04:00","subtotal":0,"valor_descuento":0,"porciento_descuento":0,"itbis":0,"propina":0,"total":815,"forma_pago":"","cambio_efectivo":0,"referencia":"Uber","infoComprobante":null,"address":[{"formatted":"","countryCode":"421 89 002","city":"","street":"","number":"","apt":"","floor":"","entrance":"","pobox":"","comment":"","latLng":{"lat":"","lng":""}}],"members":[{"linea":1,"grupolinea":1,"plu":"0200023","descripcion":"Buffalo Wings (8 Unid.)","cantidad":1,"precio":815,"ind_kit":"N","padre":""}]}
--------- Configuracion de Impuestos ---------
porc_itbis : 0.18
porc_propina : 0.1
factor_precio : 8.474
Valor descuento : 0
Porciento descuento : 0
Total Orden : 815
totalporcimpuestos : 1.28
Orden Agregador, se asigno nuevo numero de Orden : 251164
Proximo # De Orden : T251164

-------------- 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,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('251164','T251164','AG','FB7C1','22','NACO - UBER','C',
 '829-947-3615','FB7C1 / Uber','','CONSUMO','',
 '','2024-06-03','21:48','',
 '690.674296875','0','0','124.3213734375','0','815','0',
 '','' ,'' ,'','','',' ',
 '','','','','','Uber',''
)
header registrado
Ultimo ID : 19041
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
formatted : 
countryCode : 421 89 002
city : 
street : 
number : 
floor : 
latLng : Array
comment : 
-------------- Insertar detalle orden -----------
1- 0200023 Buffalo Wings (8 Unid.) : 1 * 815 = 815

  OK
Retorno : {
			"status":"200",
			"orden":"T251164",
			"email":"1"
		}
Orden registrada. # Orden Json : 251164 / # Orden Web : T251164
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------- J S O N  R E C I B I D O ----------------
{"orden":"01C70","canal":"AG","tipo_fac":"","cod_unidad":"10","nom_unidad":"Venezuela - Uber","email":"","telefono":" 8299473615","nombre":"Franchesca S.","calle":"","sector":"","casa":"","numero":"","comentario1":"","comentario2":"","comentario3":"","comentario4":"","tiponcf":"CONSUMO","rnc":"","razonsocial":"","fecha":"2024-06-03","hora":"21:49","hora_entrega":"2024-06-03T22:15:05-04:00","subtotal":0,"valor_descuento":0,"porciento_descuento":0,"itbis":0,"propina":0,"total":2175,"forma_pago":"","cambio_efectivo":0,"referencia":"Uber","infoComprobante":null,"address":[{"formatted":"","countryCode":"547 46 915","city":"","street":"","number":"","apt":"","floor":"","entrance":"","pobox":"","comment":"","latLng":{"lat":"","lng":""}}],"members":[{"linea":1,"grupolinea":1,"plu":"K000621","descripcion":"Pizza Hut Cheese 1 Ing.","cantidad":1,"precio":1225,"ind_kit":"S","padre":""},{"linea":2,"grupolinea":1,"plu":"0100184","descripcion":"BASICA 1ING HUT CHEESE","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000621"},{"linea":3,"grupolinea":1,"plu":"0700172","descripcion":"ING SOLO MAIZ HUTCHEESE","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000621"},{"linea":4,"grupolinea":1,"plu":"0700177","descripcion":"ING SOLO SALCHICHA HUTCHE","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000621"},{"linea":5,"grupolinea":2,"plu":"K000625","descripcion":"Pizza Mediana 1 Ing.","cantidad":1,"precio":950,"ind_kit":"S","padre":""},{"linea":6,"grupolinea":2,"plu":"0100185","descripcion":"BASICA 1 ING MED PAN","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000625"},{"linea":7,"grupolinea":2,"plu":"0700139","descripcion":"ING SOLO POLLO MED","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000625"},{"linea":8,"grupolinea":2,"plu":"0700086","descripcion":"ING SOLO MAIZ MED","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000625"}]}
--------- Configuracion de Impuestos ---------
porc_itbis : 0.18
porc_propina : 0.1
factor_precio : 8.474
Valor descuento : 0
Porciento descuento : 0
Total Orden : 2175
totalporcimpuestos : 1.28
Orden Agregador, se asigno nuevo numero de Orden : 251165
Proximo # De Orden : T251165

-------------- 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,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('251165','T251165','AG','01C70','10','VENEZUELA - UBER','C',
 '829-947-3615','01C70 / Uber','','CONSUMO','',
 '','2024-06-03','21:49','',
 '1843.210546875','0','0','331.7778984375','0','2175','0',
 '','' ,'' ,'','','',' ',
 '','','','','','Uber',''
)
header registrado
Ultimo ID : 19042
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
formatted : 
countryCode : 547 46 915
city : 
street : 
number : 
floor : 
latLng : Array
comment : 
-------------- Insertar detalle orden -----------
1- K000621 Pizza Hut Cheese 1 Ing. : 1 * 1225 = 1225
2- 0100184 BASICA 1ING HUT CHEESE : 1 * 0 = 0
3- 0700172 ING SOLO MAIZ HUTCHEESE : 1 * 0 = 0
4- 0700177 ING SOLO SALCHICHA HUTCHE : 1 * 0 = 0
5- K000625 Pizza Mediana 1 Ing. : 1 * 950 = 950
6- 0100185 BASICA 1 ING MED PAN : 1 * 0 = 0
7- 0700139 ING SOLO POLLO MED : 1 * 0 = 0
8- 0700086 ING SOLO MAIZ MED : 1 * 0 = 0

  OK
Retorno : {
			"status":"200",
			"orden":"T251165",
			"email":"1"
		}
Orden registrada. # Orden Json : 251165 / # Orden Web : T251165
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------- J S O N  R E C I B I D O ----------------
{"orden":"3E5C3","canal":"AG","tipo_fac":"","cod_unidad":"27","nom_unidad":"República de Colombia - Uber","email":"","telefono":" 8299473615","nombre":"Ugo P.","calle":"","sector":"","casa":"","numero":"","comentario1":"","comentario2":"","comentario3":"","comentario4":"","tiponcf":"CONSUMO","rnc":"","razonsocial":"","fecha":"2024-06-03","hora":"21:51","hora_entrega":"2024-06-03T22:04:08-04:00","subtotal":0,"valor_descuento":0,"porciento_descuento":0,"itbis":0,"propina":0,"total":1720,"forma_pago":"","cambio_efectivo":0,"referencia":"Uber","infoComprobante":null,"address":[{"formatted":"","countryCode":"973 41 756","city":"","street":"","number":"","apt":"","floor":"","entrance":"","pobox":"","comment":"","latLng":{"lat":"","lng":""}}],"members":[{"linea":1,"grupolinea":1,"plu":"0100157","descripcion":"Suprema de Pollo Grande Thin","cantidad":1,"precio":1525,"ind_kit":"N","padre":""},{"linea":2,"grupolinea":3,"plu":"03059","descripcion":"Coca Cola 2 Litros","cantidad":1,"precio":195,"ind_kit":"N","padre":""}]}
--------- Configuracion de Impuestos ---------
porc_itbis : 0.18
porc_propina : 0.1
factor_precio : 8.474
Valor descuento : 0
Porciento descuento : 0
Total Orden : 1720
totalporcimpuestos : 1.28
Orden Agregador, se asigno nuevo numero de Orden : 251166
Proximo # De Orden : T251166

-------------- 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,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('251166','T251166','AG','3E5C3','27','REPUBLICA DE COLOMBIA - UBER','C',
 '829-947-3615','3E5C3 / Uber','','CONSUMO','',
 '','2024-06-03','21:51','',
 '1457.619375','0','0','262.3714875','0','1720','0',
 '','' ,'' ,'','','',' ',
 '','','','','','Uber',''
)
header registrado
Ultimo ID : 19043
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
formatted : 
countryCode : 973 41 756
city : 
street : 
number : 
floor : 
latLng : Array
comment : 
-------------- Insertar detalle orden -----------
1- 0100157 Suprema de Pollo Grande Thin : 1 * 1525 = 1525
2- 03059 Coca Cola 2 Litros : 1 * 195 = 195

  OK
Retorno : {
			"status":"200",
			"orden":"T251166",
			"email":"1"
		}
Orden registrada. # Orden Json : 251166 / # Orden Web : T251166
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------- J S O N  R E C I B I D O ----------------
{"orden":"1192599612","canal":"AG","tipo_fac":"","cod_unidad":"19","nom_unidad":"Av. Independencia - Pedidos Ya","email":"","telefono":"+18294505984","nombre":"Joaquin Sanchez","calle":"","sector":"","casa":"","numero":"","comentario1":"","comentario2":"Medio de pago: MASTERCARD","comentario3":"","comentario4":"","tiponcf":"CONSUMO","rnc":"","razonsocial":"","fecha":"2024-06-03","hora":"21:53","hora_entrega":"2024-06-04T02:23:14.000Z","subtotal":2007,"valor_descuento":0,"porciento_descuento":0,"itbis":0,"propina":0,"total":2007,"forma_pago":"","cambio_efectivo":0,"referencia":"Pedidos Ya","infoComprobante":null,"address":[{"formatted":"","countryCode":"","city":"","street":"","number":"","apt":"","floor":"","entrance":"","pobox":"","comment":"","latLng":{"lat":"","lng":""}}],"members":[{"linea":1,"grupolinea":1,"plu":"K000838","descripcion":"Suprema Original + Breadsticks + 1.25 L","cantidad":1,"precio":1995,"ind_kit":"S","padre":""},{"linea":2,"grupolinea":1,"plu":"0100122","descripcion":" SUPREMA GDE. PAN","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000838"},{"linea":3,"grupolinea":2,"plu":"0300004","descripcion":" REFRESCO COCA COLA JARRA","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000838"},{"linea":4,"grupolinea":3,"plu":"20748","descripcion":" 1.25 LITRO COCA COLA","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000838"},{"linea":5,"grupolinea":4,"plu":"0202021","descripcion":" BREADSTICKS GOLDEN","cantidad":1,"precio":12,"ind_kit":"N","padre":"K000838"}]}
--------- Configuracion de Impuestos ---------
porc_itbis : 0.18
porc_propina : 0.1
factor_precio : 8.474
Valor descuento : 0
Porciento descuento : 0
Total Orden : 2007
totalporcimpuestos : 1.28
Orden Agregador, se asigno nuevo numero de Orden : 251167
Proximo # De Orden : T251167

-------------- 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,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('251167','T251167','AG','599612','19','AV. INDEPENDENCIA - PEDIDOS YA','C',
 '829-450-5984','599612 / Pedidos Ya','','CONSUMO','',
 '','2024-06-03','21:53','',
 '1700.838421875','0','0','306.1509159375','0','2007','0',
 '','' ,'' ,'','','',' ',
 '','MEDIO DE PAGO: MASTERCARD','','','','Pedidos Ya',''
)
header registrado
Ultimo ID : 19044
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
formatted : 
countryCode : 
city : 
street : 
number : 
floor : 
latLng : Array
comment : 
-------------- Insertar detalle orden -----------
1- K000838 Suprema Original + Breadsticks + 1.25 L : 1 * 1995 = 1995
2- 0100122  SUPREMA GDE. PAN : 1 * 0 = 0
3- 0300004  REFRESCO COCA COLA JARRA : 1 * 0 = 0
4- 20748  1.25 LITRO COCA COLA : 1 * 0 = 0
5- 0202021  BREADSTICKS GOLDEN : 1 * 12 = 12

  OK
Retorno : {
			"status":"200",
			"orden":"T251167",
			"email":"1"
		}
Orden registrada. # Orden Json : 251167 / # Orden Web : T251167
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------- J S O N  R E C I B I D O ----------------
{"orden":"FB799","canal":"AG","tipo_fac":"","cod_unidad":"27","nom_unidad":"República de Colombia - Uber","email":"","telefono":" 8299473615","nombre":"DIEGO M.","calle":"","sector":"","casa":"","numero":"","comentario1":"","comentario2":"","comentario3":"","comentario4":"","tiponcf":"CONSUMO","rnc":"","razonsocial":"","fecha":"2024-06-03","hora":"21:54","hora_entrega":"2024-06-03T22:07:07-04:00","subtotal":0,"valor_descuento":0,"porciento_descuento":0,"itbis":0,"propina":0,"total":1145,"forma_pago":"","cambio_efectivo":0,"referencia":"Uber","infoComprobante":null,"address":[{"formatted":"","countryCode":"301 52 312","city":"","street":"","number":"","apt":"","floor":"","entrance":"","pobox":"","comment":"","latLng":{"lat":"","lng":""}}],"members":[{"linea":1,"grupolinea":1,"plu":"K000619","descripcion":"Pizza Grande 1 Ing.","cantidad":1,"precio":1145,"ind_kit":"S","padre":""},{"linea":2,"grupolinea":1,"plu":"0100183","descripcion":"BASICA 1ING GDE THIN","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000619"},{"linea":3,"grupolinea":1,"plu":"0700050","descripcion":"ING SOLO SALCHICHA GDE","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000619"},{"linea":4,"grupolinea":1,"plu":"0700064","descripcion":"ING SOLO TOCINETA GDE","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000619"}]}
--------- Configuracion de Impuestos ---------
porc_itbis : 0.18
porc_propina : 0.1
factor_precio : 8.474
Valor descuento : 0
Porciento descuento : 0
Total Orden : 1145
totalporcimpuestos : 1.28
Orden Agregador, se asigno nuevo numero de Orden : 251168
Proximo # De Orden : T251168

-------------- 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,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('251168','T251168','AG','FB799','27','REPUBLICA DE COLOMBIA - UBER','C',
 '829-947-3615','FB799 / Uber','','CONSUMO','',
 '','2024-06-03','21:54','',
 '970.333828125','0','0','174.6600890625','0','1145','0',
 '','' ,'' ,'','','',' ',
 '','','','','','Uber',''
)
header registrado
Ultimo ID : 19045
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
formatted : 
countryCode : 301 52 312
city : 
street : 
number : 
floor : 
latLng : Array
comment : 
-------------- Insertar detalle orden -----------
1- K000619 Pizza Grande 1 Ing. : 1 * 1145 = 1145
2- 0100183 BASICA 1ING GDE THIN : 1 * 0 = 0
3- 0700050 ING SOLO SALCHICHA GDE : 1 * 0 = 0
4- 0700064 ING SOLO TOCINETA GDE : 1 * 0 = 0

  OK
Retorno : {
			"status":"200",
			"orden":"T251168",
			"email":"1"
		}
Orden registrada. # Orden Json : 251168 / # Orden Web : T251168
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------- J S O N  R E C I B I D O ----------------
{"orden":"69670405","canal":"Wa","tipo_fac":"D","cod_unidad":"10","nom_unidad":"Venezuela","email":"","telefono":" 8295244497","nombre":"Coynan Bautista","calle":"Alma Rosa","sector":"","casa":"","numero":"0","comentario1":"Alma Rosa primera \nMaximo ares garcias #24 entre puerto Rico y bonaire al lado de agua vidal","comentario2":"","comentario3":"No","comentario4":"","tiponcf":"CONSUMO","rnc":"","razonsocial":"","fecha":"2024-06-03","hora":"21:59","hora_entrega":"22:29","subtotal":0,"valor_descuento":0,"porciento_descuento":0,"itbis":0,"propina":0,"total":1795,"forma_pago":"EFECTIVO","cambio_efectivo":1800,"referencia":"","infoComprobante":null,"address":[{"formatted":"F4RQ+8H8, Santo Domingo Este 11503, República Dominicana","countryCode":"DO","city":"Santo Domingo Este","street":"Alma Rosa","number":"0","apt":"","floor":"","entrance":"","pobox":"","comment":"Alma Rosa primera \nMaximo ares garcias #24 entre puerto Rico y bonaire al lado de agua vidal","latLng":{"lat":"18.4907786","lng":"-69.86103680000001"}}],"members":[{"linea":1,"grupolinea":1,"plu":"K000919","descripcion":"Panormous Edge 1 Ing. + Buffalo Wings 8 Unid. + 2 L","cantidad":1,"precio":1795,"ind_kit":"S","padre":""},{"linea":2,"grupolinea":1,"plu":"03059","descripcion":"2 LITROS COCA COLA","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000919"},{"linea":3,"grupolinea":1,"plu":"0100552","descripcion":"PANORMOUS EDGE BASICA","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000919"},{"linea":4,"grupolinea":1,"plu":"0700051","descripcion":"ING SOLO SALCHICHA MED","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000919"},{"linea":5,"grupolinea":1,"plu":"0700048","descripcion":"ING SOLO PEPPERONI MED","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000919"},{"linea":6,"grupolinea":1,"plu":"0200023","descripcion":"BUFFALO WINGS 8 UND","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000919"}]}
--------- Configuracion de Impuestos ---------
porc_itbis : 0.18
porc_propina : 0.1
factor_precio : 8.474
Valor descuento : 0
Porciento descuento : 0
Total Orden : 1795
totalporcimpuestos : 1.28
Proximo # De Orden : T251169

-------------- 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,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('670405','T251169','WA','670405','10','VENEZUELA','D',
 '829-524-4497','COYNAN BAUTISTA','','CONSUMO','',
 '','2024-06-03','21:59','22:29',
 '1521.178359375','0','0','273.8121046875','0','1795','1800',
 '','EFECTIVO' ,'18.4907786' ,'-69.86103680000001','','ALMA ROSA','0 ',
 '','ALMA ROSA PRIMERA MAXIMO ARES GARCIAS #2','4 ENTRE PUERTO RICO Y BONAIRE AL LADO DE',' AGUA VIDAL','EFECTIVO','',''
)
header registrado
Ultimo ID : 19046
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
formatted : F4RQ+8H8, Santo Domingo Este 11503, República Dominicana
countryCode : DO
city : Santo Domingo Este
street : Alma Rosa
number : 0
floor : 
latLng : Array
comment : Alma Rosa primera 
Maximo ares garcias #24 entre puerto Rico y bonaire al lado de agua vidal
-------------- Insertar detalle orden -----------
1- K000919 Panormous Edge 1 Ing. + Buffalo Wings 8 Unid. + 2 L : 1 * 1795 = 1795
2- 03059 2 LITROS COCA COLA : 1 * 0 = 0
3- 0100552 PANORMOUS EDGE BASICA : 1 * 0 = 0
4- 0700051 ING SOLO SALCHICHA MED : 1 * 0 = 0
5- 0700048 ING SOLO PEPPERONI MED : 1 * 0 = 0
6- 0200023 BUFFALO WINGS 8 UND : 1 * 0 = 0

  OK
Retorno : {
			"status":"200",
			"orden":"T251169",
			"email":"1"
		}
Orden registrada. # Orden Json : 670405 / # Orden Web : T251169
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------- J S O N  R E C I B I D O ----------------
{"orden":"69670791","canal":"Wa","tipo_fac":"D","cod_unidad":"17","nom_unidad":"San Francisco de Macorís","email":"","telefono":" 8493741099","nombre":"Ashley Paredes","calle":"San Francisco de Macorís","sector":"","casa":"","numero":"0","comentario1":"","comentario2":"","comentario3":"No","comentario4":"","tiponcf":"CONSUMO","rnc":"","razonsocial":"","fecha":"2024-06-03","hora":"21:59","hora_entrega":"22:29","subtotal":0,"valor_descuento":0,"porciento_descuento":0,"itbis":0,"propina":0,"total":710,"forma_pago":"EFECTIVO","cambio_efectivo":0,"referencia":"","infoComprobante":null,"address":[{"formatted":"7PVR+P9J, San Francisco de Macorís 31000, República Dominicana","countryCode":"DO","city":"San Francisco de Macorís","street":"San Francisco de Macorís","number":"0","apt":"","floor":"","entrance":"","pobox":"","comment":"","latLng":{"lat":"19.2943854","lng":"-70.2590858"}}],"members":[{"linea":1,"grupolinea":1,"plu":"0200023","descripcion":"Buffalo Wings (8 Unid.)","cantidad":1,"precio":710,"ind_kit":"N","padre":""}]}
--------- Configuracion de Impuestos ---------
porc_itbis : 0.18
porc_propina : 0.1
factor_precio : 8.474
Valor descuento : 0
Porciento descuento : 0
Total Orden : 710
totalporcimpuestos : 1.28
Proximo # De Orden : T251170

-------------- 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,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('670791','T251170','WA','670791','17','SAN FRANCISCO DE MACORIS','D',
 '849-374-1099','ASHLEY PAREDES','','CONSUMO','',
 '','2024-06-03','21:59','22:29',
 '601.69171875','0','0','108.304509375','0','710','0',
 '','EFECTIVO' ,'19.2943854' ,'-70.2590858','','SAN FRANCISCO DE MACORIS','0 ',
 '','','','','EFECTIVO','',''
)
header registrado
Ultimo ID : 19047
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
formatted : 7PVR+P9J, San Francisco de Macorís 31000, República Dominicana
countryCode : DO
city : San Francisco de Macorís
street : San Francisco de Macorís
number : 0
floor : 
latLng : Array
comment : 
-------------- Insertar detalle orden -----------
1- 0200023 Buffalo Wings (8 Unid.) : 1 * 710 = 710

  OK
Retorno : {
			"status":"200",
			"orden":"T251170",
			"email":"1"
		}
Orden registrada. # Orden Json : 670791 / # Orden Web : T251170
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------- J S O N  R E C I B I D O ----------------
{"orden":"1192600262","canal":"AG","tipo_fac":"","cod_unidad":"08","nom_unidad":"Máximo Gomez - Pedidos Ya","email":"","telefono":"+18294663656","nombre":"Fe maria Rojas","calle":"","sector":"","casa":"","numero":"","comentario1":"","comentario2":"Medio de pago: VISA","comentario3":"","comentario4":"","tiponcf":"CONSUMO","rnc":"","razonsocial":"","fecha":"2024-06-03","hora":"22:00","hora_entrega":"2024-06-04T02:31:25.000Z","subtotal":1100,"valor_descuento":0,"porciento_descuento":0,"itbis":0,"propina":0,"total":1100,"forma_pago":"","cambio_efectivo":0,"referencia":"Pedidos Ya","infoComprobante":null,"address":[{"formatted":"","countryCode":"","city":"","street":"","number":"","apt":"","floor":"","entrance":"","pobox":"","comment":"","latLng":{"lat":"","lng":""}}],"members":[{"linea":1,"grupolinea":1,"plu":"K000716","descripcion":"Big New Yorker 1 ing","cantidad":1,"precio":1100,"ind_kit":"S","padre":""},{"linea":2,"grupolinea":1,"plu":"0100292","descripcion":" PIZZA BASICA 1 ING BNY","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000716"},{"linea":3,"grupolinea":2,"plu":"0700050","descripcion":" ING SOLO SALCHICHA GDE","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000716"},{"linea":4,"grupolinea":3,"plu":"0700064","descripcion":" ING SOLO TOCINETA GDE","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000716"}]}
--------- Configuracion de Impuestos ---------
porc_itbis : 0.18
porc_propina : 0.1
factor_precio : 8.474
Valor descuento : 0
Porciento descuento : 0
Total Orden : 1100
totalporcimpuestos : 1.28
Orden Agregador, se asigno nuevo numero de Orden : 251171
Proximo # De Orden : T251171

-------------- 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,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('251171','T251171','AG','600262','08','MAXIMO GOMEZ - PEDIDOS YA','C',
 '829-466-3656','600262 / Pedidos Ya','','CONSUMO','',
 '','2024-06-03','22:00','',
 '932.1984375','0','0','167.79571875','0','1100','0',
 '','' ,'' ,'','','',' ',
 '','MEDIO DE PAGO: VISA','','','','Pedidos Ya',''
)
header registrado
Ultimo ID : 19048
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
formatted : 
countryCode : 
city : 
street : 
number : 
floor : 
latLng : Array
comment : 
-------------- Insertar detalle orden -----------
1- K000716 Big New Yorker 1 ing : 1 * 1100 = 1100
2- 0100292  PIZZA BASICA 1 ING BNY : 1 * 0 = 0
3- 0700050  ING SOLO SALCHICHA GDE : 1 * 0 = 0
4- 0700064  ING SOLO TOCINETA GDE : 1 * 0 = 0

  OK
Retorno : {
			"status":"200",
			"orden":"T251171",
			"email":"1"
		}
Orden registrada. # Orden Json : 251171 / # Orden Web : T251171
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------- J S O N  R E C I B I D O ----------------
{"orden":"69670574","canal":"Wa","tipo_fac":"D","cod_unidad":"31","nom_unidad":"BlueMall Punta Cana","email":"","telefono":" 8498698265","nombre":"Mike B","calle":"Calle Uva de Playa","sector":"edificio villa","casa":"","numero":"0","comentario1":" - ","comentario2":"información adicional: Calle uva de playa, edificio Villa América, apartamento 104, Punta Cana Village.","comentario3":"No","comentario4":"","tiponcf":"CONSUMO","rnc":"","razonsocial":"","fecha":"2024-06-03","hora":"22:03","hora_entrega":"22:44","subtotal":0,"valor_descuento":0,"porciento_descuento":0,"itbis":0,"propina":0,"total":975,"forma_pago":"EFECTIVO","cambio_efectivo":0,"referencia":"","infoComprobante":null,"address":[{"formatted":"C. Uva de Playa, 23000 Punta Cana, República Dominicana","countryCode":"DO","city":"Punta Cana","street":"Calle Uva de Playa","number":"0","apt":"apartamento 104","floor":"","entrance":"edificio villa","pobox":"","comment":" - ","latLng":{"lat":"18.5586357","lng":"-68.3710558"}}],"members":[{"linea":1,"grupolinea":1,"plu":"K000716","descripcion":"Big New Yorker 1 ing","cantidad":1,"precio":975,"ind_kit":"S","padre":""},{"linea":2,"grupolinea":1,"plu":"0100292","descripcion":"PIZZA BASICA 1 ING BNY","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000716"},{"linea":3,"grupolinea":1,"plu":"0700085","descripcion":"ING SOLO  MAIZ GDE","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000716"},{"linea":4,"grupolinea":1,"plu":"0700064","descripcion":"ING SOLO TOCINETA GDE","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000716"}]}
--------- Configuracion de Impuestos ---------
porc_itbis : 0.18
porc_propina : 0.1
factor_precio : 8.474
Valor descuento : 0
Porciento descuento : 0
Total Orden : 975
totalporcimpuestos : 1.28
Proximo # De Orden : T251172

-------------- 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,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('670574','T251172','WA','670574','31','BLUEMALL PUNTA CANA','D',
 '849-869-8265','MIKE B','','CONSUMO','',
 '','2024-06-03','22:03','22:44',
 '826.266796875','0','0','148.7280234375','0','975','0',
 '','EFECTIVO' ,'18.5586357' ,'-68.3710558','','CALLE UVA DE PLAYA','0 apartamento 104',
 'edificio villa','CALLE UVA DE PLAYA, EDIFICIO VILLA AMeRI','CA, APARTAMENTO 104, PUNTA CANA VILLAGE.','','EFECTIVO','',''
)
header registrado
Ultimo ID : 19049
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
formatted : C. Uva de Playa, 23000 Punta Cana, República Dominicana
countryCode : DO
city : Punta Cana
street : Calle Uva de Playa
number : 0
floor : 
latLng : Array
comment :  - 
-------------- Insertar detalle orden -----------
1- K000716 Big New Yorker 1 ing : 1 * 975 = 975
2- 0100292 PIZZA BASICA 1 ING BNY : 1 * 0 = 0
3- 0700085 ING SOLO  MAIZ GDE : 1 * 0 = 0
4- 0700064 ING SOLO TOCINETA GDE : 1 * 0 = 0

  OK
Retorno : {
			"status":"200",
			"orden":"T251172",
			"email":"1"
		}
Orden registrada. # Orden Json : 670574 / # Orden Web : T251172
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------- J S O N  R E C I B I D O ----------------
{"orden":"69671480","canal":"Wa","tipo_fac":"D","cod_unidad":"17","nom_unidad":"San Francisco de Macorís","email":"","telefono":" 8496318808","nombre":"J","calle":"Res Neftaly","sector":"","casa":"","numero":"0","comentario1":"","comentario2":"","comentario3":"No","comentario4":"","tiponcf":"CONSUMO","rnc":"","razonsocial":"","fecha":"2024-06-03","hora":"22:07","hora_entrega":"22:38","subtotal":0,"valor_descuento":0,"porciento_descuento":0,"itbis":0,"propina":0,"total":1418,"forma_pago":"EFECTIVO","cambio_efectivo":0,"referencia":"","infoComprobante":null,"address":[{"formatted":"calle Teofilo Hidalgo, sendero del jaya, San Francisco de Macorís 31000, República Dominicana","countryCode":"DO","city":"San Francisco de Macorís","street":"Res Neftaly","number":"0","apt":"","floor":"","entrance":"","pobox":"","comment":"","latLng":{"lat":"19.2829551","lng":"-70.2862167"}}],"members":[{"linea":1,"grupolinea":1,"plu":"K000557","descripcion":"Pizza Grande 1 Ing. + Breadsticks + 1.25 L","cantidad":1,"precio":1395,"ind_kit":"S","padre":""},{"linea":2,"grupolinea":1,"plu":"0100182","descripcion":"BASICA 1 ING GDE PAN","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000557"},{"linea":3,"grupolinea":1,"plu":"0700053","descripcion":"ING SOLO JAMON GDE","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000557"},{"linea":4,"grupolinea":1,"plu":"0700047","descripcion":"ING SOLO PEPPERONI GDE","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000557"},{"linea":5,"grupolinea":1,"plu":"20748","descripcion":"1.25 LITRO COCA COLA","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000557"},{"linea":6,"grupolinea":1,"plu":"1200009","descripcion":"CHOCOLATE DUNKERS (10)","cantidad":1,"precio":23,"ind_kit":"N","padre":"K000557"}]}
--------- Configuracion de Impuestos ---------
porc_itbis : 0.18
porc_propina : 0.1
factor_precio : 8.474
Valor descuento : 0
Porciento descuento : 0
Total Orden : 1418
totalporcimpuestos : 1.28
Proximo # De Orden : T251173

-------------- 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,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('671480','T251173','WA','671480','17','SAN FRANCISCO DE MACORIS','D',
 '849-631-8808','J','','CONSUMO','',
 '','2024-06-03','22:07','22:38',
 '1201.68853125','0','0','216.303935625','0','1418','0',
 '','EFECTIVO' ,'19.2829551' ,'-70.2862167','','RES NEFTALY','0 ',
 '','','','','EFECTIVO','',''
)
header registrado
Ultimo ID : 19051
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
formatted : calle Teofilo Hidalgo, sendero del jaya, San Francisco de Macorís 31000, República Dominicana
countryCode : DO
city : San Francisco de Macorís
street : Res Neftaly
number : 0
floor : 
latLng : Array
comment : 
-------------- Insertar detalle orden -----------
1- K000557 Pizza Grande 1 Ing. + Breadsticks + 1.25 L : 1 * 1395 = 1395
2- 0100182 BASICA 1 ING GDE PAN : 1 * 0 = 0
3- 0700053 ING SOLO JAMON GDE : 1 * 0 = 0
4- 0700047 ING SOLO PEPPERONI GDE : 1 * 0 = 0
5- 20748 1.25 LITRO COCA COLA : 1 * 0 = 0
6- 1200009 CHOCOLATE DUNKERS (10) : 1 * 23 = 23

  OK
Retorno : {
			"status":"200",
			"orden":"T251173",
			"email":"1"
		}
Orden registrada. # Orden Json : 671480 / # Orden Web : T251173
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------- J S O N  R E C I B I D O ----------------
{"orden":"1192601140","canal":"AG","tipo_fac":"","cod_unidad":"19","nom_unidad":"Av. Independencia - Pedidos Ya","email":"","telefono":"+18492809357","nombre":"Alcantara Alcantara","calle":"","sector":"","casa":"","numero":"","comentario1":"","comentario2":"Medio de pago: MASTERCARD","comentario3":"","comentario4":"","tiponcf":"CONSUMO","rnc":"","razonsocial":"","fecha":"2024-06-03","hora":"22:09","hora_entrega":"2024-06-04T02:36:45.000Z","subtotal":950,"valor_descuento":0,"porciento_descuento":0,"itbis":0,"propina":0,"total":950,"forma_pago":"","cambio_efectivo":0,"referencia":"Pedidos Ya","infoComprobante":null,"address":[{"formatted":"","countryCode":"","city":"","street":"","number":"","apt":"","floor":"","entrance":"","pobox":"","comment":"","latLng":{"lat":"","lng":""}}],"members":[{"linea":1,"grupolinea":1,"plu":"K000625","descripcion":"Pizza Mediana 1 Ing.","cantidad":1,"precio":950,"ind_kit":"S","padre":""},{"linea":2,"grupolinea":1,"plu":"0100186","descripcion":" BASICA 1 ING MED THIN","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000625"},{"linea":3,"grupolinea":2,"plu":"0700065","descripcion":" ING SOLO TOCINETA MED","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000625"},{"linea":4,"grupolinea":3,"plu":"0700048","descripcion":" ING SOLO PEPPERONI MED","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000625"}]}
--------- Configuracion de Impuestos ---------
porc_itbis : 0.18
porc_propina : 0.1
factor_precio : 8.474
Valor descuento : 0
Porciento descuento : 0
Total Orden : 950
totalporcimpuestos : 1.28
Orden Agregador, se asigno nuevo numero de Orden : 251174
Proximo # De Orden : T251174

-------------- 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,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('251174','T251174','AG','601140','19','AV. INDEPENDENCIA - PEDIDOS YA','C',
 '849-280-9357','601140 / Pedidos Ya','','CONSUMO','',
 '','2024-06-03','22:09','',
 '805.08046875','0','0','144.914484375','0','950','0',
 '','' ,'' ,'','','',' ',
 '','MEDIO DE PAGO: MASTERCARD','','','','Pedidos Ya',''
)
header registrado
Ultimo ID : 19052
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
formatted : 
countryCode : 
city : 
street : 
number : 
floor : 
latLng : Array
comment : 
-------------- Insertar detalle orden -----------
1- K000625 Pizza Mediana 1 Ing. : 1 * 950 = 950
2- 0100186  BASICA 1 ING MED THIN : 1 * 0 = 0
3- 0700065  ING SOLO TOCINETA MED : 1 * 0 = 0
4- 0700048  ING SOLO PEPPERONI MED : 1 * 0 = 0

  OK
Retorno : {
			"status":"200",
			"orden":"T251174",
			"email":"1"
		}
Orden registrada. # Orden Json : 251174 / # Orden Web : T251174
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------- J S O N  R E C I B I D O ----------------
{"orden":"69670925","canal":"Wa","tipo_fac":"D","cod_unidad":"31","nom_unidad":"BlueMall Punta Cana","email":"","telefono":" 8498785908","nombre":"Marco","calle":"Calle Coralillo","sector":"","casa":"","numero":"0","comentario1":"Jardines de Punta Cana Edificio 6 Apartamento A3","comentario2":"","comentario3":"No","comentario4":"","tiponcf":"CONSUMO","rnc":"","razonsocial":"","fecha":"2024-06-03","hora":"22:12","hora_entrega":"22:53","subtotal":0,"valor_descuento":0,"porciento_descuento":0,"itbis":0,"propina":0,"total":590,"forma_pago":"EFECTIVO","cambio_efectivo":0,"referencia":"","infoComprobante":null,"address":[{"formatted":"Edificio VI Jardines de Punta Cana, C. Coralillo, Punta Cana 23000, República Dominicana","countryCode":"DO","city":"Punta Cana","street":"Calle Coralillo","number":"0","apt":"","floor":"","entrance":"","pobox":"","comment":"Jardines de Punta Cana Edificio 6 Apartamento A3","latLng":{"lat":"18.5565789","lng":"-68.3731936"}}],"members":[{"linea":1,"grupolinea":1,"plu":"1300007","descripcion":"Lasagna Pollo \u0026 Hongos","cantidad":1,"precio":590,"ind_kit":"N","padre":""}]}
--------- Configuracion de Impuestos ---------
porc_itbis : 0.18
porc_propina : 0.1
factor_precio : 8.474
Valor descuento : 0
Porciento descuento : 0
Total Orden : 590
totalporcimpuestos : 1.28
Proximo # De Orden : T251175

-------------- 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,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('670925','T251175','WA','670925','31','BLUEMALL PUNTA CANA','D',
 '849-878-5908','MARCO','','CONSUMO','',
 '','2024-06-03','22:12','22:53',
 '499.99734375','0','0','89.999521875','0','590','0',
 '','EFECTIVO' ,'18.5565789' ,'-68.3731936','','CALLE CORALILLO','0 ',
 '','JARDINES DE PUNTA CANA EDIFICIO 6 APARTA','MENTO A3','','EFECTIVO','',''
)
header registrado
Ultimo ID : 19053
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
formatted : Edificio VI Jardines de Punta Cana, C. Coralillo, Punta Cana 23000, República Dominicana
countryCode : DO
city : Punta Cana
street : Calle Coralillo
number : 0
floor : 
latLng : Array
comment : Jardines de Punta Cana Edificio 6 Apartamento A3
-------------- Insertar detalle orden -----------
1- 1300007 Lasagna Pollo & Hongos : 1 * 590 = 590

  OK
Retorno : {
			"status":"200",
			"orden":"T251175",
			"email":"1"
		}
Orden registrada. # Orden Json : 670925 / # Orden Web : T251175
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------- J S O N  R E C I B I D O ----------------
{"orden":"69672089","canal":"Wa","tipo_fac":"D","cod_unidad":"10","nom_unidad":"Venezuela","email":"","telefono":" 8296256268","nombre":"JM","calle":"Calle Jesus de Galindez","sector":"","casa":"","numero":"25","comentario1":"Jesús de Galindez #27 Apartamento Florangel 3A","comentario2":"","comentario3":"No","comentario4":"","tiponcf":"CONSUMO","rnc":"","razonsocial":"","fecha":"2024-06-03","hora":"22:14","hora_entrega":"22:45","subtotal":0,"valor_descuento":0,"porciento_descuento":0,"itbis":0,"propina":0,"total":1470,"forma_pago":"EFECTIVO","cambio_efectivo":2000,"referencia":"","infoComprobante":null,"address":[{"formatted":"C. Jesus de Galindez 25, Santo Domingo Este 11501, República Dominicana","countryCode":"DO","city":"Santo Domingo Este","street":"Calle Jesus de Galindez","number":"25","apt":"","floor":"","entrance":"","pobox":"","comment":"Jesús de Galindez #27 Apartamento Florangel 3A","latLng":{"lat":"18.4878698","lng":"-69.87106179999999"}}],"members":[{"linea":1,"grupolinea":1,"plu":"K000603","descripcion":"Hut Cheese 1 Ing. + Breadsticks + 1.25 L","cantidad":1,"precio":1470,"ind_kit":"S","padre":""},{"linea":2,"grupolinea":1,"plu":"0100184","descripcion":"BASICA 1ING HUT CHEESE","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000603"},{"linea":3,"grupolinea":1,"plu":"0700176","descripcion":"ING SOLO POLLO HUTCHEESE","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000603"},{"linea":4,"grupolinea":1,"plu":"0700173","descripcion":"ING SOLO PEPPERONI HUTC","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000603"},{"linea":5,"grupolinea":1,"plu":"20748","descripcion":"1.25 LITRO COCA COLA","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000603"},{"linea":6,"grupolinea":1,"plu":"0200007","descripcion":"BREADSTICKS","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000603"}]}
--------- Configuracion de Impuestos ---------
porc_itbis : 0.18
porc_propina : 0.1
factor_precio : 8.474
Valor descuento : 0
Porciento descuento : 0
Total Orden : 1470
totalporcimpuestos : 1.28
Proximo # De Orden : T251176

-------------- 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,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('672089','T251176','WA','672089','10','VENEZUELA','D',
 '829-625-6268','JM','','CONSUMO','',
 '','2024-06-03','22:14','22:45',
 '1245.75609375','0','0','224.236096875','0','1470','2000',
 '','EFECTIVO' ,'18.4878698' ,'-69.87106179999999','','CALLE JESUS DE GALINDEZ','25 ',
 '','JESuS DE GALINDEZ #27 APARTAMENTO FLORAN','GEL 3A','','EFECTIVO','',''
)
header registrado
Ultimo ID : 19054
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
formatted : C. Jesus de Galindez 25, Santo Domingo Este 11501, República Dominicana
countryCode : DO
city : Santo Domingo Este
street : Calle Jesus de Galindez
number : 25
floor : 
latLng : Array
comment : Jesús de Galindez #27 Apartamento Florangel 3A
-------------- Insertar detalle orden -----------
1- K000603 Hut Cheese 1 Ing. + Breadsticks + 1.25 L : 1 * 1470 = 1470
2- 0100184 BASICA 1ING HUT CHEESE : 1 * 0 = 0
3- 0700176 ING SOLO POLLO HUTCHEESE : 1 * 0 = 0
4- 0700173 ING SOLO PEPPERONI HUTC : 1 * 0 = 0
5- 20748 1.25 LITRO COCA COLA : 1 * 0 = 0
6- 0200007 BREADSTICKS : 1 * 0 = 0

  OK
Retorno : {
			"status":"200",
			"orden":"T251176",
			"email":"1"
		}
Orden registrada. # Orden Json : 672089 / # Orden Web : T251176
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------- J S O N  R E C I B I D O ----------------
{"orden":"69672419","canal":"Wa","tipo_fac":"D","cod_unidad":"09","nom_unidad":"Calle El Sol","email":"","telefono":" 8498832278","nombre":"It s Me","calle":"Calle Sánchez","sector":"","casa":"","numero":"21","comentario1":"Edificio Rozon, es azul con blanco +18498832278","comentario2":"","comentario3":"No","comentario4":"*OJO❗️* Los ingredientes van uno al lado del otro, *NO* los pongan en toda la pizza. mitad Peperoni y Mitad carne. En todo caso, la app no esté bien, porque dice un ingrediente, pónganselo y si hay que pagar un extra lo pagaré.","tiponcf":"CONSUMO","rnc":"","razonsocial":"","fecha":"2024-06-03","hora":"22:17","hora_entrega":"22:47","subtotal":0,"valor_descuento":0,"porciento_descuento":0,"itbis":0,"propina":0,"total":510,"forma_pago":"EFECTIVO","cambio_efectivo":0,"referencia":"","infoComprobante":null,"address":[{"formatted":"C. Sánchez 21, Santiago de los Caballeros 51000, República Dominicana","countryCode":"DO","city":"Santiago de los Caballeros","street":"Calle Sánchez","number":"21","apt":"","floor":"","entrance":"","pobox":"","comment":"Edificio Rozon, es azul con blanco +18498832278","latLng":{"lat":"19.4482425","lng":"-70.7014591"}}],"members":[{"linea":1,"grupolinea":1,"plu":"K000627","descripcion":"Pizza Pequeña 1 Ing.","cantidad":1,"precio":510,"ind_kit":"S","padre":""},{"linea":2,"grupolinea":1,"plu":"0100187","descripcion":"BASICA 1 ING PEQ PAN","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000627"},{"linea":3,"grupolinea":1,"plu":"0700049","descripcion":"ING SOLO PEPPERONI PEQ","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000627"},{"linea":4,"grupolinea":1,"plu":"0700049","descripcion":"ING SOLO PEPPERONI PEQ","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000627"}]}
--------- Configuracion de Impuestos ---------
porc_itbis : 0.18
porc_propina : 0.1
factor_precio : 8.474
Valor descuento : 0
Porciento descuento : 0
Total Orden : 510
totalporcimpuestos : 1.28
Proximo # De Orden : T251177

-------------- 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,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('672419','T251177','WA','672419','09','CALLE EL SOL','D',
 '849-883-2278','IT S ME','','CONSUMO','',
 '','2024-06-03','22:17','22:47',
 '432.20109375','0','0','77.796196875','0','510','0',
 '','EFECTIVO' ,'19.4482425' ,'-70.7014591','','CALLE SANCHEZ','21 ',
 '','EDIFICIO ROZON, ES AZUL CON BLANCO +1849','8832278','','EFECTIVO','',''
)
header registrado
Ultimo ID : 19055
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
formatted : C. Sánchez 21, Santiago de los Caballeros 51000, República Dominicana
countryCode : DO
city : Santiago de los Caballeros
street : Calle Sánchez
number : 21
floor : 
latLng : Array
comment : Edificio Rozon, es azul con blanco +18498832278
-------------- Insertar detalle orden -----------
1- K000627 Pizza Pequeña 1 Ing. : 1 * 510 = 510
2- 0100187 BASICA 1 ING PEQ PAN : 1 * 0 = 0
3- 0700049 ING SOLO PEPPERONI PEQ : 1 * 0 = 0
4- 0700049 ING SOLO PEPPERONI PEQ : 1 * 0 = 0

  OK
Retorno : {
			"status":"200",
			"orden":"T251177",
			"email":"1"
		}
Orden registrada. # Orden Json : 672419 / # Orden Web : T251177
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------- J S O N  R E C I B I D O ----------------
{"orden":"69671526","canal":"Wa","tipo_fac":"D","cod_unidad":"37","nom_unidad":"Puerto Plata","email":"","telefono":" 8293040610","nombre":"Liliana Russo","calle":"Barrio Las Yaguitas","sector":"","casa":"","numero":"0","comentario1":"Los maestros calle 3 casa #4 parte baja","comentario2":"","comentario3":"No","comentario4":"","tiponcf":"CONSUMO","rnc":"","razonsocial":"","fecha":"2024-06-03","hora":"22:22","hora_entrega":"22:53","subtotal":0,"valor_descuento":0,"porciento_descuento":0,"itbis":0,"propina":0,"total":1830,"forma_pago":"EFECTIVO","cambio_efectivo":0,"referencia":"","infoComprobante":null,"address":[{"formatted":"16, Puerto Plata 57000, República Dominicana","countryCode":"DO","city":"Puerto Plata","street":"Barrio Las Yaguitas","number":"0","apt":"","floor":"","entrance":"","pobox":"","comment":"Los maestros calle 3 casa #4 parte baja","latLng":{"lat":"19.7808373","lng":"-70.6870175"}}],"members":[{"linea":1,"grupolinea":1,"plu":"0200014","descripcion":"Palitos a la Toscana","cantidad":1,"precio":350,"ind_kit":"N","padre":""},{"linea":2,"grupolinea":3,"plu":"0100163","descripcion":"Pepperoni Lover\u0027s Mediana Pan","cantidad":1,"precio":910,"ind_kit":"N","padre":""},{"linea":3,"grupolinea":5,"plu":"0100149","descripcion":"Suprema de Pollo Pequeña Thin","cantidad":1,"precio":570,"ind_kit":"N","padre":""}]}
--------- Configuracion de Impuestos ---------
porc_itbis : 0.18
porc_propina : 0.1
factor_precio : 8.474
Valor descuento : 0
Porciento descuento : 0
Total Orden : 1830
totalporcimpuestos : 1.28
Proximo # De Orden : T251178

-------------- 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,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('671526','T251178','WA','671526','37','PUERTO PLATA','D',
 '829-304-0610','LILIANA RUSSO','','CONSUMO','',
 '','2024-06-03','22:22','22:53',
 '1550.83921875','0','0','279.151059375','0','1830','0',
 '','EFECTIVO' ,'19.7808373' ,'-70.6870175','','BARRIO LAS YAGUITAS','0 ',
 '','LOS MAESTROS CALLE 3 CASA #4 PARTE BAJA','','','EFECTIVO','',''
)
header registrado
Ultimo ID : 19056
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
formatted : 16, Puerto Plata 57000, República Dominicana
countryCode : DO
city : Puerto Plata
street : Barrio Las Yaguitas
number : 0
floor : 
latLng : Array
comment : Los maestros calle 3 casa #4 parte baja
-------------- Insertar detalle orden -----------
1- 0200014 Palitos a la Toscana : 1 * 350 = 350
2- 0100163 Pepperoni Lover's Mediana Pan : 1 * 910 = 910
3- 0100149 Suprema de Pollo Pequeña Thin : 1 * 570 = 570

  OK
Retorno : {
			"status":"200",
			"orden":"T251178",
			"email":"1"
		}
Orden registrada. # Orden Json : 671526 / # Orden Web : T251178
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------- J S O N  R E C I B I D O ----------------
{"orden":"1192624068","canal":"AG","tipo_fac":"","cod_unidad":"03","nom_unidad":"Bella Vista - Pedidos Ya","email":"","telefono":"+18099721208","nombre":"cruz M","calle":"","sector":"","casa":"","numero":"","comentario1":"","comentario2":"Medio de pago: MASTERCARD","comentario3":"","comentario4":"","tiponcf":"CONSUMO","rnc":"","razonsocial":"","fecha":"2024-06-03","hora":"22:25","hora_entrega":"2024-06-04T02:56:34.000Z","subtotal":950,"valor_descuento":0,"porciento_descuento":0,"itbis":0,"propina":0,"total":950,"forma_pago":"","cambio_efectivo":0,"referencia":"Pedidos Ya","infoComprobante":null,"address":[{"formatted":"","countryCode":"","city":"","street":"","number":"","apt":"","floor":"","entrance":"","pobox":"","comment":"","latLng":{"lat":"","lng":""}}],"members":[{"linea":1,"grupolinea":1,"plu":"K000625","descripcion":"Pizza Mediana 1 Ing.","cantidad":1,"precio":950,"ind_kit":"S","padre":""},{"linea":2,"grupolinea":1,"plu":"0100185","descripcion":" BASICA 1 ING MED PAN","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000625"},{"linea":3,"grupolinea":2,"plu":"0700054","descripcion":" ING SOLO JAMON MED","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000625"},{"linea":4,"grupolinea":3,"plu":"0700048","descripcion":" ING SOLO PEPPERONI MED","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000625"}]}
--------- Configuracion de Impuestos ---------
porc_itbis : 0.18
porc_propina : 0.1
factor_precio : 8.474
Valor descuento : 0
Porciento descuento : 0
Total Orden : 950
totalporcimpuestos : 1.28
Orden Agregador, se asigno nuevo numero de Orden : 251179
Proximo # De Orden : T251179

-------------- 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,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('251179','T251179','AG','624068','03','BELLA VISTA - PEDIDOS YA','C',
 '809-972-1208','624068 / Pedidos Ya','','CONSUMO','',
 '','2024-06-03','22:25','',
 '805.08046875','0','0','144.914484375','0','950','0',
 '','' ,'' ,'','','',' ',
 '','MEDIO DE PAGO: MASTERCARD','','','','Pedidos Ya',''
)
header registrado
Ultimo ID : 19057
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
formatted : 
countryCode : 
city : 
street : 
number : 
floor : 
latLng : Array
comment : 
-------------- Insertar detalle orden -----------
1- K000625 Pizza Mediana 1 Ing. : 1 * 950 = 950
2- 0100185  BASICA 1 ING MED PAN : 1 * 0 = 0
3- 0700054  ING SOLO JAMON MED : 1 * 0 = 0
4- 0700048  ING SOLO PEPPERONI MED : 1 * 0 = 0

  OK
Retorno : {
			"status":"200",
			"orden":"T251179",
			"email":"1"
		}
Orden registrada. # Orden Json : 251179 / # Orden Web : T251179
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------- J S O N  R E C I B I D O ----------------
{"orden":"1192624136","canal":"AG","tipo_fac":"","cod_unidad":"18","nom_unidad":"Mega Centro - Pedidos Ya","email":"","telefono":"+18493527200","nombre":"Kalon RD","calle":"","sector":"","casa":"","numero":"","comentario1":"","comentario2":"Medio de pago: VISA","comentario3":"","comentario4":"","tiponcf":"CONSUMO","rnc":"","razonsocial":"","fecha":"2024-06-03","hora":"22:26","hora_entrega":"2024-06-04T03:07:16.000Z","subtotal":1420,"valor_descuento":0,"porciento_descuento":0,"itbis":0,"propina":0,"total":1420,"forma_pago":"","cambio_efectivo":0,"referencia":"Pedidos Ya","infoComprobante":null,"address":[{"formatted":"","countryCode":"","city":"","street":"","number":"","apt":"","floor":"","entrance":"","pobox":"","comment":"","latLng":{"lat":"","lng":""}}],"members":[{"linea":1,"grupolinea":1,"plu":"03059","descripcion":"Coca Cola 2 Litros","cantidad":1,"precio":195,"ind_kit":"N","padre":""},{"linea":2,"grupolinea":3,"plu":"K000621","descripcion":"Pizza Hut Cheese 1 Ing.","cantidad":1,"precio":1225,"ind_kit":"S","padre":""},{"linea":3,"grupolinea":3,"plu":"0100184","descripcion":" BASICA 1ING HUT CHEESE","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000621"},{"linea":4,"grupolinea":4,"plu":"0700173","descripcion":" ING SOLO PEPPERONI HUTC","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000621"},{"linea":5,"grupolinea":5,"plu":"0700173","descripcion":" ING SOLO PEPPERONI HUTC","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000621"}]}
--------- Configuracion de Impuestos ---------
porc_itbis : 0.18
porc_propina : 0.1
factor_precio : 8.474
Valor descuento : 0
Porciento descuento : 0
Total Orden : 1420
totalporcimpuestos : 1.28
Orden Agregador, se asigno nuevo numero de Orden : 251180
Proximo # De Orden : T251180

-------------- 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,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('251180','T251180','AG','624136','18','MEGA CENTRO - PEDIDOS YA','C',
 '849-352-7200','624136 / Pedidos Ya','','CONSUMO','',
 '','2024-06-03','22:26','',
 '1203.3834375','0','0','216.60901875','0','1420','0',
 '','' ,'' ,'','','',' ',
 '','MEDIO DE PAGO: VISA','','','','Pedidos Ya',''
)
header registrado
Ultimo ID : 19058
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
formatted : 
countryCode : 
city : 
street : 
number : 
floor : 
latLng : Array
comment : 
-------------- Insertar detalle orden -----------
1- 03059 Coca Cola 2 Litros : 1 * 195 = 195
2- K000621 Pizza Hut Cheese 1 Ing. : 1 * 1225 = 1225
3- 0100184  BASICA 1ING HUT CHEESE : 1 * 0 = 0
4- 0700173  ING SOLO PEPPERONI HUTC : 1 * 0 = 0
5- 0700173  ING SOLO PEPPERONI HUTC : 1 * 0 = 0

  OK
Retorno : {
			"status":"200",
			"orden":"T251180",
			"email":"1"
		}
Orden registrada. # Orden Json : 251180 / # Orden Web : T251180
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------- J S O N  R E C I B I D O ----------------
{"orden":"1192624140","canal":"AG","tipo_fac":"","cod_unidad":"07","nom_unidad":"Zona Rosa - Pedidos Ya","email":"","telefono":"+18498533000","nombre":"angel garcia","calle":"","sector":"","casa":"","numero":"","comentario1":"","comentario2":"Medio de pago: VISA","comentario3":"","comentario4":"","tiponcf":"CONSUMO","rnc":"","razonsocial":"","fecha":"2024-06-03","hora":"22:26","hora_entrega":"2024-06-04T02:58:18.000Z","subtotal":1225,"valor_descuento":0,"porciento_descuento":0,"itbis":0,"propina":0,"total":1225,"forma_pago":"","cambio_efectivo":0,"referencia":"Pedidos Ya","infoComprobante":null,"address":[{"formatted":"","countryCode":"","city":"","street":"","number":"","apt":"","floor":"","entrance":"","pobox":"","comment":"","latLng":{"lat":"","lng":""}}],"members":[{"linea":1,"grupolinea":1,"plu":"K000621","descripcion":"Pizza Hut Cheese 1 Ing.","cantidad":1,"precio":1225,"ind_kit":"S","padre":""},{"linea":2,"grupolinea":1,"plu":"0100184","descripcion":" BASICA 1ING HUT CHEESE","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000621"},{"linea":3,"grupolinea":2,"plu":"0700178","descripcion":" ING SOLO TOCINETA HUTCHEE","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000621"},{"linea":4,"grupolinea":3,"plu":"0700173","descripcion":" ING SOLO PEPPERONI HUTC","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000621"}]}
--------- Configuracion de Impuestos ---------
porc_itbis : 0.18
porc_propina : 0.1
factor_precio : 8.474
Valor descuento : 0
Porciento descuento : 0
Total Orden : 1225
totalporcimpuestos : 1.28
Orden Agregador, se asigno nuevo numero de Orden : 251181
Proximo # De Orden : T251181

-------------- 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,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('251181','T251181','AG','624140','07','ZONA ROSA - PEDIDOS YA','C',
 '849-853-3000','624140 / Pedidos Ya','','CONSUMO','',
 '','2024-06-03','22:26','',
 '1038.130078125','0','0','186.8634140625','0','1225','0',
 '','' ,'' ,'','','',' ',
 '','MEDIO DE PAGO: VISA','','','','Pedidos Ya',''
)
header registrado
Ultimo ID : 19059
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
formatted : 
countryCode : 
city : 
street : 
number : 
floor : 
latLng : Array
comment : 
-------------- Insertar detalle orden -----------
1- K000621 Pizza Hut Cheese 1 Ing. : 1 * 1225 = 1225
2- 0100184  BASICA 1ING HUT CHEESE : 1 * 0 = 0
3- 0700178  ING SOLO TOCINETA HUTCHEE : 1 * 0 = 0
4- 0700173  ING SOLO PEPPERONI HUTC : 1 * 0 = 0

  OK
Retorno : {
			"status":"200",
			"orden":"T251181",
			"email":"1"
		}
Orden registrada. # Orden Json : 251181 / # Orden Web : T251181
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------- J S O N  R E C I B I D O ----------------
{"orden":"1192666955","canal":"AG","tipo_fac":"","cod_unidad":"38","nom_unidad":"Colina Centro - Pedidos Ya","email":"","telefono":"+18293947246","nombre":"Maria muñoz","calle":"","sector":"","casa":"","numero":"","comentario1":"","comentario2":"Medio de pago: MASTERCARD","comentario3":"","comentario4":"","tiponcf":"CONSUMO","rnc":"","razonsocial":"","fecha":"2024-06-03","hora":"22:29","hora_entrega":"2024-06-04T03:18:17.000Z","subtotal":1570,"valor_descuento":275,"porciento_descuento":0,"itbis":0,"propina":0,"total":1570,"forma_pago":"","cambio_efectivo":0,"referencia":"Pedidos Ya","infoComprobante":null,"address":[{"formatted":"","countryCode":"","city":"","street":"","number":"","apt":"","floor":"","entrance":"","pobox":"","comment":"","latLng":{"lat":"","lng":""}}],"members":[{"linea":1,"grupolinea":1,"plu":"K000583","descripcion":"Pizza Mediana 1 Ing. + Breadsticks + 2 Bebidas 16 Onz","cantidad":1,"precio":1570,"ind_kit":"S","padre":""},{"linea":2,"grupolinea":1,"plu":"0100185","descripcion":" BASICA 1 ING MED PAN","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000583"},{"linea":3,"grupolinea":2,"plu":"0700054","descripcion":" ING SOLO JAMON MED","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000583"},{"linea":4,"grupolinea":3,"plu":"0700048","descripcion":" ING SOLO PEPPERONI MED","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000583"},{"linea":5,"grupolinea":4,"plu":"03064","descripcion":" 16 0Z COCA COLA","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000583"},{"linea":6,"grupolinea":5,"plu":"0200007","descripcion":" BREADSTICKS","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000583"},{"linea":7,"grupolinea":6,"plu":"03064","descripcion":" 16 0Z COCA COLA","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000583"}]}
--------- Configuracion de Impuestos ---------
porc_itbis : 0.18
porc_propina : 0.1
factor_precio : 8.474
Valor descuento : 275
Porciento descuento : 18
Total Orden : 1570
totalporcimpuestos : 1.28
Orden Agregador, se asigno nuevo numero de Orden : 251182
Proximo # De Orden : T251182

-------------- 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,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('251182','T251182','AG','666955','38','COLINA CENTRO - PEDIDOS YA','C',
 '829-394-7246','666955 / Pedidos Ya','','CONSUMO','',
 '','2024-06-03','22:29','',
 '1330.50140625','275','18','239.490253125','0','1570','0',
 '','' ,'' ,'','','',' ',
 '','MEDIO DE PAGO: MASTERCARD','','','','Pedidos Ya',''
)
header registrado
Ultimo ID : 19060
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
formatted : 
countryCode : 
city : 
street : 
number : 
floor : 
latLng : Array
comment : 
-------------- Insertar detalle orden -----------
1- K000583 Pizza Mediana 1 Ing. + Breadsticks + 2 Bebidas 16 Onz : 1 * 1570 = 1570
2- 0100185  BASICA 1 ING MED PAN : 1 * 0 = 0
3- 0700054  ING SOLO JAMON MED : 1 * 0 = 0
4- 0700048  ING SOLO PEPPERONI MED : 1 * 0 = 0
5- 03064  16 0Z COCA COLA : 1 * 0 = 0
6- 0200007  BREADSTICKS : 1 * 0 = 0
7- 03064  16 0Z COCA COLA : 1 * 0 = 0

  OK
Retorno : {
			"status":"200",
			"orden":"T251182",
			"email":"1"
		}
Orden registrada. # Orden Json : 251182 / # Orden Web : T251182
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------- J S O N  R E C I B I D O ----------------
{"orden":"69673838","canal":"Wa","tipo_fac":"D","cod_unidad":"01","nom_unidad":"Unicentro","email":"","telefono":" 8296044748","nombre":"G Abreu","calle":"Ensanche Quisqueya","sector":"","casa":"","numero":"0","comentario1":"Torre Andrea victoria","comentario2":"","comentario3":"No","comentario4":"","tiponcf":"CONSUMO","rnc":"","razonsocial":"","fecha":"2024-06-03","hora":"22:48","hora_entrega":"23:18","subtotal":0,"valor_descuento":0,"porciento_descuento":0,"itbis":0,"propina":0,"total":3060,"forma_pago":"EFECTIVO","cambio_efectivo":0,"referencia":"","infoComprobante":null,"address":[{"formatted":"F384+F2H, Santo Domingo, República Dominicana","countryCode":"DO","city":"Santo Domingo","street":"Ensanche Quisqueya","number":"0","apt":"","floor":"","entrance":"","pobox":"","comment":"Torre Andrea victoria","latLng":{"lat":"18.4661935","lng":"-69.9448893"}}],"members":[{"linea":1,"grupolinea":1,"plu":"0100051","descripcion":"Meat Lover\u0027s Hut Cheese","cantidad":1,"precio":1530,"ind_kit":"N","padre":""},{"linea":2,"grupolinea":3,"plu":"0100051","descripcion":"Meat Lover\u0027s Hut Cheese","cantidad":1,"precio":1530,"ind_kit":"N","padre":""}]}
--------- Configuracion de Impuestos ---------
porc_itbis : 0.18
porc_propina : 0.1
factor_precio : 8.474
Valor descuento : 0
Porciento descuento : 0
Total Orden : 3060
totalporcimpuestos : 1.28
Proximo # De Orden : T251183

-------------- 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,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('673838','T251183','WA','673838','01','UNICENTRO','D',
 '829-604-4748','G ABREU','','CONSUMO','',
 '','2024-06-03','22:48','23:18',
 '2593.2065625','0','0','466.77718125','0','3060','0',
 '','EFECTIVO' ,'18.4661935' ,'-69.9448893','','ENSANCHE QUISQUEYA','0 ',
 '','TORRE ANDREA VICTORIA','','','EFECTIVO','',''
)
header registrado
Ultimo ID : 19061
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
formatted : F384+F2H, Santo Domingo, República Dominicana
countryCode : DO
city : Santo Domingo
street : Ensanche Quisqueya
number : 0
floor : 
latLng : Array
comment : Torre Andrea victoria
-------------- Insertar detalle orden -----------
1- 0100051 Meat Lover's Hut Cheese : 1 * 1530 = 1530
2- 0100051 Meat Lover's Hut Cheese : 1 * 1530 = 1530

  OK
Retorno : {
			"status":"200",
			"orden":"T251183",
			"email":"1"
		}
Orden registrada. # Orden Json : 673838 / # Orden Web : T251183
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------- J S O N  R E C I B I D O ----------------
{"orden":"69675733","canal":"Wa","tipo_fac":"D","cod_unidad":"28","nom_unidad":"La Romana","email":"","telefono":" 8093831978","nombre":"Amerlin Globos Bolier","calle":"Calle A","sector":"","casa":"","numero":"0","comentario1":"","comentario2":"","comentario3":"No","comentario4":"","tiponcf":"CONSUMO","rnc":"","razonsocial":"","fecha":"2024-06-03","hora":"22:57","hora_entrega":"23:28","subtotal":0,"valor_descuento":0,"porciento_descuento":0,"itbis":0,"propina":0,"total":1250,"forma_pago":"EFECTIVO","cambio_efectivo":0,"referencia":"","infoComprobante":null,"address":[{"formatted":"C2JG+5VJ, C. A, La Romana 22000, República Dominicana","countryCode":"DO","city":"La Romana","street":"Calle A","number":"0","apt":"","floor":"","entrance":"","pobox":"","comment":"","latLng":{"lat":"18.4303858","lng":"-68.97285579999999"}}],"members":[{"linea":1,"grupolinea":1,"plu":"K000726","descripcion":"Big New Yorker + Breadsticks + 1.25 L","cantidad":1,"precio":1250,"ind_kit":"S","padre":""},{"linea":2,"grupolinea":1,"plu":"0100292","descripcion":"PIZZA BASICA 1 ING BNY","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000726"},{"linea":3,"grupolinea":1,"plu":"0700047","descripcion":"ING SOLO PEPPERONI GDE","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000726"},{"linea":4,"grupolinea":1,"plu":"0700064","descripcion":"ING SOLO TOCINETA GDE","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000726"},{"linea":5,"grupolinea":1,"plu":"0200007","descripcion":"BREADSTICKS","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000726"},{"linea":6,"grupolinea":1,"plu":"20748","descripcion":"1.25 LITRO COCA COLA","cantidad":1,"precio":0,"ind_kit":"N","padre":"K000726"}]}
--------- Configuracion de Impuestos ---------
porc_itbis : 0.18
porc_propina : 0.1
factor_precio : 8.474
Valor descuento : 0
Porciento descuento : 0
Total Orden : 1250
totalporcimpuestos : 1.28
Proximo # De Orden : T251184

-------------- 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,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('675733','T251184','WA','675733','28','LA ROMANA','D',
 '809-383-1978','AMERLIN GLOBOS BOLIER','','CONSUMO','',
 '','2024-06-03','22:57','23:28',
 '1059.31640625','0','0','190.676953125','0','1250','0',
 '','EFECTIVO' ,'18.4303858' ,'-68.97285579999999','','CALLE A','0 ',
 '','','','','EFECTIVO','',''
)
header registrado
Ultimo ID : 19062
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
formatted : C2JG+5VJ, C. A, La Romana 22000, República Dominicana
countryCode : DO
city : La Romana
street : Calle A
number : 0
floor : 
latLng : Array
comment : 
-------------- Insertar detalle orden -----------
1- K000726 Big New Yorker + Breadsticks + 1.25 L : 1 * 1250 = 1250
2- 0100292 PIZZA BASICA 1 ING BNY : 1 * 0 = 0
3- 0700047 ING SOLO PEPPERONI GDE : 1 * 0 = 0
4- 0700064 ING SOLO TOCINETA GDE : 1 * 0 = 0
5- 0200007 BREADSTICKS : 1 * 0 = 0
6- 20748 1.25 LITRO COCA COLA : 1 * 0 = 0

  OK
Retorno : {
			"status":"200",
			"orden":"T251184",
			"email":"1"
		}
Orden registrada. # Orden Json : 675733 / # Orden Web : T251184
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
