@teamleader/focus-api-specification 1.208.0 → 1.210.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.208.0
6
+ version: 1.210.0
7
7
  servers:
8
8
  - url: https://api.focus.teamleader.eu
9
9
  variables: {}
@@ -23444,6 +23444,15 @@ components:
23444
23444
  allOf:
23445
23445
  - $ref: '#/components/schemas/TypeAndId'
23446
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
23447
23456
  ExpectedPaymentMethod:
23448
23457
  title: ExpectedPaymentMethod
23449
23458
  type: object
@@ -23621,6 +23630,10 @@ components:
23621
23630
  description: This is the remarks field
23622
23631
  nullable: true
23623
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.
23624
23637
  currency:
23625
23638
  type: string
23626
23639
  example: USD
@@ -23809,6 +23822,10 @@ components:
23809
23822
  type: string
23810
23823
  description: This is the remarks field
23811
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.
23812
23829
  expected_payment_method:
23813
23830
  type: object
23814
23831
  nullable: true
@@ -23869,6 +23886,10 @@ components:
23869
23886
  description: This is the remarks field
23870
23887
  nullable: true
23871
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.
23872
23893
  discounts:
23873
23894
  type: array
23874
23895
  items:
@@ -23922,6 +23943,10 @@ components:
23922
23943
  type: string
23923
23944
  nullable: true
23924
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.
23925
23950
  expected_payment_method:
23926
23951
  type: object
23927
23952
  nullable: true
@@ -24519,6 +24544,10 @@ components:
24519
24544
  description: Uses Markdown formatting
24520
24545
  nullable: true
24521
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.
24522
24551
  status:
24523
24552
  type: string
24524
24553
  enum:
@@ -24640,6 +24669,10 @@ components:
24640
24669
  description: Uses Markdown formatting
24641
24670
  nullable: true
24642
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.
24643
24676
  status:
24644
24677
  type: string
24645
24678
  enum:
@@ -24881,6 +24914,10 @@ components:
24881
24914
  note:
24882
24915
  type: string
24883
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.
24884
24921
  payment_term:
24885
24922
  $ref: '#/components/schemas/PaymentTerm'
24886
24923
  invoice_generation:
@@ -25025,6 +25062,10 @@ components:
25025
25062
  type: string
25026
25063
  nullable: true
25027
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.
25028
25069
  grouped_lines:
25029
25070
  type: array
25030
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.208.0",
4
+ "version": "1.210.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"