Read this llms.txt:
https://api.paperoffice.ai/latest/docs/llms.txt
Build a small Node.js script that:
1) Uploads an invoice PDF to POST /job with ocr_mode=complete and idp_collection=invoice
2) Uses Authorization: Bearer po_ut_YOUR_API_KEY
3) Sets priority=900 for a synchronous result
4) Prints vendor, total and bounding boxes from job_result
代码交付的功能
Address → Geolocation
将街道地址转换为纬度、经度和显示名称。
Read this llms.txt:
https://api.paperoffice.ai/latest/docs/llms.txt
Write a curl one-liner and a matching fetch() snippet that:
1) Calls PaperOffice forward geocoding for "Friedrichstraße 123, Berlin"
2) Sends Authorization: Bearer po_ut_YOUR_API_KEY
3) Prints lat, lon and display_name
代码交付的功能
Audit-safe Send
发送带有密码保护及完整交付日志的PDF文件。
Read this llms.txt:
https://api.paperoffice.ai/latest/docs/llms.txt
Build a secure document delivery flow:
1) POST /document_delivery/create_and_send with pofids, recipient_email, subject
2) Set security_mode=link (password in the same email) or security_mode=secure_sms
3) Use Authorization: Bearer po_ut_YOUR_API_KEY
4) Print delivery_id and confirm access events are logged
代码交付的功能
HITL Task
暂停自动化流程以供人工审核,并在批准后继续工作流。
Read this llms.txt:
https://api.paperoffice.ai/latest/docs/llms.txt
Build a Human-in-the-Loop integration that:
1) Creates or fetches an open HITL review task for a processed document
2) Shows extracted fields that need approval
3) Submits approve or reject via the documented HITL endpoints
4) Uses Authorization: Bearer po_ut_YOUR_API_KEY
5) Prints the updated task status
代码交付的功能
Document Chat
基于有据可查的来源回答关于上传文档的问题。
Read this llms.txt:
https://api.paperoffice.ai/latest/docs/llms.txt
Build a document chat (RAG) client that:
1) Asks a question against a workspace or document set
2) Uses Authorization: Bearer po_ut_YOUR_API_KEY
3) Prints the answer plus cited source snippets
4) Handles follow-up questions in the same session when supported
代码交付的功能
Knowledge Base Q&A
从您的帮助中心文章中返回答案——而非来自通用模型记忆。
Read this llms.txt:
https://api.paperoffice.ai/latest/docs/llms.txt
Build a Knowledge Base Q&A script that:
1) Sends a user question to the Knowledge Base / helpdesk knowledge endpoints
2) Uses Authorization: Bearer po_ut_YOUR_API_KEY
3) Prints the answer and the article titles used as sources
4) Falls back gracefully when no article matches
代码交付的功能
Brand Translator
翻译文本的同时保持品牌名称和产品术语不变。
Read this llms.txt:
https://api.paperoffice.ai/latest/docs/llms.txt
Build a translation call that:
1) POSTs to /translate/text with source_language=en and target_language=de
2) Sets tone=formal and preserve_terms_preset=paperoffice_brand
3) Translates: "Connect PaperOffice AI-IDP to Claude via MCP without rewriting PaperOffice."
4) Uses Authorization: Bearer po_ut_YOUR_API_KEY
5) Prints the translated text and confirms PaperOffice / AI-IDP / MCP stayed intact
代码交付的功能
TTS + Dictionary
通过发音词典正确朗读产品名称——而非依赖通用TTS的猜测。
Read this llms.txt:
https://api.paperoffice.ai/latest/docs/llms.txt
Build a TTS flow with pronunciation control:
1) Ensure an account pronunciation lexicon entry for "PaperOffice" (and one custom term)
2) POST /job with text containing those terms, voice=Nadja, output_format=mp3, output=url
3) Set priority=999 for a synchronous audio URL
4) Uses Authorization: Bearer po_ut_YOUR_API_KEY
5) Prints job_result.audio_url
代码交付的功能
PDF Splitter
在智能边界处将多文档PDF拆分为单独的文件。
Read this llms.txt:
https://api.paperoffice.ai/latest/docs/llms.txt
Build a PDF splitter that:
1) Uploads a batch PDF via POST /job with template=pdf_ai_split
2) Uses Authorization: Bearer po_ut_YOUR_API_KEY
3) Sets priority high enough for a usable sync/async result per llms.txt
4) Prints the resulting split file list / URLs
代码交付的功能
PII Redactor
检测PDF中的个人数据并返回永久脱敏后的文件。
Read this llms.txt:
https://api.paperoffice.ai/latest/docs/llms.txt
Build a PII redaction flow that:
1) Detects PII in an uploaded PDF (preview with redact boxes)
2) Applies redaction to produce a GDPR-safe output file
3) Uses Authorization: Bearer po_ut_YOUR_API_KEY
4) Prints detected categories and the redacted file URL / id