attributes['document_number'] = $value; } public function getInvoiceNumberAttribute($value) { return $this->document_number; } public function setInvoicedAtAttribute($value) { $this->attributes['issued_at'] = $value; } public function getInvoicedAtAttribute($value) { return $this->issued_at; } }