# How to Display Discount Reason and Bundle Information on an Invoice Template

**URL:** <https://community.novulo.com/t/how-to-display-discount-reason-and-bundle-information-on-an-invoice-template/433>\
**Category:** \[Q&A\] General\
**Tags:** implementation\
**Created:** [August 12, 2024, 8:14am UTC](https://community.novulo.com/t/how-to-display-discount-reason-and-bundle-information-on-an-invoice-template/433 "2024-08-12T08:14:20Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![j.batzke](https://yyz2.discourse-cdn.com/flex008/user_avatar/community.novulo.com/j.batzke/32/9_2.png) [@j.batzke](https://community.novulo.com/u/j.batzke)\
**Post date:** [August 12, 2024, 11:52am UTC](https://community.novulo.com/t/how-to-display-discount-reason-and-bundle-information-on-an-invoice-template/433/7 "2024-08-12T11:52:03Z")

</div>

@StephanRS thank you for your question. Unfortunately, this question is difficult to answer without the specific context of your activity template.

Also, Novi is not capable to answers these specific questions yet. It should not have responded in that case. I will tweak the system prompt a little more, that should prevent it from hallucinating.

Is the reason already stored somewhere in the application? Then you can probably access the description of the “reason” with an expression and add that to your export definition as a custom field.  
If also if it is a text that can be determined based on a set of conditions, you can try to check for these conditions with “if” statements in a custom expression.  
These posts might help:

> [@Expressions: Frequently Used Functions](https://community.novulo.com/t/expressions-frequently-used-functions/324):
>
> Expressions: Frequently Used Functions Below is a list of frequently used functions that you can use per data type. Since every application can have a different composition, some functions may not be available in your application (yet). To find a complete list of all functions in your application, check the data model in the [Expression Debugger](https://community.novulo.com/t/expressions-in-novulo/156#expression-debugger-10). For a fundamental explanation of our expression language and its syntax, you can take a look at [Expressions in Novulo](https://community.novulo.com/t/expressions-in-novulo/156). Some functions can be appl…

> [@Document generation: Activities and content blocks](https://community.novulo.com/t/document-generation-activities-and-content-blocks/200):
>
> You can use Activities to create documents, forms, notes, tasks and e-mails based on a data from your composed application. A document can be generated to: - Word (doc, docx) and PDF, - E-mail. Initial setup To create a document you need components that add activity template/content block functionality linked to the export engine: M3367, M3403, M3860 \> for activity(ies), activity template(s); M3251, M3888, M3890 \> for content block(s), content block template(s); M3363 \> for an [export definit…](https://community.novulo.com/t/novulo-export-how-to-export-data/257)

---

_[View the full topic](https://community.novulo.com/t/how-to-display-discount-reason-and-bundle-information-on-an-invoice-template/433)._
