---
title: "Codeunit 5446 Purch. Invoice PDF Doc.Handler"
author: "Jonas Paprotka"
url: https://jonas-paprotka.de/ref/codeunit/5446-purch-invoice-pdf-doc-handler/
type: codeunit
id: 5446
name: "Purch. Invoice PDF Doc.Handler"
app: "Base Application"
namespace: Microsoft.EServices.EDocument
versions: "17-20, 28"
build: 28.5.54151.54365
source: "https://jonas-paprotka.de/ref/codeunit/5446-purch-invoice-pdf-doc-handler/source/29/"
checked: 2026-09-20
subject: "Microsoft Dynamics 365 Business Central"
license: "Content © 2026 Jonas Paprotka. Quote freely with attribution and a link."
---

# Codeunit 5446 Purch. Invoice PDF Doc.Handler

Jonas Paprotka, https://jonas-paprotka.de/ref/codeunit/5446-purch-invoice-pdf-doc-handler/

| | |
| --- | --- |
| App | Base Application |
| Namespace | Microsoft.EServices.EDocument |
| Versions | 17-20, 28 |
| Name by version | Graph Webhook Sync To NAV from 17, Purch. Invoice PDF Doc.Handler from 28 |
| Source file | Purchases/eServices/EDocument/PurchInvoicePDFDocHandler.Codeunit.al |

## Procedures

| Name | Parameters | Returns | Access | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- | --- |
| GetGraphSubscriptionChangeTypes | () | Text[250] | public | 17-20 | - | - |
| GetGraphSubscriptionCreatedChangeType | () | Text[50] | public | 17-20 | - | - |
| GetGraphSubscriptionUpdatedChangeType | () | Text[50] | public | 17-20 | - | - |
| GetGraphSubscriptionDeletedChangeType | () | Text[50] | public | 17-20 | - | - |
| GetGraphSubscriptionMissedChangeType | () | Text[50] | public | 17-20 | - | - |
| GeneratePdfBlobWithDocumentType | (Guid, Enum Attachment Entity Buffer Document Type, var Record Attachment Entity Buffer) | Boolean | public | 28 | - | - |

## Events

| Kind | Name | Parameters | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- |
| Integration event | OnFindWebhookSubscription | (var Record Webhook Subscription, Text[150], var Code[20]) | 17-20 | - | - |

## Source

Symbols: Microsoft.BaseApplication.symbols.437dbf0e-84ff-417a-965d-ed2bb9650972, https://dynamicssmb2.pkgs.visualstudio.com/DynamicsBCPublicFeeds/_packaging/MSSymbols/nuget/v3/index.json, highest build per major on 2026-09-20.
AL source 29: https://github.com/microsoft/BCApps, MIT, releases/29.x at a66254c3b8b5bb1cea290dc8f9d097aec4381153.

Jonas Paprotka, 2026-09-20.
