---
id: object/codeunit/6925
type: object
title: Codeunit 6925 "No Receipt Declaration Mgt."
summary: Codeunit 6925 "No Receipt Declaration Mgt." in ExpenseAgent (Microsoft.ExpenseAgent). 8 public procedures. Introduced in BC29, still in BC30.
tier: official
language: en
tags:
  - codeunit
  - expenseagent
versions:
  introduced: "29"
  last_changed: null
  deprecated: null
review:
  state: derived
  by: null
  at: null
  flags: []
generated:
  at: "2026-12-06T00:48:06.827Z"
  pipeline: 0.2.0
  prompts: {}
  input_hash: e27a5db6dd5c7d27d62d54afd9e587892547110df79045504e09262007d676ec
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/4e6a307ce8a2e8c5a28f8f0c4c2c7d561f4fe679/src/Apps/W1/ExpenseAgent/app/src/Expense/Codeunits/NoReceiptDeclarationMgt.Codeunit.al
    title: src/Apps/W1/ExpenseAgent/app/src/Expense/Codeunits/NoReceiptDeclarationMgt.Codeunit.al (releases/29.x)
    date: null
    commit: 4e6a307ce8a2e8c5a28f8f0c4c2c7d561f4fe679
    t: null
    quote: null
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes:
    - change/bcapps/14528
    - change/bcapps/14405
    - change/bcapps/12544
  related:
    - to: https://learn.microsoft.com/dynamics365/business-central/expense-management/expense-agent-upload-receipts
      title: Upload Receipts and Create Mileage Expenses
      label: possibly related
      why: Manages declarations for expenses without receipts in receipt upload and mileage processing.
      by: model
object_type: codeunit
object_id: 6925
name: No Receipt Declaration Mgt.
namespace: Microsoft.ExpenseAgent
app: ExpenseAgent
extends: null
first_version: "29"
last_version: "30"
present_in:
  - "29"
  - "30"
changed_in: []
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids: []
counts:
  fields: 0
  procedures: 10
  events: 0
  subscribers: 0
relations:
  out: 0
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 0
  calls: 1
  called_by: 5
  implements: 0
---

# Codeunit 6925 "No Receipt Declaration Mgt."

> Codeunit 6925 "No Receipt Declaration Mgt." in ExpenseAgent (Microsoft.ExpenseAgent). 8 public procedures. Introduced in BC29, still in BC30.

ExpenseAgent · Microsoft.ExpenseAgent · BC29-30 · [source at 4e6a307c](https://github.com/microsoft/BCApps/blob/4e6a307ce8a2e8c5a28f8f0c4c2c7d561f4fe679/src/Apps/W1/ExpenseAgent/app/src/Expense/Codeunits/NoReceiptDeclarationMgt.Codeunit.al) · facts from BC29

## Properties

| Property | Value |
|---|---|
| Access | Internal |

## Procedures

- `CreateDeclaration(var Expense: Record Expense; Reason: Text; AttestationConfirmed: Boolean)`
- `HasOriginalReceipt(Expense: Record Expense): Boolean`
- `CancelDeclaration(var Expense: Record Expense)`
- `ClearDeclaration(var Expense: Record Expense)` (internal)
- `HasOriginalReceipt(ExpenseReportLine: Record "Expense Report Line"): Boolean`
- `HasCurrentDeclaration(Expense: Record Expense): Boolean`
- `HasDeclaration(ExpenseReportLine: Record "Expense Report Line"): Boolean`
- `MarkDeclarationOutdated(var Expense: Record Expense)`

Plus 2 local procedures.

## Calls

From the extracted call graph of BC29 (graphify-al on the snapshot checkout): calls whose target is known from a declared type or an `Object::"Name"` argument. Interface dispatch and calls through events are not counted, so the list is not complete.

- [Codeunit 4100 "Temp Blob"](../codeunit/4100.md) (2 calls: `CreateDeclaration → CreateInStream`, `CreateDeclaration → CreateOutStream`)

## Called by

- [Codeunit 6902 "Expense Rule Validation"](../codeunit/6902.md) (4 calls: `CheckForAttachmentsByRuleOnExpense → HasCurrentDeclaration`, `CheckForAttachmentsByRuleOnExpense → HasOriginalReceipt`, `CheckForAttachmentsByRuleOnExpenseReportLine → HasDeclaration`, …)
- [Page 6927 "Expenses API"](../page/6927.md) (3 calls: `CancelNoReceiptDeclaration → CancelDeclaration`, `CreateNoReceiptDeclaration → CreateDeclaration`, `OnAfterGetRecord → HasCurrentDeclaration`)
- [Codeunit 6980 "Release Expense Document"](../codeunit/6980.md) (2 calls: `Code → HasCurrentDeclaration`, `Code → HasOriginalReceipt`)
- [Table 6900 "Expense"](../table/6900.md) (2 calls: `MarkNoReceiptDeclarationOutdated → MarkDeclarationOutdated`, `UpdateNoReceiptType → ClearDeclaration`)
- [Codeunit 6984 "Release Exp. Report Document"](../codeunit/6984.md) (1 call: `CheckMandatoryFields → HasDeclaration`)

## Recent changes

- 2026-11-26 [#14528 Deliverable 660629: [29.x] BCApps part of No Receipt expenses](../../changes/bcapps/14528.md) (releases/29.x, BC29, feature, added)
- 2026-11-23 [#14405 [Expense Agent] Renumber codeunits that collide with deprecated country apps](../../changes/bcapps/14405.md) (main, BC30, fix)
- 2026-11-20 [#12544 Slice 626931: [Expense Agent] Lost receipt workflow and document creation (November '26)](../../changes/bcapps/12544.md) (main, BC30, feature, added)

## Across versions

- Present in: BC29-30
- 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.

- [Upload Receipts and Create Mileage Expenses](https://learn.microsoft.com/dynamics365/business-central/expense-management/expense-agent-upload-receipts) — possibly related: Manages declarations for expenses without receipts in receipt upload and mileage processing. (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). The call sections above are our own, per object, from the BC29 call graph. 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: "No Receipt Declaration Mgt.")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
