Import Form Data

Import Form Data

Pro

Import Form Data is a REST API tool that imports values into PDF form fields from an external data file for both XFA forms and Acroforms.

Pro

What are Pro Tools?

Pro Tools are powerful API Tools that require a Pro or Enterprise plan for unrestricted access. All plans may be used to test Pro Tools, but output will be watermarked or otherwise limited below the Pro plan level.

Build Your Solution

You have document processing problems, we have Solutions. Explore the many ways pdfRest can align your documents with your business objectives.

Browse all solutions
The pdfRest logo is added to the Microsoft Power Automate logo with a representation of a PNG to PDF conversion workflow

Integrate pdfRest with Microsoft Power Automate

The Salesforce logo with APEX programming language is connected with the pdfRest logo around a PDF toolkit icon

Integrate PDF API Tools with Salesforce Apex Code

Control your Backend with pdfRest API Toolkit Self-Hosted

Control your Backend with pdfRest API Toolkit Self-Hosted

Why is pdfRest the best API to fill PDF forms with data?

pdfRest offers the best solution for importing data into PDF forms, because it supports automated form filling, XFA forms and Acroforms, and data protection.

Automated Form Filling

pdfRest Import Form Data loads values into any and all form fields specified in an external data file, regardless of form complexity and underlying form technology. Whether you're filling out government forms for your users, populating invoices, or populating values in your own custom forms on a repeated basis, you'll need technology you can trust to consistently get the job done right.

With fast, reliable results, Import Form Data allows you to easily configure an automated process for loading data from external sources into PDF form templates. This works just as well for small scale and large scale workflows, saving you valuable time and resources across a wide range of forms processing objectives.

Full XFA and Acroform Support

Not all PDF forms are built the same! There are different underlying technologies used in practice to add forms to PDF documents, and these require different technologies to import data or otherwise interact with forms through manual or programmatic processing. In particular, full support for XFA forms is rare, with some tools capable of handling static XFA documents and most tools unable to handle dynamic XFA documents.

Only pdfRest offers full support for importing data into static and dynamic XFA forms, as well as Acroforms, all with one streamlined API Tool.

Add and Protect Data

pdfRest offers two REST API Tools that pair perfectly together to offer a complete end-to-end data entry and data protection solution for PDF form documents.

Import Form Data kicks off the process by filling PDF forms with values from an external data source. Once the data is imported, Flatten Forms locks the data into the PDF, turns the document into a standard PDF for maximum compatibility, and makes forms no longer editable so that the data cannot be modified. Customize PDFs at scale with variable data added and protected in one, quick workflow.

Start from Code Examples

See more code examples in our GitHub repository

Customize Your Solution

Learn about the parameters for this tool to create your custom solution.

Data File

The data_file parameter lets you upload a file containing data to be imported into PDF form fields.

The format of your data file should match a valid file type based on the kind of PDF form in your document.

  • Acroform: .fdf, .xfdf, or .xml
  • XFA: .xdp, .xfd, or .xml

Generate a self-service API Key now!

Create your FREE API Key to start processing PDFs in seconds, only possible with pdfRest.