---
id: object/page/9971
type: object
title: Page 9971 "Posted Purchase Invoice API"
summary: Page 9971 "Posted Purchase Invoice API" in Base Application (Microsoft.Integration.Entity). Present since at least BC23, still in BC30.
tier: official
language: en
tags:
  - page
  - base application
versions:
  introduced: null
  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: 8a7bf18887e8391dd3184d89c3fe753d2e920fee45a89a55f7ebee1c4185432e
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/Integration/Entity/PostedPurchaseInvoiceAPI.Page.al
    title: src/Layers/W1/BaseApp/Integration/Entity/PostedPurchaseInvoiceAPI.Page.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
object_type: page
object_id: 9971
name: Posted Purchase Invoice API
namespace: Microsoft.Integration.Entity
app: Base Application
extends: null
first_version: "23"
last_version: "30"
present_in:
  - "23"
  - "24"
  - "25"
  - "26"
  - "27"
  - "28"
  - "29"
  - "30"
changed_in: []
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids: []
counts:
  fields: 0
  procedures: 0
  events: 0
  subscribers: 0
  controls: 44
  actions: 0
relations:
  out: 1
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 0
  calls: 0
  called_by: 0
  implements: 0
---

# Page 9971 "Posted Purchase Invoice API"

> Page 9971 "Posted Purchase Invoice API" in Base Application (Microsoft.Integration.Entity). Present since at least BC23, still in BC30.

Base Application · Microsoft.Integration.Entity · BC23-30 · [source at ea08af5e](https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/Integration/Entity/PostedPurchaseInvoiceAPI.Page.al) · facts from BC29

## Properties

| Property | Value |
|---|---|
| Extensible | false |
| SourceTable | Purch. Inv. Header |
| 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 |
|---|---|---|---|
| Group | Id | `Rec.SystemId` | — |
|  | No. | [No.](../table/122.md#fields) | Specifies the posted invoice number. <small>from the table field</small> |
|  | API Id | `APIId` | — |
|  | Invoice Date | [Document Date](../table/122.md#fields) | Specifies the date on which the purchase document was created. <small>from the table field</small> |
|  | Posting Date | [Posting Date](../table/122.md#fields) | Specifies the date the purchase header was posted. <small>from the table field</small> |
|  | Due Date | [Due Date](../table/122.md#fields) | Specifies when the invoice is due. The program calculates the date using the Payment Terms Code and Document Date fields on the purchase header. <small>from the table field</small> |
|  | Vendor Invoice No. | [Vendor Invoice No.](../table/122.md#fields) | Specifies the vendor's own invoice number. <small>from the table field</small> |
|  | Customer Purchase Order Reference | [Your Reference](../table/122.md#fields) | — |
|  | Vendor No. | [Buy-from Vendor No.](../table/122.md#fields) | Specifies the identifier of the vendor that you bought the items from. <small>from the table field</small> |
|  | Vendor Name | [Buy-from Vendor Name](../table/122.md#fields) | Specifies the name of the vendor who shipped the items. <small>from the table field</small> |
|  | Pay-To Name | [Pay-to Name](../table/122.md#fields) | Specifies the name of the vendor who you received the invoice from. <small>from the table field</small> |
|  | Pay-To Contact | [Pay-to Contact](../table/122.md#fields) | Specifies the name of the person you should contact at the vendor who you received the invoice from. <small>from the table field</small> |
|  | Pay-To Vendor No. | [Pay-to Vendor No.](../table/122.md#fields) | Specifies the number of the vendor that you received the invoice from. <small>from the table field</small> |
|  | Ship-To Name | [Ship-to Name](../table/122.md#fields) | Specifies the name of the customer at the address that the items are shipped to. <small>from the table field</small> |
|  | Ship-To Contact | [Ship-to Contact](../table/122.md#fields) | Specifies the name of a contact person at the address that the items in the purchase order were shipped to. <small>from the table field</small> |
|  | Buy-from Address Line 1 | [Buy-from Address](../table/122.md#fields) | Specifies the address of the vendor who shipped the items. <small>from the table field</small> |
|  | Buy-from Address Line 2 | [Buy-from Address 2](../table/122.md#fields) | Specifies additional address information. <small>from the table field</small> |
|  | Buy-from City | [Buy-from City](../table/122.md#fields) | Specifies the city of the vendor on the purchase document. <small>from the table field</small> |
|  | Buy-from Country/Region Code | [Buy-from Country/Region Code](../table/122.md#fields) | Specifies the country or region of the ship-to address. <small>from the table field</small> |
|  | Buy-from State | [Buy-from County](../table/122.md#fields) | Specifies the state, province or county as a part of the address. <small>from the table field</small> |
|  | Buy-from Post Code | [Buy-from Post Code](../table/122.md#fields) | Specifies the post code of the vendor who delivered the items. <small>from the table field</small> |
|  | Ship-to Address Line 1 | [Ship-to Address](../table/122.md#fields) | Specifies the address that the items in the purchase order were shipped to. <small>from the table field</small> |
|  | Ship-to Address Line 2 | [Ship-to Address 2](../table/122.md#fields) | Specifies additional address information. <small>from the table field</small> |
|  | Ship-to City | [Ship-to City](../table/122.md#fields) | Specifies the city of the vendor on the purchase document. <small>from the table field</small> |
|  | Ship-to Country/Region Code | [Ship-to Country/Region Code](../table/122.md#fields) | Specifies the country or region of the ship-to address. <small>from the table field</small> |
|  | Ship-to State | [Ship-to County](../table/122.md#fields) | Specifies the state, province or county as a part of the address. <small>from the table field</small> |
|  | Ship-to Post Code | [Ship-to Post Code](../table/122.md#fields) | Specifies the postal code of the address that the items are shipped to. <small>from the table field</small> |
|  | Ship-to Phone No. | [Ship-to Phone No.](../table/122.md#fields) | Specifies the telephone number of the company's shipping address. <small>from the table field</small> |
|  | Pay To Address Line 1 | [Pay-to Address](../table/122.md#fields) | Specifies the address of the vendor that you received the invoice from. <small>from the table field</small> |
|  | Pay To Address Line 2 | [Pay-to Address 2](../table/122.md#fields) | Specifies additional address information. <small>from the table field</small> |
|  | Pay To City | [Pay-to City](../table/122.md#fields) | Specifies the city of the vendor on the purchase document. <small>from the table field</small> |
|  | Pay To Country/Region Code | [Pay-to Country/Region Code](../table/122.md#fields) | Specifies the country or region of the ship-to address. <small>from the table field</small> |
|  | Pay To State | [Pay-to County](../table/122.md#fields) | Specifies the state, province or county as a part of the address. <small>from the table field</small> |
|  | Pay To Post Code | [Pay-to Post Code](../table/122.md#fields) | Specifies the post code of the vendor that you received the invoice from. <small>from the table field</small> |
|  | Shortcut Dimension 1 Code | [Shortcut Dimension 1 Code](../table/122.md#fields) | Specifies the code for Shortcut Dimension 1, which is one of two global dimension codes that you set up in the General Ledger Setup window. <small>from the table field</small> |
|  | Shortcut Dimension 2 Code | [Shortcut Dimension 2 Code](../table/122.md#fields) | Specifies the code for Shortcut Dimension 2, which is one of two global dimension codes that you set up in the General Ledger Setup window. <small>from the table field</small> |
|  | Currency Code | [Currency Code](../table/122.md#fields) | Specifies the currency code used to calculate the amounts on the invoice. <small>from the table field</small> |
|  | Order No. | [Order No.](../table/122.md#fields) | Specifies the number of the purchase order that this invoice was posted from. <small>from the table field</small> |
|  | Payment Terms Code | [Payment Terms Code](../table/122.md#fields) | Specifies the code to use to find the payment terms that apply to the purchase header. <small>from the table field</small> |
|  | Shipment Method Code | [Shipment Method Code](../table/122.md#fields) | Specifies the delivery conditions of the related shipment, such as free on board (FOB). <small>from the table field</small> |
|  | Prices Include Tax | [Prices Including VAT](../table/122.md#fields) | — |
|  | Discount Amount | [Invoice Discount Amount](../table/122.md#fields) | — |
|  | Total Amount Excluding Tax | [Amount](../table/122.md#fields) | Specifies the total, in the currency of the invoice, of the amounts on all the invoice lines. <small>from the table field</small> |
|  | Total Amount Including Tax | [Amount Including VAT](../table/122.md#fields) | Specifies the total of the amounts, including VAT, on all the lines on the document. <small>from the table field</small> |

## Triggers

OnAfterGetRecord

## Relations

- source table [Table 122 "Purch. Inv. Header"](../table/122.md)

## Across versions

- Present in: BC23-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: "page", object_name: "Posted Purchase Invoice API")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
