Parallel PDF Viewing#
Parallel PDF viewing is supported via the pdfUrl field within the additionalDetails object.Instead of uploading the PDF directly to the provider, you should implement your own service that:Produces a URL (pdfUrl) for the PDF.
Include this URL in the JSON payload you send to the provider.
This ensures that the creation, management, and hosting of the PDF are fully handled on your side.You will need to provide the URL to the original POST request you transmit to the service, as shown below:"AdditionalDetails": {
"notificationDelay": 5,
"AccountingDepartmentEmails": [
"test@email.com"
],
"CustomerCellNumbers": [
""
],
"TransmissionMethod": "E",
"SendAsPdf": false,
"pdfUrl": "https://www.testdrive.com/url",
"AvoidEmailGrouping": false,
"PdfNotificationEmails": [
""
]
As soon as you have uploaded the file to the desired space, it will be visible through the portal as a second tab.new functionality#
When the customer chooses to upload their own PDF for invoice preview/visualization in the portal, and the invoice is sent via email as an attachment (using the sendAsPdf = true field, sent through the portal), the recipient will receive the customer-uploaded PDF as the attachment instead of the default system-generated form that was previously sent.This functionality will apply provided that one of the following conditions is met:Parallel PDF Viewing (urlPDF)
Invoice Document Upload (Invoice/File)
In case the customer uses the Invoice Document Upload (Invoice/File) call, it is mandatory to include the following field: "notificationDelay": 5 within the additionalDetails entity of the JSON.