@getyetty-sdk/sellsy 2026.5.18 → 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 +683 -29
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +517 -19
- 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
|
};
|
|
@@ -10520,7 +10557,7 @@ const OcrSchema = {
|
|
|
10520
10557
|
source: {
|
|
10521
10558
|
type: "string",
|
|
10522
10559
|
description: "Source of the incoming document",
|
|
10523
|
-
enum: ["ocr", "
|
|
10560
|
+
enum: ["ocr", "einvoicing"],
|
|
10524
10561
|
example: "ocr"
|
|
10525
10562
|
},
|
|
10526
10563
|
supplier: {
|
|
@@ -15946,7 +15983,7 @@ const EmailSendBatchBodySchema = {
|
|
|
15946
15983
|
type: "array",
|
|
15947
15984
|
description: "List of related objects for the email. All items must have the same type.",
|
|
15948
15985
|
minItems: 1,
|
|
15949
|
-
maxItems:
|
|
15986
|
+
maxItems: 2e3,
|
|
15950
15987
|
items: {
|
|
15951
15988
|
type: "object",
|
|
15952
15989
|
required: ["type", "id"],
|
|
@@ -19637,6 +19674,12 @@ const ScanListSchema = {
|
|
|
19637
19674
|
nullable: true
|
|
19638
19675
|
}
|
|
19639
19676
|
}
|
|
19677
|
+
},
|
|
19678
|
+
company_employee_range: {
|
|
19679
|
+
type: "string",
|
|
19680
|
+
description: "Employee count range of the company (e.g. \"3-5\", \"10-19\")",
|
|
19681
|
+
example: "3-5",
|
|
19682
|
+
nullable: true
|
|
19640
19683
|
}
|
|
19641
19684
|
}
|
|
19642
19685
|
}
|
|
@@ -19784,6 +19827,12 @@ const ScanFetchSchema = {
|
|
|
19784
19827
|
type: "string",
|
|
19785
19828
|
description: "Sign of company",
|
|
19786
19829
|
nullable: true
|
|
19830
|
+
},
|
|
19831
|
+
company_employee_range: {
|
|
19832
|
+
type: "string",
|
|
19833
|
+
description: "Employee count range of the company (e.g. \"3-5\", \"10-19\")",
|
|
19834
|
+
example: "3-5",
|
|
19835
|
+
nullable: true
|
|
19787
19836
|
}
|
|
19788
19837
|
}
|
|
19789
19838
|
};
|
|
@@ -20980,6 +21029,16 @@ const InvoiceSchema = {
|
|
|
20980
21029
|
maxLength: 13,
|
|
20981
21030
|
description: "Analytic code of document",
|
|
20982
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"
|
|
20983
21042
|
}
|
|
20984
21043
|
}
|
|
20985
21044
|
};
|
|
@@ -21392,6 +21451,16 @@ const InvoiceOneSchema = {
|
|
|
21392
21451
|
maxLength: 13,
|
|
21393
21452
|
description: "Analytic code of document",
|
|
21394
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"
|
|
21395
21464
|
}
|
|
21396
21465
|
}
|
|
21397
21466
|
}, {
|
|
@@ -22525,6 +22594,16 @@ const InvoiceOrProgressInvoiceOneSchema = { oneOf: [{ $ref: "#/components/schema
|
|
|
22525
22594
|
type: "boolean",
|
|
22526
22595
|
description: "Show legal text on late payment interests",
|
|
22527
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
|
|
22528
22607
|
}
|
|
22529
22608
|
}
|
|
22530
22609
|
}] } }
|
|
@@ -23039,6 +23118,16 @@ const InvoiceCreateSchema = { allOf: [{
|
|
|
23039
23118
|
maxLength: 13,
|
|
23040
23119
|
description: "Analytic code of document",
|
|
23041
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"
|
|
23042
23131
|
}
|
|
23043
23132
|
}
|
|
23044
23133
|
}, {
|
|
@@ -23605,7 +23694,7 @@ const DepositInvoiceCreateSchema = {
|
|
|
23605
23694
|
pdf_display: {
|
|
23606
23695
|
type: "object",
|
|
23607
23696
|
title: "PDF option",
|
|
23608
|
-
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`.",
|
|
23609
23698
|
additionalProperties: false,
|
|
23610
23699
|
properties: {
|
|
23611
23700
|
show_vat_mention: {
|
|
@@ -23673,6 +23762,16 @@ const DepositInvoiceCreateSchema = {
|
|
|
23673
23762
|
type: "boolean",
|
|
23674
23763
|
description: "Show legal text on late payment interests",
|
|
23675
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
|
|
23676
23775
|
}
|
|
23677
23776
|
}
|
|
23678
23777
|
},
|
|
@@ -23683,6 +23782,16 @@ const DepositInvoiceCreateSchema = {
|
|
|
23683
23782
|
nullable: true
|
|
23684
23783
|
}
|
|
23685
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"
|
|
23686
23795
|
}
|
|
23687
23796
|
},
|
|
23688
23797
|
required: ["parent", "rows"]
|
|
@@ -23850,7 +23959,17 @@ const DepositInvoiceUpdateSchema = {
|
|
|
23850
23959
|
type: "integer",
|
|
23851
23960
|
description: "Document Layout"
|
|
23852
23961
|
},
|
|
23853
|
-
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
|
+
}
|
|
23854
23973
|
}
|
|
23855
23974
|
};
|
|
23856
23975
|
const DepositInvoicePrepareInputSchema = {
|
|
@@ -25266,6 +25385,16 @@ const DepositInvoiceMetadataSchema = {
|
|
|
25266
25385
|
}
|
|
25267
25386
|
}
|
|
25268
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"
|
|
25269
25398
|
}
|
|
25270
25399
|
}
|
|
25271
25400
|
};
|
|
@@ -25874,7 +26003,7 @@ const ProgressInvoiceCreateSchema = {
|
|
|
25874
26003
|
pdf_display: {
|
|
25875
26004
|
type: "object",
|
|
25876
26005
|
title: "PDF option",
|
|
25877
|
-
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`.",
|
|
25878
26007
|
additionalProperties: false,
|
|
25879
26008
|
properties: {
|
|
25880
26009
|
show_vat_mention: {
|
|
@@ -25998,10 +26127,20 @@ const ProgressInvoiceCreateSchema = {
|
|
|
25998
26127
|
description: "Show legal text on late payment interests",
|
|
25999
26128
|
example: true
|
|
26000
26129
|
},
|
|
26130
|
+
show_sale_type: {
|
|
26131
|
+
type: "boolean",
|
|
26132
|
+
description: "Show sale type column on documents",
|
|
26133
|
+
example: true
|
|
26134
|
+
},
|
|
26001
26135
|
show_progress_invoice_summary: {
|
|
26002
26136
|
type: "boolean",
|
|
26003
26137
|
description: "Show progress invoice summary",
|
|
26004
26138
|
example: true
|
|
26139
|
+
},
|
|
26140
|
+
show_terms_and_conditions_text: {
|
|
26141
|
+
type: "boolean",
|
|
26142
|
+
description: "Show terms and conditions text page",
|
|
26143
|
+
example: true
|
|
26005
26144
|
}
|
|
26006
26145
|
}
|
|
26007
26146
|
},
|
|
@@ -26066,6 +26205,16 @@ const ProgressInvoiceCreateSchema = {
|
|
|
26066
26205
|
maxLength: 13,
|
|
26067
26206
|
description: "Analytic code of document",
|
|
26068
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"
|
|
26069
26218
|
}
|
|
26070
26219
|
},
|
|
26071
26220
|
required: ["parent", "rows"]
|
|
@@ -26850,6 +26999,16 @@ const CreditNoteSchema = {
|
|
|
26850
26999
|
description: "Analytic code of document",
|
|
26851
27000
|
example: "divers"
|
|
26852
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
|
+
},
|
|
26853
27012
|
_embed: {
|
|
26854
27013
|
title: "Credit Note Embed",
|
|
26855
27014
|
allOf: [
|
|
@@ -27220,6 +27379,16 @@ const CreditNoteOneSchema = { allOf: [{
|
|
|
27220
27379
|
description: "Analytic code of document",
|
|
27221
27380
|
example: "divers"
|
|
27222
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
|
+
},
|
|
27223
27392
|
_embed: { $ref: "#/components/schemas/CreditNote/properties/_embed" }
|
|
27224
27393
|
}
|
|
27225
27394
|
}, {
|
|
@@ -27363,6 +27532,16 @@ const CreditNoteCreateSchema = { allOf: [{
|
|
|
27363
27532
|
description: "Analytic code of document",
|
|
27364
27533
|
example: "divers"
|
|
27365
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
|
+
},
|
|
27366
27545
|
invoicing_address_id: {
|
|
27367
27546
|
description: "Invoicing address, by default take invoicing address of company/individual.",
|
|
27368
27547
|
type: "integer",
|
|
@@ -27775,6 +27954,16 @@ const OrderCreateSchema = { allOf: [{
|
|
|
27775
27954
|
description: "Analytic code of document",
|
|
27776
27955
|
example: "divers"
|
|
27777
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
|
+
},
|
|
27778
27967
|
bank_account_id: {
|
|
27779
27968
|
type: "integer",
|
|
27780
27969
|
description: "Bank account ID",
|
|
@@ -28247,6 +28436,16 @@ const OrderSchema = {
|
|
|
28247
28436
|
description: "Deprecated field: eco tax use now product tax_id <br/> Eco tax ID\n",
|
|
28248
28437
|
nullable: true
|
|
28249
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
|
+
},
|
|
28250
28449
|
check_label_id: {
|
|
28251
28450
|
type: "integer",
|
|
28252
28451
|
description: "Check label ID",
|
|
@@ -28610,6 +28809,16 @@ const OrderOneSchema = { allOf: [{
|
|
|
28610
28809
|
description: "Deprecated field: eco tax use now product tax_id <br/> Eco tax ID\n",
|
|
28611
28810
|
nullable: true
|
|
28612
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
|
+
},
|
|
28613
28822
|
check_label_id: {
|
|
28614
28823
|
type: "integer",
|
|
28615
28824
|
description: "Check label ID",
|
|
@@ -29303,6 +29512,16 @@ const DeliverySchema = {
|
|
|
29303
29512
|
description: "Analytic code of document",
|
|
29304
29513
|
example: "divers"
|
|
29305
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
|
+
},
|
|
29306
29525
|
bank_account_id: {
|
|
29307
29526
|
type: "integer",
|
|
29308
29527
|
description: "Bank account ID",
|
|
@@ -29694,6 +29913,16 @@ const DeliveryOneSchema = { allOf: [{
|
|
|
29694
29913
|
description: "Analytic code of document",
|
|
29695
29914
|
example: "divers"
|
|
29696
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
|
+
},
|
|
29697
29926
|
bank_account_id: {
|
|
29698
29927
|
type: "integer",
|
|
29699
29928
|
description: "Bank account ID",
|
|
@@ -34411,6 +34640,25 @@ const InvoicingSettingsMetadataSchema = {
|
|
|
34411
34640
|
type: "string",
|
|
34412
34641
|
example: "show_address"
|
|
34413
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
|
+
}
|
|
34414
34662
|
}
|
|
34415
34663
|
}
|
|
34416
34664
|
};
|
|
@@ -35302,6 +35550,16 @@ const ProgressInvoiceMetadataSchema = {
|
|
|
35302
35550
|
}
|
|
35303
35551
|
}
|
|
35304
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"
|
|
35305
35563
|
}
|
|
35306
35564
|
}
|
|
35307
35565
|
};
|
|
@@ -35501,6 +35759,16 @@ const ProgressInvoiceUpdateSchema = {
|
|
|
35501
35759
|
maxLength: 13,
|
|
35502
35760
|
description: "Analytic code of document",
|
|
35503
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"
|
|
35504
35772
|
}
|
|
35505
35773
|
}
|
|
35506
35774
|
};
|
|
@@ -37444,6 +37712,16 @@ const EstimateWritableSchema = {
|
|
|
37444
37712
|
description: "Analytic code of document",
|
|
37445
37713
|
example: "divers"
|
|
37446
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
|
+
},
|
|
37447
37725
|
shipping_weight: { $ref: "#/components/schemas/EstimateCompute/properties/shipping_weight" },
|
|
37448
37726
|
shipping_volume: {
|
|
37449
37727
|
description: "Total volume of product to ship in m3",
|
|
@@ -37704,7 +37982,7 @@ const EstimateCreateWritableSchema = { allOf: [{ $ref: "#/components/schemas/Est
|
|
|
37704
37982
|
pdf_display: {
|
|
37705
37983
|
type: "object",
|
|
37706
37984
|
title: "PDF option",
|
|
37707
|
-
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`.",
|
|
37708
37986
|
additionalProperties: false,
|
|
37709
37987
|
properties: {
|
|
37710
37988
|
show_vat_mention: {
|
|
@@ -37827,6 +38105,16 @@ const EstimateCreateWritableSchema = { allOf: [{ $ref: "#/components/schemas/Est
|
|
|
37827
38105
|
type: "boolean",
|
|
37828
38106
|
description: "Show legal text on late payment interests",
|
|
37829
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
|
|
37830
38118
|
}
|
|
37831
38119
|
}
|
|
37832
38120
|
},
|
|
@@ -39790,6 +40078,16 @@ const SaleEmbedWritableSchema = {
|
|
|
39790
40078
|
type: "boolean",
|
|
39791
40079
|
description: "Show legal text on late payment interests",
|
|
39792
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
|
|
39793
40091
|
}
|
|
39794
40092
|
}
|
|
39795
40093
|
},
|
|
@@ -42028,7 +42326,7 @@ const OcrWritableSchema = {
|
|
|
42028
42326
|
source: {
|
|
42029
42327
|
type: "string",
|
|
42030
42328
|
description: "Source of the incoming document",
|
|
42031
|
-
enum: ["ocr", "
|
|
42329
|
+
enum: ["ocr", "einvoicing"],
|
|
42032
42330
|
example: "ocr"
|
|
42033
42331
|
},
|
|
42034
42332
|
supplier: {
|
|
@@ -45115,6 +45413,16 @@ const InvoiceWritableSchema = {
|
|
|
45115
45413
|
maxLength: 13,
|
|
45116
45414
|
description: "Analytic code of document",
|
|
45117
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"
|
|
45118
45426
|
}
|
|
45119
45427
|
}
|
|
45120
45428
|
};
|
|
@@ -45344,6 +45652,16 @@ const InvoiceOneWritableSchema = {
|
|
|
45344
45652
|
maxLength: 13,
|
|
45345
45653
|
description: "Analytic code of document",
|
|
45346
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"
|
|
45347
45665
|
}
|
|
45348
45666
|
}
|
|
45349
45667
|
}, {
|
|
@@ -46277,6 +46595,16 @@ const InvoiceOrProgressInvoiceOneWritableSchema = { oneOf: [{ $ref: "#/component
|
|
|
46277
46595
|
type: "boolean",
|
|
46278
46596
|
description: "Show legal text on late payment interests",
|
|
46279
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
|
|
46280
46608
|
}
|
|
46281
46609
|
}
|
|
46282
46610
|
}] } }
|
|
@@ -46549,6 +46877,16 @@ const InvoiceCreateWritableSchema = { allOf: [{
|
|
|
46549
46877
|
maxLength: 13,
|
|
46550
46878
|
description: "Analytic code of document",
|
|
46551
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"
|
|
46552
46890
|
}
|
|
46553
46891
|
}
|
|
46554
46892
|
}, {
|
|
@@ -47115,7 +47453,7 @@ const DepositInvoiceCreateWritableSchema = {
|
|
|
47115
47453
|
pdf_display: {
|
|
47116
47454
|
type: "object",
|
|
47117
47455
|
title: "PDF option",
|
|
47118
|
-
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`.",
|
|
47119
47457
|
additionalProperties: false,
|
|
47120
47458
|
properties: {
|
|
47121
47459
|
show_bank_account: {
|
|
@@ -47177,6 +47515,16 @@ const DepositInvoiceCreateWritableSchema = {
|
|
|
47177
47515
|
type: "boolean",
|
|
47178
47516
|
description: "Show legal text on late payment interests",
|
|
47179
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
|
|
47180
47528
|
}
|
|
47181
47529
|
}
|
|
47182
47530
|
},
|
|
@@ -47187,6 +47535,16 @@ const DepositInvoiceCreateWritableSchema = {
|
|
|
47187
47535
|
nullable: true
|
|
47188
47536
|
}
|
|
47189
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"
|
|
47190
47548
|
}
|
|
47191
47549
|
},
|
|
47192
47550
|
required: ["parent", "rows"]
|
|
@@ -47354,7 +47712,17 @@ const DepositInvoiceUpdateWritableSchema = {
|
|
|
47354
47712
|
type: "integer",
|
|
47355
47713
|
description: "Document Layout"
|
|
47356
47714
|
},
|
|
47357
|
-
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
|
+
}
|
|
47358
47726
|
}
|
|
47359
47727
|
};
|
|
47360
47728
|
const DepositInvoiceComputeInputWritableSchema = {
|
|
@@ -48296,6 +48664,16 @@ const DepositInvoiceMetadataWritableSchema = {
|
|
|
48296
48664
|
}
|
|
48297
48665
|
}
|
|
48298
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"
|
|
48299
48677
|
}
|
|
48300
48678
|
}
|
|
48301
48679
|
};
|
|
@@ -48904,7 +49282,7 @@ const ProgressInvoiceCreateWritableSchema = {
|
|
|
48904
49282
|
pdf_display: {
|
|
48905
49283
|
type: "object",
|
|
48906
49284
|
title: "PDF option",
|
|
48907
|
-
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`.",
|
|
48908
49286
|
additionalProperties: false,
|
|
48909
49287
|
properties: {
|
|
48910
49288
|
show_vat_mention: {
|
|
@@ -49028,10 +49406,20 @@ const ProgressInvoiceCreateWritableSchema = {
|
|
|
49028
49406
|
description: "Show legal text on late payment interests",
|
|
49029
49407
|
example: true
|
|
49030
49408
|
},
|
|
49409
|
+
show_sale_type: {
|
|
49410
|
+
type: "boolean",
|
|
49411
|
+
description: "Show sale type column on documents",
|
|
49412
|
+
example: true
|
|
49413
|
+
},
|
|
49031
49414
|
show_progress_invoice_summary: {
|
|
49032
49415
|
type: "boolean",
|
|
49033
49416
|
description: "Show progress invoice summary",
|
|
49034
49417
|
example: true
|
|
49418
|
+
},
|
|
49419
|
+
show_terms_and_conditions_text: {
|
|
49420
|
+
type: "boolean",
|
|
49421
|
+
description: "Show terms and conditions text page",
|
|
49422
|
+
example: true
|
|
49035
49423
|
}
|
|
49036
49424
|
}
|
|
49037
49425
|
},
|
|
@@ -49096,6 +49484,16 @@ const ProgressInvoiceCreateWritableSchema = {
|
|
|
49096
49484
|
maxLength: 13,
|
|
49097
49485
|
description: "Analytic code of document",
|
|
49098
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"
|
|
49099
49497
|
}
|
|
49100
49498
|
},
|
|
49101
49499
|
required: ["parent", "rows"]
|
|
@@ -49510,6 +49908,16 @@ const CreditNoteWritableSchema = {
|
|
|
49510
49908
|
description: "Analytic code of document",
|
|
49511
49909
|
example: "divers"
|
|
49512
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
|
+
},
|
|
49513
49921
|
_embed: {
|
|
49514
49922
|
title: "Credit Note Embed",
|
|
49515
49923
|
allOf: [
|
|
@@ -49815,6 +50223,16 @@ const CreditNoteOneWritableSchema = { allOf: [{
|
|
|
49815
50223
|
description: "Analytic code of document",
|
|
49816
50224
|
example: "divers"
|
|
49817
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
|
+
},
|
|
49818
50236
|
_embed: { $ref: "#/components/schemas/CreditNote/properties/_embed" }
|
|
49819
50237
|
}
|
|
49820
50238
|
}, {
|
|
@@ -49958,6 +50376,16 @@ const CreditNoteCreateWritableSchema = { allOf: [{
|
|
|
49958
50376
|
description: "Analytic code of document",
|
|
49959
50377
|
example: "divers"
|
|
49960
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
|
+
},
|
|
49961
50389
|
invoicing_address_id: {
|
|
49962
50390
|
description: "Invoicing address, by default take invoicing address of company/individual.",
|
|
49963
50391
|
type: "integer",
|
|
@@ -50299,6 +50727,16 @@ const OrderCreateWritableSchema = { allOf: [{
|
|
|
50299
50727
|
description: "Analytic code of document",
|
|
50300
50728
|
example: "divers"
|
|
50301
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
|
+
},
|
|
50302
50740
|
bank_account_id: {
|
|
50303
50741
|
type: "integer",
|
|
50304
50742
|
description: "Bank account ID",
|
|
@@ -50586,6 +51024,16 @@ const OrderWritableSchema = {
|
|
|
50586
51024
|
description: "Deprecated field: eco tax use now product tax_id <br/> Eco tax ID\n",
|
|
50587
51025
|
nullable: true
|
|
50588
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
|
+
},
|
|
50589
51037
|
check_label_id: {
|
|
50590
51038
|
type: "integer",
|
|
50591
51039
|
description: "Check label ID",
|
|
@@ -50764,6 +51212,16 @@ const OrderOneWritableSchema = { allOf: [{
|
|
|
50764
51212
|
description: "Deprecated field: eco tax use now product tax_id <br/> Eco tax ID\n",
|
|
50765
51213
|
nullable: true
|
|
50766
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
|
+
},
|
|
50767
51225
|
check_label_id: {
|
|
50768
51226
|
type: "integer",
|
|
50769
51227
|
description: "Check label ID",
|
|
@@ -51101,6 +51559,16 @@ const DeliveryWritableSchema = {
|
|
|
51101
51559
|
description: "Analytic code of document",
|
|
51102
51560
|
example: "divers"
|
|
51103
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
|
+
},
|
|
51104
51572
|
bank_account_id: {
|
|
51105
51573
|
type: "integer",
|
|
51106
51574
|
description: "Bank account ID",
|
|
@@ -51315,6 +51783,16 @@ const DeliveryOneWritableSchema = { allOf: [{
|
|
|
51315
51783
|
description: "Analytic code of document",
|
|
51316
51784
|
example: "divers"
|
|
51317
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
|
+
},
|
|
51318
51796
|
bank_account_id: {
|
|
51319
51797
|
type: "integer",
|
|
51320
51798
|
description: "Bank account ID",
|
|
@@ -52886,6 +53364,16 @@ const ProgressInvoiceMetadataWritableSchema = {
|
|
|
52886
53364
|
}
|
|
52887
53365
|
}
|
|
52888
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"
|
|
52889
53377
|
}
|
|
52890
53378
|
}
|
|
52891
53379
|
};
|
|
@@ -53085,6 +53573,16 @@ const ProgressInvoiceUpdateWritableSchema = {
|
|
|
53085
53573
|
maxLength: 13,
|
|
53086
53574
|
description: "Analytic code of document",
|
|
53087
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"
|
|
53088
53586
|
}
|
|
53089
53587
|
}
|
|
53090
53588
|
};
|
|
@@ -57818,7 +58316,7 @@ const getInvoice = (options) => (options.client ?? client).get({
|
|
|
57818
58316
|
/**
|
|
57819
58317
|
* Update invoice
|
|
57820
58318
|
*
|
|
57821
|
-
* 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>
|
|
57822
58320
|
*/
|
|
57823
58321
|
const updateInvoice = (options) => (options.client ?? client).put({
|
|
57824
58322
|
security: [{
|
|
@@ -57848,7 +58346,7 @@ const getInvoices = (options) => (options?.client ?? client).get({
|
|
|
57848
58346
|
/**
|
|
57849
58347
|
* Create invoice
|
|
57850
58348
|
*
|
|
57851
|
-
* 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>
|
|
57852
58350
|
*/
|
|
57853
58351
|
const createInvoice = (options) => (options?.client ?? client).post({
|
|
57854
58352
|
security: [{
|
|
@@ -58212,7 +58710,7 @@ const getCreditNote = (options) => (options.client ?? client).get({
|
|
|
58212
58710
|
/**
|
|
58213
58711
|
* Update credit note
|
|
58214
58712
|
*
|
|
58215
|
-
* 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>
|
|
58216
58714
|
*
|
|
58217
58715
|
*/
|
|
58218
58716
|
const updateCreditNote = (options) => (options.client ?? client).put({
|
|
@@ -58243,7 +58741,7 @@ const getCreditNotes = (options) => (options?.client ?? client).get({
|
|
|
58243
58741
|
/**
|
|
58244
58742
|
* Create credit note
|
|
58245
58743
|
*
|
|
58246
|
-
* 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>
|
|
58247
58745
|
*
|
|
58248
58746
|
*/
|
|
58249
58747
|
const createCreditNote = (options) => (options?.client ?? client).post({
|
|
@@ -59221,7 +59719,7 @@ const getDepositInvoices = (options) => (options?.client ?? client).get({
|
|
|
59221
59719
|
/**
|
|
59222
59720
|
* Create a deposit invoice
|
|
59223
59721
|
*
|
|
59224
|
-
* 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>
|
|
59225
59723
|
*
|
|
59226
59724
|
*/
|
|
59227
59725
|
const createDepositInvoice = (options) => (options?.client ?? client).post({
|
|
@@ -59528,7 +60026,7 @@ const getProformaInvoiceCustomFields = (options) => (options.client ?? client).g
|
|
|
59528
60026
|
/**
|
|
59529
60027
|
* Create a Progress invoice
|
|
59530
60028
|
*
|
|
59531
|
-
* 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>
|
|
59532
60030
|
*
|
|
59533
60031
|
*/
|
|
59534
60032
|
const createProgressInvoice = (options) => (options?.client ?? client).post({
|
|
@@ -59564,7 +60062,7 @@ const computeProgressInvoice = (options) => (options?.client ?? client).post({
|
|
|
59564
60062
|
/**
|
|
59565
60063
|
* Update a progress invoice
|
|
59566
60064
|
*
|
|
59567
|
-
* 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>
|
|
59568
60066
|
*
|
|
59569
60067
|
*/
|
|
59570
60068
|
const updateProgressInvoice = (options) => (options.client ?? client).put({
|