---
id: post/yzhums-com/65522
type: post
title: "Dynamics 365 Business Central: Generate Swiss QR Code without external services/APIs"
summary: Business Central includes a standard Swiss QR Code Helper codeunit that allows developers to generate QR codes natively without external APIs. The post demonstrates how to add a page action that generates a Swiss QR code from item data and saves it to the item picture.
tier: community
language: en
tags:
  - qr codes
  - barcodes
  - swiss qr
  - page extensions
  - item card
system: development
review:
  state: reviewed
  by: opus
  at: "2026-10-26T06:42:40.108Z"
  flags: []
generated:
  at: "2026-10-26T08:08:59.782Z"
  pipeline: 0.2.0
  prompts:
    extract-post: 1
  input_hash: e7d44bb275227f1c574ae17243c95053e498a1ec215d8ec4d3d1f140e4fee0f8
evidence:
  - kind: blog
    url: https://yzhums.com/65522/
    title: "Dynamics 365 Business Central: Generate Swiss QR Code without external services/APIs"
    date: "2025-06-27"
    commit: null
    t: null
    quote: null
  - kind: blog
    url: https://yzhums.com/65522/
    title: "Dynamics 365 Business Central: Generate Swiss QR Code without external services/APIs"
    date: "2025-06-27"
    commit: null
    t: null
    quote: The barcode functionality lets you convert an alphanumeric value in a report dataset into a barcode on a generated report.
  - kind: blog
    url: https://yzhums.com/65522/
    title: "Dynamics 365 Business Central: Generate Swiss QR Code without external services/APIs"
    date: "2025-06-27"
    commit: null
    t: null
    quote: If you just want to generate a Swiss QR Code, Microsoft has prepared a standard method for us.
links:
  learn: []
  objects:
    - object/codeunit/4113
    - object/codeunit/4100
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  related:
    - to: https://learn.microsoft.com/dynamics365/business-central/dev-itpro/ai/ai-development-toolkit-attachments
      title: Attachment capabilities and limitations (preview)
      label: possibly related
      why: names Codeunit 4100 "Temp Blob"
      by: code
    - to: post/yzhums-com/64042
      title: "Dynamics 365 Business Central: Convert Word (.docx) To HTML (.html) within BC (No control add-in and APIs)"
      label: possibly related
      why: both name Codeunit 4100 "Temp Blob"
      by: code
    - to: post/yzhums-com/63595
      title: "Dynamics 365 Business Central: Convert Word (.docx) To PDF (.pdf) within BC (No control add-in and APIs)"
      label: possibly related
      why: both name Codeunit 4100 "Temp Blob"
      by: code
    - to: post/yzhums-com/68624
      title: "Dynamics 365 Business Central: How to get the page number of a PDF or Word file in AL (Display the page count on Attached Documents and Doc. Attachment List Factbox)"
      label: possibly related
      why: both name Codeunit 4100 "Temp Blob"
      by: code
    - to: post/yzhums-com/63942
      title: "Dynamics 365 Business Central: How to preview Word (.docx) in web client without downloading (No control add-in and APIs)"
      label: possibly related
      why: both name Codeunit 4100 "Temp Blob"
      by: code
    - to: post/demiliani-com/12623
      title: "Dynamics 365 Business Central: previewing PDF files in web client using the new ExtendedDataType = Document."
      label: possibly related
      why: both name Codeunit 4100 "Temp Blob"
      by: code
    - to: post/aardvarklabs-blog/2202
      title: Step by Step Guide to Importing Excel Data into Business Central
      label: possibly related
      why: both name Codeunit 4100 "Temp Blob"
      by: code
    - to: https://learn.microsoft.com/dynamics365/business-central/dev-itpro/developer/devenv-streams-overview
      title: Using streams in Business Central
      label: possibly related
      why: names Codeunit 4100 "Temp Blob"
      by: code
post_id: "65522"
source_id: yzhums-com
source_name: Dynamics 365 Lab - Yun Zhu
url: https://yzhums.com/65522/
published_at: "2025-06-27T01:07:05.000Z"
author: Yun Zhu
full_text: false
words: 394
quotes:
  - text: The barcode functionality lets you convert an alphanumeric value in a report dataset into a barcode on a generated report.
    why_it_matters: Establishes the core barcode capability available in Business Central for standard use cases
  - text: If you just want to generate a Swiss QR Code, Microsoft has prepared a standard method for us.
    why_it_matters: Highlights that Swiss QR code generation is a supported feature without needing external services
code_objects_mentioned:
  - codeunit Swiss QR Code Helper
  - codeunit Temp Blob
systems:
  - development
  - inventory
versions_mentioned:
  - BC19.1
  - BC18
preview:
  embeddable: true
  frame_url: null
  image: https://yzhums.com/wp-content/uploads/2025/06/Snipaste_2025-06-27_10-03-38.png
  image_alt: null
  image_w: null
  image_h: null
  site_name: Dynamics 365 Lab
  favicon: https://yzhums.com/wp-content/uploads/2020/08/cropped-logo-3-32x32.png
  probed_at: "2026-10-26T06:18:38.144Z"
---

# Dynamics 365 Business Central: Generate Swiss QR Code without external services/APIs

[Read the post](https://yzhums.com/65522/) · Dynamics 365 Lab - Yun Zhu (Yun Zhu, MVP) · 2025-06-27 · 394 words · tier community · reviewed (checked by Opus)

> Business Central includes a standard Swiss QR Code Helper codeunit that allows developers to generate QR codes natively without external APIs. The post demonstrates how to add a page action that generates a Swiss QR code from item data and saves it to the item picture.

## Key points

- The Barcode module in System Application provides 2D barcode support including QR codes since BC 2021 wave 2
- Codeunit 4113 'Swiss QR Code Helper' is the standard Microsoft method for generating Swiss QR codes
- QR codes can be generated directly in AL code using the Swiss QR Code Helper without external services
- Generated QR code images can be imported and stored as item pictures in the database

## Quotes

- "The barcode functionality lets you convert an alphanumeric value in a report dataset into a barcode on a generated report." (Establishes the core barcode capability available in Business Central for standard use cases)
- "If you just want to generate a Swiss QR Code, Microsoft has prepared a standard method for us." (Highlights that Swiss QR code generation is a supported feature without needing external services)

## AL objects mentioned

As named in the post. A name that matches one object page by exact type and name links to it; the others stay as named.

- [codeunit 4113 "Swiss QR Code Helper"](../../objects/codeunit/4113.md)
- [codeunit 4100 "Temp Blob"](../../objects/codeunit/4100.md)

## Possibly related

No source states these links: they share an object, a model read them, or a person found the same subject.

- [Attachment capabilities and limitations (preview)](https://learn.microsoft.com/dynamics365/business-central/dev-itpro/ai/ai-development-toolkit-attachments) — possibly related: names Codeunit 4100 "Temp Blob"
- [Dynamics 365 Business Central: Convert Word (.docx) To HTML (.html) within BC (No control add-in and APIs)](../../posts/yzhums-com/64042.md) — possibly related: both name Codeunit 4100 "Temp Blob"
- [Dynamics 365 Business Central: Convert Word (.docx) To PDF (.pdf) within BC (No control add-in and APIs)](../../posts/yzhums-com/63595.md) — possibly related: both name Codeunit 4100 "Temp Blob"
- [Dynamics 365 Business Central: How to get the page number of a PDF or Word file in AL (Display the page count on Attached Documents and Doc. Attachment List Factbox)](../../posts/yzhums-com/68624.md) — possibly related: both name Codeunit 4100 "Temp Blob"
- [Dynamics 365 Business Central: How to preview Word (.docx) in web client without downloading (No control add-in and APIs)](../../posts/yzhums-com/63942.md) — possibly related: both name Codeunit 4100 "Temp Blob"
- [Dynamics 365 Business Central: previewing PDF files in web client using the new ExtendedDataType = Document.](../../posts/demiliani-com/12623.md) — possibly related: both name Codeunit 4100 "Temp Blob"
- [Step by Step Guide to Importing Excel Data into Business Central](../../posts/aardvarklabs-blog/2202.md) — possibly related: both name Codeunit 4100 "Temp Blob"
- [Using streams in Business Central](https://learn.microsoft.com/dynamics365/business-central/dev-itpro/developer/devenv-streams-overview) — possibly related: names Codeunit 4100 "Temp Blob"

## Context

- Features: Swiss QR Code generation, 2D barcode support, QR code image creation, Picture import and storage
- Versions: BC19.1, BC18

Source: Dynamics 365 Lab - Yun Zhu, community blog. Summary, key points and quotes are derived (CONTENT-NOTICE.md); read the original for the full text.
