---
id: object/tableextension/6165
type: object
title: Table extension 6165 "E-Document Vendor"
summary: Table extension 6165 "E-Document Vendor" in EDocument, extends "Vendor". 2 fields. Introduced in BC29, still in BC30.
tier: official
language: en
tags:
  - tableextension
  - edocument
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: 32347ed6a9ef1f1ed79f2fc0263e9d9eae2da60112bda46df2dd6cd609b08eee
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Apps/W1/EDocument/app/src/Extensions/EDocumentVendor.TableExt.al
    title: src/Apps/W1/EDocument/app/src/Extensions/EDocumentVendor.TableExt.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn: []
  objects:
    - object/table/23
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes:
    - change/bcapps/10631
    - change/bcapps/10349
object_type: tableextension
object_id: 6165
name: E-Document Vendor
namespace: null
app: EDocument
extends: Vendor
first_version: "29"
last_version: "30"
present_in:
  - "29"
  - "30"
changed_in: []
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids: []
counts:
  fields: 2
  procedures: 0
  events: 0
  subscribers: 0
relations:
  out: 1
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 0
  calls: 0
  called_by: 0
  implements: 0
---

# Table extension 6165 "E-Document Vendor"

> Table extension 6165 "E-Document Vendor" in EDocument, extends "Vendor". 2 fields. Introduced in BC29, still in BC30.

EDocument · BC29-30 · [source at ea08af5e](https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Apps/W1/EDocument/app/src/Extensions/EDocumentVendor.TableExt.al) · facts from BC29

Extends [Vendor](../table/23.md).

## Fields

Explanation: the field's ToolTip in the code; without one, the ToolTip of a page control bound to the field (marked via the page); without that, its Caption (marked caption) when that differs from the name.

| No. | Name | Type | Explanation | Notes |
|---|---|---|---|---|
| 6101 | Receive E-Document To | Enum "E-Document Type" | Specifies the default purchase document to be generated from received E-document. Users can select either a Purchase Invoice or Purchase Order. This selection does not affect the creation of corrective documents; in both scenarios, the system will generate a Credit Memo. <small>via [Page extension 6161 "E-Doc. Vendor Page"](../pageextension/6161.md)</small> | enum [Enum 6121 "E-Document Type"](../enum/6121.md); DataClassification SystemMetadata |
| 6102 | Use Reg. No. in E-Document | Boolean | Specifies whether the vendor registration number is used to identify the vendor in electronic documents when the GLN and VAT registration number are blank. <small>via [Page extension 6161 "E-Doc. Vendor Page"](../pageextension/6161.md)</small> | DataClassification CustomerContent |

## Keys

- EDocRegistrationNumber: Registration Number

## Relations

- extends [Table 23 "Vendor"](../table/23.md)

## Recent changes

- 2026-08-26 [#10631 Integration/main to releases 29.x 31a860b5](../../changes/bcapps/10631.md) (releases/29.x, BC29, feature)
- 2026-08-24 [#10349 [DE] Support registration numbers in E-Documents](../../changes/bcapps/10349.md) (main, BC30, feature)

## 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). 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: "tableextension", object_name: "E-Document Vendor")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
