Hi,
We are trying to duplicate the purchaseInvoices/pdfDocument/pdfDocumentContent to the purchase order through a custom API.
Unfortunately, the base logic for the GET pdfDocument does not apply to purchase order documents.
We've created an API page with the purchase order system id and no. fields and added a part section that links to a duplicate of the PDF Document Entity page
We have modified the call to the PDF Document Management to add the document type purchase order
Any documentation or suggestion that could help us achieving this project?