---
id: object/report/6222
type: object
title: Report 6222 "EUDR Sales Invoice"
summary: Report 6222 "EUDR Sales Invoice" in Sustainability (Microsoft.Sustainability.EUDR). 2 public procedures, 13 events. Introduced in BC29, still in BC30.
tier: official
language: en
tags:
  - report
  - sustainability
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: 0b3e8ef0b7dfe090fac4437e7b4bd2e22135e23bcb3babae10606136b03b9910
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Apps/W1/Sustainability/app/src/EUDR/EUDRSalesInvoice.Report.al
    title: src/Apps/W1/Sustainability/app/src/EUDR/EUDRSalesInvoice.Report.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes:
    - change/bcapps/11217
object_type: report
object_id: 6222
name: EUDR Sales Invoice
namespace: Microsoft.Sustainability.EUDR
app: Sustainability
extends: null
first_version: "29"
last_version: "30"
present_in:
  - "29"
  - "30"
changed_in: []
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids: []
counts:
  fields: 0
  procedures: 33
  events: 13
  subscribers: 0
relations:
  out: 0
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 0
  calls: 5
  called_by: 0
  implements: 0
---

# Report 6222 "EUDR Sales Invoice"

> Report 6222 "EUDR Sales Invoice" in Sustainability (Microsoft.Sustainability.EUDR). 2 public procedures, 13 events. Introduced in BC29, still in BC30.

Sustainability · Microsoft.Sustainability.EUDR · BC29-30 · [source at ea08af5e](https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Apps/W1/Sustainability/app/src/EUDR/EUDRSalesInvoice.Report.al) · facts from BC29

## Properties

| Property | Value |
|---|---|
| Caption | EUDR 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[50]; 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 18 local procedures.

## Triggers

OnInitReport, OnPostReport, OnPreReport

## 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`)

## Recent changes

- 2026-09-15 [#11217 [Master] - Slice 641591: EUDR Certificate Capture for Items](../../changes/bcapps/11217.md) (main, BC30, feature, added)

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