Obtener Factura de Referencia
POST | URL: https://api-uat.alltruckapp.com/api/v1/public/references/one
Authenticación HeaderParam key: x-access-token value: Bearer token###
{
"invoice_number": "91391",
"company_id" : 1,
"branch" : "sucursal",
"cashier_number" : "numero de caja",
"document_type" : "tipo de documento"
}{
"success": true,
"code": "201",
"data": {
"company_id": 1,
"invoice_number": "NUMERO DE FACTURA",
"client_name": "new client name",
"invoice_date": "fecha de factura",
"address": "direccion",
"client_phone": "number",
"total": "total",
"branch": "sucursal",
"document_type": "new tipo documento",
"created_at": "2021-06-14T15:02:41.455Z",
"updated_at": "2021-06-14T15:02:41.455Z",
"alltruck": {
"status": 1,
"assigned": false,
"message": "No se ha asignado a ningún viaje"
}
},
"message": "Factura Retornada Correctamente!"
}Last updated
Was this helpful?