Answers.Body: <p>{$contributionID} should work ....</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-09-12T01:42:31.190Z
Answers.Text: That worked but I want to see what other's have done.
Answers.UserDisplayName: frTommy
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-09-12T00:44:40.027Z
Answers.LastActivityDate: 2017-09-12T00:44:40.027Z
Answers.UserDisplayName: user4278
Answers.Body: <blockquote>
    <p>Then I noticed that there's not a way to search by contribution id but
    there is by transaction id.</p>
  </blockquote>
  
  <p>You can search for Contributions and use "Invoice Number" - which constitutes of Invoice prefix + <strong>Contribution ID</strong>.</p>
  
  <p>For Example: Invoice Number: INV1234 -> Contribution ID: 1234</p>
  
  <p>(You can set that invoice prefix under administer-CiviContribute, where you can activate invoicing.)</p>
  
  <p>The token {contributions.contribution_id} should be useful.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2024-12-19T10:33:16.333Z
Answers.Text: I tried this but the "Invoice Number" field was empty for contributions.
Answers.UserDisplayName: Ben
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2024-12-19T18:07:11.177Z
Answers.Text: Found out I needed to switch on Tax and Invoice in the Contibution Settings to get an Invoice Number.
Answers.UserDisplayName: Ben
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2018-03-26T13:54:26.057Z
Answers.LastActivityDate: 2018-03-26T13:54:26.057Z
Answers.UserDisplayName: f.pear
Body: <p>I've searched and can't find anything that works. </p>
  
  <p>How do I add the Contribution ID and/or transaction_id to a receipt (Online and Offline)?</p>
  
  <p>What I'm looking for is a way to easily find a contribution if a donor calls inquiring. I can ask them the contribution id and then search. Then I noticed that there's not a way to search by contribution id but there is by transaction id. However, transaction id isn't automatically created unless it's an online credit card donation. If I process a check or cash then it doesn't create a transaction id. Any suggestions on some options?</p>
  
  <p>What do other's use on their receipts as the id?</p>
  
Tags: <receipts><system-workflow-messages>
Title: Adding contribution_id or transaction_id to Receipt
ThreadText: # Adding contribution_id or transaction_id to Receipt
  
  (Asked by: username_0 on 2017-09-12)
  
  I've searched and can't find anything that works.
  
  How do I add the Contribution ID and/or transaction\_id to a receipt (Online and Offline)?
  
  What I'm looking for is a way to easily find a contribution if a donor calls inquiring. I can ask them the contribution id and then search. Then I noticed that there's not a way to search by contribution id but there is by transaction id. However, transaction id isn't automatically created unless it's an online credit card donation. If I process a check or cash then it doesn't create a transaction id. Any suggestions on some options?
  
  What do other's use on their receipts as the id?
  
  **Tags:** receipts, system-workflow-messages
  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_1 on 2017-09-12. Score: 2
  
  {$contributionID} should work ....
  
  > **Comments:**
  > **username_0**: That worked but I want to see what other's have done.  
  
  ---
  
  ### Answer by username_2 on 2018-03-26. Score: 0
  
  > Then I noticed that there's not a way to search by contribution id but
  > there is by transaction id.
  
  You can search for Contributions and use "Invoice Number" - which constitutes of Invoice prefix + **Contribution ID**.
  
  For Example: Invoice Number: INV1234 -> Contribution ID: 1234
  
  (You can set that invoice prefix under administer-CiviContribute, where you can activate invoicing.)
  
  The token {contributions.contribution\_id} should be useful.
  
  > **Comments:**
  > **username_3**: I tried this but the "Invoice Number" field was empty for contributions.  
  > **username_3**: Found out I needed to switch on Tax and Invoice in the Contibution Settings to get an Invoice Number.  
  
  ---
  
  