Terms of Service Template v1
Contract Terms of Service Template v1
This is a public template with which you can create your own contract or terms of service document.
Info
Information to call the Terms of Service Template v1
API End Point:
https://api.advicement.io/v1/templates/pub-terms-of-service-v1/compile
Authentication:
Use your API Security Token (which is generated in your dashboard) in the Adv-Security-Token header parameter
Refer to our authentication guide for more information.
Uses Luatex:
FALSE
Uses Charts:
FALSE
Available On:

JSON to PDF Terms of Service Template

A JSON to PDF template for terms of service or contract is a tool that allows users to generate legally binding documents that outline the terms and conditions of a business transaction between a seller and a buyer. The JSON data contains the necessary values and variables that are used to populate the template, which is then converted into a PDF.

Use Cases for Terms of Service Template

One of the most common use cases for this tool is in legal or professional services, where companies need to issue contracts to their clients for services provided. The JSON data could include information such as the client's name, the services being provided, the duration of the contract, the fees or payments, and any other relevant details or clauses. This data would be used to populate a template that is designed to display the contract information in a clear and organized manner.

Another potential use case would be in the e-commerce industry, where online retailers need to provide terms of service to their customers before they make a purchase. The JSON data could contain information such as the customer's name, the product being sold, the terms of the sale, and any other relevant details or clauses. This data would be used to populate a template that is designed to display the terms of service information in a clear and easy-to-understand manner.

A JSON to PDF template for creating contracts or terms of service could also be useful for businesses that offer subscription-based services or recurring billing, where customers are required to agree to the terms of the service or contract before they sign up. The JSON data could include information such as the subscription plan, the billing period, the fees or payments, and any other relevant details or clauses. This data would be used to populate a template that is designed to display the contract or terms of service information in a clear and easy-to-understand manner.

Key Takeaways

Overall, a JSON to PDF template that generates contracts or terms of service can be a powerful tool for automating the document generation process and ensuring consistency in the formatting of the resulting PDFs. By using a template that is designed to display contract or terms of service information in a clear and organized manner, users can create professional-looking documents that are easily customizable with JSON data.

{ "documentSettings": { "font": "open sans", "fontColourHEX": "444444", "logo": "iVBORw0KGgoAAAANSUhEUgAAAMgAAAAyCAYAAAAZUZThAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAEnQAABJ0BfDRroQAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAABDKSURBVHic7Z3p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1dz02cgkUEmnix3ucAPuvdFRe2GUjeL7TKHwAOQBes5AkI6EoyHIDlTksRENCVULLMAeRCp+UICOhKCD7mCKFvdlqOgIBuhFL/R5xvrv0QwM1OCxMQ0GXMWSntTe7ChQsOgD/utDQBAd0ER+kfXrr0ap4HgOXFG5dHDh+NAuR0pwULCOg85Lvnz73zV0BZN+/kkPYKofhe54QKCOg8FPjzySHlT3a3q2ruj3zlqW9SSv4MwNQ9lSwgoLPc5Cj9zkfn3n29fGfNppSZmTNSOKH/KgfyHAV5CISOIfjvogM+Xxig5A4l9AIB3qDZtTd34nGG/wdeiOyeG+9arQAAAABJRU5ErkJggg==", "logoType": "png", "logoHeightTitlePage": "2cm", "logoHeightHeader": "1cm" }, "documentContent": { "title": "TERMS OF SERVICE", "date": "1 January 2021", "preparedFor": "John Smith", "createdBy": "Company A", "body": [ { "type": "heading", "content": "Terms of Service", "order": 2, "isLatex": false }, { "type": "paragraph", "content": "This Consulting Contract (this “Agreement” or this “Consulting Contract”), effective as of 01 February 2021, (“Effective Date”) is made by and between ABC Company Pty Ltd, a company organized and existing in Cape Town, South Africa, with offices located at xx% Long Street (“Company”) and XYZ Company Pty Ltd, a company organized and existing in Sandton, South Africa, with offices located at xx Rivonia Road (“Consultant”).", "order": 3, "isLatex": false }, { "type": "section", "content": "Introduction", "order": 4, "isLatex": false }, { "type": "paragraph", "content": "Company hereby engages Consultant and Consultant agrees to render at the request of Company, independent consulting services (“Services”) as set forth in the Statement of Work at Attachment 1 and other statements of work which may be added hereto by way of modification to this Agreement (“Statement of Work”), all of which are incorporated herein and form a part hereof. Services shall be ordered by the Company’s issuance of purchase orders that incorporate this Agreement by reference and / or statements of work that incorporate this Agreement by reference or are otherwise added to this Agreement by way of modification hereto. Consultant shall provide the Services in a diligent and professional manner and in no event later than any scheduled completion dates set forth in the Statement of Work or the terms of any purchase order. Time is of the essence for this Agreement and any purchase orders and / or statements of work issued hereunder.", "order": 5, "isLatex": false }, { "type": "newpage", "order": 5.5 }, { "type": "section", "content": "Compensation \\& Travel", "order": 6, "isLatex": true }, { "type": "paragraph", "content": "Travel must be authorized by Company prior to any anticipated reimbursable travel. Reimbursement for reasonable and actual expenses shall be made in accordance with the following rates:", "order": 5, "isLatex": false }, { "type": "enumerate", "content": [ "Air travel – Lowest unrestricted coach fare", "Rented Automobile – Compact Type, unless not practical", "Miscellaneous Expense – Actual and reasonable pre-approved costs that are directly and reasonably required for performance of the Services.", "Alcohol and most entertainment costs are NOT allowable expenses, will not be reimbursed by Company and shall not be included in any manner in any invoice submitted hereunder" ], "order": 7, "isLatex": false }, { "type": "section", "content": "Miscellaneous", "order": 9 }, { "type": "itemize", "content": [ "ZAR 1 000 000 for injuries or death to any one person;", "ZAR 1 000 000 for injuries or death(s) from any one accident; and", "ZAR 1 000 000 for damage to property." ], "order": 9.5, "isLatex": false }, { "type": "subsection", "content": "Other Considerations", "order": 10, "isLatex": false }, { "type": "paragraph", "content": "% If any provision of this Agreement shall be held to be invalid or unenforceable, such provision shall be stricken and the remainder of the Agreement shall remain in full force and effect to accomplish the intent and purpose of the parties. The parties agree to negotiate the severed provision to bring the same within the applicable legal requirements to the extent possible.", "order": 10.5, "isLatex": false }, { "type": "subsubsection", "content": "Governing Law", "order": 11, "isLatex": false }, { "type": "paragraph", "content": "The validity, interpretation and/or enforcement of this Agreement shall be governed by the laws of Republic of South Africa.", "order": 12, "isLatex": false } ] } }

documentSettings - A JSON object which contains the settings of the template (font, fontColourHEX, logo, logoType, logoHeightTitlePage, logoHeightHeader).

font - An optional string which contains the font of the document. Possible options are: 'helvetica', 'avant garde', 'sans serif', 'charter', 'open sans', 'bera', 'venturis', 'raleway'

fontColourHEX - An optional string which contains the font colour of the document.

logo - A required string which contains base64 encoded jpg or png image of your company logo.

logoType - A required string which contains the type of logo image. Possible options are: 'jpg' or 'png'.

logoHeightTitlePage - A required string which contains the height of the logo for the title page.

logoHeightHeader - A required string which contains the height of the logo for the header on each page.

documentContent - A JSON object which contains the content of the template (title, date, preparedFor, createdBy, body).

title - An optional string which contains the title of the document for the title page.

date - An optional string which contains the date of the document for the title page.

preparedFor - An optional string which contains the subtext for the title page.

createdBy - An optional string which contains the subtext for the title page.

body - An optional array of JSON objects which contains the body for the document.

type - A required string which contains the type of text for the body of the document. Possible options are: 'heading', 'section', 'subsection', 'subsubsection', 'paragraph', 'newpage', 'enumerate', 'itemize'

content - A required string or array of strings which contains the text for the body of the document.

order - A required number which determines the order of the text.

isLatex - A required boolean which determines whether the content contains LaTeX functions. This is useful if one needs to make text bold for example. Note that to use this funcionality one needs to use double backslash ('\') to write a single backslash.