$this->id, 'source' => 'manual', 'student_contract_id' => null, 'student_id' => $this->student_id, 'student_name' => $this->student?->name, 'financial_plan_account_id' => $this->financial_plan_account_id, 'type' => 'manual', 'history' => $this->history, 'installment_number' => null, 'total_installments' => null, 'order' => null, 'value' => (float) $this->value, 'paid_value' => (float) $this->paid_value, 'discount' => (float) $this->discount, 'fine' => (float) $this->fine, 'due_date' => $this->due_date?->format('Y-m-d'), 'payment_date' => $this->payment_date?->format('Y-m-d'), 'status' => $this->status, 'obs' => $this->obs, 'asaas_id' => null, 'invoice_url' => null, 'billing_type' => null, 'asaas_status' => null, ]; } }