Automate new hire paperwork with a PDF API

Fill I-9s, W-4s, state withholding forms and the rest of your onboarding packet with data from your HRIS or applicant tracking system. New hires check their details and sign online.

  • No credit card needed
  • Free test PDFs
  • 9.8ยข per PDF on Starter

Trusted by teams in lending, insurance, property and healthcare

  • Harvust
  • Jones
  • Northwoods
  • iENROLL by EMREACH
  • BloomerHealth
  • FlowEQ
  • NOCD
  • Leeway
DocSpring's simple API and client library was fast to integrate, flexible to our needs, and well documented. Using your service has allowed Harvust to iterate faster and deliver the best product to our growers.
James Christopher Hall Founder & CEO, Harvust

Onboarding paperwork you can automate

HR and payroll platforms use DocSpring to turn onboarding data into completed forms. Every new hire gets the same correct paperwork, filled from the details they've already given you.

Form I-9

New hires fill in and sign Section 1 of Form I-9 online, then your team adds the Section 2 details after checking their documents.

Federal and state W-4s

Fill the federal W-4 and state forms like California's DE 4, Illinois IL-W-4, New York IT-2104 and Wisconsin WT-4.

Direct deposit

Fill direct deposit authorization forms with each employee's bank details.

Benefits and background checks

Fill benefits enrollment forms, background check authorizations and state new hire reports with each employee's details.

Offer letters and agreements

Generate offer letters, employment agreements and handbook acknowledgements from your own templates, in bulk or one at a time.

Contractor onboarding

Collect a signed W-9 from each contractor and keep the PDF with their record.

How it works

Send your data as JSON from your app. DocSpring checks it, fills your PDF template and sends back the finished PDF.

Your JSON data
POST /api/v2/templates/{template_id}/submissions
{
  "data": {
    "employee": {
      "name": "Maya Chen"
    },
    "start_date": "2026-11-02",
    "job_title": "Clinic Manager",
    "department": "Operations",
    "employer": "Northwind Health",
    "annual_salary": 74400,
    "direct_deposit": true
  }
}
From your app, a script or an AI agent
Your PDF template
New Hire Form
Form NH-4
Employee name
employee.name
Start date
start_date
Job title
job_title
Department
department
Employer
employer
Annual salary ($)
annual_salary
direct_deposit
signature
Employee signature
Fields you set up once
Your filled-out PDF
New Hire Form
Form NH-4
Employee name
Maya Chen
Start date
11/02/2026
Job title
Clinic Manager
Department
Operations
Employer
Northwind Health
Annual salary ($)
74400.00
Enroll in direct deposit
Sign here
Employee signature
new-hire-form.pdf

HR and onboarding form templates

Ready-made templates for common forms, set up and ready to fill.

IRS Form W-4: Employee's Withholding Certificate

Employees fill in Form W-4 so their employer withholds the right amount of federal income tax from their pay. This template cov...

Form I-9: Employment Eligibility Verification (Section 1)

New employees complete Section 1 of Form I-9 by their first day of work to confirm their identity and that they're authorized t...

IRS Form W-2: Wage and Tax Statement (Copies B, C and 2)

Employers give each employee a Form W-2 with the year's wages and the taxes withheld. This template has the employee's copies: ...

Browse all HR and onboarding forms

AI sets up your fields

Upload a PDF form and DocSpring sets up the template for you. You review every field in the editor before you publish.

  • Finds the fields on flat PDFs, not just fillable forms
  • Gives each field a clear name and data type
  • Adds conditional logic, required fields and totals
How automatic field detection works

Works with your code and your tools

API and SDKs

A REST API with official SDKs in ten languages, from Ruby and Python to Go and Rust.

Hosted web forms

Share a template's web form as a link or embed it on your site. Each submission fills the PDF.

E-signatures

Send a filled PDF to be checked and signed online. Every signed PDF includes an audit trail.

Webhooks and no-code

Webhooks tell your app when a PDF is ready. Or connect Zapier, Make, n8n or your own S3 bucket.

See all integrations

Security and compliance

SOC 2 Type II

Independently audited controls for security and availability.

HIPAA

HIPAA compliant, and we sign a BAA on every paid plan.

GDPR

A data processing agreement, and a full list of our subprocessors.

US or EU hosting

Choose the region your account and its documents are stored in.

Security at DocSpring

HR and onboarding FAQ

Read the documentation

Can I fill I-9 and W-4 forms automatically from our HRIS or ATS?

Yes. Your system sends the employee's details to the API as JSON, and DocSpring fills each form and returns a PDF. For Form I-9, the new hire completes and signs Section 1 themselves in a signature request. You can map the official IRS and USCIS PDFs yourself, or start from the templates in our library.

Can new hires complete and sign onboarding forms online?

Yes, with signature requests. The new hire opens a hosted or embedded form, fills in anything you don't already have and signs. DocSpring fills the PDF and adds an audit trail. DocSpring emails the new hire their link, or your app sends it and decides who can open it.

Can I generate a whole onboarding packet as one PDF?

Yes. Fill each form with the employee's data, then combine the filled PDFs into a single packet. Each document that needs a signature is signed separately before you combine them.

Do you support state withholding forms?

Yes. State forms such as the California DE 4, Illinois IL-W-4 and New York IT-2104 are PDFs like any other. Upload the ones you need and map them once, the same way as the federal W-4.

What happens when the IRS releases a new W-4?

Upload the new edition to the same template and adjust any fields that moved. If the field names stay the same, your code keeps working without changes.

Can forms be filled in English and Spanish?

Yes. Many employers keep an English and a Spanish version of each form. Both can be filled from the same JSON data, so each new hire gets the version they can read.

Can I generate offer letters and employment agreements in bulk?

Yes. Upload your existing letter as a Word document or a PDF, build it in the Page Designer, or write it as an HTML template, then send up to 50 documents in each batch request. Each letter gets the right name, role, salary and start date from your data.

Is employee data kept secure?

DocSpring has completed a SOC 2 Type II audit. Submission data, including Social Security numbers and bank details, is encrypted at rest with AES-256, and you can set a template to delete submission data and generated PDFs automatically after a set time.

Upload your own onboarding forms

Test PDFs are free and unlimited. No credit card needed.

Product news by email

New features and changes, once a month.