Skip to content

Document template · generic.correspondence.invitation

Formal Invitation

  • Render-verified
  • Informational
  • Version 1.0.0

Formal invitation to an event: event name, date, time, venue, dress code, format, purpose, optional agenda, RSVP deadline and contact, plus signatory.

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 29 fields:

Field Required Type Description
host Required object
host.name Required string
host.address Required string
guest Required object
guest.name Required string
guest.address Required string
invitation_date Required date
event Required object
event.name Required string
event.date Required date
event.start_time Required string
event.end_time Optional string
event.venue_name Required string
event.venue_address Required string
event.dress_code Optional string
event.format Optional enum
purpose Required string
agenda Optional array of object
agenda[].time Required string
agenda[].description Required string
rsvp Required object
rsvp.deadline Required date
rsvp.contact_name Required string
rsvp.contact_email Required string
rsvp.contact_phone Optional string
additional_information Optional string
signatory Required object
signatory.name Required string
signatory.role Required string

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.correspondence.invitation",
    "data": { ... },
    "options": {"language": "en"}
  }' -o invitation.pdf

Frequently asked questions

What is “Formal Invitation”?

Formal invitation to an event: event name, date, time, venue, dress code, format, purpose, optional agenda, RSVP deadline and contact, plus signatory. On papii this document is available as template generic.correspondence.invitation: a JSON Schema plus a deterministic PDF renderer, so the same data always produces the same document.

Can I generate a Formal Invitation 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 Formal Invitation 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.