{"uid":"cap_4BXY_dQ0L_KyKG1W1wYDu","slug":"relaystation-invoice-pdf-generator-6869b005","name":"RelayStation Invoice PDF Generator","description":"$0.0002/call. Render a clean invoice PDF from structured JSON — line items, totals, branding. 1¢ x402 min; remainder auto-credits — relaystation.ai/penny","url":"https://api.relaystation.ai/v1/generate/invoice","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"properties":{}},"type":{"type":"string","const":"http"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_jmcynsXq67evIHVJMyrsp","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Renders a clean, branded invoice PDF from structured JSON containing line items, totals, and branding information","exampleAgentPrompt":"Generate a professional invoice PDF for my client Acme Corp — include two line items: 'Web Design' at $1,200 and 'Hosting Setup' at $300, with a total of $1,500, my company name 'Bright Studio', and invoice number INV-2024-042.","exampleUseCases":[{"title":"Freelancer billing a client","prompt":"Create an invoice PDF for my freelance client DataFlow Inc — line items are 'API Integration' for $2,500 and 'Code Review' for $500, total $3,000, my company is 'Dev by Marco', invoice number INV-055."},{"title":"SaaS subscription renewal invoice","prompt":"Render a branded invoice PDF for our SaaS customer TechStartup LLC — one line item: 'Pro Plan Annual Subscription' at $1,188, invoice number SUB-2024-007, billed from 'CloudBase Inc'."},{"title":"Agency end-of-month client statement","prompt":"I need to generate a PDF invoice for our agency client Summit Retail — three line items: 'Social Media Management' $800, 'Ad Copywriting' $400, 'Campaign Reporting' $200, total $1,400, from 'Apex Agency', invoice INV-AUG-2024-03."}],"resultDescription":"A rendered PDF file of a professional invoice, incorporating the provided line items, computed or supplied totals, and branding details such as company name and logo. The PDF is returned as binary content or a downloadable file suitable for sending to clients or archiving.","failureModes":["Malformed or missing JSON fields (e.g. absent line items array) returns a 400 validation error","Missing required branding or totals fields may produce an incomplete or rejected render","Overly large or complex invoice data may cause timeout or truncation","x402 payment failure or insufficient USDC balance prevents the call from executing","Invalid or unsupported currency symbols in line items may cause rendering errors"],"whenToPreferThis":"Choose this endpoint when you need a fast, programmatic, per-call invoice PDF generation without managing a full invoicing platform. It is ideal for agents automating billing workflows, freelancers generating one-off invoices, or SaaS products that need branded invoice PDFs on demand. At $0.0002/call (1¢ x402 minimum), it is cost-effective for both low and high invoice volumes.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T06:44:27.049Z","isFirstParty":false}