{"title":"pdfDocument resource type","url":"https://jonas-paprotka.de/docs/dev-itpro/api-reference/v2.0/resources/dynamics_pdfdocument/","by":"JOP-AL","license":"Copyright (c) Microsoft Corporation. CC BY 4.0, https://creativecommons.org/licenses/by/4.0/; code samples MIT. From https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/api-reference/v2.0/resources/dynamics_pdfdocument, MicrosoftDocs/dynamics365smb-devitpro-pb at 828b6ee (2026-11-19). Changed: includes filled in, links to this site, and for agents shortened without dropping a fact.","credit":"Microsoft Corporation, CC BY 4.0","origin":"https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/api-reference/v2.0/resources/dynamics_pdfdocument","source":{"name":"Business Central developer and IT pro docs","repo":"https://github.com/MicrosoftDocs/dynamics365smb-devitpro-pb","commit":"828b6ee72fcd75755627cd6011f3d20899217ab2","date":"2026-11-19"},"checked":"2026-11-19","description":"A pdf document object in Dynamics 365 Business Central.","date":"2026-08-21","meta":{"topic":"reference"},"outline":[{"level":1,"title":"pdfDocument resource type","slug":"pdfdocument-resource-type","at":0,"chars":2042},{"level":2,"title":"Methods","slug":"methods","at":405,"chars":114},{"level":2,"title":"Navigation","slug":"navigation","at":519,"chars":763},{"level":2,"title":"Properties","slug":"properties","at":1282,"chars":472},{"level":2,"title":"JSON representation","slug":"json-representation","at":1754,"chars":234},{"level":2,"title":"Related information","slug":"related-information","at":1988,"chars":54}],"text":"# pdfDocument resource type\nRepresents a PDF document in Business Central. It allows you to retrieve PDF documents related to various entities such as sales invoices, sales quotes, sales credit memos, purchase invoices, and purchase credit memos.\n> NOTE\n> For information about enabling APIs for Business Central see Enabling the APIs for Dynamics 365 Business Central<../enabling-apis-for-dynamics-nav>.\n## Methods\nMethod|Return Type|Description\n../api/dynamics_pdfdocument_get|pdfDocument|Gets a PDF document object.\n## Navigation\nNavigation|Return Type|Description\ndynamics_salesinvoice|salesInvoice|Gets the salesinvoice of the pdfDocument.\ndynamics_salesorder|salesOrder|Gets the salesorder of the pdfDocument.\ndynamics_salesquote|salesQuote|Gets the salesquote of the pdfDocument.\ndynamics_salescreditmemo|salesCreditMemo|Gets the salescreditmemo of the pdfDocument.\ndynamics_purchaseinvoice|purchaseInvoice|Gets the purchaseinvoice of the pdfDocument.\ndynamics_purchasecreditmemo|purchaseCreditMemo|Gets the purchasecreditmemo of the pdfDocument.\ndynamics_customercontact|customerContact|Gets the customercontact of the pdfDocument.\ndynamics_project|project|Gets the project of the pdfDocument.\ndynamics_purchaseorder|purchaseOrder|Gets the purchaseorder of the pdfDocument.\n## Properties\nProperty|Type|Description\nid|GUID|The unique ID of the PDF document. Non-editable.\nparentId|GUID|The ID of the parent entity.\nparentType|NAV.attachmentEntityBufferDocumentType|The type of the parent document of the PDF document. It can be \" \", \"Journal\", \"Sales Order\", \"Sales Quote\", \"Sales Credit Memo\", \"Sales Invoice\", \"Purchase Invoice\", \"Purchase Order\", \"Purchase Credit Memo\", or \"Project\".\npdfDocumentContent|stream|The content of the PDF document.\n## JSON representation\nHere's a JSON representation of the pdfDocument resource.\n```json\n{\n    \"id\": \"GUID\",\n    \"parentId\": \"GUID\",\n    \"parentType\": \"NAV.attachmentEntityBufferDocumentType\",\n    \"pdfDocumentContent\": \"stream\"\n}\n```\n## Related information\n../api/dynamics_pdfdocument_get"}