---
id: object/table/40905
type: object
title: Table 40905 "Hist. Payables Document"
summary: Table 40905 "Hist. Payables Document" in DynamicsGPHistoricalData (Microsoft.DataMigration.GP.HistoricalData). 33 fields. Introduced in BC29, still in BC30.
tier: official
language: en
tags:
  - table
  - dynamicsgphistoricaldata
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: 74e68f84c9d5e7d81dd1a4379bd52140b9d348c7c406fd55f02ca81143ce48d0
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Apps/W1/DynamicsGPHistoricalData/app/src/Tables/HistPayablesDocument.Table.al
    title: src/Apps/W1/DynamicsGPHistoricalData/app/src/Tables/HistPayablesDocument.Table.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
object_type: table
object_id: 40905
name: Hist. Payables Document
namespace: Microsoft.DataMigration.GP.HistoricalData
app: DynamicsGPHistoricalData
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: 33
  procedures: 0
  events: 0
  subscribers: 0
relations:
  out: 0
  referenced_by: 0
  pages: 3
  extended_by: 0
  event_subscribers: 0
  calls: 0
  called_by: 0
  implements: 0
---

# Table 40905 "Hist. Payables Document"

> Table 40905 "Hist. Payables Document" in DynamicsGPHistoricalData (Microsoft.DataMigration.GP.HistoricalData). 33 fields. Introduced in BC29, still in BC30.

DynamicsGPHistoricalData · Microsoft.DataMigration.GP.HistoricalData · BC29-30 · [source at ea08af5e](https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Apps/W1/DynamicsGPHistoricalData/app/src/Tables/HistPayablesDocument.Table.al) · facts from BC29

## Properties

| Property | Value |
|---|---|
| DataClassification | CustomerContent |

## 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 |
|---|---|---|---|---|
| 1 | Primary Key | Integer | — | AutoIncrement |
| 2 | Voucher No. | Code[35] | Specifies the value of the Voucher No. field. <small>via [Page 41008 "Hist. Payables Document"](../page/41008.md)</small> | NotBlank |
| 3 | Vendor No. | Code[35] | Specifies the value of the Vendor No. field. <small>via [Page 41008 "Hist. Payables Document"](../page/41008.md)</small> | NotBlank |
| 4 | Vendor Name | Text[100] | Specifies the value of the Vendor Name field. <small>via [Page 41008 "Hist. Payables Document"](../page/41008.md)</small> |  |
| 5 | Document Type | enum "Hist. Payables Doc. Type" | Specifies the value of the Document Type field. <small>via [Page 41008 "Hist. Payables Document"](../page/41008.md)</small> | enum [Enum 40904 "Hist. Payables Doc. Type"](../enum/40904.md); NotBlank |
| 6 | Document No. | Code[35] | Specifies the value of the Document No. field. <small>via [Page 41008 "Hist. Payables Document"](../page/41008.md)</small> | NotBlank |
| 7 | Document Date | Date | Specifies the value of the Document Date field. <small>via [Page 41008 "Hist. Payables Document"](../page/41008.md)</small> |  |
| 8 | Document Amount | Decimal | Specifies the value of the Document Amount field. <small>via [Page 41008 "Hist. Payables Document"](../page/41008.md)</small> |  |
| 9 | Currency Code | Code[10] | Specifies the value of the Currency field. <small>via [Page 41008 "Hist. Payables Document"](../page/41008.md)</small> |  |
| 10 | Current Trx. Amount | Decimal | Specifies the value of the Current Trx. Amount field. <small>via [Page 41008 "Hist. Payables Document"](../page/41008.md)</small> |  |
| 11 | Disc. Taken Amount | Decimal | Specifies the value of the Disc. Taken Amount field. <small>via [Page 41008 "Hist. Payables Document"](../page/41008.md)</small> |  |
| 12 | Batch No. | Code[35] | Specifies the value of the Batch No. field. <small>via [Page 41008 "Hist. Payables Document"](../page/41008.md)</small> |  |
| 13 | Batch Source | Text[50] | Specifies the value of the Batch Source field. <small>via [Page 41008 "Hist. Payables Document"](../page/41008.md)</small> |  |
| 14 | Due Date | Date | Specifies the value of the Due Date field. <small>via [Page 41008 "Hist. Payables Document"](../page/41008.md)</small> |  |
| 15 | Purchase No. | Code[35] | Specifies the value of the Purchase No. field. <small>via [Page 41008 "Hist. Payables Document"](../page/41008.md)</small> |  |
| 16 | Audit Code | Code[35] | Specifies the value of the Audit Code field. <small>via [Page 41008 "Hist. Payables Document"](../page/41008.md)</small> |  |
| 17 | Trx. Description | Text[50] | Specifies the value of the Trx. Description field. <small>via [Page 41008 "Hist. Payables Document"](../page/41008.md)</small> |  |
| 18 | Post Date | Date | Specifies the value of the Post Date field. <small>via [Page 41008 "Hist. Payables Document"](../page/41008.md)</small> |  |
| 19 | User | Text[50] | Specifies the value of the User field. <small>via [Page 41008 "Hist. Payables Document"](../page/41008.md)</small> |  |
| 20 | Misc. Amount | Decimal | Specifies the value of the Misc. Amount field. <small>via [Page 41008 "Hist. Payables Document"](../page/41008.md)</small> |  |
| 21 | Freight Amount | Decimal | Specifies the value of the Freight Amount field. <small>via [Page 41008 "Hist. Payables Document"](../page/41008.md)</small> |  |
| 22 | Tax Amount | Decimal | Specifies the value of the Tax Amount field. <small>via [Page 41008 "Hist. Payables Document"](../page/41008.md)</small> |  |
| 23 | Total Payments | Decimal | Specifies the value of the Total Payments field. <small>via [Page 41008 "Hist. Payables Document"](../page/41008.md)</small> |  |
| 24 | Voided | Boolean | Specifies the value of the Voided field. <small>via [Page 41008 "Hist. Payables Document"](../page/41008.md)</small> |  |
| 25 | Invoice Paid Off Date | Date | Specifies the value of the Invoice Paid Off Date field. <small>via [Page 41008 "Hist. Payables Document"](../page/41008.md)</small> |  |
| 26 | Ship Method | Text[50] | Specifies the value of the Ship Method field. <small>via [Page 41008 "Hist. Payables Document"](../page/41008.md)</small> |  |
| 27 | 1099 Amount | Decimal | Specifies the value of the 1099 Amount field. <small>via [Page 41008 "Hist. Payables Document"](../page/41008.md)</small> |  |
| 28 | Write Off Amount | Decimal | Specifies the value of the Write Off Amount field. <small>via [Page 41008 "Hist. Payables Document"](../page/41008.md)</small> |  |
| 29 | Trade Discount Amount | Decimal | Specifies the value of the Trade Discount Amount field. <small>via [Page 41008 "Hist. Payables Document"](../page/41008.md)</small> |  |
| 30 | Payment Terms ID | Text[50] | Specifies the value of the Payment Terms ID field. <small>via [Page 41008 "Hist. Payables Document"](../page/41008.md)</small> |  |
| 31 | 1099 Type | Text[50] | Specifies the value of the 1099 Type field. <small>via [Page 41008 "Hist. Payables Document"](../page/41008.md)</small> |  |
| 32 | 1099 Box Number | Text[50] | Specifies the value of the 1099 Box Number field. <small>via [Page 41008 "Hist. Payables Document"](../page/41008.md)</small> |  |
| 33 | PO Number | Code[35] | Specifies the value of the PO Number field. <small>via [Page 41008 "Hist. Payables Document"](../page/41008.md)</small> |  |

## Keys

- PK: Primary Key (clustered)
- Key2: Voucher No., Document Type, Document No.
- Key3: Vendor No.

## Pages and codeunits on this table

- [Page 41008 "Hist. Payables Document"](../page/41008.md) (source table)
- [Page 41017 "Hist. Payables Documents"](../page/41017.md) (source table)
- [Page 41025 "Hist. Payables Document List"](../page/41025.md) (source table)

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