Teamleader · Schema
PostInvoicesDraftRequest
CRMInvoicingProject ManagementSoftware-as-a-ServiceSmall Business
Properties
| Name | Type | Description |
|---|---|---|
| invoicee | object | |
| department_id | string | |
| payment_term | object | |
| currency | object | |
| project_id | string | |
| purchase_order_number | string | |
| quotation_id | string | Links the created invoice to the source quotation and its deal, marking the deal as won. |
| grouped_lines | object | |
| invoice_date | string | |
| discounts | object | |
| note | string | This is the remarks field |
| invoice_content | string | Whether the invoice is for goods, services, or both. Required when the department and the customer's invoicing address are both in France and the account sends invoices via Peppol from France. Cleared |
| expected_payment_method | object | |
| custom_fields | object | |
| document_template_id | string | |
| delivery_date | string |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/teamleader/main/json-schema/teamleader-post-invoices-draft-request-schema.json",
"title": "PostInvoicesDraftRequest",
"x-generated": "2026-09-22",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/teamleader-openapi-generated.yml#/components/schemas/PostInvoicesDraftRequest",
"type": "object",
"properties": {
"invoicee": {
"type": "object"
},
"department_id": {
"type": "string"
},
"payment_term": {
"type": "object"
},
"currency": {
"type": "object"
},
"project_id": {
"type": "string"
},
"purchase_order_number": {
"type": "string"
},
"quotation_id": {
"type": "string",
"description": "Links the created invoice to the source quotation and its deal, marking the deal as won."
},
"grouped_lines": {
"type": "object"
},
"invoice_date": {
"type": "string"
},
"discounts": {
"type": "object"
},
"note": {
"type": "string",
"description": "This is the remarks field"
},
"invoice_content": {
"type": "string",
"description": "Whether the invoice is for goods, services, or both. Required when the department and the customer's invoicing address are both in France and the account sends invoices via Peppol from France. Cleared otherwise."
},
"expected_payment_method": {
"type": "object"
},
"custom_fields": {
"type": "object"
},
"document_template_id": {
"type": "string"
},
"delivery_date": {
"type": "string"
}
},
"required": [
"invoicee",
"department_id",
"payment_term",
"grouped_lines"
]
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/teamleader-post-invoices-draft-request"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.