---
id: object/page/10028-mx
type: object
title: Page 10028 "Sales Order Invoice" (MX)
summary: Page 10028 "Sales Order Invoice" (MX) in the MX country layer (Microsoft.Sales.Document). 1 public procedures, 1 events. Introduced in BC29, still in BC30.
tier: official
language: en
tags:
  - page
  - mx layer
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: fbcbf84d30ddaee874bb654bd50570e29bd593cc1adef0f7172ba930373148ba
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/NA/BaseApp/Local/Sales/Document/SalesOrderInvoice.Page.al
    title: src/Layers/NA/BaseApp/Local/Sales/Document/SalesOrderInvoice.Page.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations:
    - localization/mx
  videos: []
  posts: []
  guidelines: []
object_type: page
object_id: 10028
name: Sales Order Invoice
namespace: Microsoft.Sales.Document
app: Base Application
extends: null
first_version: "29"
last_version: "30"
present_in:
  - "29"
  - "30"
changed_in: []
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids: []
country: MX
counts:
  fields: 0
  procedures: 7
  events: 1
  subscribers: 0
  controls: 28
  actions: 11
relations:
  out: 0
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 0
---

# Page 10028 "Sales Order Invoice" (MX)

> Page 10028 "Sales Order Invoice" (MX) in the MX country layer (Microsoft.Sales.Document). 1 public procedures, 1 events. Introduced in BC29, still in BC30.

MX country layer · Microsoft.Sales.Document · BC29-30 · [source at ea08af5e](https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/NA/BaseApp/Local/Sales/Document/SalesOrderInvoice.Page.al) · facts from BC29

An object of the [MX localization](../../localizations/mx.md), not part of W1.

## Properties

| Property | Value |
|---|---|
| Caption | Sales Order Invoice |
| SourceTable | Sales 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. | `Rec."No."` | Specifies the number of the record. |
|  | Sell-to Customer No. | `Rec."Sell-to Customer No."` | Specifies the number of the customer that you invoiced the items to. |
|  | Sell-to Customer Name | `Rec."Sell-to Customer Name"` | Specifies the name of the customer that you invoiced the items to. |
|  | Posting Date | `Rec."Posting Date"` | Specifies the date when the sales order was invoiced. |
|  | Order Date | `Rec."Order Date"` | Specifies the date on which the related sales order was created. |
|  | Document Date | `Rec."Document Date"` | Specifies the date on which you created the sales document. |
|  | External Document No. | `Rec."External Document No."` | Specifies the number that the customer uses in their own system to refer to this sales document. You can fill this field to use it later to search for sales lines using the customer's order number. |
|  | Salesperson Code | `Rec."Salesperson Code"` | Specifies the salesperson that is assigned to the order. |
|  | Currency Code | `Rec."Currency Code"` | Specifies the currency of amounts on the sales document. By default, the field is filled with the value in the Currency Code field on the customer card. |
|  | Status | `Rec.Status` | Specifies the status of the document. |
| Content | SalesLines | part Sales Order Invoice Subform | — |
| Invoicing | Bill-to Customer No. | `Rec."Bill-to Customer No."` | Specifies the number of the customer that the invoice is sent to. |
|  | Bill-to Name | `Rec."Bill-to Name"` | Specifies the name of the customer that the items are shipped to. |
|  | Bill-to Address | `Rec."Bill-to Address"` | Specifies the address of the customer that the invoice is sent to. |
|  | Bill-to Address 2 | `Rec."Bill-to Address 2"` | Specifies an additional part of the address of the customer that the invoice is sent to. |
|  | Bill-to City | `Rec."Bill-to City"` | Specifies the city of the customer that the invoice is sent to. |
|  | State / ZIP Code | `Rec."Bill-to County"` | Specifies the state or province code, and postal code, as a part of the address. |
|  | Bill-to Post Code | `Rec."Bill-to Post Code"` | Specifies the post code of the of the customer that the invoice is sent to. |
|  | Bill-to Contact | `Rec."Bill-to Contact"` | Specifies the name of the contact at the customer that the invoice is sent to. |
|  | Shortcut Dimension 1 Code | `Rec."Shortcut Dimension 1 Code"` | Specifies the dimension value code that the sales line is associated with. |
|  | Shortcut Dimension 2 Code | `Rec."Shortcut Dimension 2 Code"` | Specifies the dimension value code that the sales line is associated with. |
|  | Payment Terms Code | `Rec."Payment Terms Code"` | Specifies a formula that calculates the payment due date, payment discount date, and payment discount amount on sales documents. By default, the payment term from the customer card is entered. |
|  | Due Date | `Rec."Due Date"` | Specifies when the sales invoice must be paid |
|  | Payment Discount % | `Rec."Payment Discount %"` | Specifies the payment discount percent that is granted if the customer pays on or before the date entered in the Pmt. Discount Date field. The percentage is calculated from the Payment Terms Code field. |
|  | Pmt. Discount Date | `Rec."Pmt. Discount Date"` | Specifies the last date the customer can pay the invoice and still receive a payment discount. |
|  | Payment Method Code | `Rec."Payment Method Code"` | Specifies how the customer must pay for products on the sales document. By default, the payment method is copied from the customer card. |
|  | Tax Liable | `Rec."Tax Liable"` | Specifies if the customer or vendor is liable for sales tax. |
|  | Tax Area Code | `Rec."Tax Area Code"` | Specifies the tax area that is used to calculate and post sales tax. |

## Actions

| Group | Action | ToolTip | Runs |
|---|---|---|---|
| Order | Statistics | View statistical information, such as the value of posted entries, for the record. |  |
|  | Card | Open the card for the customer. | [Page 21 "Customer Card"](../page/21.md) |
|  | Comments | View comments that apply. | [Page 67 "Sales Comment Sheet"](../page/67.md) |
|  | Shipments | View posted sales shipments for the customer. | [Page 142 "Posted Sales Shipments"](../page/142.md) |
|  | Invoices | View the history of posted sales invoices that have been posted for the document. | [Page 143 "Posted Sales Invoices"](../page/143.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. |  |
| Functions | Calculate Invoice Discount | Calculate the invoice discount for the entire document. |  |
|  | Reopen | Reopen the document to change it after it has been approved. Approved documents have the Released status and must be opened before they can be changed. |  |
| Posting | Test Report | View a test report so that you can find and correct any errors before you perform the actual posting of the journal or document. |  |
|  | Post | Finalize the document or journal by posting the amounts and quantities to the related accounts in your company books. |  |
|  | Post and Print | Finalize and prepare to print the document or journal. The values and quantities are posted to the related accounts. A report request window where you can specify what to include on the print-out. |  |

## Events published

- `OnBeforeCalculateSalesTaxStatistics(var SalesHeader: Record "Sales Header"; ShowDialog: Boolean)` (integration)

## Procedures

- `UpdateAllowed(): Boolean`

Plus 5 local procedures.

## Triggers

OnDeleteRecord, OnNewRecord, OnOpenPage

## 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: "page", object_name: "Sales Order Invoice")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.

A MX country object, not part of W1: the default corpus does not have it; `bcatlas_list_countries` shows which countries the atlas has.
