{"title":"XmlPort 1610 Sales Invoice - PEPPOL BIS 3.0, extension points 29","url":"https://jonas-paprotka.de/ref/xmlport/1610-sales-invoice-peppol-bis-3-0/points/","author":"JOP-AL","license":"Metadata from Microsoft's symbol packages. AL source MIT, Copyright (c) Microsoft Corporation. Selection and wording © 2026 JOP-AL. https://jonas-paprotka.de/licenses/","subject":"Microsoft Dynamics 365 Business Central","checked":"2026-11-20","changed":"2026-10-05","object":{"type":"xmlport","id":1610,"name":"Sales Invoice - PEPPOL BIS 3.0","app":"Base Application","url":"https://jonas-paprotka.de/ref/xmlport/1610-sales-invoice-peppol-bis-3-0/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/xmlport/1610-sales-invoice-peppol-bis-3-0/source/","path":"src/Layers/W1/BaseApp/Sales/Peppol/SalesInvoicePEPPOLBIS30.XmlPort.al","commit":"4303e5e584d3aa5d9e98cbc615525a5396ad6ed7","lines":"a line is <source url>#L<line>"},"steps":{"event":"[line, \"event\", name, handled]: raises an event of this object; handled 1 when it has an IsHandled parameter","call":"[line, \"call\", name, arguments]: calls a procedure of this object","ext":"[line, \"ext\", type, id, name, arguments]: calls a procedure of another object, through a variable declared with that type","write":"[line, \"write\", table id, method, 1 when called with true]: Insert, Modify, ModifyAll, Delete, DeleteAll or Rename","validate":"[line, \"validate\", table id, field name]","run":"[line, \"run\", type, id]: Codeunit.Run, Page.Run, Report.Run and their kin"},"objects":{"codeunit:1605":{"name":"PEPPOL Management","url":"https://jonas-paprotka.de/ref/codeunit/1605-peppol-management/"}},"procs":[{"name":"OnBeforePassVariable","line":95,"kind":"trigger","steps":[[97,"ext","codeunit",1605,"GetTaxTotalInfoLCY",4]]},{"name":"OnBeforePassVariable","line":116,"kind":"trigger","steps":[[118,"ext","codeunit",1605,"GetBuyerReference",1]]},{"name":"OnBeforePassVariable","line":135,"kind":"trigger","steps":[[137,"ext","codeunit",1605,"GetInvoicePeriodInfo",2]]},{"name":"OnBeforePassVariable","line":154,"kind":"trigger","steps":[[156,"ext","codeunit",1605,"GetOrderReferenceInfo",2]]},{"name":"OnBeforePassVariable","line":173,"kind":"trigger","steps":[[179,"ext","codeunit",1605,"GetContractDocRefInfo",5]]},{"name":"OnAfterGetRecord","line":262,"kind":"trigger","steps":[[265,"ext","codeunit",1605,"GetAdditionalDocRefInfo"],[278,"ext","codeunit",1605,"GeneratePDFAttachmentAsAdditionalDocRef",7]]},{"name":"OnBeforePassVariable","line":341,"kind":"trigger","steps":[[343,"ext","codeunit",1605,"GetAccountingSupplierPartyIdentificationID",2]]},{"name":"OnBeforePassVariable","line":555,"kind":"trigger","steps":[[561,"ext","codeunit",1605,"GetAccountingSupplierPartyInfoBIS",3],[566,"ext","codeunit",1605,"GetAccountingSupplierPartyPostalAddr",8],[576,"ext","codeunit",1605,"GetAccountingSupplierPartyTaxSchemeBIS",4],[582,"ext","codeunit",1605,"GetAccountingSupplierPartyLegalEntityBIS",6],[590,"ext","codeunit",1605,"GetAccountingSupplierPartyContact",6]]},{"name":"OnBeforePassVariable","line":835,"kind":"trigger","steps":[[837,"ext","codeunit",1605,"GetAccountingCustomerPartyInfoBIS",6],[845,"ext","codeunit",1605,"GetAccountingCustomerPartyPostalAddr",8],[855,"ext","codeunit",1605,"GetAccountingCustomerPartyTaxSchemeBIS30",5],[862,"ext","codeunit",1605,"GetAccountingCustomerPartyLegalEntityBIS",4],[868,"ext","codeunit",1605,"GetAccountingCustomerPartyContact",6]]},{"name":"OnBeforePassVariable","line":921,"kind":"trigger","steps":[[923,"ext","codeunit",1605,"GetTaxRepresentativePartyInfo",4]]},{"name":"OnBeforePassVariable","line":1050,"kind":"trigger","steps":[[1052,"ext","codeunit",1605,"GetGLNDeliveryInfo",4],[1058,"ext","codeunit",1605,"GetDeliveryAddress",8],[1068,"ext","codeunit",1605,"GetDeliveryPartyName",2]]},{"name":"OnBeforePassVariable","line":1135,"kind":"trigger","steps":[[1137,"ext","codeunit",1605,"GetPaymentMeansInfo",8],[1147,"ext","codeunit",1605,"GetPaymentMeansPayeeFinancialAccBIS",3]]},{"name":"OnAfterGetRecord","line":1164,"kind":"trigger","steps":[[1166,"ext","codeunit",1605,"GetPaymentTermsInfo",2]]},{"name":"OnAfterGetRecord","line":1233,"kind":"trigger","steps":[[1235,"call","FindNextVATAmtRec",2],[1238,"ext","codeunit",1605,"GetAllowanceChargeInfo"]]},{"name":"OnAfterGetRecord","line":1317,"kind":"trigger","steps":[[1319,"call","FindNextVATAmtRec",2],[1322,"ext","codeunit",1605,"GetAllowanceChargeInfoPaymentDiscount"]]},{"name":"OnAfterGetRecord","line":1409,"kind":"trigger","steps":[[1414,"call","FindNextVATAmtRec",2],[1417,"ext","codeunit",1605,"GetTaxSubtotalInfo"],[1431,"ext","codeunit",1605,"GetTaxExemptionReason",3]]},{"name":"OnBeforePassVariable","line":1435,"kind":"trigger","steps":[[1437,"ext","codeunit",1605,"GetTaxTotalInfo",4]]},{"name":"OnBeforePassVariable","line":1550,"kind":"trigger","steps":[[1552,"ext","codeunit",1605,"GetLegalMonetaryInfo"]]},{"name":"OnBeforePassVariable","line":1637,"kind":"trigger","steps":[[1639,"ext","codeunit",1605,"GetLineInvoicePeriodInfo",2]]},{"name":"OnBeforePassVariable","line":1726,"kind":"trigger","steps":[[1730,"ext","codeunit",1605,"GetLineDeliveryInfo",3],[1735,"ext","codeunit",1605,"GetLineDeliveryPostalAddr",7]]},{"name":"OnAfterGetRecord","line":1776,"kind":"trigger","steps":[[1778,"ext","codeunit",1605,"GetLineAllowanceChargeInfo",6]]},{"name":"OnAfterGetRecord","line":1899,"kind":"trigger","steps":[[1901,"ext","codeunit",1605,"GetLineItemCommodityClassficationInfo",4]]},{"name":"OnBeforePassVariable","line":1946,"kind":"trigger","steps":[[1948,"ext","codeunit",1605,"GetLineItemClassfiedTaxCategoryBIS",5]]},{"name":"OnAfterGetRecord","line":1972,"kind":"trigger","steps":[[1974,"ext","codeunit",1605,"GetLineAdditionalItemPropertyInfo",3]]},{"name":"OnBeforePassVariable","line":1989,"kind":"trigger","steps":[[1991,"ext","codeunit",1605,"GetLineItemInfo",8]]},{"name":"OnAfterGetRecord","line":2052,"kind":"trigger","steps":[[2054,"ext","codeunit",1605,"GetLinePriceAllowanceChargeInfo",5]]},{"name":"OnBeforePassVariable","line":2071,"kind":"trigger","steps":[[2073,"ext","codeunit",1605,"GetLinePriceInfo",6]]},{"name":"OnAfterGetRecord","line":2083,"kind":"trigger","steps":[[2085,"call","FindNextInvoiceLineRec",1],[2088,"event","OnInvoiceLineLoopOnAfterGetRecordOnBeforeGetLineGeneralInfo",0],[2089,"ext","codeunit",1605,"GetLineGeneralInfo",8],[2099,"ext","codeunit",1605,"GetLineUnitCodeInfo",3]]},{"name":"OnAfterGetRecord","line":2103,"kind":"trigger","steps":[[2105,"call","FindNextInvoiceRec",1],[2108,"call","GetTotals",0],[2110,"ext","codeunit",1605,"GetGeneralInfoBIS",8],[2120,"call","GetCustomizationID",0],[2121,"call","GetProfileID",0]]},{"name":"GetTotals","line":2171,"kind":"procedure","access":"local","params":0,"steps":[[2180,"event","OnGetTotalsOnBeforeGetSalesLineTotals",0],[2181,"ext","codeunit",1605,"GetTotals",2],[2182,"ext","codeunit",1605,"GetTaxCategories",2],[2186,"event","OnGetTotals",0]]},{"name":"FindNextInvoiceRec","line":2190,"kind":"procedure","access":"local","params":1,"steps":[[2194,"ext","codeunit",1605,"FindNextSalesInvoiceRec",3],[2196,"event","OnFindNextInvoiceRec",0]]},{"name":"FindNextInvoiceLineRec","line":2200,"kind":"procedure","access":"local","params":1,"steps":[[2204,"ext","codeunit",1605,"FindNextSalesInvoiceLineRec",3],[2206,"event","OnFindNextInvoiceLineRec",0]]},{"name":"Initialize","line":2221,"kind":"procedure","params":1,"steps":[[2235,"event","OnBeforeFindSalesInvoiceLine",0],[2240,"event","OnInitializeOnBeforeGetInvoiceRoundingLine",0],[2241,"ext","codeunit",1605,"GetInvoiceRoundingLine",2],[2253,"event","OnInitialize",1]]}]}