Hot answers tagged

9 votes
Accepted

How do I display a custom field in an invoice?

So, I remembered that there is such a thing as Smarty calls to the CiviCRM API. Stuck the following code into the template and bam! Got my custom field to show up in my generated invoice. {crmAPI ...
user avatar
7 votes
Accepted

How do I print the "received date" on an invoice?

I came accross the same issue. The invoice date gives the current date and that is in most cases not correct. We have used the receive date of the contribution in the invoice template as follows. ....
user avatar
6 votes
Accepted

Contribution - Invoice Address layout is wrong. How to fix?

Initially i thought the address are rendered using format defined at Address Settings but i was wrong when i checked the message template. The message template is designed to use address format as ...
user avatar
5 votes

Can Legal Name be used as a token?

In order to use legal_name against your message template the best way would be enabling CIVICRM_MAIL_SMARTY to 1 in civicrm_setting.php By doing this you can access {contact.legal_name} in your ...
user avatar
5 votes

Civi CRM Expert in Europe wanted

Please refer to this link https://civicrm.org/partners-contributors to get/contact a CiviCRM expert in your area
user avatar
  • 1,106
5 votes
Accepted

Remove CiviCRM logo from Invoice pdf?

The invoice is generated based on the template "Contributions - Invoice". It contains a line to the logo ({$resourceBase}/i/civi99.png" height = "34px" width = "99px") that you would need to replace. ...
user avatar
  • 3,357
4 votes

Custom Invoice ID

I think the answer is in the making: Klaas and Björn just proposed this PR: https://github.com/civicrm/civicrm-core/pull/11110
user avatar
4 votes

Error: No block-level parent found. Not good

That error is coming from dompdf, bundled with CiviCRM. Here are a couple of references to that error outside of CiviCRM: https://github.com/dompdf/dompdf/issues/902 https://github.com/barryvdh/...
user avatar
  • 6,101
4 votes
Accepted

Can we print an invoice without GST?

Sales Tax (like GST) is per Financial Type so if you need to make an invoice without GST you need to make the Contribution of a Financial Type that has no GST associated with it. Have a look here for ...
user avatar
4 votes

How do I get the Name and Address on the Invoice to show up in a Window Envelope?

This requires editing of the Contribution Invoice Receipt - Message Template. End result looks like this: I'll detail the steps below to get the header part. The header portion contains two tables: ...
user avatar
4 votes
Accepted

Special Characters Become Question Marks "?" in PDF Printing

DOMPDF in CiviCRM have a trouble with special characters UTF-8. We have this same problem in Poland. I've create a repo with solution: https://github.com/ngo360/civicrm.dompdf.utf8 For apply this ...
user avatar
3 votes

Send or print membership invoices

I see 2 ways: Do Use Scheduled Reminders (Administer - Communication - Scheduled Reminders), If you choose Memberships as Entity you can use Membership tokens in the email being sent. You can limit ...
user avatar
  • 3,534
3 votes

Invoice with multiple Membership lines

It is absolutely possible to have multiple line items on an invoice :) This can be done by using "Price sets". More information about this can be found in the book here: http://docs.civicrm.org/...
user avatar
3 votes
Accepted

How to link to a stored invoice pdf with civicrm api

Invoices can be send via email or can be downloaded. Both create an activity (of type "Emailed Invoice" or "Downloaded Invoice"). The invoice pdfs are attached to that activity. When you first get ...
user avatar
  • 3,534
3 votes
Accepted

Setting a custom invoice date in CiviCRM

I guess you are doing it correctly - to set a future date on the Invoice - I would recommend creating an New token and displaying the date - which you are already doing it - so i don't think their is ...
user avatar
3 votes

Not able to print contribution invoice

To print invoice the user should either have access CiviContribute or view my invoice permission. "CiviPay: access CiviPay" permission doesn't come with CiviCRM install. I feel CiviPay extension might ...
user avatar
3 votes

How to include token or variable for Invoice number under the message templates for Memberships - Receipt (on-line)

The tokens you can use in a message template are a bit random, just what the developer added to the template. In this case, the contribution id can be found with {$contributionID}. However, that is ...
user avatar
3 votes
Accepted

Create invoices in CiviCase

I have two comments: CiviCRM is not really good in invoicing. So my advice would be to do the invoicing part in a seperate system, usually an accounting software might do the job I have made an ...
user avatar
3 votes

Sending invoices to members in bulk

I have found the issue. It was a known issue of civicrm v5.25. Here is the details: https://github.com/civicrm/civicrm-core/pull/17164/files "Invoices - print and email" has been appeared in the ...
user avatar
3 votes

Automated Invoices

I can offer my experience here. I started off using Scheduled Reminders as an automated invoice and used tokens as you suggest for member specific details for the recipient. However I found that ...
user avatar
  • 111
2 votes

Setting a custom invoice date in CiviCRM

Scheduled Reminders is the way I suspect many users provide this. Ie they create a Scheduled Reminder to go to members say 30 days before due date, with a link to the renewal page. Even if this is ...
user avatar
  • 27.2k
2 votes
Accepted

How to alter the InvoiceID/ContributionID count

You want to change the auto-increment number: ALTER TABLE civicrm_contribution AUTO_INCREMENT = 4356; Note that this is very dangerous if you set the number backward rather than forward.
user avatar
2 votes
Accepted

Where is invoicing information stored?

It's on the contact itself. It has become one of the addresses, the billing address.
user avatar
  • 3,534
2 votes

Error: No block-level parent found. Not good

If you’re running out of memory, as per the comment in the other answer, apply this patch to dompdf (a project external to CiviCRM which you’ll find in the CiviCRM vendor directory). https://github....
user avatar
2 votes

What is the purpose of the "default invoice payment page" field in the CiviContribute Component Settings page?

"Default invoice payment page" setting is used to set contribution page that can be used to pay pending or partially paid contribution using payment processor. More about the setting and uses: ...
user avatar
2 votes
Accepted

Different invoice template depending on payment gateway?

For a client with different payment gateways we sidestepped the issue by having different Contribution pages for each - since one was for a c4 and one for a c3 entity and used {if $contributionPageId ...
user avatar
  • 27.2k
2 votes

How to include token or variable for Invoice number under the message templates for Memberships - Receipt (on-line)

I think this answer is outdated, I can see that the {$invoiceReference} variable is available in the message template - Contributions - Receipt (on-line). Use the Smarty function in the template to ...
user avatar
2 votes

Invoices option

To me it sounds as if there has been a similar question with some answers some years ago in this forum: Custom Invoice ID The latest comments are from 2017/2018. Apparently, there has been a PR for ...
user avatar
  • 499
2 votes

Invoice Monetary Format

If you need to change the settings globally, not just for the single statement, you have the option under Administer -> Localization -> Languages, Currency, Locations. There you can define the "...
user avatar
  • 499
2 votes
Accepted

Invoice Monetary Format

The crmMoney function uses php's money_format() function to format the numbers. On Windows, this function does not exist! (https://issues.civicrm.org/jira/browse/CRM-650) However you can use ...
user avatar
  • 18.3k

Only top scored, non community-wiki answers of a minimum length are eligible