Alexander Cuadros
12/10/2024, 10:04 PMfilePDFId = file.create({
name: transactionType + '_' + transactionId + '.pdf' ,
fileType: file.Type.PDF,
contents: responsepdf.body,
description: 'PDF document for ' + transactionType + ' ' + transactionId,
folder: getOutboundDocumentsFolderID('Outbound PDF Documents'),
isOnline: false,
}).save();
but it show me an error , and when i tried to convert to base64, save the pdf in blank. the error without converting is: Intenó escribir datos no binarios en un archivo binario 'invoice_9755.pdf' del tipo 'PDF'. Los datos binarios deben estar codificados como cadenas base64. Usted proporcionó los siguientes datos: %PDF-1.4
%����
1 0 obj
</Producer (Skia/PDF m125)
/CreationDate (D:20241210192442+00'00')
/ModDate (D:20241210192442+00'00')>>
endobj
3 0 obj
</ca 1
/LC 0
/LJ 0
/LW 1
/ML 4Kurt Dicus
12/10/2024, 11:01 PMAlexander Cuadros
12/10/2024, 11:09 PMKurt Dicus
12/10/2024, 11:16 PMAlexander Cuadros
12/10/2024, 11:44 PMKurt Dicus
12/10/2024, 11:50 PMAlexander Cuadros
12/11/2024, 12:02 AMKurt Dicus
12/11/2024, 12:20 AMAlexander Cuadros
12/11/2024, 1:43 AMNadav Julius
12/11/2024, 3:19 PMAlexander Cuadros
12/11/2024, 3:31 PMNadav Julius
12/11/2024, 3:43 PM