---
title: "Table 6100 E-Document Purchase Header"
author: "JOP-AL"
url: https://jonas-paprotka.de/ref/table/6100-e-document-purchase-header/
type: table
id: 6100
name: "E-Document Purchase Header"
app: "E-Document Core"
namespace: Microsoft.eServices.EDocument.Processing.Import.Purchase
versions: "26-29"
build: 29.0.54011.55644
countries: "W1, DE, US"
source: "https://jonas-paprotka.de/ref/table/6100-e-document-purchase-header/source/?v=28 https://jonas-paprotka.de/ref/table/6100-e-document-purchase-header/source/"
checked: 2026-11-20
changed: 2026-10-24
subject: "Microsoft Dynamics 365 Business Central"
license: "Metadata from Microsoft's symbol packages. AL source MIT, Copyright (c) Microsoft Corporation. Selection and wording © 2026 JOP-AL. https://jonas-paprotka.de/licenses/"
---

# Table 6100 E-Document Purchase Header

JOP-AL, https://jonas-paprotka.de/ref/table/6100-e-document-purchase-header/

| | |
| --- | --- |
| App | E-Document Core |
| Namespace | Microsoft.eServices.EDocument.Processing.Import.Purchase |
| Versions | 26-29 |
| Minors | W1 26.0-29.0; DE 26.0-29.0; US 26.0-29.0, [every minor](https://jonas-paprotka.de/ref/table/6100-e-document-purchase-header/editions.json) |
| Source file | src/Processing/Import/Purchase/EDocumentPurchaseHeader.Table.al |

## Fields

| Id | Name | Type | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- |
| 1 | E-Document Entry No. | Integer | 26-29 | - | - |
| 2 | Customer Company Name | Text[250] | 26-29 | - | - |
| 3 | Customer Company Id | Text[250] | 26-29 | - | - |
| 4 | Purchase Order No. | Text[100] | 26-29 | - | - |
| 5 | Sales Invoice No. | Text[100] | 26-29 | - | - |
| 6 | Invoice Date | Date | 26-29 | - | - |
| 7 | Due Date | Date | 26-29 | - | - |
| 8 | Document Date | Date | 26-29 | - | - |
| 9 | Vendor Company Name | Text[250] | 26-29 | - | - |
| 10 | Vendor Address | Text[250] | 26-29 | - | - |
| 11 | Vendor Address Recipient | Text[250] | 26-29 | - | - |
| 12 | Customer Address | Text[250] | 26-29 | - | - |
| 13 | Customer Address Recipient | Text[250] | 26-29 | - | - |
| 14 | Billing Address | Text[250] | 26-29 | - | - |
| 15 | Billing Address Recipient | Text[250] | 26-29 | - | - |
| 16 | Shipping Address | Text[250] | 26-29 | - | - |
| 17 | Shipping Address Recipient | Text[250] | 26-29 | - | - |
| 18 | Sub Total | Decimal | 26-29 | - | - |
| 19 | Total Discount | Decimal | 26-29 | - | - |
| 20 | Total VAT | Decimal | 26-29 | - | - |
| 21 | Total | Decimal | 26-29 | - | - |
| 22 | Amount Due | Decimal | 26-29 | - | - |
| 23 | Previous Unpaid Balance | Decimal | 26-29 | - | - |
| 24 | Currency Code | Code[10] | 26-29 | - | - |
| 25 | Remittance Address | Text[250] | 26-29 | - | - |
| 26 | Remittance Address Recipient | Text[250] | 26-29 | - | - |
| 27 | Service Address | Text[250] | 26-29 | - | - |
| 28 | Service Address Recipient | Text[250] | 26-29 | - | - |
| 29 | Service Start Date | Date | 26-29 | - | - |
| 30 | Service End Date | Date | 26-29 | - | - |
| 31 | Vendor VAT Id | Text[100] | 26-29 | - | - |
| 32 | Customer VAT Id | Text[100] | 26-29 | - | - |
| 33 | Payment Terms | Text[250] | 26-29 | - | - |
| 34 | Customer GLN | Text[13] | 26-29 | - | - |
| 35 | Vendor GLN | Text[13] | 26-29 | - | - |
| 36 | Vendor External Id | Text[250] | 26-29 | - | - |
| 37 | Vendor Contact Name | Text[250] | 26-29 | - | - |
| 38 | Posting Description | Text[100] | 28-29 | - | - |
| 39 | Applies-to Doc. No. | Text[100] | 28-29 | - | - |
| 40 | Vendor Invoice No. | Text[100] | 28-29 | - | - |
| 101 | [BC] Vendor No. | Code[20] | 26-29 | - | - |
| 102 | [BC] Purchase Order No. | Code[20] | 26-29 | - | - |

## Keys

| Name | Fields | Sum fields | Versions |
| --- | --- | --- | --- |
| PK, clustered | E-Document Entry No. | - | 26-29 |

## Procedures

| Name | Parameters | Returns | Access | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- | --- |
| GetFromEDocument | (EDocument: Record "E-Document") | - | public | 26-29 | - | - |
| InsertForEDocument | (EDocument: Record "E-Document") | - | public | 26-29 | - | - |
| FeatureName | () | Text | internal | 26-29 | - | - |
| GetBCVendor | () | Record Vendor | public | 27-29 | - | - |
| GetAppliedVATAmountDiff | () | Decimal | public | 28-29 | - | - |

## Trigger events

| Name | Parameters | ElementName | Docs |
| --- | --- | --- | --- |
| OnBeforeInsertEvent | (var Rec: Record "E-Document Purchase Header"; RunTrigger: Boolean) | '' | https://jonas-paprotka.de/docs/dev-itpro/developer/triggers-auto/events/table/devenv-onbeforeinsertevent-table-trigger/ |
| OnAfterInsertEvent | (var Rec: Record "E-Document Purchase Header"; RunTrigger: Boolean) | '' | https://jonas-paprotka.de/docs/dev-itpro/developer/triggers-auto/events/table/devenv-onafterinsertevent-table-trigger/ |
| OnBeforeModifyEvent | (var Rec: Record "E-Document Purchase Header"; var xRec: Record "E-Document Purchase Header"; RunTrigger: Boolean) | '' | https://jonas-paprotka.de/docs/dev-itpro/developer/triggers-auto/events/table/devenv-onbeforemodifyevent-table-trigger/ |
| OnAfterModifyEvent | (var Rec: Record "E-Document Purchase Header"; var xRec: Record "E-Document Purchase Header"; RunTrigger: Boolean) | '' | https://jonas-paprotka.de/docs/dev-itpro/developer/triggers-auto/events/table/devenv-onaftermodifyevent-table-trigger/ |
| OnBeforeDeleteEvent | (var Rec: Record "E-Document Purchase Header"; RunTrigger: Boolean) | '' | https://jonas-paprotka.de/docs/dev-itpro/developer/triggers-auto/events/table/devenv-onbeforedeleteevent-table-trigger/ |
| OnAfterDeleteEvent | (var Rec: Record "E-Document Purchase Header"; RunTrigger: Boolean) | '' | https://jonas-paprotka.de/docs/dev-itpro/developer/triggers-auto/events/table/devenv-onafterdeleteevent-table-trigger/ |
| OnBeforeRenameEvent | (var Rec: Record "E-Document Purchase Header"; var xRec: Record "E-Document Purchase Header"; RunTrigger: Boolean) | '' | https://jonas-paprotka.de/docs/dev-itpro/developer/triggers-auto/events/table/devenv-onbeforerenameevent-table-trigger/ |
| OnAfterRenameEvent | (var Rec: Record "E-Document Purchase Header"; var xRec: Record "E-Document Purchase Header"; RunTrigger: Boolean) | '' | https://jonas-paprotka.de/docs/dev-itpro/developer/triggers-auto/events/table/devenv-onafterrenameevent-table-trigger/ |
| OnBeforeValidateEvent | (var Rec: Record "E-Document Purchase Header"; var xRec: Record "E-Document Purchase Header"; CurrFieldNo: Integer) | per field, ElementName: field name | https://jonas-paprotka.de/docs/dev-itpro/developer/triggers-auto/events/table/devenv-onbeforevalidateevent-table-trigger/ |
| OnAfterValidateEvent | (var Rec: Record "E-Document Purchase Header"; var xRec: Record "E-Document Purchase Header"; CurrFieldNo: Integer) | per field, ElementName: field name | https://jonas-paprotka.de/docs/dev-itpro/developer/triggers-auto/events/table/devenv-onaftervalidateevent-table-trigger/ |

## Source

Symbols: Microsoft.E-DocumentCore.symbols.e1d97edc-c239-46b4-8d84-6368bdf67c8b, https://dynamicssmb2.pkgs.visualstudio.com/DynamicsBCPublicFeeds/_packaging/MSSymbols/nuget/v3/index.json, highest build per major on 2026-11-20.
AL source 28: https://github.com/microsoft/BCApps, MIT, releases/28.x at 408a4cc8d3a4c54b60464cc14c964479facb9ba0.
AL source 29: https://github.com/microsoft/BCApps, MIT, releases/29.x at 4303e5e584d3aa5d9e98cbc615525a5396ad6ed7.

JOP-AL, 2026-11-20.
