<p>No, there is no “reference” field on Bitcoin transactions. While the recent Inscription hype demonstrates (once again) that you can attach arbitrary data to Bitcoin transactions, the “Bitcoin way” of keeping track of payment context is by using a fresh <em>Bitcoin Invoice <strong>Address</strong></em> per transaction and using the address itself as the unique identifier to store the context of the payment locally.</p>
<p>It is generally considered bad practice to reuse invoice addresses.</p>

CC BY-SA 4.0
2023-02-19T22:31:55.860Z
Thank you this make sense. So thats the way most bitcoin merchant work I guess.
I'm not sure how they handle the transaction fee to unify their bitcoin tho, especially for little amount invoices
Maxime CATY
CC BY-SA 4.0
2023-02-20T19:40:06.317Z
@MaximeCATY Generally they try to consolidate their UTXOs during low-fee periods. Additionally, an increasing number of merchants are accepting payments exclusively over Lightning which avoids this problem.
Vojtěch Strnad
CC BY-SA 4.0
2023-02-19T22:26:52.053Z
2023-02-19T22:26:52.053Z
Murch
<p>As we traditional bank it is possible to add a reference when sending money away.</p>
<p>Is it possible to put some short custom data when sending a blockchain transaction, such as payment reference ?
I'm not seeing this anywere on Bitcoin Core. Seen a parameter &quot;input data&quot; for ethereum but look like its only sued for smartcontract ABI.</p>
<p>I'm asking this because it would help to put reference on transaction to apply accounting betwen two parties (eg if one sent multiple invoice to someone wich pay through blockchain)</p>

<blockchain><business><accounting>
Is it possible to add custom data on blockchains transaction such as a payment reference?
Maxime CATY
# Is it possible to add custom data on blockchains transaction such as a payment reference?

(Asked by: username_0 on 2023-02-19)

As we traditional bank it is possible to add a reference when sending money away.

Is it possible to put some short custom data when sending a blockchain transaction, such as payment reference ?
I'm not seeing this anywere on Bitcoin Core. Seen a parameter "input data" for ethereum but look like its only sued for smartcontract ABI.

I'm asking this because it would help to put reference on transaction to apply accounting betwen two parties (eg if one sent multiple invoice to someone wich pay through blockchain)

**Tags:** blockchain, business, accounting


---

## 1 answers

### Answer by username_1 on 2023-02-19. Score: 1 | Accepted answer

No, there is no “reference” field on Bitcoin transactions. While the recent Inscription hype demonstrates (once again) that you can attach arbitrary data to Bitcoin transactions, the “Bitcoin way” of keeping track of payment context is by using a fresh *Bitcoin Invoice **Address*** per transaction and using the address itself as the unique identifier to store the context of the payment locally.

It is generally considered bad practice to reuse invoice addresses.

> **Comments:**
> **username_0**: Thank you this make sense. So thats the way most bitcoin merchant work I guess. I'm not sure how they handle the transaction fee to unify their bitcoin tho, especially for little amount invoices  
> **username_2**: @username_0 Generally they try to consolidate their UTXOs during low-fee periods. Additionally, an increasing number of merchants are accepting payments exclusively over Lightning which avoids this problem.  

---

