Conoce los cambios realizados en el API Changelog
Authorization: ********************curl --location 'https://api.crol.mx/api/OrdenCompra' \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"almacenId": 0,
"centrocostoId": 0,
"contactoId": 0,
"descuento": 0,
"diasCredito": 0,
"diasEntrega": 0,
"diasVigencia": 0,
"fecha": "string",
"IEPS": 0,
"IEPS_retenido": 0,
"ISR_retenido": 0,
"IVA": 0,
"IVA_retenido": 0,
"monedaId": 0,
"notas": "string",
"detalle": [
{
"almacenId": 0,
"cantidad": 0,
"centrocostoId": 0,
"conceptoId": 0,
"costoUnitario": 0,
"descuento": 0,
"IEPS": 0,
"IEPS_retenido": 0,
"importe": 0,
"impuestoId_IEPS": 0,
"impuestoId_IVA": 0,
"impuestoId_ret_IEPS": 0,
"impuestoId_ret_ISR": 0,
"impuestoId_ret_IVA": 0,
"ISR_retenido": 0,
"IVA": 0,
"IVA_retenido": 0,
"notas": "string",
"divisionId": 0,
"total": 0,
"umId": 0
}
],
"proyectoId": 0,
"subtotal": 0,
"sucursalId": 0,
"tipoCambio": 0,
"total": 0
}'{
"data": {
"id": 0,
"folio": "string",
"fechaDocumento": "2019-08-24T14:15:22.123Z",
"total": 0,
"notas": "string",
"fechaRegistro": "2019-08-24T14:15:22.123Z",
"mensaje": "string"
},
"resultado": true,
"error": {
"error": null,
"errorMensaje": "string",
"errorCodigo": 0
}
}