---
id: change/bcapps/14810
type: change
title: "#14810 Deliverable 660642: Handle Receipt number required vs. no receipt"
summary: Expense Agent now allows missing receipt numbers for expenses below the category limit when 'no receipt' option is enabled, even if receipt numbers are generally required.
tier: official
language: en
tags:
  - fix
  - main
  - bc30
  - codeunit expense rule validation
system: copilot
review:
  state: reviewed
  by: opus
  at: "2026-12-05T01:02:43.170Z"
  flags: []
generated:
  at: "2026-12-06T00:14:19.053Z"
  pipeline: 0.2.0
  prompts:
    extract-change: 1
  input_hash: f61d0319ee9a30b1d32fe7cfb220f2e6d77dba51
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/pull/14810
    title: "microsoft/BCApps#14810: Deliverable 660642: Handle Receipt number required vs. no receipt"
    date: "2026-12-04"
    commit: f61d0319ee9a30b1d32fe7cfb220f2e6d77dba51
    t: null
    quote: null
links:
  learn: []
  objects:
    - object/codeunit/6902
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes: []
  related:
    - to: https://learn.microsoft.com/dynamics365/business-central/expense-management/expense-management-categories-rules
      title: Set Up Expense Categories, Rules, and Policies
      label: possibly related
      why: Documents expense rules and policies; this change handles receipt requirements in expense validation.
      by: model
number: 14810
repo: microsoft/BCApps
source_id: bcapps-prs
url: https://github.com/microsoft/BCApps/pull/14810
kind: pr
base_branch: main
major: "30"
merged_at: "2026-12-04T13:52:06Z"
author: BardurKnudsen
author_type: User
community_contribution: false
labels:
  - "AL: Apps (W1)"
  - "Team: Finance"
change_class: code
change_kind: fix
behavior_change: true
breaking: false
files:
  count: 4
  additions: 50
  deletions: 7
  al: 1
apps:
  - ExpenseAgent
objects_touched:
  - key: codeunit/6902
    page: codeunit/6902
    type: codeunit
    id: 6902
    name: Expense Rule Validation
    app: ExpenseAgent
    status: modified
objects_unjoined: []
obsoletions: []
backports: []
fixes_issues: []
work_items:
  - 660642
systems:
  - copilot
quote: null
joined_against:
  major: "30"
  commit: f53bb0f1ecd89fde9f133f9dcaf5bf43cf5f2671
---

# #14810 Deliverable 660642: Handle Receipt number required vs. no receipt

> Expense Agent now allows missing receipt numbers for expenses below the category limit when 'no receipt' option is enabled, even if receipt numbers are generally required.

[Pull request](https://github.com/microsoft/BCApps/pull/14810) · merged into `main` (BC30) on 2026-12-04 by BardurKnudsen · 4 files (+50 -7), 1 AL · fix · tier official · reviewed (checked by Opus)

## What changed

- Receipt number validation now considers whether 'no receipt' is allowed in setup
- Expenses below the limit in their category can skip receipt requirements
- Updates validation logic in Expense Rule Validation codeunit
- Test coverage added for the new receipt handling scenarios
- Behaviour changes for users or extensions.

## AL objects touched

- [Codeunit 6902 "Expense Rule Validation"](../../objects/codeunit/6902.md), ExpenseAgent: modified

## Context

- Work items: AB#660642
- Labels: AL: Apps (W1), Team: Finance
- Systems: copilot

## Possibly related

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

- [Set Up Expense Categories, Rules, and Policies](https://learn.microsoft.com/dynamics365/business-central/expense-management/expense-management-categories-rules) — possibly related: Documents expense rules and policies; this change handles receipt requirements in expense validation. (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).
