'date', 'end_date' => 'date', 'payment_item_amount' => 'decimal:6', 'tax_percentage' => 'decimal:2', 'net_amount' => 'decimal:6', 'withholding_tax' => 'decimal:2', 'final_net_amount' => 'decimal:6', 'spending' => 'decimal:6', 'is_creditcard' => 'boolean', ]; public function payment(): BelongsTo { return $this->belongsTo(ClientInvoicePayment::class, 'client_invoice_payment_id'); } public function billingItemType(): BelongsTo { return $this->belongsTo(BillingItemType::class, 'billing_item_types_id'); } }