@teamleader/focus-api-specification 1.207.0 → 1.209.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -3,7 +3,7 @@ info:
|
|
|
3
3
|
title: Teamleader API
|
|
4
4
|
description: This is the documentation of the Teamleader Focus API. If you have any feedback, or are you missing functionality to support your use case? Let us know via [api@teamleader.eu](mailto:api@teamleader.eu).
|
|
5
5
|
contact: {}
|
|
6
|
-
version: 1.
|
|
6
|
+
version: 1.209.0
|
|
7
7
|
servers:
|
|
8
8
|
- url: https://api.focus.teamleader.eu
|
|
9
9
|
variables: {}
|
|
@@ -21667,6 +21667,10 @@ components:
|
|
|
21667
21667
|
type: string
|
|
21668
21668
|
description: Uses Markdown formatting. A quotation needs `grouped_lines` and/or `text` to be valid
|
|
21669
21669
|
example: Quotation text
|
|
21670
|
+
name:
|
|
21671
|
+
type: string
|
|
21672
|
+
description: Between 1 and 80 characters. Only letters, digits and limited punctuation are accepted; characters such as `/`, `\`, `*`, `?`, `<`, `>` and `|` are rejected. If omitted, a name is generated based on the quotation number.
|
|
21673
|
+
example: Webdevelopment
|
|
21670
21674
|
document_template_id:
|
|
21671
21675
|
type: string
|
|
21672
21676
|
example: 179e1564-493b-4305-8c54-a34fc80920fc
|
|
@@ -21857,6 +21861,10 @@ components:
|
|
|
21857
21861
|
description: Uses Markdown formatting. A quotation needs `grouped_lines` and/or `text` to be valid
|
|
21858
21862
|
nullable: true
|
|
21859
21863
|
example: Quotation text
|
|
21864
|
+
name:
|
|
21865
|
+
type: string
|
|
21866
|
+
description: Between 1 and 80 characters. Only letters, digits and limited punctuation are accepted; characters such as `/`, `\`, `*`, `?`, `<`, `>` and `|` are rejected.
|
|
21867
|
+
example: Webdevelopment
|
|
21860
21868
|
document_template_id:
|
|
21861
21869
|
type: string
|
|
21862
21870
|
example: 179e1564-493b-4305-8c54-a34fc80920fc
|
|
@@ -23436,6 +23444,15 @@ components:
|
|
|
23436
23444
|
allOf:
|
|
23437
23445
|
- $ref: '#/components/schemas/TypeAndId'
|
|
23438
23446
|
description: ''
|
|
23447
|
+
InvoiceContent:
|
|
23448
|
+
title: InvoiceContent
|
|
23449
|
+
type: string
|
|
23450
|
+
nullable: true
|
|
23451
|
+
enum:
|
|
23452
|
+
- goods
|
|
23453
|
+
- services
|
|
23454
|
+
- goods_and_services
|
|
23455
|
+
example: goods_and_services
|
|
23439
23456
|
ExpectedPaymentMethod:
|
|
23440
23457
|
title: ExpectedPaymentMethod
|
|
23441
23458
|
type: object
|
|
@@ -23613,6 +23630,10 @@ components:
|
|
|
23613
23630
|
description: This is the remarks field
|
|
23614
23631
|
nullable: true
|
|
23615
23632
|
example: '''Some extra remarks about the invoice'''
|
|
23633
|
+
invoice_content:
|
|
23634
|
+
allOf:
|
|
23635
|
+
- $ref: '#/components/schemas/InvoiceContent'
|
|
23636
|
+
- 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; null otherwise.
|
|
23616
23637
|
currency:
|
|
23617
23638
|
type: string
|
|
23618
23639
|
example: USD
|
|
@@ -23801,6 +23822,10 @@ components:
|
|
|
23801
23822
|
type: string
|
|
23802
23823
|
description: This is the remarks field
|
|
23803
23824
|
example: Invoice comments
|
|
23825
|
+
invoice_content:
|
|
23826
|
+
allOf:
|
|
23827
|
+
- $ref: '#/components/schemas/InvoiceContent'
|
|
23828
|
+
- 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.
|
|
23804
23829
|
expected_payment_method:
|
|
23805
23830
|
type: object
|
|
23806
23831
|
nullable: true
|
|
@@ -23861,6 +23886,10 @@ components:
|
|
|
23861
23886
|
description: This is the remarks field
|
|
23862
23887
|
nullable: true
|
|
23863
23888
|
example: Some comments about the invoice
|
|
23889
|
+
invoice_content:
|
|
23890
|
+
allOf:
|
|
23891
|
+
- $ref: '#/components/schemas/InvoiceContent'
|
|
23892
|
+
- 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.
|
|
23864
23893
|
discounts:
|
|
23865
23894
|
type: array
|
|
23866
23895
|
items:
|
|
@@ -23914,6 +23943,10 @@ components:
|
|
|
23914
23943
|
type: string
|
|
23915
23944
|
nullable: true
|
|
23916
23945
|
example: Some comments about the invoice
|
|
23946
|
+
invoice_content:
|
|
23947
|
+
allOf:
|
|
23948
|
+
- $ref: '#/components/schemas/InvoiceContent'
|
|
23949
|
+
- 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.
|
|
23917
23950
|
expected_payment_method:
|
|
23918
23951
|
type: object
|
|
23919
23952
|
nullable: true
|
|
@@ -24511,6 +24544,10 @@ components:
|
|
|
24511
24544
|
description: Uses Markdown formatting
|
|
24512
24545
|
nullable: true
|
|
24513
24546
|
example: Some more **information** about this subscription
|
|
24547
|
+
invoice_content:
|
|
24548
|
+
allOf:
|
|
24549
|
+
- $ref: '#/components/schemas/InvoiceContent'
|
|
24550
|
+
- description: Whether the invoices generated from this subscription are 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; null otherwise.
|
|
24514
24551
|
status:
|
|
24515
24552
|
type: string
|
|
24516
24553
|
enum:
|
|
@@ -24632,6 +24669,10 @@ components:
|
|
|
24632
24669
|
description: Uses Markdown formatting
|
|
24633
24670
|
nullable: true
|
|
24634
24671
|
example: Some more **information** about this subscription
|
|
24672
|
+
invoice_content:
|
|
24673
|
+
allOf:
|
|
24674
|
+
- $ref: '#/components/schemas/InvoiceContent'
|
|
24675
|
+
- description: Whether the invoices generated from this subscription are 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; null otherwise.
|
|
24635
24676
|
status:
|
|
24636
24677
|
type: string
|
|
24637
24678
|
enum:
|
|
@@ -24873,6 +24914,10 @@ components:
|
|
|
24873
24914
|
note:
|
|
24874
24915
|
type: string
|
|
24875
24916
|
example: Subscription comments
|
|
24917
|
+
invoice_content:
|
|
24918
|
+
allOf:
|
|
24919
|
+
- $ref: '#/components/schemas/InvoiceContent'
|
|
24920
|
+
- description: Whether the invoices generated from this subscription are 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.
|
|
24876
24921
|
payment_term:
|
|
24877
24922
|
$ref: '#/components/schemas/PaymentTerm'
|
|
24878
24923
|
invoice_generation:
|
|
@@ -25017,6 +25062,10 @@ components:
|
|
|
25017
25062
|
type: string
|
|
25018
25063
|
nullable: true
|
|
25019
25064
|
example: Subscription comments
|
|
25065
|
+
invoice_content:
|
|
25066
|
+
allOf:
|
|
25067
|
+
- $ref: '#/components/schemas/InvoiceContent'
|
|
25068
|
+
- description: Whether the invoices generated from this subscription are for goods, services, or both. When the department and the customer's invoicing address are both in France and the account sends invoices via Peppol from France, an explicit `null` returns a 400, and omitting the field defaults to `goods_and_services` unless a value is already set. Cleared otherwise.
|
|
25020
25069
|
grouped_lines:
|
|
25021
25070
|
type: array
|
|
25022
25071
|
items:
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
---
|
|
2
|
+
category: addition
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
We added the `invoice_content` field to the invoices and subscriptions endpoints. It's `goods`, `services`, or `goods_and_services`, and required when the department and the customer's invoicing address are both in France and the account sends invoices via Peppol from France.
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@teamleader/focus-api-specification",
|
|
3
3
|
"description": "Teamleader Focus API Specification",
|
|
4
|
-
"version": "1.
|
|
4
|
+
"version": "1.209.0",
|
|
5
5
|
"author": "Teamleader <development@teamleader.eu> (https://www.teamleader.eu)",
|
|
6
6
|
"bugs": {
|
|
7
7
|
"url": "https://github.com/teamleadercrm/focus-api-specification/issues"
|