Skip to content

Document template · be.leave.leave_approval

Annual / Special Leave Approval (BE)

  • Render-verified
  • Official document
  • Version 1.0.0

Leave and absence documents: approvals, rejections, career break forms, parental leave notifications, temporary unemployment, and C3.2 cards.

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

Field Required Type Description
letter Required object
letter.place Required string
letter.date Required date
letter.language Required enum
letter.reference Optional string
employer Required object
employer.name Required string
employer.address Required string
employer.bce_number Required string
employer.vat_number Required string
employer.onss_number Required string
employer.joint_committee Optional string
employer.social_secretariat Optional object
employer.represented_by Optional object
employee Required object
employee.surname Required string
employee.given_name Required string
employee.address Required string
employee.national_register_number Required string NISS / Rijksregisternummer (format YY.MM.DD-NNN.CC).
employee.date_of_birth Optional date
employee.statut Optional enum
employee.function_title Optional string
employee.department Optional string
leave_request Required object
leave_request.type Required enum Type de congé : annuel (Loi 28.6.1971), circonstances (CCT 45 + Loi 4.1.1974), compensatoire, non-payé, autre.
leave_request.start_date Required date Premier jour de congé approuvé.
leave_request.end_date Required date Dernier jour de congé approuvé.
leave_request.total_days Required number Nombre total de jours ouvrables de congé approuvés.
leave_request.request_date Required date Date de la demande initiale du travailleur.
leave_request.circumstance_type Optional string Type d'événement si congé de circonstances (ex. mariage, naissance, décès).

+13 more fields — the full JSON Schema is available in the dashboard and via the API.

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": "be.leave.leave_approval",
    "data": { ... },
    "options": {"language": "en"}
  }' -o leave-approval.pdf

Frequently asked questions

What is “Annual / Special Leave Approval (BE)”?

Leave and absence documents: approvals, rejections, career break forms, parental leave notifications, temporary unemployment, and C3.2 cards. On papii this document is available as template be.leave.leave_approval: a JSON Schema plus a deterministic PDF renderer, so the same data always produces the same document.

Can I generate a Annual / Special Leave Approval (BE) 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 Annual / Special Leave Approval (BE) 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.