public int ClearPayment([FromBody] Payment _payment)
 {
     return(db.clear_payment(_payment.invoice_id, "cleared", System.DateTime.Now));
 }