{"uid":"cap_bsORT_Evrrw5TV-YtSgk2","slug":"credit-note-pdf-generator-2c5aa8c9","name":"Credit Note PDF Generator","description":"Credit note PDF for refunds and corrections against an original invoice — real A4 accounting document with negative-line support and totals; credit note and refund slip API. Deterministic on-chain execution by the AmanChain node — live consensus state, real blocks, pools and balances. Pay per call via x402 (USDC on Base), no account, no API key. POST JSON {\"serviceId\":\"aman-credit-note\",\"request\":\"<input>\"}.","url":"https://amanchain-relay.gitajhd.workers.dev/api/x402/aman-credit-note","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"input":{"type":"object","properties":{"body":{"type":"object"}}},"output":{"type":"object","properties":{"example":{"type":"object","example":{"ok":true}}}}}},"responseSchema":{"type":"json"},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.004977","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","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.004977/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.004977","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.004977","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_p0_U2dxxjBZLQo8lfUzev","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.004977","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Generates a professional A4 credit note PDF with negative-line support, totals, and refund slip for accounting corrections against original invoices","exampleAgentPrompt":"Can you generate a credit note PDF for a refund of $150 against invoice INV-2024-0042, issued to Acme Corp, with two negative line items: a $100 refund on consulting services and a $50 refund on travel expenses?","exampleUseCases":[{"title":"Refund credit note for returned goods","prompt":"Generate a credit note PDF for a customer who returned 3 units of Product SKU-881 at $75 each — issue it against invoice INV-2024-0117 for Bright Retail Ltd and include negative line items totaling -$225."},{"title":"Billing correction against overpayment","prompt":"Create a credit memo PDF to correct an overcharge on invoice INV-2024-0089 for TechStart Inc — they were billed $500 too much on the software license line, so I need a credit note showing -$500 with the corrected totals."},{"title":"Partial refund slip for cancelled service","prompt":"I need an A4 credit note document for a partially cancelled service contract — client is Nova Consulting, original invoice INV-2024-0055, and the credit is -$320 for two months of unused service. Include a refund slip at the bottom."}],"resultDescription":"A rendered A4-format PDF credit note document containing negative line items, subtotals, tax adjustments, grand total credit amount, and a refund slip — suitable for formal accounting records and sending to customers as documentation of a credit or refund.","failureModes":["Malformed or missing request JSON body returns an error response","Invalid or incomplete credit note fields (e.g. missing recipient or line items) may produce a malformed document","Payment failure via x402/USDC prevents execution","Network timeout from the Cloudflare Workers relay","Unsupported currency or locale formats may not render correctly"],"whenToPreferThis":"Choose this endpoint when you need a formally formatted, printable A4 credit note PDF with negative-line item support and a refund slip — particularly for accounting workflows, accounts payable corrections, or customer-facing refund documentation. Prefer this over plain invoice generators when the document must represent a credit or negative amount against an existing invoice. It requires no account or API key, only a per-call USDC micropayment.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T18:45:25.973Z","isFirstParty":false}