curl --location --request POST 'https://api.crol.mx//api/PedidoCliente' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"encabezado": {
"almacenId": 0,
"c_UsoCFDi": "str",
"centroCostoId": 0,
"clienteNombre": "string",
"descuento": 0,
"diasEntrega": 0,
"diasVigencia": 0,
"divisionId": 0,
"domicilioEntregaId": 0,
"domicilioFiscalId": 0,
"entidadId": 0,
"fecha": "string",
"formaId": "string",
"formaPagoId": 0,
"impuesto1": 0,
"impuesto1_ret": 0,
"impuesto2_ret": 0,
"impuesto3": 0,
"listaId": 0,
"monedaId": 0,
"notas": "string",
"referencia": "string",
"rfc": "string",
"subtotal": 0,
"sucursalId": 0,
"tipoCambio": 0,
"total": 0,
"vendedorId": 0
},
"detalle": [
{
"almacenId": 0,
"cantidad": 0,
"centroCostoId": 0,
"conceptoId": 0,
"descuento": 0,
"divisionId": 0,
"impuesto1": 0,
"impuesto1_ret": 0,
"impuesto2_ret": 0,
"impuesto3": 0,
"impuestoId1": 0,
"impuestoId1_ret": 0,
"impuestoId2_ret": 0,
"impuestoId3": 0,
"notas": "string",
"precioUnitario": 0,
"subtotal": 0,
"sucursalId": 0,
"total": 0,
"umId": 0
}
]
}'