---
id: object/page/9970
type: object
title: Page 9970 "Posted Sales Invoice API"
summary: Page 9970 "Posted Sales 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: c70eb0ca9e9698ce48887b84e5f171ea9b6bca44abdfb8a78146fc7fe482a30e
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/Integration/Entity/PostedSalesInvoiceAPI.Page.al
    title: src/Layers/W1/BaseApp/Integration/Entity/PostedSalesInvoiceAPI.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: 9970
name: Posted Sales 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: 46
  actions: 0
relations:
  out: 1
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 0
  calls: 0
  called_by: 0
  implements: 0
---

# Page 9970 "Posted Sales Invoice API"

> Page 9970 "Posted Sales 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/PostedSalesInvoiceAPI.Page.al) · facts from BC29

## Properties

| Property | Value |
|---|---|
| Extensible | false |
| SourceTable | Sales Invoice 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/112.md#fields) | Specifies the posted sales invoice number. Each posted sales invoice gets a unique number. Typically, the number is generated based on a number series. <small>from the table field</small> |
|  | API Id | `APIId` | — |
|  | External Document No. | [External Document No.](../table/112.md#fields) | Specifies the external document number that is entered on the sales header that this line was posted from. <small>from the table field</small> |
|  | Invoice Date | [Document Date](../table/112.md#fields) | Specifies the date on which you created the sales document. <small>from the table field</small> |
|  | Posting Date | [Posting Date](../table/112.md#fields) | Specifies the date on which the invoice was posted. <small>from the table field</small> |
|  | Due Date | [Due Date](../table/112.md#fields) | Specifies the date on which the invoice is due for payment. <small>from the table field</small> |
|  | Customer Purchase Order Reference | [Your Reference](../table/112.md#fields) | Specifies the customer's reference. The contents will be printed on sales documents. <small>from the table field</small> |
|  | Customer No. | [Sell-to Customer No.](../table/112.md#fields) | Specifies the number of the customer that you shipped the items on the invoice to. <small>from the table field</small> |
|  | Customer Name | [Sell-to Customer Name](../table/112.md#fields) | Specifies the name of the customer that you shipped the items on the invoice to. <small>from the table field</small> |
|  | Bill-To Name | [Bill-to Name](../table/112.md#fields) | Specifies the name of the customer that you send or sent the invoice or credit memo to. <small>from the table field</small> |
|  | Bill-To Customer No. | [Bill-to Customer No.](../table/112.md#fields) | Specifies the number of the customer that you send or sent the invoice to. <small>from the table field</small> |
|  | Ship-to Name | [Ship-to Name](../table/112.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/112.md#fields) | Specifies the name of the person you regularly contact at the address that the items were shipped to. <small>from the table field</small> |
|  | Sell-to Address Line 1 | [Sell-to Address](../table/112.md#fields) | Specifies the address of the customer that the items on the invoice were shipped to. <small>from the table field</small> |
|  | Sell-to Address Line 2 | [Sell-to Address 2](../table/112.md#fields) | Specifies additional address information. <small>from the table field</small> |
|  | Sell-to City | [Sell-to City](../table/112.md#fields) | Specifies the city of the customer on the sales document. <small>from the table field</small> |
|  | Sell-to Country/Region Code | [Sell-to Country/Region Code](../table/112.md#fields) | Specifies the country or region of the address. <small>from the table field</small> |
|  | Sell-to State | [Sell-to County](../table/112.md#fields) | Specifies the state, province or county as a part of the address. <small>from the table field</small> |
|  | Sell-to Post Code | [Sell-to Post Code](../table/112.md#fields) | Specifies the postal code of the customer's main address. <small>from the table field</small> |
|  | Bill-to Address Line 1 | [Bill-to Address](../table/112.md#fields) | Specifies the address of the customer that the invoice was sent to. <small>from the table field</small> |
|  | Bill-to Address Line 2 | [Bill-to Address 2](../table/112.md#fields) | Specifies additional address information. <small>from the table field</small> |
|  | Bill-to City | [Bill-to City](../table/112.md#fields) | Specifies the city of the customer on the sales document. <small>from the table field</small> |
|  | Bill-to Country/Region Code | [Bill-to Country/Region Code](../table/112.md#fields) | Specifies the country or region of the address. <small>from the table field</small> |
|  | Bill-to State | [Bill-to County](../table/112.md#fields) | Specifies the state, province or county as a part of the address. <small>from the table field</small> |
|  | Bill-to Post Code | [Bill-to Post Code](../table/112.md#fields) | Specifies the postal code of the customer's billing address. <small>from the table field</small> |
|  | Ship-to Address Line 1 | [Ship-to Address](../table/112.md#fields) | Specifies the address that the items on the invoice were shipped to. <small>from the table field</small> |
|  | Ship-to Address Line 2 | [Ship-to Address 2](../table/112.md#fields) | Specifies additional address information. <small>from the table field</small> |
|  | Ship-to City | [Ship-to City](../table/112.md#fields) | Specifies the city of the customer on the sales document. <small>from the table field</small> |
|  | Ship-to Country/Region Code | [Ship-to Country/Region Code](../table/112.md#fields) | Specifies the country or region of the address. <small>from the table field</small> |
|  | Ship-to State | [Ship-to County](../table/112.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/112.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/112.md#fields) | Specifies the telephone number of the company's shipping address. <small>from the table field</small> |
|  | Shortcut Dimension 1 Code | [Shortcut Dimension 1 Code](../table/112.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/112.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/112.md#fields) | Specifies the currency code of the invoice. <small>from the table field</small> |
|  | Order No. | [Order No.](../table/112.md#fields) | Specifies the number of the related order. <small>from the table field</small> |
|  | Payment Terms Code | [Payment Terms Code](../table/112.md#fields) | Specifies a formula that calculates the payment due date, payment discount date, and payment discount amount on the sales document. <small>from the table field</small> |
|  | Shipment Method Code | [Shipment Method Code](../table/112.md#fields) | Specifies the code that represents the shipment method for the invoice. <small>from the table field</small> |
|  | Salesperson | [Salesperson Code](../table/112.md#fields) | Specifies which salesperson is associated with the invoice. <small>from the table field</small> |
|  | Prices Include Tax | [Prices Including VAT](../table/112.md#fields) | — |
|  | Discount Amount | [Invoice Discount Amount](../table/112.md#fields) | — |
|  | Total Amount Excluding Tax | [Amount](../table/112.md#fields) | Specifies the total, in the currency of the invoice, of the amounts on all the invoice lines. The amount does not include VAT. <small>from the table field</small> |
|  | Total Amount Including Tax | [Amount Including VAT](../table/112.md#fields) | Specifies the total of the amounts, including VAT, on all the lines on the document. <small>from the table field</small> |
|  | Phone No. | [Sell-to Phone No.](../table/112.md#fields) | — |
|  | Email | [Sell-to E-Mail](../table/112.md#fields) | — |

## Triggers

OnAfterGetRecord

## Relations

- source table [Table 112 "Sales Invoice Header"](../table/112.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 Sales Invoice API")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
