Conoce los cambios realizados en el API Changelog
Authorization: ********************curl --location 'https://api.crol.mx/api/FacturaVenta' \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"encabezado": {
"almacenId": 0,
"c_usoCFDi": "string",
"centroCostoId": 0,
"clienteId": 0,
"clienteNombre": "string",
"comentario": "string",
"descuento": 0,
"diasCredito": 0,
"divisionId": 0,
"facturaSinExistencia": true,
"fecha": "string",
"formaId": "string",
"formaPagoId": 0,
"impuesto1": 0,
"impuesto1_ret": 0,
"impuesto2_ret": 0,
"impuesto3": 0,
"listaId": 0,
"monedaId": 0,
"referenciaExterna": "string",
"rfc": "string",
"saldo": 0,
"subtotal": 0,
"sucursalId": 0,
"tipoCambio": 0,
"total": 0
},
"detalle": [
{
"almacenId": 0,
"cantidad": 0,
"centroCostoId": 0,
"conceptoId": 0,
"consecutivo": 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,
"nota": "string",
"precioUnitario": 0,
"subtotal": 0,
"sucursalId": 0,
"total": 0,
"umId": 0
}
]
}'{
"data": {
"comentario": "string",
"esObjetoEngine": true,
"folio": "string",
"serie": "string",
"timbro": true,
"uuid": "string",
"xmlGenerado": "string",
"pdfGenerado": "string",
"transaccionId": 0
},
"resultado": true,
"error": {
"error": null,
"errorMensaje": "string",
"errorCodigo": 0
}
}