@getyetty-sdk/sellsy 2026.5.19 → 2026.5.21
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.
- package/dist/index.d.mts +658 -24
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +502 -16
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -2487,6 +2487,16 @@ const EstimateSchema = {
|
|
|
2487
2487
|
description: "Analytic code of document",
|
|
2488
2488
|
example: "divers"
|
|
2489
2489
|
},
|
|
2490
|
+
sale_type: {
|
|
2491
|
+
type: "string",
|
|
2492
|
+
description: "Sale type of the document: product (goods), service, or mixed. If not provided, it is automatically detected from the document rows.",
|
|
2493
|
+
enum: [
|
|
2494
|
+
"product",
|
|
2495
|
+
"service",
|
|
2496
|
+
"mixed"
|
|
2497
|
+
],
|
|
2498
|
+
example: "product"
|
|
2499
|
+
},
|
|
2490
2500
|
shipping_weight: { $ref: "#/components/schemas/EstimateCompute/properties/shipping_weight" },
|
|
2491
2501
|
shipping_volume: {
|
|
2492
2502
|
description: "Total volume of product to ship in m3",
|
|
@@ -2776,7 +2786,7 @@ const EstimateCreateSchema = { allOf: [{ $ref: "#/components/schemas/Estimate/al
|
|
|
2776
2786
|
pdf_display: {
|
|
2777
2787
|
type: "object",
|
|
2778
2788
|
title: "PDF option",
|
|
2779
|
-
description: "PDF generation option",
|
|
2789
|
+
description: "PDF generation option. When the electronic invoicing reform applies, the following fields are forced to `true` and any provided value will be ignored: `show_vat_number`, `show_siren`, `show_quantity_column`, `show_unit_cost_column`, `show_amount_column`, `show_taxes_column`, `show_discount_column`, `show_payment_terms`, `show_payment_deadlines`, `show_payment_methods`.",
|
|
2780
2790
|
additionalProperties: false,
|
|
2781
2791
|
properties: {
|
|
2782
2792
|
show_vat_mention: {
|
|
@@ -2899,6 +2909,16 @@ const EstimateCreateSchema = { allOf: [{ $ref: "#/components/schemas/Estimate/al
|
|
|
2899
2909
|
type: "boolean",
|
|
2900
2910
|
description: "Show legal text on late payment interests",
|
|
2901
2911
|
example: true
|
|
2912
|
+
},
|
|
2913
|
+
show_sale_type: {
|
|
2914
|
+
type: "boolean",
|
|
2915
|
+
description: "Show sale type column on documents",
|
|
2916
|
+
example: true
|
|
2917
|
+
},
|
|
2918
|
+
show_terms_and_conditions_text: {
|
|
2919
|
+
type: "boolean",
|
|
2920
|
+
description: "Show terms and conditions text page",
|
|
2921
|
+
example: true
|
|
2902
2922
|
}
|
|
2903
2923
|
}
|
|
2904
2924
|
},
|
|
@@ -5305,6 +5325,16 @@ const SaleEmbedSchema = {
|
|
|
5305
5325
|
type: "boolean",
|
|
5306
5326
|
description: "Show legal text on late payment interests",
|
|
5307
5327
|
example: true
|
|
5328
|
+
},
|
|
5329
|
+
show_sale_type: {
|
|
5330
|
+
type: "boolean",
|
|
5331
|
+
description: "Show sale type column on documents",
|
|
5332
|
+
example: true
|
|
5333
|
+
},
|
|
5334
|
+
show_terms_and_conditions_text: {
|
|
5335
|
+
type: "boolean",
|
|
5336
|
+
description: "Show terms and conditions text page",
|
|
5337
|
+
example: true
|
|
5308
5338
|
}
|
|
5309
5339
|
}
|
|
5310
5340
|
},
|
|
@@ -6108,7 +6138,7 @@ const StaffUpdateItemSchema = {
|
|
|
6108
6138
|
email: {
|
|
6109
6139
|
type: "string",
|
|
6110
6140
|
format: "email",
|
|
6111
|
-
description: "Staff email address",
|
|
6141
|
+
description: "Staff email address. <br>If 2FA is enabled on the account, the `totp_code` field is required to update this field.",
|
|
6112
6142
|
example: "john@example-company.com"
|
|
6113
6143
|
},
|
|
6114
6144
|
phone_number: {
|
|
@@ -6192,6 +6222,13 @@ const StaffUpdateItemSchema = {
|
|
|
6192
6222
|
type: "boolean",
|
|
6193
6223
|
description: "Status of the staff access <br>If your account contains licenses, those already attached to this collaborator will remain so, you will have to specify the \"licenses\" property to free the licenses\n",
|
|
6194
6224
|
example: true
|
|
6225
|
+
},
|
|
6226
|
+
totp_code: {
|
|
6227
|
+
type: "string",
|
|
6228
|
+
description: "6-digit TOTP code for verification. <br>Required when updating the email address if 2FA is enabled on the account.",
|
|
6229
|
+
example: "123456",
|
|
6230
|
+
minLength: 6,
|
|
6231
|
+
maxLength: 6
|
|
6195
6232
|
}
|
|
6196
6233
|
}
|
|
6197
6234
|
};
|
|
@@ -20992,6 +21029,16 @@ const InvoiceSchema = {
|
|
|
20992
21029
|
maxLength: 13,
|
|
20993
21030
|
description: "Analytic code of document",
|
|
20994
21031
|
example: "divers"
|
|
21032
|
+
},
|
|
21033
|
+
sale_type: {
|
|
21034
|
+
type: "string",
|
|
21035
|
+
description: "Sale type of the document: product (goods), service, or mixed",
|
|
21036
|
+
enum: [
|
|
21037
|
+
"product",
|
|
21038
|
+
"service",
|
|
21039
|
+
"mixed"
|
|
21040
|
+
],
|
|
21041
|
+
example: "product"
|
|
20995
21042
|
}
|
|
20996
21043
|
}
|
|
20997
21044
|
};
|
|
@@ -21404,6 +21451,16 @@ const InvoiceOneSchema = {
|
|
|
21404
21451
|
maxLength: 13,
|
|
21405
21452
|
description: "Analytic code of document",
|
|
21406
21453
|
example: "divers"
|
|
21454
|
+
},
|
|
21455
|
+
sale_type: {
|
|
21456
|
+
type: "string",
|
|
21457
|
+
description: "Sale type of the document: product (goods), service, or mixed",
|
|
21458
|
+
enum: [
|
|
21459
|
+
"product",
|
|
21460
|
+
"service",
|
|
21461
|
+
"mixed"
|
|
21462
|
+
],
|
|
21463
|
+
example: "product"
|
|
21407
21464
|
}
|
|
21408
21465
|
}
|
|
21409
21466
|
}, {
|
|
@@ -22537,6 +22594,16 @@ const InvoiceOrProgressInvoiceOneSchema = { oneOf: [{ $ref: "#/components/schema
|
|
|
22537
22594
|
type: "boolean",
|
|
22538
22595
|
description: "Show legal text on late payment interests",
|
|
22539
22596
|
example: true
|
|
22597
|
+
},
|
|
22598
|
+
show_sale_type: {
|
|
22599
|
+
type: "boolean",
|
|
22600
|
+
description: "Show sale type column on documents",
|
|
22601
|
+
example: true
|
|
22602
|
+
},
|
|
22603
|
+
show_terms_and_conditions_text: {
|
|
22604
|
+
type: "boolean",
|
|
22605
|
+
description: "Show terms and conditions text page",
|
|
22606
|
+
example: true
|
|
22540
22607
|
}
|
|
22541
22608
|
}
|
|
22542
22609
|
}] } }
|
|
@@ -23051,6 +23118,16 @@ const InvoiceCreateSchema = { allOf: [{
|
|
|
23051
23118
|
maxLength: 13,
|
|
23052
23119
|
description: "Analytic code of document",
|
|
23053
23120
|
example: "divers"
|
|
23121
|
+
},
|
|
23122
|
+
sale_type: {
|
|
23123
|
+
type: "string",
|
|
23124
|
+
description: "Sale type of the document: product (goods), service, or mixed. If not provided, it is automatically detected from the document rows.",
|
|
23125
|
+
enum: [
|
|
23126
|
+
"product",
|
|
23127
|
+
"service",
|
|
23128
|
+
"mixed"
|
|
23129
|
+
],
|
|
23130
|
+
example: "product"
|
|
23054
23131
|
}
|
|
23055
23132
|
}
|
|
23056
23133
|
}, {
|
|
@@ -23617,7 +23694,7 @@ const DepositInvoiceCreateSchema = {
|
|
|
23617
23694
|
pdf_display: {
|
|
23618
23695
|
type: "object",
|
|
23619
23696
|
title: "PDF option",
|
|
23620
|
-
description: "PDF generation option",
|
|
23697
|
+
description: "PDF generation option. When the electronic invoicing reform applies, the following fields are forced to `true` and any provided value will be ignored: `show_vat_number`, `show_siren`, `show_quantity_column`, `show_unit_cost_column`, `show_amount_column`, `show_taxes_column`, `show_discount_column`, `show_payment_terms`, `show_payment_deadlines`, `show_payment_methods`.",
|
|
23621
23698
|
additionalProperties: false,
|
|
23622
23699
|
properties: {
|
|
23623
23700
|
show_vat_mention: {
|
|
@@ -23685,6 +23762,16 @@ const DepositInvoiceCreateSchema = {
|
|
|
23685
23762
|
type: "boolean",
|
|
23686
23763
|
description: "Show legal text on late payment interests",
|
|
23687
23764
|
example: true
|
|
23765
|
+
},
|
|
23766
|
+
show_sale_type: {
|
|
23767
|
+
type: "boolean",
|
|
23768
|
+
description: "Show sale type column on documents",
|
|
23769
|
+
example: true
|
|
23770
|
+
},
|
|
23771
|
+
show_terms_and_conditions_text: {
|
|
23772
|
+
type: "boolean",
|
|
23773
|
+
description: "Show terms and conditions text page",
|
|
23774
|
+
example: true
|
|
23688
23775
|
}
|
|
23689
23776
|
}
|
|
23690
23777
|
},
|
|
@@ -23695,6 +23782,16 @@ const DepositInvoiceCreateSchema = {
|
|
|
23695
23782
|
nullable: true
|
|
23696
23783
|
}
|
|
23697
23784
|
}
|
|
23785
|
+
},
|
|
23786
|
+
sale_type: {
|
|
23787
|
+
type: "string",
|
|
23788
|
+
description: "Sale type of the document: product (goods), service, or mixed. If not provided, it is automatically detected from the document rows.",
|
|
23789
|
+
enum: [
|
|
23790
|
+
"product",
|
|
23791
|
+
"service",
|
|
23792
|
+
"mixed"
|
|
23793
|
+
],
|
|
23794
|
+
example: "product"
|
|
23698
23795
|
}
|
|
23699
23796
|
},
|
|
23700
23797
|
required: ["parent", "rows"]
|
|
@@ -23862,7 +23959,17 @@ const DepositInvoiceUpdateSchema = {
|
|
|
23862
23959
|
type: "integer",
|
|
23863
23960
|
description: "Document Layout"
|
|
23864
23961
|
},
|
|
23865
|
-
settings: { $ref: "#/components/schemas/DepositInvoiceCreate/properties/settings" }
|
|
23962
|
+
settings: { $ref: "#/components/schemas/DepositInvoiceCreate/properties/settings" },
|
|
23963
|
+
sale_type: {
|
|
23964
|
+
type: "string",
|
|
23965
|
+
description: "Sale type of the document: product (goods), service, or mixed. If not provided, it is automatically detected from the document rows.",
|
|
23966
|
+
enum: [
|
|
23967
|
+
"product",
|
|
23968
|
+
"service",
|
|
23969
|
+
"mixed"
|
|
23970
|
+
],
|
|
23971
|
+
example: "product"
|
|
23972
|
+
}
|
|
23866
23973
|
}
|
|
23867
23974
|
};
|
|
23868
23975
|
const DepositInvoicePrepareInputSchema = {
|
|
@@ -25278,6 +25385,16 @@ const DepositInvoiceMetadataSchema = {
|
|
|
25278
25385
|
}
|
|
25279
25386
|
}
|
|
25280
25387
|
}
|
|
25388
|
+
},
|
|
25389
|
+
forced_prefs: {
|
|
25390
|
+
type: "array",
|
|
25391
|
+
description: "List of preference keys that are forced when enforce_display_rules is true",
|
|
25392
|
+
items: { type: "string" },
|
|
25393
|
+
example: ["show_address", "show_vat_number"]
|
|
25394
|
+
},
|
|
25395
|
+
is_document_compliant: {
|
|
25396
|
+
type: "boolean",
|
|
25397
|
+
description: "Compliance state of the parent document on creation, or of the edited document on update"
|
|
25281
25398
|
}
|
|
25282
25399
|
}
|
|
25283
25400
|
};
|
|
@@ -25886,7 +26003,7 @@ const ProgressInvoiceCreateSchema = {
|
|
|
25886
26003
|
pdf_display: {
|
|
25887
26004
|
type: "object",
|
|
25888
26005
|
title: "PDF option",
|
|
25889
|
-
description: "PDF generation option",
|
|
26006
|
+
description: "PDF generation option. When the electronic invoicing reform applies, the following fields are forced to `true` and any provided value will be ignored: `show_vat_number`, `show_siren`, `show_quantity_column`, `show_unit_cost_column`, `show_amount_column`, `show_taxes_column`, `show_discount_column`, `show_payment_terms`, `show_payment_deadlines`, `show_payment_methods`.",
|
|
25890
26007
|
additionalProperties: false,
|
|
25891
26008
|
properties: {
|
|
25892
26009
|
show_vat_mention: {
|
|
@@ -26010,10 +26127,20 @@ const ProgressInvoiceCreateSchema = {
|
|
|
26010
26127
|
description: "Show legal text on late payment interests",
|
|
26011
26128
|
example: true
|
|
26012
26129
|
},
|
|
26130
|
+
show_sale_type: {
|
|
26131
|
+
type: "boolean",
|
|
26132
|
+
description: "Show sale type column on documents",
|
|
26133
|
+
example: true
|
|
26134
|
+
},
|
|
26013
26135
|
show_progress_invoice_summary: {
|
|
26014
26136
|
type: "boolean",
|
|
26015
26137
|
description: "Show progress invoice summary",
|
|
26016
26138
|
example: true
|
|
26139
|
+
},
|
|
26140
|
+
show_terms_and_conditions_text: {
|
|
26141
|
+
type: "boolean",
|
|
26142
|
+
description: "Show terms and conditions text page",
|
|
26143
|
+
example: true
|
|
26017
26144
|
}
|
|
26018
26145
|
}
|
|
26019
26146
|
},
|
|
@@ -26078,6 +26205,16 @@ const ProgressInvoiceCreateSchema = {
|
|
|
26078
26205
|
maxLength: 13,
|
|
26079
26206
|
description: "Analytic code of document",
|
|
26080
26207
|
example: "divers"
|
|
26208
|
+
},
|
|
26209
|
+
sale_type: {
|
|
26210
|
+
type: "string",
|
|
26211
|
+
description: "Sale type of the document: product (goods), service, or mixed. If not provided, it is automatically detected from the document rows.",
|
|
26212
|
+
enum: [
|
|
26213
|
+
"product",
|
|
26214
|
+
"service",
|
|
26215
|
+
"mixed"
|
|
26216
|
+
],
|
|
26217
|
+
example: "product"
|
|
26081
26218
|
}
|
|
26082
26219
|
},
|
|
26083
26220
|
required: ["parent", "rows"]
|
|
@@ -26862,6 +26999,16 @@ const CreditNoteSchema = {
|
|
|
26862
26999
|
description: "Analytic code of document",
|
|
26863
27000
|
example: "divers"
|
|
26864
27001
|
},
|
|
27002
|
+
sale_type: {
|
|
27003
|
+
type: "string",
|
|
27004
|
+
description: "Sale type of the document: product (goods), service, or mixed",
|
|
27005
|
+
enum: [
|
|
27006
|
+
"product",
|
|
27007
|
+
"service",
|
|
27008
|
+
"mixed"
|
|
27009
|
+
],
|
|
27010
|
+
example: "product"
|
|
27011
|
+
},
|
|
26865
27012
|
_embed: {
|
|
26866
27013
|
title: "Credit Note Embed",
|
|
26867
27014
|
allOf: [
|
|
@@ -27232,6 +27379,16 @@ const CreditNoteOneSchema = { allOf: [{
|
|
|
27232
27379
|
description: "Analytic code of document",
|
|
27233
27380
|
example: "divers"
|
|
27234
27381
|
},
|
|
27382
|
+
sale_type: {
|
|
27383
|
+
type: "string",
|
|
27384
|
+
description: "Sale type of the document: product (goods), service, or mixed",
|
|
27385
|
+
enum: [
|
|
27386
|
+
"product",
|
|
27387
|
+
"service",
|
|
27388
|
+
"mixed"
|
|
27389
|
+
],
|
|
27390
|
+
example: "product"
|
|
27391
|
+
},
|
|
27235
27392
|
_embed: { $ref: "#/components/schemas/CreditNote/properties/_embed" }
|
|
27236
27393
|
}
|
|
27237
27394
|
}, {
|
|
@@ -27375,6 +27532,16 @@ const CreditNoteCreateSchema = { allOf: [{
|
|
|
27375
27532
|
description: "Analytic code of document",
|
|
27376
27533
|
example: "divers"
|
|
27377
27534
|
},
|
|
27535
|
+
sale_type: {
|
|
27536
|
+
type: "string",
|
|
27537
|
+
description: "Sale type of the document: product (goods), service, or mixed. If not provided, it is automatically detected from the document rows.",
|
|
27538
|
+
enum: [
|
|
27539
|
+
"product",
|
|
27540
|
+
"service",
|
|
27541
|
+
"mixed"
|
|
27542
|
+
],
|
|
27543
|
+
example: "product"
|
|
27544
|
+
},
|
|
27378
27545
|
invoicing_address_id: {
|
|
27379
27546
|
description: "Invoicing address, by default take invoicing address of company/individual.",
|
|
27380
27547
|
type: "integer",
|
|
@@ -27787,6 +27954,16 @@ const OrderCreateSchema = { allOf: [{
|
|
|
27787
27954
|
description: "Analytic code of document",
|
|
27788
27955
|
example: "divers"
|
|
27789
27956
|
},
|
|
27957
|
+
sale_type: {
|
|
27958
|
+
type: "string",
|
|
27959
|
+
description: "Sale type of the document: product (goods), service, or mixed. If not provided, it is automatically detected from the document rows.",
|
|
27960
|
+
enum: [
|
|
27961
|
+
"product",
|
|
27962
|
+
"service",
|
|
27963
|
+
"mixed"
|
|
27964
|
+
],
|
|
27965
|
+
example: "product"
|
|
27966
|
+
},
|
|
27790
27967
|
bank_account_id: {
|
|
27791
27968
|
type: "integer",
|
|
27792
27969
|
description: "Bank account ID",
|
|
@@ -28259,6 +28436,16 @@ const OrderSchema = {
|
|
|
28259
28436
|
description: "Deprecated field: eco tax use now product tax_id <br/> Eco tax ID\n",
|
|
28260
28437
|
nullable: true
|
|
28261
28438
|
},
|
|
28439
|
+
sale_type: {
|
|
28440
|
+
type: "string",
|
|
28441
|
+
description: "Sale type of the document: product (goods), service, or mixed",
|
|
28442
|
+
enum: [
|
|
28443
|
+
"product",
|
|
28444
|
+
"service",
|
|
28445
|
+
"mixed"
|
|
28446
|
+
],
|
|
28447
|
+
example: "product"
|
|
28448
|
+
},
|
|
28262
28449
|
check_label_id: {
|
|
28263
28450
|
type: "integer",
|
|
28264
28451
|
description: "Check label ID",
|
|
@@ -28622,6 +28809,16 @@ const OrderOneSchema = { allOf: [{
|
|
|
28622
28809
|
description: "Deprecated field: eco tax use now product tax_id <br/> Eco tax ID\n",
|
|
28623
28810
|
nullable: true
|
|
28624
28811
|
},
|
|
28812
|
+
sale_type: {
|
|
28813
|
+
type: "string",
|
|
28814
|
+
description: "Sale type of the document: product (goods), service, or mixed",
|
|
28815
|
+
enum: [
|
|
28816
|
+
"product",
|
|
28817
|
+
"service",
|
|
28818
|
+
"mixed"
|
|
28819
|
+
],
|
|
28820
|
+
example: "product"
|
|
28821
|
+
},
|
|
28625
28822
|
check_label_id: {
|
|
28626
28823
|
type: "integer",
|
|
28627
28824
|
description: "Check label ID",
|
|
@@ -29315,6 +29512,16 @@ const DeliverySchema = {
|
|
|
29315
29512
|
description: "Analytic code of document",
|
|
29316
29513
|
example: "divers"
|
|
29317
29514
|
},
|
|
29515
|
+
sale_type: {
|
|
29516
|
+
type: "string",
|
|
29517
|
+
description: "Sale type of the document: product (goods), service, or mixed",
|
|
29518
|
+
enum: [
|
|
29519
|
+
"product",
|
|
29520
|
+
"service",
|
|
29521
|
+
"mixed"
|
|
29522
|
+
],
|
|
29523
|
+
example: "product"
|
|
29524
|
+
},
|
|
29318
29525
|
bank_account_id: {
|
|
29319
29526
|
type: "integer",
|
|
29320
29527
|
description: "Bank account ID",
|
|
@@ -29706,6 +29913,16 @@ const DeliveryOneSchema = { allOf: [{
|
|
|
29706
29913
|
description: "Analytic code of document",
|
|
29707
29914
|
example: "divers"
|
|
29708
29915
|
},
|
|
29916
|
+
sale_type: {
|
|
29917
|
+
type: "string",
|
|
29918
|
+
description: "Sale type of the document: product (goods), service, or mixed",
|
|
29919
|
+
enum: [
|
|
29920
|
+
"product",
|
|
29921
|
+
"service",
|
|
29922
|
+
"mixed"
|
|
29923
|
+
],
|
|
29924
|
+
example: "product"
|
|
29925
|
+
},
|
|
29709
29926
|
bank_account_id: {
|
|
29710
29927
|
type: "integer",
|
|
29711
29928
|
description: "Bank account ID",
|
|
@@ -34423,6 +34640,25 @@ const InvoicingSettingsMetadataSchema = {
|
|
|
34423
34640
|
type: "string",
|
|
34424
34641
|
example: "show_address"
|
|
34425
34642
|
}
|
|
34643
|
+
},
|
|
34644
|
+
ui_langs: {
|
|
34645
|
+
type: "array",
|
|
34646
|
+
description: "List of available languages for conditions and acceptances translations",
|
|
34647
|
+
items: {
|
|
34648
|
+
type: "object",
|
|
34649
|
+
properties: {
|
|
34650
|
+
id: {
|
|
34651
|
+
type: "string",
|
|
34652
|
+
description: "Language code",
|
|
34653
|
+
example: "fr"
|
|
34654
|
+
},
|
|
34655
|
+
label: {
|
|
34656
|
+
type: "string",
|
|
34657
|
+
description: "Language label",
|
|
34658
|
+
example: "Français"
|
|
34659
|
+
}
|
|
34660
|
+
}
|
|
34661
|
+
}
|
|
34426
34662
|
}
|
|
34427
34663
|
}
|
|
34428
34664
|
};
|
|
@@ -35314,6 +35550,16 @@ const ProgressInvoiceMetadataSchema = {
|
|
|
35314
35550
|
}
|
|
35315
35551
|
}
|
|
35316
35552
|
}
|
|
35553
|
+
},
|
|
35554
|
+
forced_prefs: {
|
|
35555
|
+
type: "array",
|
|
35556
|
+
description: "List of preference keys that are forced when enforce_display_rules is true",
|
|
35557
|
+
items: { type: "string" },
|
|
35558
|
+
example: ["show_address", "show_vat_number"]
|
|
35559
|
+
},
|
|
35560
|
+
is_document_compliant: {
|
|
35561
|
+
type: "boolean",
|
|
35562
|
+
description: "Compliance state of the parent document on creation, or of the edited document on update"
|
|
35317
35563
|
}
|
|
35318
35564
|
}
|
|
35319
35565
|
};
|
|
@@ -35513,6 +35759,16 @@ const ProgressInvoiceUpdateSchema = {
|
|
|
35513
35759
|
maxLength: 13,
|
|
35514
35760
|
description: "Analytic code of document",
|
|
35515
35761
|
example: "divers"
|
|
35762
|
+
},
|
|
35763
|
+
sale_type: {
|
|
35764
|
+
type: "string",
|
|
35765
|
+
description: "Sale type of the document: product (goods), service, or mixed. If not provided, it is automatically detected from the document rows.",
|
|
35766
|
+
enum: [
|
|
35767
|
+
"product",
|
|
35768
|
+
"service",
|
|
35769
|
+
"mixed"
|
|
35770
|
+
],
|
|
35771
|
+
example: "product"
|
|
35516
35772
|
}
|
|
35517
35773
|
}
|
|
35518
35774
|
};
|
|
@@ -37456,6 +37712,16 @@ const EstimateWritableSchema = {
|
|
|
37456
37712
|
description: "Analytic code of document",
|
|
37457
37713
|
example: "divers"
|
|
37458
37714
|
},
|
|
37715
|
+
sale_type: {
|
|
37716
|
+
type: "string",
|
|
37717
|
+
description: "Sale type of the document: product (goods), service, or mixed. If not provided, it is automatically detected from the document rows.",
|
|
37718
|
+
enum: [
|
|
37719
|
+
"product",
|
|
37720
|
+
"service",
|
|
37721
|
+
"mixed"
|
|
37722
|
+
],
|
|
37723
|
+
example: "product"
|
|
37724
|
+
},
|
|
37459
37725
|
shipping_weight: { $ref: "#/components/schemas/EstimateCompute/properties/shipping_weight" },
|
|
37460
37726
|
shipping_volume: {
|
|
37461
37727
|
description: "Total volume of product to ship in m3",
|
|
@@ -37716,7 +37982,7 @@ const EstimateCreateWritableSchema = { allOf: [{ $ref: "#/components/schemas/Est
|
|
|
37716
37982
|
pdf_display: {
|
|
37717
37983
|
type: "object",
|
|
37718
37984
|
title: "PDF option",
|
|
37719
|
-
description: "PDF generation option",
|
|
37985
|
+
description: "PDF generation option. When the electronic invoicing reform applies, the following fields are forced to `true` and any provided value will be ignored: `show_vat_number`, `show_siren`, `show_quantity_column`, `show_unit_cost_column`, `show_amount_column`, `show_taxes_column`, `show_discount_column`, `show_payment_terms`, `show_payment_deadlines`, `show_payment_methods`.",
|
|
37720
37986
|
additionalProperties: false,
|
|
37721
37987
|
properties: {
|
|
37722
37988
|
show_vat_mention: {
|
|
@@ -37839,6 +38105,16 @@ const EstimateCreateWritableSchema = { allOf: [{ $ref: "#/components/schemas/Est
|
|
|
37839
38105
|
type: "boolean",
|
|
37840
38106
|
description: "Show legal text on late payment interests",
|
|
37841
38107
|
example: true
|
|
38108
|
+
},
|
|
38109
|
+
show_sale_type: {
|
|
38110
|
+
type: "boolean",
|
|
38111
|
+
description: "Show sale type column on documents",
|
|
38112
|
+
example: true
|
|
38113
|
+
},
|
|
38114
|
+
show_terms_and_conditions_text: {
|
|
38115
|
+
type: "boolean",
|
|
38116
|
+
description: "Show terms and conditions text page",
|
|
38117
|
+
example: true
|
|
37842
38118
|
}
|
|
37843
38119
|
}
|
|
37844
38120
|
},
|
|
@@ -39802,6 +40078,16 @@ const SaleEmbedWritableSchema = {
|
|
|
39802
40078
|
type: "boolean",
|
|
39803
40079
|
description: "Show legal text on late payment interests",
|
|
39804
40080
|
example: true
|
|
40081
|
+
},
|
|
40082
|
+
show_sale_type: {
|
|
40083
|
+
type: "boolean",
|
|
40084
|
+
description: "Show sale type column on documents",
|
|
40085
|
+
example: true
|
|
40086
|
+
},
|
|
40087
|
+
show_terms_and_conditions_text: {
|
|
40088
|
+
type: "boolean",
|
|
40089
|
+
description: "Show terms and conditions text page",
|
|
40090
|
+
example: true
|
|
39805
40091
|
}
|
|
39806
40092
|
}
|
|
39807
40093
|
},
|
|
@@ -45127,6 +45413,16 @@ const InvoiceWritableSchema = {
|
|
|
45127
45413
|
maxLength: 13,
|
|
45128
45414
|
description: "Analytic code of document",
|
|
45129
45415
|
example: "divers"
|
|
45416
|
+
},
|
|
45417
|
+
sale_type: {
|
|
45418
|
+
type: "string",
|
|
45419
|
+
description: "Sale type of the document: product (goods), service, or mixed",
|
|
45420
|
+
enum: [
|
|
45421
|
+
"product",
|
|
45422
|
+
"service",
|
|
45423
|
+
"mixed"
|
|
45424
|
+
],
|
|
45425
|
+
example: "product"
|
|
45130
45426
|
}
|
|
45131
45427
|
}
|
|
45132
45428
|
};
|
|
@@ -45356,6 +45652,16 @@ const InvoiceOneWritableSchema = {
|
|
|
45356
45652
|
maxLength: 13,
|
|
45357
45653
|
description: "Analytic code of document",
|
|
45358
45654
|
example: "divers"
|
|
45655
|
+
},
|
|
45656
|
+
sale_type: {
|
|
45657
|
+
type: "string",
|
|
45658
|
+
description: "Sale type of the document: product (goods), service, or mixed",
|
|
45659
|
+
enum: [
|
|
45660
|
+
"product",
|
|
45661
|
+
"service",
|
|
45662
|
+
"mixed"
|
|
45663
|
+
],
|
|
45664
|
+
example: "product"
|
|
45359
45665
|
}
|
|
45360
45666
|
}
|
|
45361
45667
|
}, {
|
|
@@ -46289,6 +46595,16 @@ const InvoiceOrProgressInvoiceOneWritableSchema = { oneOf: [{ $ref: "#/component
|
|
|
46289
46595
|
type: "boolean",
|
|
46290
46596
|
description: "Show legal text on late payment interests",
|
|
46291
46597
|
example: true
|
|
46598
|
+
},
|
|
46599
|
+
show_sale_type: {
|
|
46600
|
+
type: "boolean",
|
|
46601
|
+
description: "Show sale type column on documents",
|
|
46602
|
+
example: true
|
|
46603
|
+
},
|
|
46604
|
+
show_terms_and_conditions_text: {
|
|
46605
|
+
type: "boolean",
|
|
46606
|
+
description: "Show terms and conditions text page",
|
|
46607
|
+
example: true
|
|
46292
46608
|
}
|
|
46293
46609
|
}
|
|
46294
46610
|
}] } }
|
|
@@ -46561,6 +46877,16 @@ const InvoiceCreateWritableSchema = { allOf: [{
|
|
|
46561
46877
|
maxLength: 13,
|
|
46562
46878
|
description: "Analytic code of document",
|
|
46563
46879
|
example: "divers"
|
|
46880
|
+
},
|
|
46881
|
+
sale_type: {
|
|
46882
|
+
type: "string",
|
|
46883
|
+
description: "Sale type of the document: product (goods), service, or mixed. If not provided, it is automatically detected from the document rows.",
|
|
46884
|
+
enum: [
|
|
46885
|
+
"product",
|
|
46886
|
+
"service",
|
|
46887
|
+
"mixed"
|
|
46888
|
+
],
|
|
46889
|
+
example: "product"
|
|
46564
46890
|
}
|
|
46565
46891
|
}
|
|
46566
46892
|
}, {
|
|
@@ -47127,7 +47453,7 @@ const DepositInvoiceCreateWritableSchema = {
|
|
|
47127
47453
|
pdf_display: {
|
|
47128
47454
|
type: "object",
|
|
47129
47455
|
title: "PDF option",
|
|
47130
|
-
description: "PDF generation option",
|
|
47456
|
+
description: "PDF generation option. When the electronic invoicing reform applies, the following fields are forced to `true` and any provided value will be ignored: `show_vat_number`, `show_siren`, `show_quantity_column`, `show_unit_cost_column`, `show_amount_column`, `show_taxes_column`, `show_discount_column`, `show_payment_terms`, `show_payment_deadlines`, `show_payment_methods`.",
|
|
47131
47457
|
additionalProperties: false,
|
|
47132
47458
|
properties: {
|
|
47133
47459
|
show_bank_account: {
|
|
@@ -47189,6 +47515,16 @@ const DepositInvoiceCreateWritableSchema = {
|
|
|
47189
47515
|
type: "boolean",
|
|
47190
47516
|
description: "Show legal text on late payment interests",
|
|
47191
47517
|
example: true
|
|
47518
|
+
},
|
|
47519
|
+
show_sale_type: {
|
|
47520
|
+
type: "boolean",
|
|
47521
|
+
description: "Show sale type column on documents",
|
|
47522
|
+
example: true
|
|
47523
|
+
},
|
|
47524
|
+
show_terms_and_conditions_text: {
|
|
47525
|
+
type: "boolean",
|
|
47526
|
+
description: "Show terms and conditions text page",
|
|
47527
|
+
example: true
|
|
47192
47528
|
}
|
|
47193
47529
|
}
|
|
47194
47530
|
},
|
|
@@ -47199,6 +47535,16 @@ const DepositInvoiceCreateWritableSchema = {
|
|
|
47199
47535
|
nullable: true
|
|
47200
47536
|
}
|
|
47201
47537
|
}
|
|
47538
|
+
},
|
|
47539
|
+
sale_type: {
|
|
47540
|
+
type: "string",
|
|
47541
|
+
description: "Sale type of the document: product (goods), service, or mixed. If not provided, it is automatically detected from the document rows.",
|
|
47542
|
+
enum: [
|
|
47543
|
+
"product",
|
|
47544
|
+
"service",
|
|
47545
|
+
"mixed"
|
|
47546
|
+
],
|
|
47547
|
+
example: "product"
|
|
47202
47548
|
}
|
|
47203
47549
|
},
|
|
47204
47550
|
required: ["parent", "rows"]
|
|
@@ -47366,7 +47712,17 @@ const DepositInvoiceUpdateWritableSchema = {
|
|
|
47366
47712
|
type: "integer",
|
|
47367
47713
|
description: "Document Layout"
|
|
47368
47714
|
},
|
|
47369
|
-
settings: { $ref: "#/components/schemas/DepositInvoiceCreate/properties/settings" }
|
|
47715
|
+
settings: { $ref: "#/components/schemas/DepositInvoiceCreate/properties/settings" },
|
|
47716
|
+
sale_type: {
|
|
47717
|
+
type: "string",
|
|
47718
|
+
description: "Sale type of the document: product (goods), service, or mixed. If not provided, it is automatically detected from the document rows.",
|
|
47719
|
+
enum: [
|
|
47720
|
+
"product",
|
|
47721
|
+
"service",
|
|
47722
|
+
"mixed"
|
|
47723
|
+
],
|
|
47724
|
+
example: "product"
|
|
47725
|
+
}
|
|
47370
47726
|
}
|
|
47371
47727
|
};
|
|
47372
47728
|
const DepositInvoiceComputeInputWritableSchema = {
|
|
@@ -48308,6 +48664,16 @@ const DepositInvoiceMetadataWritableSchema = {
|
|
|
48308
48664
|
}
|
|
48309
48665
|
}
|
|
48310
48666
|
}
|
|
48667
|
+
},
|
|
48668
|
+
forced_prefs: {
|
|
48669
|
+
type: "array",
|
|
48670
|
+
description: "List of preference keys that are forced when enforce_display_rules is true",
|
|
48671
|
+
items: { type: "string" },
|
|
48672
|
+
example: ["show_address", "show_vat_number"]
|
|
48673
|
+
},
|
|
48674
|
+
is_document_compliant: {
|
|
48675
|
+
type: "boolean",
|
|
48676
|
+
description: "Compliance state of the parent document on creation, or of the edited document on update"
|
|
48311
48677
|
}
|
|
48312
48678
|
}
|
|
48313
48679
|
};
|
|
@@ -48916,7 +49282,7 @@ const ProgressInvoiceCreateWritableSchema = {
|
|
|
48916
49282
|
pdf_display: {
|
|
48917
49283
|
type: "object",
|
|
48918
49284
|
title: "PDF option",
|
|
48919
|
-
description: "PDF generation option",
|
|
49285
|
+
description: "PDF generation option. When the electronic invoicing reform applies, the following fields are forced to `true` and any provided value will be ignored: `show_vat_number`, `show_siren`, `show_quantity_column`, `show_unit_cost_column`, `show_amount_column`, `show_taxes_column`, `show_discount_column`, `show_payment_terms`, `show_payment_deadlines`, `show_payment_methods`.",
|
|
48920
49286
|
additionalProperties: false,
|
|
48921
49287
|
properties: {
|
|
48922
49288
|
show_vat_mention: {
|
|
@@ -49040,10 +49406,20 @@ const ProgressInvoiceCreateWritableSchema = {
|
|
|
49040
49406
|
description: "Show legal text on late payment interests",
|
|
49041
49407
|
example: true
|
|
49042
49408
|
},
|
|
49409
|
+
show_sale_type: {
|
|
49410
|
+
type: "boolean",
|
|
49411
|
+
description: "Show sale type column on documents",
|
|
49412
|
+
example: true
|
|
49413
|
+
},
|
|
49043
49414
|
show_progress_invoice_summary: {
|
|
49044
49415
|
type: "boolean",
|
|
49045
49416
|
description: "Show progress invoice summary",
|
|
49046
49417
|
example: true
|
|
49418
|
+
},
|
|
49419
|
+
show_terms_and_conditions_text: {
|
|
49420
|
+
type: "boolean",
|
|
49421
|
+
description: "Show terms and conditions text page",
|
|
49422
|
+
example: true
|
|
49047
49423
|
}
|
|
49048
49424
|
}
|
|
49049
49425
|
},
|
|
@@ -49108,6 +49484,16 @@ const ProgressInvoiceCreateWritableSchema = {
|
|
|
49108
49484
|
maxLength: 13,
|
|
49109
49485
|
description: "Analytic code of document",
|
|
49110
49486
|
example: "divers"
|
|
49487
|
+
},
|
|
49488
|
+
sale_type: {
|
|
49489
|
+
type: "string",
|
|
49490
|
+
description: "Sale type of the document: product (goods), service, or mixed. If not provided, it is automatically detected from the document rows.",
|
|
49491
|
+
enum: [
|
|
49492
|
+
"product",
|
|
49493
|
+
"service",
|
|
49494
|
+
"mixed"
|
|
49495
|
+
],
|
|
49496
|
+
example: "product"
|
|
49111
49497
|
}
|
|
49112
49498
|
},
|
|
49113
49499
|
required: ["parent", "rows"]
|
|
@@ -49522,6 +49908,16 @@ const CreditNoteWritableSchema = {
|
|
|
49522
49908
|
description: "Analytic code of document",
|
|
49523
49909
|
example: "divers"
|
|
49524
49910
|
},
|
|
49911
|
+
sale_type: {
|
|
49912
|
+
type: "string",
|
|
49913
|
+
description: "Sale type of the document: product (goods), service, or mixed",
|
|
49914
|
+
enum: [
|
|
49915
|
+
"product",
|
|
49916
|
+
"service",
|
|
49917
|
+
"mixed"
|
|
49918
|
+
],
|
|
49919
|
+
example: "product"
|
|
49920
|
+
},
|
|
49525
49921
|
_embed: {
|
|
49526
49922
|
title: "Credit Note Embed",
|
|
49527
49923
|
allOf: [
|
|
@@ -49827,6 +50223,16 @@ const CreditNoteOneWritableSchema = { allOf: [{
|
|
|
49827
50223
|
description: "Analytic code of document",
|
|
49828
50224
|
example: "divers"
|
|
49829
50225
|
},
|
|
50226
|
+
sale_type: {
|
|
50227
|
+
type: "string",
|
|
50228
|
+
description: "Sale type of the document: product (goods), service, or mixed",
|
|
50229
|
+
enum: [
|
|
50230
|
+
"product",
|
|
50231
|
+
"service",
|
|
50232
|
+
"mixed"
|
|
50233
|
+
],
|
|
50234
|
+
example: "product"
|
|
50235
|
+
},
|
|
49830
50236
|
_embed: { $ref: "#/components/schemas/CreditNote/properties/_embed" }
|
|
49831
50237
|
}
|
|
49832
50238
|
}, {
|
|
@@ -49970,6 +50376,16 @@ const CreditNoteCreateWritableSchema = { allOf: [{
|
|
|
49970
50376
|
description: "Analytic code of document",
|
|
49971
50377
|
example: "divers"
|
|
49972
50378
|
},
|
|
50379
|
+
sale_type: {
|
|
50380
|
+
type: "string",
|
|
50381
|
+
description: "Sale type of the document: product (goods), service, or mixed. If not provided, it is automatically detected from the document rows.",
|
|
50382
|
+
enum: [
|
|
50383
|
+
"product",
|
|
50384
|
+
"service",
|
|
50385
|
+
"mixed"
|
|
50386
|
+
],
|
|
50387
|
+
example: "product"
|
|
50388
|
+
},
|
|
49973
50389
|
invoicing_address_id: {
|
|
49974
50390
|
description: "Invoicing address, by default take invoicing address of company/individual.",
|
|
49975
50391
|
type: "integer",
|
|
@@ -50311,6 +50727,16 @@ const OrderCreateWritableSchema = { allOf: [{
|
|
|
50311
50727
|
description: "Analytic code of document",
|
|
50312
50728
|
example: "divers"
|
|
50313
50729
|
},
|
|
50730
|
+
sale_type: {
|
|
50731
|
+
type: "string",
|
|
50732
|
+
description: "Sale type of the document: product (goods), service, or mixed. If not provided, it is automatically detected from the document rows.",
|
|
50733
|
+
enum: [
|
|
50734
|
+
"product",
|
|
50735
|
+
"service",
|
|
50736
|
+
"mixed"
|
|
50737
|
+
],
|
|
50738
|
+
example: "product"
|
|
50739
|
+
},
|
|
50314
50740
|
bank_account_id: {
|
|
50315
50741
|
type: "integer",
|
|
50316
50742
|
description: "Bank account ID",
|
|
@@ -50598,6 +51024,16 @@ const OrderWritableSchema = {
|
|
|
50598
51024
|
description: "Deprecated field: eco tax use now product tax_id <br/> Eco tax ID\n",
|
|
50599
51025
|
nullable: true
|
|
50600
51026
|
},
|
|
51027
|
+
sale_type: {
|
|
51028
|
+
type: "string",
|
|
51029
|
+
description: "Sale type of the document: product (goods), service, or mixed",
|
|
51030
|
+
enum: [
|
|
51031
|
+
"product",
|
|
51032
|
+
"service",
|
|
51033
|
+
"mixed"
|
|
51034
|
+
],
|
|
51035
|
+
example: "product"
|
|
51036
|
+
},
|
|
50601
51037
|
check_label_id: {
|
|
50602
51038
|
type: "integer",
|
|
50603
51039
|
description: "Check label ID",
|
|
@@ -50776,6 +51212,16 @@ const OrderOneWritableSchema = { allOf: [{
|
|
|
50776
51212
|
description: "Deprecated field: eco tax use now product tax_id <br/> Eco tax ID\n",
|
|
50777
51213
|
nullable: true
|
|
50778
51214
|
},
|
|
51215
|
+
sale_type: {
|
|
51216
|
+
type: "string",
|
|
51217
|
+
description: "Sale type of the document: product (goods), service, or mixed",
|
|
51218
|
+
enum: [
|
|
51219
|
+
"product",
|
|
51220
|
+
"service",
|
|
51221
|
+
"mixed"
|
|
51222
|
+
],
|
|
51223
|
+
example: "product"
|
|
51224
|
+
},
|
|
50779
51225
|
check_label_id: {
|
|
50780
51226
|
type: "integer",
|
|
50781
51227
|
description: "Check label ID",
|
|
@@ -51113,6 +51559,16 @@ const DeliveryWritableSchema = {
|
|
|
51113
51559
|
description: "Analytic code of document",
|
|
51114
51560
|
example: "divers"
|
|
51115
51561
|
},
|
|
51562
|
+
sale_type: {
|
|
51563
|
+
type: "string",
|
|
51564
|
+
description: "Sale type of the document: product (goods), service, or mixed",
|
|
51565
|
+
enum: [
|
|
51566
|
+
"product",
|
|
51567
|
+
"service",
|
|
51568
|
+
"mixed"
|
|
51569
|
+
],
|
|
51570
|
+
example: "product"
|
|
51571
|
+
},
|
|
51116
51572
|
bank_account_id: {
|
|
51117
51573
|
type: "integer",
|
|
51118
51574
|
description: "Bank account ID",
|
|
@@ -51327,6 +51783,16 @@ const DeliveryOneWritableSchema = { allOf: [{
|
|
|
51327
51783
|
description: "Analytic code of document",
|
|
51328
51784
|
example: "divers"
|
|
51329
51785
|
},
|
|
51786
|
+
sale_type: {
|
|
51787
|
+
type: "string",
|
|
51788
|
+
description: "Sale type of the document: product (goods), service, or mixed",
|
|
51789
|
+
enum: [
|
|
51790
|
+
"product",
|
|
51791
|
+
"service",
|
|
51792
|
+
"mixed"
|
|
51793
|
+
],
|
|
51794
|
+
example: "product"
|
|
51795
|
+
},
|
|
51330
51796
|
bank_account_id: {
|
|
51331
51797
|
type: "integer",
|
|
51332
51798
|
description: "Bank account ID",
|
|
@@ -52898,6 +53364,16 @@ const ProgressInvoiceMetadataWritableSchema = {
|
|
|
52898
53364
|
}
|
|
52899
53365
|
}
|
|
52900
53366
|
}
|
|
53367
|
+
},
|
|
53368
|
+
forced_prefs: {
|
|
53369
|
+
type: "array",
|
|
53370
|
+
description: "List of preference keys that are forced when enforce_display_rules is true",
|
|
53371
|
+
items: { type: "string" },
|
|
53372
|
+
example: ["show_address", "show_vat_number"]
|
|
53373
|
+
},
|
|
53374
|
+
is_document_compliant: {
|
|
53375
|
+
type: "boolean",
|
|
53376
|
+
description: "Compliance state of the parent document on creation, or of the edited document on update"
|
|
52901
53377
|
}
|
|
52902
53378
|
}
|
|
52903
53379
|
};
|
|
@@ -53097,6 +53573,16 @@ const ProgressInvoiceUpdateWritableSchema = {
|
|
|
53097
53573
|
maxLength: 13,
|
|
53098
53574
|
description: "Analytic code of document",
|
|
53099
53575
|
example: "divers"
|
|
53576
|
+
},
|
|
53577
|
+
sale_type: {
|
|
53578
|
+
type: "string",
|
|
53579
|
+
description: "Sale type of the document: product (goods), service, or mixed. If not provided, it is automatically detected from the document rows.",
|
|
53580
|
+
enum: [
|
|
53581
|
+
"product",
|
|
53582
|
+
"service",
|
|
53583
|
+
"mixed"
|
|
53584
|
+
],
|
|
53585
|
+
example: "product"
|
|
53100
53586
|
}
|
|
53101
53587
|
}
|
|
53102
53588
|
};
|
|
@@ -57830,7 +58316,7 @@ const getInvoice = (options) => (options.client ?? client).get({
|
|
|
57830
58316
|
/**
|
|
57831
58317
|
* Update invoice
|
|
57832
58318
|
*
|
|
57833
|
-
* Update an invoice <div style="padding:17px; border-radius: 2px; margin-bottom: 4px; line-height: 1.5em; color: #9A7D36; background-color: #fff2cf; cursor: default;"><b>This route is available in open beta.</b><br /> Please note that its specifications are potentially subject to significant and breaking changes in the coming weeks.</div> <br /> <div style="padding:17px; border-radius: 2px; margin-bottom: 4px; line-height: 1.5em; color: #9A7D36; background-color: #fff2cf; cursor: default;"><b>Electronic invoicing reform</b><br /> <br /> <ul><li>The field <code>rows[x].description</code> will become <u>required</u> in a future update. (<a href="https://help.sellsy.com/fr/articles/12301857-description-et-nom-commercial-dans-les-documents-de-vente">Description and trade name in sales documents</a>)</li><li>The field <code>rows[x].tax_id</code> no longer accepts non-compliant taxes. (<a href="https://help.sellsy.com/fr/articles/13376781-gerer-sa-tva-dans-le-cadre-de-la-facturation-electronique">Managing VAT for electronic invoicing</a>)</li></ul></div>
|
|
58319
|
+
* Update an invoice <div style="padding:17px; border-radius: 2px; margin-bottom: 4px; line-height: 1.5em; color: #9A7D36; background-color: #fff2cf; cursor: default;"><b>This route is available in open beta.</b><br /> Please note that its specifications are potentially subject to significant and breaking changes in the coming weeks.</div> <br /> <div style="padding:17px; border-radius: 2px; margin-bottom: 4px; line-height: 1.5em; color: #9A7D36; background-color: #fff2cf; cursor: default;"><b>Electronic invoicing reform</b><br /> <br /> <ul><li>The field <code>rows[x].description</code> will become <u>required</u> in a future update. (<a href="https://help.sellsy.com/fr/articles/12301857-description-et-nom-commercial-dans-les-documents-de-vente">Description and trade name in sales documents</a>)</li><li>The field <code>rows[x].tax_id</code> no longer accepts non-compliant taxes. (<a href="https://help.sellsy.com/fr/articles/13376781-gerer-sa-tva-dans-le-cadre-de-la-facturation-electronique">Managing VAT for electronic invoicing</a>)</li><li>Some <code>settings.pdf_display</code> fields will be forced to <code>true</code> and any provided value will be ignored. (<a href="https://help.sellsy.com/fr/articles/14756178-les-informations-obligatoires-d-une-facture">Display preferences and electronic invoicing</a>)</li></ul></div>
|
|
57834
58320
|
*/
|
|
57835
58321
|
const updateInvoice = (options) => (options.client ?? client).put({
|
|
57836
58322
|
security: [{
|
|
@@ -57860,7 +58346,7 @@ const getInvoices = (options) => (options?.client ?? client).get({
|
|
|
57860
58346
|
/**
|
|
57861
58347
|
* Create invoice
|
|
57862
58348
|
*
|
|
57863
|
-
* Create an invoice <div style="padding:17px; border-radius: 2px; margin-bottom: 4px; line-height: 1.5em; color: #9A7D36; background-color: #fff2cf; cursor: default;"><b>This route is available in open beta.</b><br /> Please note that its specifications are potentially subject to significant and breaking changes in the coming weeks.</div> <br /> <div style="padding:17px; border-radius: 2px; margin-bottom: 4px; line-height: 1.5em; color: #9A7D36; background-color: #fff2cf; cursor: default;"><b>Electronic invoicing reform</b><br /> <br /> <ul><li>The field <code>rows[x].description</code> will become <u>required</u> in a future update. (<a href="https://help.sellsy.com/fr/articles/12301857-description-et-nom-commercial-dans-les-documents-de-vente">Description and trade name in sales documents</a>)</li><li>The field <code>rows[x].tax_id</code> no longer accepts non-compliant taxes. (<a href="https://help.sellsy.com/fr/articles/13376781-gerer-sa-tva-dans-le-cadre-de-la-facturation-electronique">Managing VAT for electronic invoicing</a>)</li></ul></div>
|
|
58349
|
+
* Create an invoice <div style="padding:17px; border-radius: 2px; margin-bottom: 4px; line-height: 1.5em; color: #9A7D36; background-color: #fff2cf; cursor: default;"><b>This route is available in open beta.</b><br /> Please note that its specifications are potentially subject to significant and breaking changes in the coming weeks.</div> <br /> <div style="padding:17px; border-radius: 2px; margin-bottom: 4px; line-height: 1.5em; color: #9A7D36; background-color: #fff2cf; cursor: default;"><b>Electronic invoicing reform</b><br /> <br /> <ul><li>The field <code>rows[x].description</code> will become <u>required</u> in a future update. (<a href="https://help.sellsy.com/fr/articles/12301857-description-et-nom-commercial-dans-les-documents-de-vente">Description and trade name in sales documents</a>)</li><li>The field <code>rows[x].tax_id</code> no longer accepts non-compliant taxes. (<a href="https://help.sellsy.com/fr/articles/13376781-gerer-sa-tva-dans-le-cadre-de-la-facturation-electronique">Managing VAT for electronic invoicing</a>)</li><li>Some <code>settings.pdf_display</code> fields will be forced to <code>true</code> and any provided value will be ignored. (<a href="https://help.sellsy.com/fr/articles/14756178-les-informations-obligatoires-d-une-facture">Display preferences and electronic invoicing</a>)</li></ul></div>
|
|
57864
58350
|
*/
|
|
57865
58351
|
const createInvoice = (options) => (options?.client ?? client).post({
|
|
57866
58352
|
security: [{
|
|
@@ -58224,7 +58710,7 @@ const getCreditNote = (options) => (options.client ?? client).get({
|
|
|
58224
58710
|
/**
|
|
58225
58711
|
* Update credit note
|
|
58226
58712
|
*
|
|
58227
|
-
* Update a credit note <div style="padding:17px; border-radius: 2px; margin-bottom: 4px; line-height: 1.5em; color: #9A7D36; background-color: #fff2cf; cursor: default;"><b>This route is available in open beta.</b><br /> Please note that its specifications are potentially subject to significant and breaking changes in the coming weeks.</div> <br /> <div style="padding:17px; border-radius: 2px; margin-bottom: 4px; line-height: 1.5em; color: #9A7D36; background-color: #fff2cf; cursor: default;"><b>Electronic invoicing reform</b><br /> <br /> <ul><li>The field <code>rows[x].description</code> will become <u>required</u> in a future update. (<a href="https://help.sellsy.com/fr/articles/12301857-description-et-nom-commercial-dans-les-documents-de-vente">Description and trade name in sales documents</a>)</li><li>The field <code>rows[x].tax_id</code> no longer accepts non-compliant taxes. (<a href="https://help.sellsy.com/fr/articles/13376781-gerer-sa-tva-dans-le-cadre-de-la-facturation-electronique">Managing VAT for electronic invoicing</a>)</li></ul></div>
|
|
58713
|
+
* Update a credit note <div style="padding:17px; border-radius: 2px; margin-bottom: 4px; line-height: 1.5em; color: #9A7D36; background-color: #fff2cf; cursor: default;"><b>This route is available in open beta.</b><br /> Please note that its specifications are potentially subject to significant and breaking changes in the coming weeks.</div> <br /> <div style="padding:17px; border-radius: 2px; margin-bottom: 4px; line-height: 1.5em; color: #9A7D36; background-color: #fff2cf; cursor: default;"><b>Electronic invoicing reform</b><br /> <br /> <ul><li>The field <code>rows[x].description</code> will become <u>required</u> in a future update. (<a href="https://help.sellsy.com/fr/articles/12301857-description-et-nom-commercial-dans-les-documents-de-vente">Description and trade name in sales documents</a>)</li><li>The field <code>rows[x].tax_id</code> no longer accepts non-compliant taxes. (<a href="https://help.sellsy.com/fr/articles/13376781-gerer-sa-tva-dans-le-cadre-de-la-facturation-electronique">Managing VAT for electronic invoicing</a>)</li><li>Some <code>settings.pdf_display</code> fields will be forced to <code>true</code> and any provided value will be ignored. (<a href="https://help.sellsy.com/fr/articles/14756178-les-informations-obligatoires-d-une-facture">Display preferences and electronic invoicing</a>)</li></ul></div>
|
|
58228
58714
|
*
|
|
58229
58715
|
*/
|
|
58230
58716
|
const updateCreditNote = (options) => (options.client ?? client).put({
|
|
@@ -58255,7 +58741,7 @@ const getCreditNotes = (options) => (options?.client ?? client).get({
|
|
|
58255
58741
|
/**
|
|
58256
58742
|
* Create credit note
|
|
58257
58743
|
*
|
|
58258
|
-
* Create a credit note <div style="padding:17px; border-radius: 2px; margin-bottom: 4px; line-height: 1.5em; color: #9A7D36; background-color: #fff2cf; cursor: default;"><b>This route is available in open beta.</b><br /> Please note that its specifications are potentially subject to significant and breaking changes in the coming weeks.</div> <br /> <div style="padding:17px; border-radius: 2px; margin-bottom: 4px; line-height: 1.5em; color: #9A7D36; background-color: #fff2cf; cursor: default;"><b>Electronic invoicing reform</b><br /> <br /> <ul><li>The field <code>rows[x].description</code> will become <u>required</u> in a future update. (<a href="https://help.sellsy.com/fr/articles/12301857-description-et-nom-commercial-dans-les-documents-de-vente">Description and trade name in sales documents</a>)</li><li>The field <code>rows[x].tax_id</code> no longer accepts non-compliant taxes. (<a href="https://help.sellsy.com/fr/articles/13376781-gerer-sa-tva-dans-le-cadre-de-la-facturation-electronique">Managing VAT for electronic invoicing</a>)</li></ul></div>
|
|
58744
|
+
* Create a credit note <div style="padding:17px; border-radius: 2px; margin-bottom: 4px; line-height: 1.5em; color: #9A7D36; background-color: #fff2cf; cursor: default;"><b>This route is available in open beta.</b><br /> Please note that its specifications are potentially subject to significant and breaking changes in the coming weeks.</div> <br /> <div style="padding:17px; border-radius: 2px; margin-bottom: 4px; line-height: 1.5em; color: #9A7D36; background-color: #fff2cf; cursor: default;"><b>Electronic invoicing reform</b><br /> <br /> <ul><li>The field <code>rows[x].description</code> will become <u>required</u> in a future update. (<a href="https://help.sellsy.com/fr/articles/12301857-description-et-nom-commercial-dans-les-documents-de-vente">Description and trade name in sales documents</a>)</li><li>The field <code>rows[x].tax_id</code> no longer accepts non-compliant taxes. (<a href="https://help.sellsy.com/fr/articles/13376781-gerer-sa-tva-dans-le-cadre-de-la-facturation-electronique">Managing VAT for electronic invoicing</a>)</li><li>Some <code>settings.pdf_display</code> fields will be forced to <code>true</code> and any provided value will be ignored. (<a href="https://help.sellsy.com/fr/articles/14756178-les-informations-obligatoires-d-une-facture">Display preferences and electronic invoicing</a>)</li></ul></div>
|
|
58259
58745
|
*
|
|
58260
58746
|
*/
|
|
58261
58747
|
const createCreditNote = (options) => (options?.client ?? client).post({
|
|
@@ -59233,7 +59719,7 @@ const getDepositInvoices = (options) => (options?.client ?? client).get({
|
|
|
59233
59719
|
/**
|
|
59234
59720
|
* Create a deposit invoice
|
|
59235
59721
|
*
|
|
59236
|
-
* Create a deposit invoice <div style="padding:17px; border-radius: 2px; margin-bottom: 4px; line-height: 1.5em; color: #9A7D36; background-color: #fff2cf; cursor: default;"><b>This route is available in open beta.</b><br /> Please note that its specifications are potentially subject to significant and breaking changes in the coming weeks.</div> <br /> <div style="padding:17px; border-radius: 2px; margin-bottom: 4px; line-height: 1.5em; color: #9A7D36; background-color: #fff2cf; cursor: default;"><b>Electronic invoicing reform</b><br /> <br /> <ul><li>The field <code>rows[x].description</code> will become <u>required</u> in a future update.</li><li>The field <code>rows[x].tax_id</code> no longer accepts non-compliant taxes.</li></ul></div>
|
|
59722
|
+
* Create a deposit invoice <div style="padding:17px; border-radius: 2px; margin-bottom: 4px; line-height: 1.5em; color: #9A7D36; background-color: #fff2cf; cursor: default;"><b>This route is available in open beta.</b><br /> Please note that its specifications are potentially subject to significant and breaking changes in the coming weeks.</div> <br /> <div style="padding:17px; border-radius: 2px; margin-bottom: 4px; line-height: 1.5em; color: #9A7D36; background-color: #fff2cf; cursor: default;"><b>Electronic invoicing reform</b><br /> <br /> <ul><li>The field <code>rows[x].description</code> will become <u>required</u> in a future update.</li><li>The field <code>rows[x].tax_id</code> no longer accepts non-compliant taxes.</li><li>Some <code>settings.pdf_display</code> fields will be forced to <code>true</code> and any provided value will be ignored. (<a href="https://help.sellsy.com/fr/articles/14756178-les-informations-obligatoires-d-une-facture">Display preferences and electronic invoicing</a>)</li></ul></div>
|
|
59237
59723
|
*
|
|
59238
59724
|
*/
|
|
59239
59725
|
const createDepositInvoice = (options) => (options?.client ?? client).post({
|
|
@@ -59540,7 +60026,7 @@ const getProformaInvoiceCustomFields = (options) => (options.client ?? client).g
|
|
|
59540
60026
|
/**
|
|
59541
60027
|
* Create a Progress invoice
|
|
59542
60028
|
*
|
|
59543
|
-
* Create a Progress invoice <div style="padding:17px; border-radius: 2px; margin-bottom: 4px; line-height: 1.5em; color: #9A7D36; background-color: #fff2cf; cursor: default;"><b>This route is available in open beta.</b><br /> Please note that its specifications are potentially subject to significant and breaking changes in the coming weeks.</div> <br /> <div style="padding:17px; border-radius: 2px; margin-bottom: 4px; line-height: 1.5em; color: #9A7D36; background-color: #fff2cf; cursor: default;"><b>Electronic invoicing reform</b><br /> <br /> <ul><li>The field <code>rows[x].description</code> will become <u>required</u> in a future update. (<a href="https://help.sellsy.com/fr/articles/12301857-description-et-nom-commercial-dans-les-documents-de-vente">Description and trade name in sales documents</a>)</li></ul></div>
|
|
60029
|
+
* Create a Progress invoice <div style="padding:17px; border-radius: 2px; margin-bottom: 4px; line-height: 1.5em; color: #9A7D36; background-color: #fff2cf; cursor: default;"><b>This route is available in open beta.</b><br /> Please note that its specifications are potentially subject to significant and breaking changes in the coming weeks.</div> <br /> <div style="padding:17px; border-radius: 2px; margin-bottom: 4px; line-height: 1.5em; color: #9A7D36; background-color: #fff2cf; cursor: default;"><b>Electronic invoicing reform</b><br /> <br /> <ul><li>The field <code>rows[x].description</code> will become <u>required</u> in a future update. (<a href="https://help.sellsy.com/fr/articles/12301857-description-et-nom-commercial-dans-les-documents-de-vente">Description and trade name in sales documents</a>)</li><li>Some <code>settings.pdf_display</code> fields will be forced to <code>true</code> and any provided value will be ignored. (<a href="https://help.sellsy.com/fr/articles/14756178-les-informations-obligatoires-d-une-facture">Display preferences and electronic invoicing</a>)</li></ul></div>
|
|
59544
60030
|
*
|
|
59545
60031
|
*/
|
|
59546
60032
|
const createProgressInvoice = (options) => (options?.client ?? client).post({
|
|
@@ -59576,7 +60062,7 @@ const computeProgressInvoice = (options) => (options?.client ?? client).post({
|
|
|
59576
60062
|
/**
|
|
59577
60063
|
* Update a progress invoice
|
|
59578
60064
|
*
|
|
59579
|
-
* Update a progress invoice. <div style="padding:17px; border-radius: 2px; margin-bottom: 4px; line-height: 1.5em; color: #9A7D36; background-color: #fff2cf; cursor: default;"><b>This route is available in open beta.</b><br /> Please note that its specifications are potentially subject to significant and breaking changes in the coming weeks.</div> <br /> <div style="padding:17px; border-radius: 2px; margin-bottom: 4px; line-height: 1.5em; color: #9A7D36; background-color: #fff2cf; cursor: default;"><b>Electronic invoicing reform</b><br /> <br /> <ul><li>The field <code>rows[x].description</code> will become <u>required</u> in a future update. (<a href="https://help.sellsy.com/fr/articles/12301857-description-et-nom-commercial-dans-les-documents-de-vente">Description and trade name in sales documents</a>)</li></ul></div>
|
|
60065
|
+
* Update a progress invoice. <div style="padding:17px; border-radius: 2px; margin-bottom: 4px; line-height: 1.5em; color: #9A7D36; background-color: #fff2cf; cursor: default;"><b>This route is available in open beta.</b><br /> Please note that its specifications are potentially subject to significant and breaking changes in the coming weeks.</div> <br /> <div style="padding:17px; border-radius: 2px; margin-bottom: 4px; line-height: 1.5em; color: #9A7D36; background-color: #fff2cf; cursor: default;"><b>Electronic invoicing reform</b><br /> <br /> <ul><li>The field <code>rows[x].description</code> will become <u>required</u> in a future update. (<a href="https://help.sellsy.com/fr/articles/12301857-description-et-nom-commercial-dans-les-documents-de-vente">Description and trade name in sales documents</a>)</li><li>Some <code>settings.pdf_display</code> fields will be forced to <code>true</code> and any provided value will be ignored. (<a href="https://help.sellsy.com/fr/articles/14756178-les-informations-obligatoires-d-une-facture">Display preferences and electronic invoicing</a>)</li></ul></div>
|
|
59580
60066
|
*
|
|
59581
60067
|
*/
|
|
59582
60068
|
const updateProgressInvoice = (options) => (options.client ?? client).put({
|