• Skip to primary navigation
  • Skip to main content
  • Skip to footer
  • Skip to custom navigation
HaloPSA

HaloPSA

  • Features
  • Pricing
  • Integrations
  • Resources
    • Demo On Demand
    • Roadmap
    • ITIL Alignment
    • Guides
    • HaloPSA Academy
    • Onboarding Partners
    • Distributors
  • Compare Us
    • ConnectWise
    • Datto Autotask
  • Solutions
    • I Need To…
      • Run My Business More Effectively

        Find out which customers and services are profitable and gain the confidence to act on this data.

      • Improve My Customer Experience

        Make all interactions as smooth as possible with a fully thought out end to end experience for your customers.

      • Streamline My Sales Process

        Remove unnecessary processes from your sales and account management and let them focus on their customer relationships.

      • Gain Control Of My Projects

        Visualise your workload and forecast your required budgets to ensure you can deliver on your projects.

    • We Are A…
      • Managed Service Provider
      • Telecommunications Provider
      • Cloud Solution Provider
      • Software Company
      • Consultancy Firm
    • Case Studies
      • nGeneration
      • Centrality
      • Commercial Managed IT
  • Start trial
  • Book demo

HaloPSA Guides

Documentation to assist with the setup and configuration of the HaloPSA platform

Guides > Using QR Codes on PDF Templates

Using QR Codes on PDF Templates


When generating PDF templates in Halo, you can include some specific HTML in order to render a QR code, returning data of your choice.


The PDF Template Online Repository has an example of how this is implemented. From your PDF Templates (Configuration>Reporting>PDF Templates), you will find an option to head to our PDF Template Online Repository:



In here, you will find an invoice template: QR Code:



You can download the PDF Templates to your local reposiotry via clicking into the template, then selecting the below:



This template includes a separate page with a QR bill slip:



As far as HTML is concerned, there are a few key places to pay attention to.


Firstly, ensure you have the "<script>" tag present in the header of your HTML:



The QR Code itself is returned via the below HTML/JavaScript:



The 'Data' section of the above returns the text when scanning the QR code:



As you can see from this example, you can input $_variables into the data section of the QR code.


The Swiss QR Bill


The particular formatting of the QR code found in the Online Repository is compliant Swiss QR Bill requirements, with one key considerations: currently, the IBAN used must comply with the 'NON' reference type, denoting that there will not be a QR Reference or Creditor Reference included in the QR code. There is an option to provide additional details, but the formatting of these details will not necessarily follow the formatting required by the QR or Creditor Reference. Algorithms for calculating check digits for both QR and Creditor Reference's are currently being investigated & will be included in a future release of the template.


The Swiss QR bill requires some specific formatting of the data scanned, which can be addressed via the below points:

  • Your Company IBAN should be returned in the QR - this is handed via the $_orBankDetails1 variable in HaloPSA. This variable will populate the contents of the below field (Config>Organisation):Please ensure your IBAN is entered into this field.
  • OrganisationAddressLine1, OrAddressLine2, OrAddressLine3 & OrganisationAddressLine4 should be replaced with your Company address, formatted as per the Swiss QR Bill Implementation guidelines (if only 3 address lines are needed, simply remove OrganisationAddressLine4)


Popular Guides

  • Asset Import - CSV/XLS/Spreadsheet Method
  • Call Management in Halo
  • Creating a New Application for API Connections
  • Creating Agents and Editing Agent Details
  • Departments and Teams
  • Halo Integrator
  • Importing Data
  • Multiple New Portals with different branding for one customer [Hosted]
  • NHServer Deprecation User Guide
  • Organisation Basics
  • Organising Teams of Agents
  • Step-by-Step Configuration Walk Through

Footer

Products

Company

  • Contact us
  • Events
  • Channel Partners
  • Technology Partners
  • Distributors
  • Referral Program

HaloPSA

  • Features
  • Integrations
  • Mobile Apps
  • Blog
  • Pricing

Key Features

  • Service Desk
  • Sales CRM
  • Billable Time Tracking
  • Reporting
  • Contracts
  • Billing
  • Stock Management
  • Projects

Compare PSA

  • ConnectWise
  • Datto Autotask
  • Accelo
  • Harmony PSA
  • Naverisk
  • Top Desk
  • Kaseya BMS
  • Atera
  • Freshservice

Social

  • Terms and Conditions
  • Privacy Policy
  • Security
  • GDPR
  • Modern Slavery Statement
We've moved!

Please visit our new website at USEHALO.COM/HALOPSA