---
id: object/codeunit/10695-no
type: object
title: Codeunit 10695 "Generate SAF-T 1.4 File" (NO)
summary: Codeunit 10695 "Generate SAF-T 1.4 File" (NO) in the NO country layer (Microsoft.Finance.AuditFileExport). 1 public procedures, 4 events. Introduced in BC30.
tier: official
language: en
tags:
  - codeunit
  - no layer
versions:
  introduced: "30"
  last_changed: null
  deprecated: null
review:
  state: derived
  by: null
  at: null
  flags: []
generated:
  at: "2026-12-01T01:00:51.425Z"
  pipeline: 0.2.0
  prompts: {}
  input_hash: d3646bcafab2de84f6d3e0de1a8d27cb30aab6ca0785da7736af289f091310ec
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/f53bb0f1ecd89fde9f133f9dcaf5bf43cf5f2671/src/Apps/NO/NorwegianSAFT/app/src/Export%20Engine/GenerateSAFT14File.Codeunit.al
    title: src/Apps/NO/NorwegianSAFT/app/src/Export Engine/GenerateSAFT14File.Codeunit.al (main)
    date: null
    commit: f53bb0f1ecd89fde9f133f9dcaf5bf43cf5f2671
    t: null
    quote: null
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations:
    - localization/no
  videos: []
  posts: []
  guidelines: []
  changes:
    - change/bcapps/14437
    - change/bcapps/13264
  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: Documents Norwegian SAF-T 1.4 file generation process this codeunit implements.
      by: model
object_type: codeunit
object_id: 10695
name: Generate SAF-T 1.4 File
namespace: Microsoft.Finance.AuditFileExport
app: NorwegianSAFT
extends: null
first_version: "30"
last_version: "30"
present_in:
  - "30"
changed_in: []
source_major: "30"
obsolete: null
countries: []
ms_search_form_ids: []
country: "NO"
counts:
  fields: 0
  procedures: 61
  events: 4
  subscribers: 0
relations:
  out: 0
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 0
---

# Codeunit 10695 "Generate SAF-T 1.4 File" (NO)

> Codeunit 10695 "Generate SAF-T 1.4 File" (NO) in the NO country layer (Microsoft.Finance.AuditFileExport). 1 public procedures, 4 events. Introduced in BC30.

NO country layer · Microsoft.Finance.AuditFileExport · BC30 · [source at f53bb0f1](https://github.com/microsoft/BCApps/blob/f53bb0f1ecd89fde9f133f9dcaf5bf43cf5f2671/src/Apps/NO/NorwegianSAFT/app/src/Export%20Engine/GenerateSAFT14File.Codeunit.al) · facts from BC30

An object of the [NO localization](../../localizations/no.md), not part of W1.

## Properties

| Property | Value |
|---|---|
| TableNo | SAF-T Export Line |

## Events published

- `OnBeforeGetFirstAndLastNameFromCustomer(var Handled: Boolean; var FirstName: Text; var LastName: Text; Customer: Record Customer)` (integration)
- `OnBeforeGetFirstAndLastNameFromVendor(var Handled: Boolean; var FirstName: Text; var LastName: Text; Vendor: Record Vendor)` (integration)
- `OnBeforeExportGLEntryAmountInfo(var SAFTXMLHelper: Codeunit "SAF-T XML Helper"; AmountXMLNode: Text; GLEntry: Record "G/L Entry"; var IsHandled: Boolean)` (integration)
- `OnBeforeExportVATEntryAmountInfo(var SAFTXMLHelper: Codeunit "SAF-T XML Helper"; VATEntry: Record "VAT Entry"; var IsHandled: Boolean)` (integration)

## Procedures

- `CountTransactions(SAFTExportHeader: Record "SAF-T Export Header"): Integer` (internal)

Plus 56 local procedures.

## Triggers

OnRun

## Recent changes

- 2026-11-27 [#14437 Bugs/659500 NO SAF-T: ExchangeRate is inverted and calculated CurrencyAmount is wrong for customer/vendor transactions](../../changes/bcapps/14437.md) (main, BC30, fix)
- 2026-11-18 [#13264 implement support for SAF-T 1.40](../../changes/bcapps/13264.md) (main, BC30, feature, added)

## Across versions

- Present in: BC30
- Changed (declaration) in: none

## 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: Documents Norwegian SAF-T 1.4 file generation process this codeunit implements. (model-linked)

Source: AL metadata extracted from the code (names, ids, signatures, properties); no code bodies (D10).

## Ask your agent

Procedure bodies are not stored here (D10). For a procedure body or the calls of one procedure, ask bc-code-atlas (external, by Stefan Maron, MIT; default corpus w1-28), which the bc-observatory plugin connects: `bcatlas_resolve_node(object_type: "codeunit", object_name: "Generate SAF-T 1.4 File")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.

A NO country object, not part of W1: the default corpus does not have it; `bcatlas_list_countries` shows which countries the atlas has.
