
Automate Factur-X and ZUGFeRD e-Invoices in Python with PDF.co
15 MIN READ
In this step-by-step guide, we will show you how to convert a base64 file into PDF using PDF.co and Make. Just a couple of easy steps can enhance your workflow.
We will be using PDF.co & Make as a Base64 to PDF converter. First, click the Create a Scenario button at the upper-right corner of your dashboard.
Next, let’s add the PDF.co app and use the Make an API Call module.
In the API Endpoint Path field, enter the base64 upload endpoint /v1/file/upload/base64.
Under the Body section, click on the Add item link. In the Key field, enter the file param. In the Value field, paste the base64 link.
Now, let’s add another module. We will use the PDF.co Convert into PDF module to convert documents, spreadsheets, presentations, emails, and single images to PDF.
Now, let’s set up the Convert into PDF module.
Then, click the Run button to see the result and make sure there are no errors in the setup.
Awesome! PDF.co processed our request successfully. The base64 is converted to PDF. You can copy and paste the URL to view the output.
Here’s the Base64 file that we successfully converted to PDF.
In this tutorial, you learned how to convert Base64 to PDF using PDF.co and Make. You learned how to set up the Custom API Call to make a PDF.co request using the /v1/file/upload/base64 endpoint. You also learned how to set up the Convert into PDF module to convert the document into PDF.
Now, you enhanced your workflow by implementing this step-by-step guide on how to decode base64 to PDF.
Create an account, get an API key and test a request.