'date', 'response' => 'object', ]; protected $guarded = ['id']; public function company() { return $this->belongsTo(Company::class); } public function invoice() { return $this->belongsTo(Invoice::class); } public function deserialize() { return \App\Services\EDocument\Standards\Verifactu\Models\Invoice::unserialize($this->state); } }