Source: https://vaultcrmhelp.veeva.com/doc/Content/CRM_topics/CallSampling/SubmitCallwSamples/SampleReceipts.htm

## Generating Printable Sample Receipts

To ensure regulatory compliance, streamline audits, and readily fulfill HCP receipt requests, sample admin users and end users can generate printable sample receipts for call reports with samples or BRCs. Sample receipts display essential details on disbursed products and HCP license information in a non-editable PDF format, meeting the requirements of the PDMA (Prescription Drug Marketing Act).

Sample admin users generate receipts for individual calls from call report record actions, as needed for audits or internal requests. They can also use formatted HTML to customize the format and content of these receipts for their organization’s specific needs. End users can generate these receipts when requested by an HCP, or as required by company policy to verify sample and BRC disbursement.

#### Validation Disclaimer

Generating Printable Sample Receipts
is released without validation. This feature requires enablement and does not affect other Vault CRM functionality. It was extensively tested by our QA team during the development and release process and will go through validation at a later date.

**Who can use this feature?**

* End Users, Sample Admin Users — Browser
* [Using Printable Sample Receipts](#Using)
* Users do not require an additional license

### Configuring Printable Sample Receipts for

[![Closed](../../../../Skins/Default/Stylesheets/Images/transparent.gif)End Users, Sample Admin Users](#)

To configure this feature:

1. Ensure the following configuration is complete:

   * [Configuring Call Sampling](../Config/ConfiguringCS.htm)
   * [Configuring Products for Call Sampling](../Config/ConfiguringProductsCS.htm)
   * [Configuring Sample Requests (BRCs)](../Config/ConfiguringBRCs.htm), if using BRCs

   Ensure users have at least Read permission to the call2\_\_v, call2\_sample\_\_v, product\_\_v, and sample\_lot\_\_v objects.
2. Navigate to **Admin > Users & Groups > Permission Sets**.
3. Select the appropriate permission set.
4. Select the **Objects** tab.
5. Grant Execute permission to the **print\_receipt\_\_v** action on the call2\_\_v object.
6. Ensure the user has at least Read permission to all fields referenced in the **HTML\_TEMPLATE;;SampleReceipt** Veeva Message.
7. Select the **Pages** tab.
8. Grant View permission to the **call\_print\_receipt\_page\_\_v** page.
9. Navigate to **Admin > Configuration > Objects > call2\_\_v > Object Types**.
10. Enable the **print\_receipt\_\_v** action for the appropriate object types.

#### Customizing Printable Sample Receipts

Formatted HTML can be used to customize and style the default template provided for printable sample receipts, with the exception of the samples table.

To customize the template:

1. Navigate to **Business Admin > Objects > message\_\_v**.
2. Select the **HTML\_TEMPLATE;;SampleReceipt** message\_\_v record.
3. Modify the HTML text in the **text\_\_v** field on the message, using [best practices for editing Veeva Messages](../../Getting_Started/SettingUp/Veeva_Messages.htm). HTML is the only language supported for this Veeva Message.

Note the following when modifying HTML text for printable sample receipts:

* If using a logo image, place the logo image as the first element within the <body> section
* Use the following format for logo images:

  <img src="Logo image URL” alt="" />

  For example: <img src="http://www.veevasystems.com/images/Global/veeva-logo.gif” alt="" />
* Use the following format to define tokens: ${object name.field name}. For example, ${call2\_\_v.address\_\_v}.
* Relationship tokens are only supported for Name fields. For example, ${call2\_\_v.account\_\_vr.name\_\_v}.
* When adding information using a token, specify field labels separately as paragraph text in the HTML body. Otherwise, values from the field are not labeled in the receipt.
* Labels do not need to be entered for columns in the ${samples\_section\_\_v} table, which are determined as follows:
* Sample Name - Label of the product\_\_v field on the call2\_sample\_\_v object is used
* Lot # - Text from the LOT;;SampleReceipt Veeva Message is used
* Quantity - Text from the QUANTITY;;SampleReceipt Veeva Message is used
* U/M (Unit of measure) - Label of the u\_m\_\_v field on the sample\_lot\_\_v object is used
* Manufacturer - Label of the manufacturer\_\_v field on the call2\_sample\_\_v object is used
* Distributor - Label of the distributor\_\_v field on the call2\_sample\_\_v object is used

### Using Printable Sample Receipts as

[![Closed](../../../../Skins/Default/Stylesheets/Images/transparent.gif)End Users, Sample Admin Users](#)

To generate a printable sample receipt:

1. Select the **All Actions** icon from a person account's call report record to display the record actions menu. The following entry points are available:

* Record actions in the Calls Related Object section on an Account Detail page
* Record actions for call reports accessed from the Business Admin tab
* Record actions on the call report, in View mode

![](../../../Resources/Images/Activities/CallReporting/CallReportSampling/PrintSampleReceipt1cropped.png)

2. Select **Print Receipt**. The sample receipt opens in a new browser tab. All samples and BRCs added to the call report display in a table on the receipt.

   ![](../../../Resources/Images/Activities/CallReporting/CallReportSampling/PrintSampleReceipt2Cropped.png)
3. Select **Print** from the receipt header. The receipt opens in the device's native printing dialog, where the user can download or print the receipt.

   ![](../../../Resources/Images/Activities/CallReporting/CallReportSampling/Copy of PrintSampleReceipt3.png)

### Related Topics

[Capturing Electronic Signatures for Sampling](../SignatureCapture/SigCap.htm)

[Viewing Captured Call Signatures](../SignatureCapture/ViewSig.htm)

[Generating Printable Acknowledgement of Content Receipts](../ShipBRC/PrintAOCReceipts.htm)

[Generating Printable Medical Inquiry Receipts](../../Medical_Inquiries/PrintReceipts.htm)
