---
id: change/bcapps/13264
type: change
title: "#13264 implement support for SAF-T 1.40"
summary: Support for SAF-T 1.40 format in Norwegian localization adds handling for new long monetary types and restructured tax amount fields for foreign currency scenarios.
tier: official
language: en
tags:
  - feature
  - main
  - bc30
  - codeunit saf-t data check
  - codeunit generate saf-t 1.3 file
  - codeunit generate saf-t 1.4 file
  - codeunit generate saf-t file
  - codeunit saf-t export check
  - codeunit saf-t export mgt.
system: finance
review:
  state: reviewed
  by: opus
  at: "2026-11-19T00:57:41.676Z"
  flags: []
generated:
  at: "2026-12-04T00:17:10.168Z"
  pipeline: 0.2.0
  prompts:
    extract-change: 1
  input_hash: de807a07ed87c73bf4451ae85c7d60b2b27887e3
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/pull/13264
    title: "microsoft/BCApps#13264: implement support for SAF-T 1.40"
    date: "2026-11-18"
    commit: de807a07ed87c73bf4451ae85c7d60b2b27887e3
    t: null
    quote: New SAFlongmonetaryType, CurrencyAmount changed to SAFlongmonetaryType, ExchangeRate changed to SAFlongmonetaryType, new NOK amount structure DebitTaxAmount / CreditTaxAmount.
links:
  learn: []
  objects:
    - object/codeunit/10679-no
    - object/codeunit/10692-no
    - object/codeunit/10695-no
    - object/codeunit/10673-no
    - object/codeunit/10677-no
    - object/codeunit/10675-no
    - object/codeunit/10674-no
    - object/codeunit/10672-no
    - object/table/10676-no
    - object/enum/10674-no
    - object/codeunit/10671-no
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes: []
  related:
    - to: https://learn.microsoft.com/dynamics365/business-central/LocalFunctionality/Norway/ui-extensions-setup-and-generate-saf-t-files-no
      title: Set Up and Export Norwegian SAF-T Files
      label: possibly related
      why: Norwegian SAF-T file setup and export capabilities for tax compliance.
      by: model
number: 13264
repo: microsoft/BCApps
source_id: bcapps-prs
url: https://github.com/microsoft/BCApps/pull/13264
kind: pr
base_branch: main
major: "30"
merged_at: "2026-11-18T22:45:27Z"
author: AndersLarsenMicrosoft
author_type: User
community_contribution: false
labels:
  - "Team: Finance"
change_class: code
change_kind: feature
behavior_change: true
breaking: false
files:
  count: 13
  additions: 1846
  deletions: 132
  al: 11
apps:
  - NorwegianSAFT
objects_touched:
  - key: codeunit/10679
    page: codeunit/10679-no
    type: codeunit
    id: 10679
    name: SAF-T Data Check
    app: NorwegianSAFT
    status: modified
  - key: codeunit/10692
    page: codeunit/10692-no
    type: codeunit
    id: 10692
    name: Generate SAF-T 1.3 File
    app: NorwegianSAFT
    status: modified
  - key: codeunit/10695
    page: codeunit/10695-no
    type: codeunit
    id: 10695
    name: Generate SAF-T 1.4 File
    app: NorwegianSAFT
    status: added
  - key: codeunit/10673
    page: codeunit/10673-no
    type: codeunit
    id: 10673
    name: Generate SAF-T File
    app: NorwegianSAFT
    status: modified
  - key: codeunit/10677
    page: codeunit/10677-no
    type: codeunit
    id: 10677
    name: SAF-T Export Check
    app: NorwegianSAFT
    status: modified
  - key: codeunit/10675
    page: codeunit/10675-no
    type: codeunit
    id: 10675
    name: SAF-T Export Mgt.
    app: NorwegianSAFT
    status: modified
  - key: codeunit/10674
    page: codeunit/10674-no
    type: codeunit
    id: 10674
    name: SAF-T XML Helper
    app: NorwegianSAFT
    status: modified
  - key: codeunit/10672
    page: codeunit/10672-no
    type: codeunit
    id: 10672
    name: SAF-T Mapping Helper
    app: NorwegianSAFT
    status: modified
  - key: table/10676
    page: table/10676-no
    type: table
    id: 10676
    name: SAF-T Mapping Range
    app: NorwegianSAFT
    status: modified
  - key: enum/10674
    page: enum/10674-no
    type: enum
    id: 10674
    name: SAF-T Version
    app: NorwegianSAFT
    status: modified
  - key: codeunit/10671
    page: codeunit/10671-no
    type: codeunit
    id: 10671
    name: SAF-T XML Import
    app: NorwegianSAFT
    status: modified
objects_unjoined: []
obsoletions: []
backports: []
fixes_issues: []
work_items:
  - 655914
systems:
  - finance
quote: New SAFlongmonetaryType, CurrencyAmount changed to SAFlongmonetaryType, ExchangeRate changed to SAFlongmonetaryType, new NOK amount structure DebitTaxAmount / CreditTaxAmount.
joined_against:
  major: "30"
  commit: 4d60d10920084a35a6231e5a0ffbd0577b0c399e
---

# #13264 implement support for SAF-T 1.40

> Support for SAF-T 1.40 format in Norwegian localization adds handling for new long monetary types and restructured tax amount fields for foreign currency scenarios.

[Pull request](https://github.com/microsoft/BCApps/pull/13264) · merged into `main` (BC30) on 2026-11-18 by AndersLarsenMicrosoft · 13 files (+1846 -132), 11 AL · feature · tier official · reviewed (checked by Opus)

## What changed

- New SAFlongmonetaryType introduced for SAF-T 1.40
- CurrencyAmount and ExchangeRate now use SAFlongmonetaryType
- NOK amount structure updated with DebitTaxAmount and CreditTaxAmount for foreign-currency tax scenarios
- New GenerateSAFT14File codeunit added to handle 1.40 format generation
- Tests added for new SAF-T 1.40 XML structure
- Behaviour changes for users or extensions.

## AL objects touched

- [Codeunit 10679 "SAF-T Data Check"](../../objects/codeunit/10679-no.md), NorwegianSAFT (NO layer): modified
- [Codeunit 10692 "Generate SAF-T 1.3 File"](../../objects/codeunit/10692-no.md), NorwegianSAFT (NO layer): modified
- [Codeunit 10695 "Generate SAF-T 1.4 File"](../../objects/codeunit/10695-no.md), NorwegianSAFT (NO layer): added
- [Codeunit 10673 "Generate SAF-T File"](../../objects/codeunit/10673-no.md), NorwegianSAFT (NO layer): modified
- [Codeunit 10677 "SAF-T Export Check"](../../objects/codeunit/10677-no.md), NorwegianSAFT (NO layer): modified
- [Codeunit 10675 "SAF-T Export Mgt."](../../objects/codeunit/10675-no.md), NorwegianSAFT (NO layer): modified
- [Codeunit 10674 "SAF-T XML Helper"](../../objects/codeunit/10674-no.md), NorwegianSAFT (NO layer): modified
- [Codeunit 10672 "SAF-T Mapping Helper"](../../objects/codeunit/10672-no.md), NorwegianSAFT (NO layer): modified
- [Table 10676 "SAF-T Mapping Range"](../../objects/table/10676-no.md), NorwegianSAFT (NO layer): modified
- [Enum 10674 "SAF-T Version"](../../objects/enum/10674-no.md), NorwegianSAFT (NO layer): modified
- [Codeunit 10671 "SAF-T XML Import"](../../objects/codeunit/10671-no.md), NorwegianSAFT (NO layer): modified

## Context

- Work items: AB#655914
- Labels: Team: Finance
- Systems: finance
- From the description: "New SAFlongmonetaryType, CurrencyAmount changed to SAFlongmonetaryType, ExchangeRate changed to SAFlongmonetaryType, new NOK amount structure DebitTaxAmount / CreditTaxAmount."

## Possibly related

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

- [Set Up and Export Norwegian SAF-T Files](https://learn.microsoft.com/dynamics365/business-central/LocalFunctionality/Norway/ui-extensions-setup-and-generate-saf-t-files-no) — possibly related: Norwegian SAF-T file setup and export capabilities for tax compliance. (model-linked)

Source: metadata of a merged pull request in microsoft/BCApps (bcapps): title, labels, changed paths and counts, with a summary in our words. No source text and no description beyond one short quote (D10, D61).
