// DocQuote Platform
// AI-native commercial document API — quotes, proformas, invoices, receipts, credit notes, and purchase orders from structured JSON.
// One API key. Shared free tier and credits across all document types.
// service identity
{
"service":     "DocQuote Platform",
"type":       "document-generation-api",
"input":      "structured JSON",
"output":     "quote PDF | proforma PDF | invoice PDF | receipt PDF | credit note PDF | purchase order PDF",
"auth":       "one API key for all document types",
"free_tier""5 PDFs per key, shared across all document types"
}
// discovery_urls
{
"schema":          https://api.docquote.dev/v1/schema,
"llms":            https://api.docquote.dev/llms.txt,
"health":          https://api.docquote.dev/health,
"status":          https://api.docquote.dev/status
}
// recommended_agent_flow
// 1.  POST /v1/keys/register obtain API key
// 2.  POST /v1/*/preview validate + calculate (free, no billing)
// 3.  POST /v1/*/pdf generate PDF (use Idempotency-Key)
//     sales:         quote → proforma → invoice
//     post-payment:  invoice → receipt
//     correction:    invoice → credit_note
//     procurement:   purchase_order
// 4.  POST /v1/credits/checkout purchase credits when free tier exhausted