Service Level Agreement
Template Overview
- Template ID:
service-level-agreement - Version: 2.0.0
To generate this document, pass the structured data described below into the data property of the /api/v1/documents/generate endpoint.
Data Payload Schema
| Field | Type | Requirement | Description & Details |
|---|---|---|---|
parties | array of objects | Yes | The entities entering into the agreement. Must contain exactly 2 entities. Uses the standard Parties Schema with one additional required field: • definition (string): Must be either "Service Provider" or "Client". |
duration | string | No | The duration of this engagement in months (e.g., "12"). |
renewalClause | boolean | No | If true, includes a clause for the contract to automatically renew once the term ends. |
serviceProviderObligations | array of strings | No | A list of specific obligations and responsibilities of the Service Provider. |
clientObligations | array of strings | No | A list of specific obligations and responsibilities of the Client. |
dispute | boolean | No | Determines how disputes are solved. Values: true (By Arbitration), false (By the court). |
governingLaw | string | Yes | The legal jurisdiction whose laws govern the agreement. Must be a valid country string from the Supported Countries list. |
contactName | string | No | Full name of the designated contact person for the Client. |
contactRole | string | No | The contact person's relationship or job title with the Client (e.g., "Chief Procurement Officer"). |
contactEmail | string | No | The email address for the Client's designated contact. |
services | array of strings | No | A list of services to be provided by the Service Provider. |
currency | string | No | The currency of payment. Options: "NGN", "USD", "GBP", "ZAR", "Others" |
customCurrency | string | Conditional | The custom currency identifier. Required if currency is set to "Others". |
breakdown | boolean | No | If true, uses a detailed Work Breakdown Structure (WBS) for billing. If false, uses a flat fee structure. |
serviceAmount | string | Conditional | The flat Service Fee Amount. Required if breakdown is false. |
payable | string | Conditional | The number of days after presentation of an invoice that fees are payable. Required if breakdown is false. |
workBreakdown | array of objects | Conditional | The detailed Work Breakdown Structure. Required if breakdown is true.Object fields: • task (string): Milestone/Task Name• timeline (string): Time period to complete (e.g., "2 weeks")• fee (number): Cost for this specific milestone |
totalFee | number | Conditional | The total calculated fee for all milestones combined. Required if breakdown is true. |
Example JSON Payload
Here is an example of a properly formatted data object for the Service Level Agreement template, utilizing the Work Breakdown Structure (breakdown: true) for billing.
{
"templateId": "service-level-agreement",
"data": {
"parties": [
{
"definition": "Client",
"isCompany": true,
"rcName": "Globex Corporation",
"rcAddress": "404 Innovation Drive, London",
"rcCountry": "United Kingdom",
"rcNumber": "09876543",
"type": "Public Company limited by shares"
},
{
"definition": "Service Provider",
"isCompany": false,
"fullName": "Joshua",
"address": "12 Developer Way, Lagos",
"rcCountry": "Nigeria"
}
],
"duration": "6",
"renewalClause": false,
"serviceProviderObligations": [
"Maintain a 99.9% uptime for the API services.",
"Provide technical support within 24 hours of a logged ticket."
],
"clientObligations": [
"Provide necessary API keys and access to staging environments.",
"Review and approve milestone deliverables within 3 business days."
],
"dispute": true,
"governingLaw": "Nigeria",
"contactName": "Jane Doe",
"contactRole": "Chief Technology Officer",
"contactEmail": "jane.doe@globex.com",
"services": [
"Backend API Development",
"Database Optimization",
"Infrastructure Monitoring"
],
"currency": "USD",
"breakdown": true,
"workBreakdown": [
{
"task": "Database Migration & Setup",
"timeline": "2 weeks",
"fee": 5000
},
{
"task": "API Endpoint Optimization",
"timeline": "4 weeks",
"fee": 8500
}
],
"totalFee": 13500
},
"format": "pdf"
}
