---
title: "Discussion on \"Belongs To Through Relations in Laravel 9\" | Hashnode"
description: "Discussion on \"Belongs To Through Relations in Laravel 9\". How can we \"fake\" belongs-to-through relations in Laravel using a native has-one-through relationship."
url: "https://hashnode.com/posts/belongs-to-through-relations-in-laravel-9/63a2c07262df68a6631f5841"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Belongs To Through Relations in Laravel 9](https://annissimo.com/belongs-to-through-relations-in-laravel-9?utm_source=hashnode&utm_medium=feed)

How can we "fake" belongs-to-through relations in Laravel using a native has-one-through relationship.

Dec 21, 2022 · 2 min read · annissimo.com  
Updated Aug 12, 2023  
Read the article

-   [#laravel](https://hashnode.com/tag/laravel)
-   [#php](https://hashnode.com/tag/php)

## Written by

[Amadeusz Annissimo](https://hashnode.com/@amade)

@amade · Tallinn, Estonia

  
[View profile](https://hashnode.com/@amade)

Technical Co-Founder

## Responses 1

Markdown supported · ⌘↵ to post

[Cyril Fehintoluwa](https://hashnode.com/@cyril)

[Aug 12, 2023](https://hashnode.com/posts/belongs-to-through-relations-in-laravel-9/63a2c07262df68a6631f5841/comment/64d6f5dca695373b8747fb40)

Thanks for the great article, needed this about a month ago or so.

But here

```
'invoice_id', // refers to invoice_id column on customers table
```

I think you meant on the credit\_notes table, right?

[Amadeusz Annissimo](https://hashnode.com/@amade)

[Aug 12, 2023](https://hashnode.com/posts/belongs-to-through-relations-in-laravel-9/63a2c07262df68a6631f5841/comment/64d6f5dca695373b8747fb40#reply-64d72d99d459393b57af8865)

Thank you for reading the article and the comment :) You're right, I just fixed it.
