PDF form filling API for financial services

Fill loan applications, credit agreements, account opening forms and tax forms with data from your platform. Map each PDF once, then generate documents from your code as each application comes in.

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

Trusted by teams in lending, insurance, property and healthcare

  • FlowEQ
  • Jones
  • Harvust
  • Northwoods
  • iENROLL by EMREACH
  • BloomerHealth
  • NOCD
  • Leeway

Financial paperwork you can automate

Lenders, leasing companies and investment platforms use DocSpring to turn application data into finished agreements and regulatory forms. Every value is checked against your template's schema before the PDF is generated, so a missing required value or a wrongly formatted one is caught before it reaches a signed agreement.

Loan applications

Fill the Uniform Residential Loan Application (Fannie Mae Form 1003) and your own credit applications from the data borrowers enter in your app.

SBA loan forms

Fill SBA Form 413 personal financial statements and SBA Form 1919 borrower information forms for each 7(a) loan application.

Loan, credit and lease agreements

Generate the agreement for each approved application with the customer's terms and payment schedule filled in, then collect their signature online.

Tax forms and transcript requests

Collect W-9, W-8BEN and W-8BEN-E forms during onboarding, and fill IRS Forms 4506-C and 8821 when you need a borrower's tax information.

Account opening and KYC

Fill account opening forms, KYC checklists and ACH authorizations from your onboarding flow, so every new customer has a complete record.

Investor documents

Generate subscription agreements, investor questionnaires and accredited investor certifications for each investor in a fund or deal.

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": {
    "applicant": {
      "name": "Maya Chen"
    },
    "date_of_birth": "1991-04-12",
    "employer": "Northwind Health",
    "annual_income": 74400,
    "loan_amount": 25000,
    "loan_purpose": "Home renovation",
    "credit_check": true
  }
}
From your app, a script or an AI agent
Your PDF template
Loan Application
Form LA-1
Applicant name
applicant.name
Date of birth
date_of_birth
Employer
employer
Annual income ($)
annual_income
Loan amount ($)
loan_amount
Loan purpose
loan_purpose
credit_check
signature
Applicant signature
Fields you set up once
Your filled-out PDF
Loan Application
Form LA-1
Applicant name
Maya Chen
Date of birth
04/12/1991
Employer
Northwind Health
Annual income ($)
74400.00
Loan amount ($)
25000.00
Loan purpose
Home renovation
I authorize a credit check
Sign here
Applicant signature
loan-application.pdf

Financial services form templates

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

IRS Form W-9

Use Form W-9 to provide your correct Taxpayer Identification Number (TIN) to the person who is required to file an information ...

IRS Form W-8BEN

Fill out Form W-8 BEN and give this form to the withholding agent or payer if you are a foreign person and you are the benefici...

IRS Form 4506-C: IVES Request for Transcript of Tax Return

Lenders and other IVES participants use Form 4506-C, signed by the taxpayer, to get transcripts of the taxpayer's returns from ...

Browse all financial services 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

Financial services FAQ

Read the documentation

Can I automate loan application PDFs like Fannie Mae Form 1003?

Yes. Upload the form, map its fields once in the template editor, and send the borrower's data as JSON to fill it. The same works for SBA forms, credit applications and your own lender-specific documents.

Can I fill flat loan documents that have no form fields?

Yes. Many loan agreements are flat PDFs exported from Word. DocSpring finds the fields on each page, you adjust them in the template editor, and DocSpring fills them at those exact positions. Fillable PDFs have their fields imported automatically.

How do borrowers sign loan agreements?

With signature requests. Each signer reviews the agreement in a hosted or embedded form and signs it, and the signed PDF includes an audit trail. An agreement can have several signers, such as a borrower and a co-borrower. DocSpring emails each signer their link, or your app sends the links and confirms who they are.

Can DocSpring handle complex multi-page forms with conditional fields?

Yes. A template can have any number of pages. Conditional logic shows, hides or requires fields based on other answers in web forms and signature requests, and the same rules are checked when you submit data through the API.

What happens if our data is incomplete or in the wrong format?

Every template has a JSON schema built from its fields. If a request is missing a required value or sends text where a number belongs, the API returns a validation error that names the field, and no PDF is generated.

Can we keep generating documents from an older version of an agreement?

Yes. Each time you publish a template it gets a new version, and API requests can ask for a specific version. You can update an agreement for new applications while older loans keep using the version they were signed under.

Can DocSpring generate thousands of documents a month?

Yes. A batch request can generate up to 50 PDFs, and each item in the batch can use a different template. Asynchronous requests send your app a webhook when each PDF is ready.

Is DocSpring secure enough for financial data?

DocSpring has completed a SOC 2 Type II audit, and you can request the report through our Trust Portal. Submission data is encrypted at rest with AES-256, and you choose US or EU data residency when you sign up. If your documents can never leave your own infrastructure, we also offer self-hosted enterprise licenses.

Upload your own financial forms

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

Product news by email

New features and changes, once a month.