---
id: object/report/1306
type: object
title: Report 1306 "Standard Sales - Invoice"
summary: Report 1306 "Standard Sales - Invoice" in Base Application (Microsoft.Sales.History). 2 public procedures, 13 events. Present since at least BC23, still in BC30, changed in BC24-25.
tier: official
language: en
tags:
  - report
  - base application
versions:
  introduced: null
  last_changed: "25"
  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: 0bbd2133ac70a88b33690692e7f68fb5ae8f23c0d8df5f36572031d754d85fd8
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/Sales/History/StandardSalesInvoice.Report.al
    title: src/Layers/W1/BaseApp/Sales/History/StandardSalesInvoice.Report.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
  - kind: learn
    url: https://learn.microsoft.com/dynamics365/business-central/reports/report-1306
    title: Standard Sales Invoice report
    date: null
    commit: null
    t: null
    quote: null
  - kind: learn
    url: https://learn.microsoft.com/dynamics365/business-central/sales-reports
    title: Sales report overview
    date: null
    commit: null
    t: null
    quote: null
links:
  learn:
    - https://learn.microsoft.com/dynamics365/business-central/reports/report-1306
    - https://learn.microsoft.com/dynamics365/business-central/sales-reports
  objects: []
  features: []
  topics:
    - topic/business-central/analytics-business-intelligence-and-repo/built-in-reports
    - topic/business-central/business-functionality/sales/sales-analytics/built-in-sales-reports
  localizations:
    - localization/ca
    - localization/fr
    - localization/mx
    - localization/us
  videos: []
  posts: []
  guidelines: []
object_type: report
object_id: 1306
name: Standard Sales - Invoice
caption: Sales - Invoice
namespace: Microsoft.Sales.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"
  - "25"
source_major: "29"
obsolete: null
countries:
  - ca
  - fr
  - mx
  - us
ms_search_form_ids:
  - docs/learn-smb-docs/business-central/reports/report-1306.md
  - docs/learn-smb-docs/business-central/sales-reports.md
counts:
  fields: 0
  procedures: 31
  events: 13
  subscribers: 0
relations:
  out: 0
  referenced_by: 0
  pages: 0
  extended_by: 3
  event_subscribers: 0
  calls: 5
  called_by: 0
  implements: 0
---

# Report 1306 "Standard Sales - Invoice"

> Report 1306 "Standard Sales - Invoice" in Base Application (Microsoft.Sales.History). 2 public procedures, 13 events. Present since at least BC23, still in BC30, changed in BC24-25.

Base Application · Microsoft.Sales.History · captioned "Sales - Invoice" · BC23-30 · [source at ea08af5e](https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/Sales/History/StandardSalesInvoice.Report.al) · facts from BC29

## Properties

| Property | Value |
|---|---|
| Caption | Sales - Invoice |
| Permissions | TableData "Sales Shipment Buffer" = rimd |

## Events published

- `OnAfterLineOnPreDataItem(var SalesInvoiceHeader: Record "Sales Invoice Header"; var SalesInvoiceLine: Record "Sales Invoice Line")` (integration)
- `OnAfterFillLeftHeader(var LeftHeader: Record "Name/Value Buffer"; SalesInvoiceHeader: Record "Sales Invoice Header")` (integration)
- `OnAfterFillRightHeader(var RightHeader: Record "Name/Value Buffer"; SalesInvoiceHeader: Record "Sales Invoice Header")` (integration)
- `OnBeforeLineOnAfterGetRecord(var SalesInvoiceHeader: Record "Sales Invoice Header"; var SalesInvoiceLine: Record "Sales Invoice Line")` (integration)
- `OnBeforeGetDocumentCaption(SalesInvoiceHeader: Record "Sales Invoice Header"; var DocCaption: Text)` (integration)
- `OnAfterGetSalesHeader(SalesInvoiceHeader: Record "Sales Invoice Header")` (integration)
- `OnBeforeFormatLineValues(SalesInvoiceLine: Record "Sales Invoice Line"; var FormattedQuantity: Text; var FormattedUnitPrice: Text; var FormattedVATPercentage: Text; var FormattedLineAmount: Text; var IsHandled: Boolean)` (integration)
- `OnAfterFormatDocumentFields(var SalesInvoiceHeader: Record "Sales Invoice Header")` (integration)
- `OnBeforeVATAmountLineInsertLine(var VATAmountLine: Record "VAT Amount Line"; SalesInvoiceLine: Record "Sales Invoice Line"; var IsHandled: Boolean)` (integration)
- `OnBeforeFillRightHeader(var SalesInvoiceHeader: Record "Sales Invoice Header"; SalespersonPurchaser: Record "Salesperson/Purchaser"; var SalesPersonText: Text; var RightHeader: Record "Name/Value Buffer"; var IsHandled: Boolean)` (integration)
- `OnAfterGetUOMText(UOMCode: Code[10]; var UOMDescription: Text[50])` (integration)
- `OnInitReportForGlobalVariable(var IsHandled: Boolean; var LegalOfficeTxt: Text; var LegalOfficeLbl: Text; var CustomGiroTxt: Text; var CustomGiroLbl: Text; var LegalStatementLbl: Text)` (integration)
- `OnHeaderOnAfterGetRecordOnAfterUpdateNoPrinted(ReportInPreviewMode: Boolean; var SalesInvoiceHeader: Record "Sales Invoice Header")` (integration)

## Procedures

- `InitializeRequest(NewLogInteraction: Boolean; DisplayAsmInfo: Boolean)`: Initializes the report request options for the standard sales invoice report.
- `IsReportInPreviewMode(): Boolean` (protected)

Plus 16 local procedures.

## Triggers

OnInitReport, OnPostReport, OnPreReport

## Extended by

- [Report extension 6166 "PostedSalesInvoiceWithQR"](../reportextension/6166.md)
- [Report extension 6299 "Sust. Standard Sales Invoice"](../reportextension/6299.md)
- [Report extension 8008 "Contract Standard Sales Inv."](../reportextension/8008.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 368 "Format Document"](../codeunit/368.md) (6 calls: `FormatDocumentFields → SetPaymentMethod`, `FormatDocumentFields → SetPaymentTerms`, `FormatDocumentFields → SetSalesPerson`, …)
- [Codeunit 365 "Format Address"](../codeunit/365.md) (3 calls: `FormatAddressFields → GetCompanyAddr`, `FormatAddressFields → SalesInvBillTo`, `FormatAddressFields → SalesInvShipTo`)
- [Codeunit 5051 "SegManagement"](../codeunit/5051.md) (2 calls: `LogInteractionTemplateExists → FindInteractionTemplateCode`, `OnPostReport → LogDocument`)
- [Codeunit 43 "Language"](../codeunit/43.md) (1 call: `GetLineFeeNoteOnReportHist → GetUserLanguageCode`)
- [Codeunit 9520 "Mail Management"](../codeunit/9520.md) (1 call: `IsReportInPreviewMode → IsHandlingGetEmailBody`)

## Across versions

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

## Countries that replace it

[CA](../../localizations/ca.md), [FR](../../localizations/fr.md), [MX](../../localizations/mx.md), [US](../../localizations/us.md)

## Documented on Microsoft Learn

- [Standard Sales Invoice report](https://learn.microsoft.com/dynamics365/business-central/reports/report-1306)
- [Sales report overview](https://learn.microsoft.com/dynamics365/business-central/sales-reports)

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