- READY
- DATA
- CHOICE
- REVIEW
Short answer
How can I turn JSON into a PDF invoice?
Your AI maps JSON fields to a pre-built template to create a branded PDF. You'll get a finished document ready for use. Here is how the process works.
The results of this task.
What you get from your AI.
The AI handles the formatting so you don't have to.
READY
Branded PDF files
The AI produces a finished document using your chosen template. You get a professional file ready for your clients.
DATA
Automated field mapping
Your AI reads the JSON and places values into the correct template slots. This removes the need for manual data entry.
CHOICE
Template selection
You can pick from several layouts. The AI selects the best fit based on your instructions.
REVIEW
Human oversight
The AI builds the file, but you stay in control. You check the final PDF to ensure everything looks right.
The workflow
What your AI does when the data arrives.
The AI manages the transition from raw data to a visual document.
Find a template
The AI checks the available Docamatic layouts to find a design that matches your needs.
list_available_builtin_templatesMap JSON data
The AI prepares your raw data to fit the specific fields of the chosen template.
generate_pdf_from_templateGenerate PDF
The tool merges your data into the template to create the final document.
generate_pdf_from_templateDeliver file
The AI completes the task and provides the finished PDF for you to use.
generate_pdf_from_template
Try it
Copy these to start.
Use these prompts to trigger the invoice generation.
Starting points
These are opening lines. Swap out the bracketed text for your actual JSON or specific template names.
Docamatic Connector
You're all set. Choose your MCP client and follow the setup instructions.
https://edge.vinkius.com/vk_preview_SFDiBB060mRFQZiKrU88CZvsCOjhtbb8OaZ0KisC/mcpClaude Desktop
Follow the steps below to connect in seconds.
- 1In Claude Desktop, open Settings → Connectors.
- 2Click “Add custom connector” and paste the connector link above as the remote MCP server URL.
- 3Click Add and start a new chat — Docamatic capabilities are ready to use.
{
"mcpServers": {
"docamatic-mcp": {
"url": "https://edge.vinkius.com/vk_preview_SFDiBB060mRFQZiKrU88CZvsCOjhtbb8OaZ0KisC/mcp"
}
}
}Use Docamatic to turn this JSON into an invoice: [paste JSON here]
List all the available templates in Docamatic.
Generate a PDF invoice using the 'Professional' template from this data: [paste JSON here]
Find a suitable Docamatic template for this customer data: [paste JSON here]
Claude
ChatGPT
Cursor
VS Code
Windsurf
Claude Code
JetBrains
Cline
Start here
Connect Docamatic once, then ask.
Connect your client to the MCP with one click. Your login stays encrypted, and you can start generating files immediately.
Connect Docamatic to your AIFAQ
How this task behaves.
- 01
Can the AI design a brand new template from scratch?
No. The AI can only use the templates available through the Docamatic tool.
- 02
Will the AI change my original JSON data?
No. The AI only reads the data to build the PDF; it doesn't touch your source files.
- 03
Can the AI email the invoice to my customer?
No. The AI generates the PDF file, but you have to send it yourself.
- 04
Does the AI handle the math for the invoice totals?
The AI uses the numbers provided in your JSON. It doesn't perform independent calculations outside of what is in the data.
- 05
Can I use custom CSS for the invoices?
No. You are limited to the pre-built templates provided by the tool.
More questions about Docamatic? The Connector page answers them. See everything the Docamatic Connector can do
Connect Docamatic to Claude, Cursor, ChatGPT & more
