Skip to content

Document template · generic.business.rma_return_authorization

RMA — Return Merchandise Authorization

  • Render-verified
  • Commercial
  • Version 1.0.0

Country-agnostic Return Merchandise Authorization (RMA) issued by a supplier to a customer. B2C cross-border callers in the EU should cross-check the right-of-withdrawal rules of Dir. 2011/83/EU (Art. 9–16); B2B falls under negotiated contract terms.

JSON Schema

Fields in this template

Data sent to the API is validated against the template’s JSON Schema before anything is rendered. This template defines 28 fields:

Field Required Type Description
issuer Required object
issuer.name Required string
issuer.address Required string
issuer.vat_id Optional string
issuer.contact_email Required string
customer Required object
customer.name Required string
customer.address Required string
customer.account_number Optional string
customer.contact_person Optional string
rma_number Required string
issue_date Required date
original_order_reference Required string
original_invoice_reference Optional string
items Required array of object
items[].sku Required string
items[].description Required string
items[].quantity Required number
items[].reason Required enum
items[].condition Required enum
items[].reason_detail Optional string Optional free text expanding on the reason code.
authorized_action Required enum
return_shipping_instructions Required string
expiry_date Required date Date after which the RMA is void if goods have not been shipped back.
signatory Optional object
signatory.name Required string
signatory.role Required string
signatory.date Optional date

POST /render

Generate it

One POST /render call: send your JSON, get the finished PDF back. Or skip the JSON entirely and describe the document in plain language on chut.app.

curl
curl -X POST https://api.papii.eu/render \
  -H "X-API-Key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "template": "generic.business.rma_return_authorization",
    "data": { ... },
    "options": {"language": "en"}
  }' -o rma-return-authorization.pdf

Frequently asked questions

What is “RMA — Return Merchandise Authorization”?

Country-agnostic Return Merchandise Authorization (RMA) issued by a supplier to a customer. B2C cross-border callers in the EU should cross-check the right-of-withdrawal rules of Dir. 2011/83/EU (Art. 9–16); B2B falls under negotiated contract terms. On papii this document is available as template generic.business.rma_return_authorization: a JSON Schema plus a deterministic PDF renderer, so the same data always produces the same document.

Can I generate a RMA — Return Merchandise Authorization with AI?

Yes. chut.app — the AI back office papii powers — fills this template from a plain-language description: you describe the document in one sentence, the AI structures the data, papii validates it against the schema and renders the PDF. Developers can also call the papii API directly with structured JSON.

Is the RMA — Return Merchandise Authorization template legally compliant?

This template is render-verified: its schema, sample data and PDF output are automatically tested on every release. It is published with status “ready”, meaning it has not yet been through papii’s final legal review. Where it references specific legislation, that is stated in the template description — always have a professional check documents with legal effect before relying on them.