Skip to content

Document template · generic.legal.service_agreement

Service Agreement

  • Render-verified
  • Legal-sensitive
  • Version 1.0.0

Common legal documents for business relationships: service agreements, NDAs, rental agreements, and employment offers.

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

Field Required Type Description
provider Required object
provider.name Required string
provider.address Required string
provider.registration_number Optional string
provider.email Required string
provider.phone Optional string
client Required object
client.name Required string
client.address Required string
client.contact_person Optional string
client.email Optional string
agreement Required object
agreement.title Optional string
agreement.date Required string
agreement.start_date Required string
agreement.end_date Optional string
agreement.reference Optional string
scope Required array of string
compensation Required object
compensation.rate Required string
compensation.rate_type Required enum
compensation.currency Optional string
compensation.payment_terms Optional string
compensation.invoicing_frequency Optional string
clauses Required array of object
clauses[].title Required string
clauses[].content Required string
signatures Required object
signatures.provider_name Required string
signatures.client_name Required string

+1 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": "generic.legal.service_agreement",
    "data": { ... },
    "options": {"language": "en"}
  }' -o service-agreement.pdf

Frequently asked questions

What is “Service Agreement”?

Common legal documents for business relationships: service agreements, NDAs, rental agreements, and employment offers. On papii this document is available as template generic.legal.service_agreement: a JSON Schema plus a deterministic PDF renderer, so the same data always produces the same document.

Can I generate a Service Agreement 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 Service Agreement 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.