Skip to content

Stop retyping data between documents

Send an invoice, a contract or an application. LogicSpoke PDF reads its fields into data, then fills them into your Word template to make the next document — two API calls, nothing typed twice.

The retyping this replaces

Someone opens one document, reads the fields that matter and types them into the next. It is slow, it does not grow with the work, and every copy is a chance to get a number wrong. The same work, done by two API calls.

Read, fill, done

  1. 1

    Read the source document

    Send a PDF or a Word file to /pdf/v1/pdf/parse/sync with one of the ten built-in schemas (an invoice, a contract, an ID document…) or your own. Scans are read too; identity and finance documents have their personal data redacted.

  2. 2

    Fill your template

    Call /pdf/v1/pdf/pipelines/extract-and-fill with that reading and a template's id. The fields it read become the template's tokens, with nothing to reshape.

  3. 3

    Get the PDF

    The second call answers with a job; when it is done, the PDF's link is ready to send, to file, or to hand to the next step of your work.

The two calls

extract-and-fill.sh
# 1. Read the source document (an invoice)
API=https://api.logicspoke.com/pdf/v1/pdf
AUTH="Authorization: Bearer $LOGICSPOKE_KEY"
curl -X POST $API/parse/sync -H "$AUTH" \
  -F "[email protected]" \
  -F "schemaId=sys_invoice"
# → { "id": "3f9a1c2e-…", "data": { … } }

# 2. Fill a template with what it read
curl -X POST $API/pipelines/extract-and-fill \
  -H "$AUTH" \
  -H "Content-Type: application/json" \
  -d '{ "sourceParseId": "3f9a1c2e-…",
    "targetTemplateId": "tmpl-a83f2c91" }'
# → { "jobId": "job-e19d…", "status": "pending" }

Ten schemas to start from

The common documents, ready to read. Need another? Send your own JSON schema with the request.

Invoice

Receipt

Bank statement

Contract

NDA

Resume / CV

Job application

ID document

Meeting notes

Expense report

Identity and finance documents (bank statements, ID documents) have their personal data redacted on every account — best-effort pattern matching, not a paid add-on.

What it costs

The fill costs a flat 1 credit on top of the PDF it makes. Reading is priced by the document's pages and whether it needs reading as images. Your first organization gets 500 credits to try the whole loop.

See the prices

Questions

What files can it read?

PDF and Word files, and scanned or photographed pages — a scan is read with OCR without you asking for it.

Do I need a template before I can fill one?

Yes: upload a Word file with {{token}} placeholders, or lay one out in the template builder. The field names it reads become your tokens.

Can my AI app do this instead of my code?

Yes. Reading a document and making a PDF are tools of the LogicSpoke PDF MCP connector, so Claude, ChatGPT, Cursor or another MCP app can run the loop for you. How to connect it.

Try it on your own documents

500 free credits for your first organization, no card needed.

Start with 500 free credits