---
id: object/page/7085
type: object
title: Page 7085 "Expense VAT Spec. API"
summary: Page 7085 "Expense VAT Spec. API" in ExpenseAgent (Microsoft.ExpenseAgent). Introduced in BC29, still in BC30.
tier: official
language: en
tags:
  - page
  - expenseagent
versions:
  introduced: "29"
  last_changed: null
  deprecated: null
review:
  state: derived
  by: null
  at: null
  flags: []
generated:
  at: "2026-10-11T00:31:51.816Z"
  pipeline: 0.2.0
  prompts: {}
  input_hash: e8bc5009de90c25efa78590dd86a066055f1c78225e5d5e940693bd355842b69
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Apps/W1/ExpenseAgent/app/src/APIs/ExpenseVATSpecAPI.Page.al
    title: src/Apps/W1/ExpenseAgent/app/src/APIs/ExpenseVATSpecAPI.Page.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes:
    - change/bcapps/10986
    - change/bcapps/10965
    - change/bcapps/10312
    - change/bcapps/9859
object_type: page
object_id: 7085
name: Expense VAT Spec. API
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: 0
  events: 0
  subscribers: 0
  controls: 17
  actions: 0
relations:
  out: 1
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 0
  calls: 1
  called_by: 0
  implements: 0
---

# Page 7085 "Expense VAT Spec. API"

> Page 7085 "Expense VAT Spec. API" in ExpenseAgent (Microsoft.ExpenseAgent). Introduced in BC29, still in BC30.

ExpenseAgent · Microsoft.ExpenseAgent · BC29-30 · [source at ea08af5e](https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Apps/W1/ExpenseAgent/app/src/APIs/ExpenseVATSpecAPI.Page.al) · facts from BC29

## Properties

| Property | Value |
|---|---|
| SourceTable | Expense VAT Specification |
| PageType | API |

## Fields on this page

Layout controls in source order, grouped by the container they sit in. Shows: the table field a control is bound to (or its expression as written); ToolTip: the control's own, else the bound field's (marked).

| Group | Control | Shows | ToolTip |
|---|---|---|---|
| General | Id | `Rec.SystemId` | — |
|  | Expense No. | [Expense No.](../table/6918.md#fields) | Specifies the number of the expense this VAT specification line belongs to. <small>from the table field</small> |
|  | Line No. | [Line No.](../table/6918.md#fields) | Specifies the line number of the VAT specification entry within the expense. <small>from the table field</small> |
|  | VAT % | [VAT %](../table/6918.md#fields) | Specifies the VAT percentage applied to this expense line. Changing this value recalculates the VAT amount and VAT base amount. <small>from the table field</small> |
|  | VAT Base Amount | [VAT Base Amount](../table/6918.md#fields) | Specifies the amount that the VAT percentage is calculated from, i.e. the total amount excluding VAT. <small>from the table field</small> |
|  | VAT Amount | [VAT Amount](../table/6918.md#fields) | Specifies the VAT amount calculated for this expense line based on the VAT percentage and base amount. <small>from the table field</small> |
|  | Amount | [Amount](../table/6918.md#fields) | Specifies the total amount (including VAT) that the expense line consists of. <small>from the table field</small> |
|  | VAT Difference | [VAT Difference](../table/6918.md#fields) | Specifies the difference between the calculated VAT amount and a VAT amount that you have entered manually. <small>from the table field</small> |
|  | VAT Bus. Posting Group | [VAT Bus. Posting Group](../table/6918.md#fields) | Specifies the VAT business posting group that determines the VAT rate and VAT calculation method used for this expense line. <small>from the table field</small> |
|  | VAT Prod. Posting Group | [VAT Prod. Posting Group](../table/6918.md#fields) | Specifies the VAT product posting group that determines the VAT rate and VAT calculation method used for this expense line. <small>from the table field</small> |
|  | VAT Amount (LCY) | [VAT Amount (LCY)](../table/6918.md#fields) | Specifies the VAT amount converted to local currency for accounting and VAT reporting purposes. <small>from the table field</small> |
|  | VAT Base Amount (LCY) | [VAT Base Amount (LCY)](../table/6918.md#fields) | Specifies the VAT base amount converted to local currency for accounting and VAT reporting purposes. <small>from the table field</small> |
|  | Amount (LCY) | [Amount (LCY)](../table/6918.md#fields) | Specifies the total expense amount (including VAT) converted to local currency using the applicable exchange rate. <small>from the table field</small> |
|  | Expense Category | [Expense Category](../table/6918.md#fields) | Specifies the expense category for this VAT specification line. When set, the default VAT posting group and VAT percentage are copied from the category unless a subcategory is also specified. <small>from the table field</small> |
|  | Expense Subcategory | [Expense Subcategory](../table/6918.md#fields) | Specifies the expense subcategory for this VAT specification line. When set, the VAT posting group and VAT percentage are copied from the subcategory, overriding any values from the expense category. <small>from the table field</small> |
|  | Source | [Source](../table/6918.md#fields) | Specifies how this VAT specification line was created, for example whether it was entered manually or extracted automatically from a receipt. <small>from the table field</small> |
|  | Confidence | [Confidence](../table/6918.md#fields) | Specifies the confidence score (0–1) of the automatically extracted VAT data, indicating how certain the AI is about the captured values. <small>from the table field</small> |

## Triggers

OnInit

## Relations

- source table [Table 6918 "Expense VAT Specification"](../table/6918.md)

## 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 6993 "Expense Agent API Validation"](../codeunit/6993.md) (1 call: `OnInit → VerifyAgentAccess`)

## Recent changes

- 2026-09-04 [#10986 [29x] Fix Expense Agent VAT tests](../../changes/bcapps/10986.md) (releases/29.x, BC29, fix)
- 2026-09-04 [#10965 Fix Expense Agent VAT tests](../../changes/bcapps/10965.md) (main, BC30, fix)
- 2026-08-31 [#10312 Update expense VAT specification source](../../changes/bcapps/10312.md) (main, BC30, feature)
- 2026-08-04 [#9859 [Master] - Move Expense Agent (Preview) app into BCApps](../../changes/bcapps/9859.md) (main, BC30, feature, added)

## Across versions

- Present in: BC29-30
- Changed (declaration) in: none

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: "page", object_name: "Expense VAT Spec. API")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
