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