---
id: object/page/138
type: object
title: Page 138 "Posted Purchase Invoice"
summary: Page 138 "Posted Purchase Invoice" in Base Application (Microsoft.Purchases.History). 1 events. Present since at least BC23, still in BC30, changed in BC24.
tier: official
language: en
tags:
  - page
  - base application
versions:
  introduced: null
  last_changed: "24"
  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: e8b46f22473c0c78973710b48680009d60c6403a824651cff7a3a26a7b4f9b76
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/Purchases/History/PostedPurchaseInvoice.Page.al
    title: src/Layers/W1/BaseApp/Purchases/History/PostedPurchaseInvoice.Page.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
  - kind: learn
    url: https://learn.microsoft.com/dynamics365/business-central/across-edit-posted-document
    title: Edit posted sales and purchase documents
    date: null
    commit: null
    t: null
    quote: null
  - kind: learn
    url: https://learn.microsoft.com/dynamics365/business-central/finance-how-use-edocuments-purchase
    title: Use E-Documents in the purchase process
    date: null
    commit: null
    t: null
    quote: null
  - kind: learn
    url: https://learn.microsoft.com/dynamics365/business-central/finance-sustainability-journal
    title: Record sustainability entries
    date: null
    commit: null
    t: null
    quote: null
  - kind: learn
    url: https://learn.microsoft.com/dynamics365/business-central/purchasing-how-correct-cancel-unpaid-purchase-invoices
    title: Amend or cancel unpaid purchase invoices
    date: null
    commit: null
    t: null
    quote: null
links:
  learn:
    - https://learn.microsoft.com/dynamics365/business-central/across-edit-posted-document
    - https://learn.microsoft.com/dynamics365/business-central/finance-how-use-edocuments-purchase
    - https://learn.microsoft.com/dynamics365/business-central/finance-sustainability-journal
    - https://learn.microsoft.com/dynamics365/business-central/purchasing-how-correct-cancel-unpaid-purchase-invoices
  objects: []
  features: []
  topics:
    - topic/business-central/business-functionality/finance/set-up-and-use-e-documents
    - topic/business-central/business-functionality/general-business-functionality
    - topic/business-central/business-functionality/purchasing
    - topic/business-central/business-functionality/sustainability-management
  localizations:
    - localization/ru
  videos: []
  posts: []
  guidelines: []
  changes:
    - change/bcapps/8959
object_type: page
object_id: 138
name: Posted Purchase Invoice
namespace: Microsoft.Purchases.History
app: Base Application
extends: null
first_version: "23"
last_version: "30"
present_in:
  - "23"
  - "24"
  - "25"
  - "26"
  - "27"
  - "28"
  - "29"
  - "30"
changed_in:
  - "24"
source_major: "29"
obsolete: null
countries:
  - ru
ms_search_form_ids:
  - docs/learn-smb-docs/business-central/across-edit-posted-document.md
  - docs/learn-smb-docs/business-central/finance-how-use-edocuments-purchase.md
  - docs/learn-smb-docs/business-central/finance-sustainability-journal.md
  - docs/learn-smb-docs/business-central/purchasing-how-correct-cancel-unpaid-purchase-invoices.md
counts:
  fields: 0
  procedures: 3
  events: 1
  subscribers: 0
  controls: 83
  actions: 19
relations:
  out: 1
  referenced_by: 0
  pages: 2
  extended_by: 5
  event_subscribers: 0
  calls: 3
  called_by: 10
  implements: 0
---

# Page 138 "Posted Purchase Invoice"

> Page 138 "Posted Purchase Invoice" in Base Application (Microsoft.Purchases.History). 1 events. Present since at least BC23, still in BC30, changed in BC24.

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

## Properties

| Property | Value |
|---|---|
| Caption | Posted Purchase Invoice |
| SourceTable | Purch. Inv. Header |
| PageType | Document |

## 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 | No. | [No.](../table/122.md#fields) | Specifies the posted invoice number. <small>from the table field</small> |
|  | 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 | [Buy-from Vendor Name](../table/122.md#fields) | Specifies the name of the vendor who shipped the items. <small>from the table field</small> |
|  | Vendor Name 2 | [Buy-from Vendor Name 2](../table/122.md#fields) | Specifies an additional part of the name of the vendor that you’re buying from. <small>from the table field</small> |
| Buy-from | Address | [Buy-from Address](../table/122.md#fields) | Specifies the address of the vendor who shipped the items. <small>from the table field</small> |
|  | Address 2 | [Buy-from Address 2](../table/122.md#fields) | Specifies additional address information. <small>from the table field</small> |
|  | City | [Buy-from City](../table/122.md#fields) | Specifies the city of the vendor on the purchase document. <small>from the table field</small> |
| Control51 | Buy-from County | [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 postal code. |
|  | Country/Region | [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> |
|  | Contact No. | [Buy-from Contact No.](../table/122.md#fields) | Specifies the number of the contact you bought the items from. <small>from the table field</small> |
|  | Phone No. | `BuyFromContact."Phone No."` | Specifies the telephone number of the vendor contact person. |
|  | Mobile Phone No. | `BuyFromContact."Mobile Phone No."` | Specifies the mobile telephone number of the vendor contact person. |
|  | Email | `BuyFromContact."E-Mail"` | Specifies the email address of the vendor contact person. |
| General | Contact | [Buy-from Contact](../table/122.md#fields) | Specifies the name of the person to contact at the vendor who shipped the items. |
|  | Posting Date | [Posting Date](../table/122.md#fields) | Specifies the date the purchase header was posted. <small>from the table field</small> |
|  | VAT Reporting Date | [VAT Reporting Date](../table/122.md#fields) | Specifies the VAT date on the invoice. <small>from the table field</small> |
|  | Document Date | [Document Date](../table/122.md#fields) | Specifies the date on which the purchase document was created. <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> |
|  | Quote No. | [Quote No.](../table/122.md#fields) | Specifies the number of the purchase quote document if a quote was used to start the purchase process. <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> |
|  | Vendor Invoice No. | [Vendor Invoice No.](../table/122.md#fields) | Specifies the vendor's own invoice number. <small>from the table field</small> |
|  | Spend Request No. | [Spend Request No.](../table/122.md#fields) | Specifies the spend request that this purchase document relates to. <small>from the table field</small> |
|  | Vendor Order No. | [Vendor Order No.](../table/122.md#fields) | Specifies the vendor's order number. <small>from the table field</small> |
|  | Pre-Assigned No. | [Pre-Assigned No.](../table/122.md#fields) | Specifies the number of the purchase document that the posted invoice was created for. <small>from the table field</small> |
|  | No. Printed | [No. Printed](../table/122.md#fields) | Specifies how many times the document has been printed. <small>from the table field</small> |
|  | Order Address Code | [Order Address Code](../table/122.md#fields) | Specifies the order address of the related vendor. <small>from the table field</small> |
|  | Purchaser Code | [Purchaser Code](../table/122.md#fields) | Specifies which purchaser is assigned to the vendor. <small>from the table field</small> |
|  | Responsibility Center | [Responsibility Center](../table/122.md#fields) | Specifies the code for the responsibility center that serves the vendor on this purchase document. <small>from the table field</small> |
|  | Cancelled | [Cancelled](../table/122.md#fields) | Specifies if the posted purchase invoice has been either corrected or canceled. <small>from the table field</small> |
|  | Corrective | [Corrective](../table/122.md#fields) | Specifies if the posted purchase invoice is a corrective document. <small>from the table field</small> |
|  | Dispute Status | [Dispute Status](../table/122.md#fields) | Specifies if there is an ongoing dispute for this document. |
| Content | PurchInvLines | part [Page 139 "Posted Purch. Invoice Subform"](../page/139.md) | — |
| Invoice Details | 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> |
|  | Expected Receipt Date | [Expected Receipt Date](../table/122.md#fields) | Specifies the date on which the invoiced items were expected. <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> |
|  | Payment Method Code | [Payment Method Code](../table/122.md#fields) | Specifies the method of payment to vendors. The program has copied the code from the Payment Method Code field on the purchase header. |
|  | 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> |
|  | Payment Discount % | [Payment Discount %](../table/122.md#fields) | Specifies the payment discount percent granted if payment is made on or before the date in the Pmt. Discount Date field. <small>from the table field</small> |
|  | Pmt. Discount Date | [Pmt. Discount Date](../table/122.md#fields) | Specifies the date on which the amount in the entry must be paid for a payment discount to be granted. <small>from the table field</small> |
|  | Tax Liable | [Tax Liable](../table/122.md#fields) | Specifies if the customer or vendor is liable for sales tax. <small>from the table field</small> |
|  | Tax Area Code | [Tax Area Code](../table/122.md#fields) | Specifies the tax area that is used to calculate and post sales tax. <small>from the table field</small> |
|  | Location Code | [Location Code](../table/122.md#fields) | Specifies the code for the location where the items are registered. <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> |
|  | Payment Reference | [Payment Reference](../table/122.md#fields) | Specifies the payment of the purchase invoice. <small>from the table field</small> |
|  | Creditor No. | [Creditor No.](../table/122.md#fields) | Specifies the number of the vendor. <small>from the table field</small> |
|  | Vendor Posting Group | [Vendor Posting Group](../table/122.md#fields) | Specifies the vendor's market type to link business transactions made for the vendor with the appropriate account in the general ledger. <small>from the table field</small> |
| Ship-to | Address Code | [Ship-to Code](../table/122.md#fields) | Specifies the address on purchase orders shipped with a drop shipment directly from the vendor to a customer. <small>from the table field</small> |
|  | Name | [Ship-to Name](../table/122.md#fields) | Specifies the name of the company at the address to which the items in the purchase order were shipped. |
|  | Name 2 | [Ship-to Name 2](../table/122.md#fields) | Specifies an additional part of the name of the company at the address to which the items in the purchase order were shipped. <small>from the table field</small> |
|  | Address | [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> |
|  | Address 2 | [Ship-to Address 2](../table/122.md#fields) | Specifies additional address information. <small>from the table field</small> |
|  | City | [Ship-to City](../table/122.md#fields) | Specifies the city of the vendor on the purchase document. <small>from the table field</small> |
| Control58 | Ship-to County | [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. |
|  | Country/Region | [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> |
|  | 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> |
|  | 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> |
| 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> |
|  | Name 2 | [Pay-to Name 2](../table/122.md#fields) | Specifies an additional part of the name of the vendor who you receive the invoice from. <small>from the table field</small> |
|  | Address | [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> |
|  | Address 2 | [Pay-to Address 2](../table/122.md#fields) | Specifies additional address information. <small>from the table field</small> |
|  | City | [Pay-to City](../table/122.md#fields) | Specifies the city of the vendor on the purchase document. <small>from the table field</small> |
| Control60 | Pay-to County | [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 postal code. |
|  | Country/Region | [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> |
|  | Contact No. | [Pay-to Contact No.](../table/122.md#fields) | Specifies the number of the contact you received the invoice from. <small>from the table field</small> |
|  | Phone No. | `PayToContact."Phone No."` | Specifies the telephone number of the vendor contact person. |
|  | Mobile Phone No. | `PayToContact."Mobile Phone No."` | Specifies the mobile telephone number of the vendor contact person. |
|  | Email | `PayToContact."E-Mail"` | Specifies the email address of the vendor contact person. |
|  | 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> |
| Remit-to | Remit-to Code | [Remit-to Code](../table/122.md#fields) | Specifies the code for the vendor's remit address for this invoice. <small>from the table field</small> |
| Remit-to information | Name | `RemitAddressBuffer.Name` | Specifies the name of the company at the address that this invoice was remitted to. |
|  | Address | `RemitAddressBuffer.Address` | Specifies the address that this invoice was remitted to. |
|  | Address 2 | `RemitAddressBuffer."Address 2"` | Specifies additional address information. |
|  | City | `RemitAddressBuffer.City` | Specifies the city that this invoice was remitted to. |
| Remit-to County group | County | `RemitAddressBuffer.County` | Specifies the state, province or county of the address. |
| Remit-to information | Post Code | `RemitAddressBuffer."Post Code"` | Specifies the postal code that this invoice was remitted to. |
|  | Country/Region | `RemitAddressBuffer."Country/Region Code"` | Specifies the country/region code that this invoice was remitted to. |
|  | Contact | `RemitAddressBuffer.Contact` | Specifies the name of a contact person for the address that this invoice was remitted to. |
| FactBoxes | Documents | part [Page 1178 "Doc. Attachment List Factbox"](../page/1178.md) | — |
|  | IncomingDocAttachFactBox | part [Page 193 "Incoming Doc. Attach. FactBox"](../page/193.md) | — |

## Actions

| Group | Action | ToolTip | Runs |
|---|---|---|---|
| Invoice | Statistics | View statistical information, such as the value of posted entries, for the record. | [Page 400 "Purchase Invoice Statistics"](../page/400.md) |
|  | Comments | View or add comments for the record. | [Page 66 "Purch. Comment Sheet"](../page/66.md) |
|  | Dimensions | View or edit dimensions, such as area, project, or department, that you can assign to sales and purchase documents to distribute costs and analyze transaction history. |  |
|  | Approvals | View a list of the records that are waiting to be approved. For example, you can see who requested the record to be approved, when it was sent, and when it is due to be approved. |  |
| Processing | Print | Prepare to print the document. A report request window for the document opens where you can specify what to include on the print-out. |  |
|  | Attach as PDF | Create a PDF file and attach it to the document. |  |
| Correct | Correct | Reverse this posted invoice. A credit memo will be created and matched with the invoice, and the invoice will be canceled. Shipments for the invoice will be reversed. To create a new invoice with the same information, use the Copy function. When you copy an invoice, remember to post shipments for th... |  |
|  | Cancel | Create and post a purchase credit memo that reverses this posted purchase invoice. This posted purchase invoice will be canceled. |  |
|  | Create Corrective Credit Memo | Create a credit memo for this posted invoice that you complete and post manually to reverse the posted invoice. |  |
|  | Show Canceled/Corrective Credit Memo | Open the posted purchase credit memo that was created when you canceled the posted purchase invoice. If the posted purchase invoice is the result of a canceled purchase credit memo, then the canceled purchase credit memo will open. |  |
| Actions | Vendor | View or edit detailed information about the vendor on the purchase document. | [Page 26 "Vendor Card"](../page/26.md) |
|  | Find entries... | Find entries and documents that exist for the document number and posting date on the selected document. (Formerly this action was named Navigate.) |  |
|  | Attachments | Add a file as an attachment. You can attach images as well as documents. |  |
|  | Matched Order Lines | View order lines matched to this purchase invoice. |  |
| Processing | Find entries... | Find entries and documents that exist for the document number and posting date on the selected document. (Formerly this action was named Navigate.) |  |
| Incoming Document | View Incoming Document | View any incoming document records and file attachments that exist for the entry or document. |  |
|  | Select Incoming Document | Select an incoming document record and file attachment that you want to link to the entry or document. |  |
|  | Create Incoming Document from File | Create an incoming document record by selecting a file to attach, and then link the incoming document record to the entry or document. |  |
| Processing | Update Document | Add new information that is relevant to the document, such as a payment reference. You can only edit a few fields because the document has already been posted. |  |

## Events published

- `OnBeforeCreateCreditMemoOnAction(var PurchInvHeader: Record "Purch. Inv. Header"; var IsHandled: Boolean)` (integration)

## Procedures

2 local procedures, no public ones.

## Triggers

OnAfterGetCurrRecord, OnAfterGetRecord, OnOpenPage

## Relations

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

## Pages and codeunits on this table

- [Page 10001 "Overdue Purchase Invoices"](../page/10001.md) (card page)
- [Page 146 "Posted Purchase Invoices"](../page/146.md) (card page)

## Extended by

- [Page extension 20244 "Posted Purchase Invoice Ext"](../pageextension/20244.md)
- [Page extension 4884 "EU3 Posted Purch. Invoice"](../pageextension/4884.md)
- [Page extension 5034 "SD Posted Purch. Invoice"](../pageextension/5034.md)
- [Page extension 6146 "E-Doc. Posted Purch. Inv."](../pageextension/6146.md)
- [Page extension 6798 "Withholding Posted Purch Inv"](../pageextension/6798.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 365 "Format Address"](../codeunit/365.md) (3 calls: `ActivateFields → UseCounty`, `FillRemitToFields → UseCounty`, `FillRemitToFields → VendorRemitToAddress`)
- [Codeunit 1630 "Office Management"](../codeunit/1630.md) (1 call: `OnOpenPage → IsAvailable`)
- [Codeunit 799 "VAT Reporting Date Mgt"](../codeunit/799.md) (1 call: `OnOpenPage → IsVATDateEnabled`)

## Called by

- [Table 124 "Purch. Cr. Memo Hdr."](../table/124.md) (2 calls: `ShowCancelledInvoice → (object)`, `ShowCorrectiveInvoice → (object)`)
- [Codeunit 1401 "Cancel PstdPurchCrM (Yes/No)"](../codeunit/1401.md) (1 call: `CancelCrMemo → (object)`)
- [Codeunit 1402 "Cancel Posted Purch. Cr. Memo"](../codeunit/1402.md) (1 call: `ShowPostedPurchaseInvoice → (object)`)
- [Codeunit 1637 "Office Document Handler"](../codeunit/1637.md) (1 call: `OpenIndividualPurchaseDocument → (object)`)
- [Codeunit 5530 "Calc. Item Availability"](../codeunit/5530.md) (1 call: `ShowDocument → (object)`)
- [Codeunit 6520 "Item Tracing Mgt."](../codeunit/6520.md) (1 call: `ShowDocument → (object)`)
- [Page 146 "Posted Purchase Invoices"](../page/146.md) (1 call: `DoDrillDown → (object)`)
- [Page 51 "Purchase Invoice"](../page/51.md) (1 call: `PostDocument → (object)`)
- [Page 5857 "Get Post.Doc - P.InvLn Subform"](../page/5857.md) (1 call: `ShowDocument → (object)`)
- [Table 25 "Vendor Ledger Entry"](../table/25.md) (1 call: `ShowDoc → (object)`)

## Recent changes

- 2026-07-31 [#8959 Deliverable 638799: Spend Requests in Base App](../../changes/bcapps/8959.md) (main, BC30, feature)

## Across versions

- Present in: BC23-30
- Changed (declaration) in: BC24

## Countries that replace it

[RU](../../localizations/ru.md)

## Documented on Microsoft Learn

- [Edit posted sales and purchase documents](https://learn.microsoft.com/dynamics365/business-central/across-edit-posted-document)
- [Use E-Documents in the purchase process](https://learn.microsoft.com/dynamics365/business-central/finance-how-use-edocuments-purchase)
- [Record sustainability entries](https://learn.microsoft.com/dynamics365/business-central/finance-sustainability-journal)
- [Amend or cancel unpaid purchase invoices](https://learn.microsoft.com/dynamics365/business-central/purchasing-how-correct-cancel-unpaid-purchase-invoices)

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