{"ok":true,"data":{"service":"platphorm-invoices","title":"PlatPhorm Invoices","purpose":"Invoice customers first, then automate customer follow-up, assessments, reporting, and cross-site handoffs for solo-preneurs.","auth":{"backendServiceKey":"PLATPHORM_API_KEY","acceptedHeaders":["Authorization: Bearer $PLATPHORM_API_KEY","X-PlatPhorm-API-Key: $PLATPHORM_API_KEY"],"publicOperatorMode":"Public invoice endpoints are open in this environment; backend service-to-service calls use PLATPHORM_API_KEY and report protected_required or failed when unavailable."},"persistence":{"status":"ready","mode":"vercel_blob","path":"state/invoice-store.json","updatedAt":"2026-06-30T03:57:53.150Z","message":"Invoice state is persisted as a private JSON document in Vercel Blob."},"routes":[{"method":"GET","path":"/api/health","status":"supported"},{"method":"GET","path":"/api/v1/health","status":"supported"},{"method":"GET","path":"/api/docs","status":"supported"},{"method":"GET","path":"/openapi.yaml","status":"supported"},{"method":"GET","path":"/llms.txt","status":"supported"},{"method":"GET","path":"/llms-full.txt","status":"supported"},{"method":"GET","path":"/llms-index.json","status":"supported"},{"method":"GET","path":"/robots.txt","status":"supported"},{"method":"GET","path":"/sitemap.xml","status":"supported"},{"method":"GET","path":"/sitemap-index.xml","status":"supported"},{"method":"GET","path":"/rss.xml","status":"supported"},{"method":"GET","path":"/feed.xml","status":"supported"},{"method":"GET","path":"/manifest.webmanifest","status":"supported"},{"method":"GET","path":"/.well-known/mcp.json","status":"supported"},{"method":"GET","path":"/.well-known/agents.json","status":"supported"},{"method":"GET","path":"/.well-known/ai-plugin.json","status":"supported"},{"method":"GET","path":"/.well-known/security.txt","status":"supported"},{"method":"GET","path":"/.well-known/trust.json","status":"supported"},{"method":"GET","path":"/api/mcp","status":"supported"},{"method":"POST","path":"/api/mcp","status":"supported"}],"mcp":{"endpoint":"/api/mcp","tools":[{"name":"list_invoices","description":"List saved invoices with customer, status, due date, and totals.","inputSchema":{"type":"object","properties":{"status":{"type":"string","enum":["draft","sent","viewed","overdue","paid","writeoff"]}},"additionalProperties":false}},{"name":"get_invoice","description":"Read one invoice by id or invoice number.","inputSchema":{"type":"object","properties":{"id":{"type":"string"}},"required":["id"],"additionalProperties":false}},{"name":"create_invoice_draft","description":"Create a saved draft invoice. Local development writes JSON; deployed environments write a private Vercel Blob JSON document.","inputSchema":{"type":"object","properties":{"customerName":{"type":"string"},"contactName":{"type":"string"},"email":{"type":"string"},"description":{"type":"string"},"amountCents":{"type":"number"},"dueInDays":{"type":"number"}},"required":["customerName","description","amountCents"],"additionalProperties":false}},{"name":"create_invoice_preview","description":"Create a public invoice preview from customer and line item inputs; no durable write is performed.","inputSchema":{"type":"object","properties":{"customerName":{"type":"string"},"description":{"type":"string"},"amountCents":{"type":"number"}},"required":["customerName","description","amountCents"],"additionalProperties":false}},{"name":"create_invoice_action","description":"Create a persisted invoice action artifact: reminder copy, payment plan, or paid receipt.","inputSchema":{"type":"object","properties":{"id":{"type":"string","description":"Invoice id or invoice number."},"action":{"type":"string","enum":["reminder","payment_plan","receipt"]}},"required":["id","action"],"additionalProperties":false}},{"name":"get_platform_status","description":"Return route, discovery, integration, and persistence status.","inputSchema":{"type":"object","properties":{},"additionalProperties":false}}],"resources":[{"uri":"platphorm-invoices://command-center","name":"Command center snapshot","description":"Invoice, customer, automation, integration receipt, and platform state.","mimeType":"application/json"},{"uri":"platphorm-invoices://trust-policy","name":"Trust policy","description":"Public/protected boundary and platform integration policy.","mimeType":"application/json"}],"prompts":[{"name":"solo_preneur_collections_plan","description":"Draft a polite invoice collections plan from the current unpaid invoice state.","arguments":[{"name":"tone","description":"Tone to use with the customer.","required":false}]}]},"trustPolicy":"Web dashboard, public-safe discovery, browser-based operations, trusted-domain discovery, standard route compliance, Vercel metadata capture, trace inspection, and agentic workflow discovery are intentionally supported for public read-only debugging and operator workflows. Mutating, administrative, ingestion, replay, fork, remediation, deployment, sync, test-triggering, reporting, and write actions require PLATPHORM_API_KEY."}}