@talonic/docs 0.21.73 → 0.21.75
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/seo.js +629 -5
- package/openapi.json +629 -5
- package/package.json +1 -1
package/dist/seo.js
CHANGED
|
@@ -34851,7 +34851,7 @@ var openapi_default = {
|
|
|
34851
34851
|
post: {
|
|
34852
34852
|
operationId: "syncParties",
|
|
34853
34853
|
summary: "Start a sync of the rows with the data products",
|
|
34854
|
-
description: "
|
|
34854
|
+
description: "Asks for a sync and returns once the workspace is marked due; `GET /v1/parties/status` reports `syncing` until it is done. With `row_ids` only those rows are filled again, at once. Without them a full pass runs on a worker: it registers every row, fills each from its mapped fields, the Field Registry and the Contracts app (no model call) and, when background reads are enabled, queues reads. One pass runs per workspace at a time; a request made while one runs gets its own pass after it.",
|
|
34855
34855
|
tags: [
|
|
34856
34856
|
"Contract Party Management"
|
|
34857
34857
|
],
|
|
@@ -37208,6 +37208,53 @@ var openapi_default = {
|
|
|
37208
37208
|
}
|
|
37209
37209
|
}
|
|
37210
37210
|
},
|
|
37211
|
+
"/v1/chart-to-data/read-charts/preview": {
|
|
37212
|
+
get: {
|
|
37213
|
+
operationId: "previewChartToDataReadCharts",
|
|
37214
|
+
summary: "What reading the charts of selected documents would read and cost at most",
|
|
37215
|
+
description: `Checks each selected document as "Read charts" would (visible to the key's principal, a PDF that finished processing, not read before under the current prompt) and returns how many documents would be queued, the scanned charts they would read (each document up to its chart limit; null while one of them is not scanned yet), the paid calls those charts make at most and that many calls at the highest price one call may cost, rounded up to the cent. Nothing is admitted, queued or paid. Requires the ingest permission, as reading itself does.`,
|
|
37216
|
+
tags: [
|
|
37217
|
+
"Chart Extraction"
|
|
37218
|
+
],
|
|
37219
|
+
parameters: [
|
|
37220
|
+
{
|
|
37221
|
+
name: "document_ids",
|
|
37222
|
+
in: "query",
|
|
37223
|
+
required: true,
|
|
37224
|
+
description: "Comma-separated document ids, 1 to 1,000.",
|
|
37225
|
+
style: "form",
|
|
37226
|
+
explode: false,
|
|
37227
|
+
schema: {
|
|
37228
|
+
type: "array",
|
|
37229
|
+
minItems: 1,
|
|
37230
|
+
maxItems: 1e3,
|
|
37231
|
+
items: {
|
|
37232
|
+
type: "string",
|
|
37233
|
+
format: "uuid"
|
|
37234
|
+
}
|
|
37235
|
+
}
|
|
37236
|
+
}
|
|
37237
|
+
],
|
|
37238
|
+
responses: {
|
|
37239
|
+
"200": {
|
|
37240
|
+
description: "At most what the selection would read and cost.",
|
|
37241
|
+
content: {
|
|
37242
|
+
"application/json": {
|
|
37243
|
+
schema: {
|
|
37244
|
+
$ref: "#/components/schemas/ChartToDataReadChartsPreview"
|
|
37245
|
+
}
|
|
37246
|
+
}
|
|
37247
|
+
}
|
|
37248
|
+
},
|
|
37249
|
+
"400": {
|
|
37250
|
+
$ref: "#/components/responses/BadRequest"
|
|
37251
|
+
},
|
|
37252
|
+
"403": {
|
|
37253
|
+
$ref: "#/components/responses/Forbidden"
|
|
37254
|
+
}
|
|
37255
|
+
}
|
|
37256
|
+
}
|
|
37257
|
+
},
|
|
37211
37258
|
"/v1/chart-to-data/runs": {
|
|
37212
37259
|
post: {
|
|
37213
37260
|
operationId: "queueChartToDataRun",
|
|
@@ -41560,7 +41607,8 @@ var openapi_default = {
|
|
|
41560
41607
|
"bank_changed",
|
|
41561
41608
|
"already_paid",
|
|
41562
41609
|
"date_check",
|
|
41563
|
-
"policy_rule"
|
|
41610
|
+
"policy_rule",
|
|
41611
|
+
"above_order_value"
|
|
41564
41612
|
]
|
|
41565
41613
|
},
|
|
41566
41614
|
description: "Bills with a hold of this reason."
|
|
@@ -41727,6 +41775,186 @@ var openapi_default = {
|
|
|
41727
41775
|
}
|
|
41728
41776
|
}
|
|
41729
41777
|
},
|
|
41778
|
+
"/v1/ap/tolerance": {
|
|
41779
|
+
get: {
|
|
41780
|
+
operationId: "getApValueTolerance",
|
|
41781
|
+
summary: "The tolerance on a purchase order's value",
|
|
41782
|
+
description: "The percent by which the invoices billed against a purchase order may add up to more than its value before one is held: the workspace's (`value_tolerance_pct`, null when it set none) and the platform's (`default`).",
|
|
41783
|
+
tags: [
|
|
41784
|
+
"Accounts Payable"
|
|
41785
|
+
],
|
|
41786
|
+
responses: {
|
|
41787
|
+
"200": {
|
|
41788
|
+
description: "The tolerance.",
|
|
41789
|
+
content: {
|
|
41790
|
+
"application/json": {
|
|
41791
|
+
schema: {
|
|
41792
|
+
$ref: "#/components/schemas/ApValueTolerance"
|
|
41793
|
+
}
|
|
41794
|
+
}
|
|
41795
|
+
}
|
|
41796
|
+
}
|
|
41797
|
+
}
|
|
41798
|
+
},
|
|
41799
|
+
put: {
|
|
41800
|
+
operationId: "saveApValueTolerance",
|
|
41801
|
+
summary: "Save the tolerance on a purchase order's value",
|
|
41802
|
+
description: "A percent from 0 to 50; `value_tolerance_pct: null` goes back to the platform's. The rest of the AP configuration is untouched. The invoices are checked again with it on the next read.",
|
|
41803
|
+
tags: [
|
|
41804
|
+
"Accounts Payable"
|
|
41805
|
+
],
|
|
41806
|
+
requestBody: {
|
|
41807
|
+
required: true,
|
|
41808
|
+
content: {
|
|
41809
|
+
"application/json": {
|
|
41810
|
+
schema: {
|
|
41811
|
+
type: "object",
|
|
41812
|
+
properties: {
|
|
41813
|
+
value_tolerance_pct: {
|
|
41814
|
+
type: "number",
|
|
41815
|
+
minimum: 0,
|
|
41816
|
+
maximum: 50,
|
|
41817
|
+
nullable: true
|
|
41818
|
+
}
|
|
41819
|
+
}
|
|
41820
|
+
}
|
|
41821
|
+
}
|
|
41822
|
+
}
|
|
41823
|
+
},
|
|
41824
|
+
responses: {
|
|
41825
|
+
"200": {
|
|
41826
|
+
description: "The tolerance as saved.",
|
|
41827
|
+
content: {
|
|
41828
|
+
"application/json": {
|
|
41829
|
+
schema: {
|
|
41830
|
+
$ref: "#/components/schemas/ApValueTolerance"
|
|
41831
|
+
}
|
|
41832
|
+
}
|
|
41833
|
+
}
|
|
41834
|
+
},
|
|
41835
|
+
"400": {
|
|
41836
|
+
$ref: "#/components/responses/BadRequest"
|
|
41837
|
+
}
|
|
41838
|
+
}
|
|
41839
|
+
}
|
|
41840
|
+
},
|
|
41841
|
+
"/v1/ap/rules/checks/approve": {
|
|
41842
|
+
post: {
|
|
41843
|
+
operationId: "approveApRuleChecks",
|
|
41844
|
+
summary: "Put field checks in force",
|
|
41845
|
+
description: "A person approves the field checks of these rules. A check that passes then decides without the model; one that does not goes to the model. Every invoice is checked again.",
|
|
41846
|
+
tags: [
|
|
41847
|
+
"Accounts Payable"
|
|
41848
|
+
],
|
|
41849
|
+
requestBody: {
|
|
41850
|
+
required: true,
|
|
41851
|
+
content: {
|
|
41852
|
+
"application/json": {
|
|
41853
|
+
schema: {
|
|
41854
|
+
type: "object",
|
|
41855
|
+
required: [
|
|
41856
|
+
"rule_ids"
|
|
41857
|
+
],
|
|
41858
|
+
properties: {
|
|
41859
|
+
rule_ids: {
|
|
41860
|
+
type: "array",
|
|
41861
|
+
items: {
|
|
41862
|
+
type: "string",
|
|
41863
|
+
format: "uuid"
|
|
41864
|
+
}
|
|
41865
|
+
}
|
|
41866
|
+
}
|
|
41867
|
+
}
|
|
41868
|
+
}
|
|
41869
|
+
}
|
|
41870
|
+
},
|
|
41871
|
+
responses: {
|
|
41872
|
+
"201": {
|
|
41873
|
+
description: "How many rules changed.",
|
|
41874
|
+
content: {
|
|
41875
|
+
"application/json": {
|
|
41876
|
+
schema: {
|
|
41877
|
+
type: "object",
|
|
41878
|
+
properties: {
|
|
41879
|
+
approved: {
|
|
41880
|
+
type: "integer"
|
|
41881
|
+
}
|
|
41882
|
+
}
|
|
41883
|
+
}
|
|
41884
|
+
}
|
|
41885
|
+
}
|
|
41886
|
+
},
|
|
41887
|
+
"400": {
|
|
41888
|
+
$ref: "#/components/responses/BadRequest"
|
|
41889
|
+
}
|
|
41890
|
+
}
|
|
41891
|
+
}
|
|
41892
|
+
},
|
|
41893
|
+
"/v1/ap/dossier": {
|
|
41894
|
+
get: {
|
|
41895
|
+
operationId: "getApDossier",
|
|
41896
|
+
summary: "Talonic's finished table for payment rules",
|
|
41897
|
+
description: "The Spec chosen (`selected`, null when none), whether its latest run can be read (`state`: `none`, `processing` or `ready`) and the Specs to choose from with their columns.",
|
|
41898
|
+
tags: [
|
|
41899
|
+
"Accounts Payable"
|
|
41900
|
+
],
|
|
41901
|
+
responses: {
|
|
41902
|
+
"200": {
|
|
41903
|
+
description: "The choice and the options.",
|
|
41904
|
+
content: {
|
|
41905
|
+
"application/json": {
|
|
41906
|
+
schema: {
|
|
41907
|
+
$ref: "#/components/schemas/ApDossierOptions"
|
|
41908
|
+
}
|
|
41909
|
+
}
|
|
41910
|
+
}
|
|
41911
|
+
}
|
|
41912
|
+
}
|
|
41913
|
+
},
|
|
41914
|
+
put: {
|
|
41915
|
+
operationId: "saveApDossier",
|
|
41916
|
+
summary: "Choose the Spec that connects documents",
|
|
41917
|
+
description: "Sets which Spec's finished table says which documents each invoice's check reads, and the columns holding each identifier. `dossier: null` unsets it. No check starts without one.",
|
|
41918
|
+
tags: [
|
|
41919
|
+
"Accounts Payable"
|
|
41920
|
+
],
|
|
41921
|
+
requestBody: {
|
|
41922
|
+
required: true,
|
|
41923
|
+
content: {
|
|
41924
|
+
"application/json": {
|
|
41925
|
+
schema: {
|
|
41926
|
+
type: "object",
|
|
41927
|
+
properties: {
|
|
41928
|
+
dossier: {
|
|
41929
|
+
nullable: true,
|
|
41930
|
+
allOf: [
|
|
41931
|
+
{
|
|
41932
|
+
$ref: "#/components/schemas/ApDossier"
|
|
41933
|
+
}
|
|
41934
|
+
]
|
|
41935
|
+
}
|
|
41936
|
+
}
|
|
41937
|
+
}
|
|
41938
|
+
}
|
|
41939
|
+
}
|
|
41940
|
+
},
|
|
41941
|
+
responses: {
|
|
41942
|
+
"200": {
|
|
41943
|
+
description: "The choice as saved and the options.",
|
|
41944
|
+
content: {
|
|
41945
|
+
"application/json": {
|
|
41946
|
+
schema: {
|
|
41947
|
+
$ref: "#/components/schemas/ApDossierOptions"
|
|
41948
|
+
}
|
|
41949
|
+
}
|
|
41950
|
+
}
|
|
41951
|
+
},
|
|
41952
|
+
"400": {
|
|
41953
|
+
$ref: "#/components/responses/BadRequest"
|
|
41954
|
+
}
|
|
41955
|
+
}
|
|
41956
|
+
}
|
|
41957
|
+
},
|
|
41730
41958
|
"/v1/ap/config": {
|
|
41731
41959
|
get: {
|
|
41732
41960
|
operationId: "getApConfig",
|
|
@@ -42214,6 +42442,109 @@ var openapi_default = {
|
|
|
42214
42442
|
}
|
|
42215
42443
|
}
|
|
42216
42444
|
},
|
|
42445
|
+
"/v1/ap/rules/effects": {
|
|
42446
|
+
post: {
|
|
42447
|
+
operationId: "setApRuleEffects",
|
|
42448
|
+
summary: "Say whether payment depends on several rules",
|
|
42449
|
+
description: "Nothing is checked again when it changes. Requires scope `write`.",
|
|
42450
|
+
tags: [
|
|
42451
|
+
"Accounts Payable"
|
|
42452
|
+
],
|
|
42453
|
+
requestBody: {
|
|
42454
|
+
required: true,
|
|
42455
|
+
content: {
|
|
42456
|
+
"application/json": {
|
|
42457
|
+
schema: {
|
|
42458
|
+
type: "object",
|
|
42459
|
+
required: [
|
|
42460
|
+
"rule_ids",
|
|
42461
|
+
"effect"
|
|
42462
|
+
],
|
|
42463
|
+
properties: {
|
|
42464
|
+
rule_ids: {
|
|
42465
|
+
type: "array",
|
|
42466
|
+
minItems: 1,
|
|
42467
|
+
maxItems: 500,
|
|
42468
|
+
items: {
|
|
42469
|
+
type: "string",
|
|
42470
|
+
format: "uuid"
|
|
42471
|
+
}
|
|
42472
|
+
},
|
|
42473
|
+
effect: {
|
|
42474
|
+
type: "string",
|
|
42475
|
+
enum: [
|
|
42476
|
+
"condition",
|
|
42477
|
+
"general",
|
|
42478
|
+
"payer"
|
|
42479
|
+
]
|
|
42480
|
+
}
|
|
42481
|
+
}
|
|
42482
|
+
}
|
|
42483
|
+
}
|
|
42484
|
+
}
|
|
42485
|
+
},
|
|
42486
|
+
responses: {
|
|
42487
|
+
"201": {
|
|
42488
|
+
description: "Saved."
|
|
42489
|
+
},
|
|
42490
|
+
"404": {
|
|
42491
|
+
$ref: "#/components/responses/NotFound"
|
|
42492
|
+
}
|
|
42493
|
+
}
|
|
42494
|
+
}
|
|
42495
|
+
},
|
|
42496
|
+
"/v1/ap/rules/rules/{ruleId}/effect": {
|
|
42497
|
+
post: {
|
|
42498
|
+
operationId: "setApRuleEffect",
|
|
42499
|
+
summary: "Say whether payment depends on a rule",
|
|
42500
|
+
description: "`condition`: failing it holds the invoice. `general`: an alert or a note, the invoice is not held. `payer`: the paying party's own duty. Each rule starts as an agent decided, and nothing is checked again when it changes. Requires scope `write`.",
|
|
42501
|
+
tags: [
|
|
42502
|
+
"Accounts Payable"
|
|
42503
|
+
],
|
|
42504
|
+
parameters: [
|
|
42505
|
+
{
|
|
42506
|
+
name: "ruleId",
|
|
42507
|
+
in: "path",
|
|
42508
|
+
required: true,
|
|
42509
|
+
schema: {
|
|
42510
|
+
type: "string",
|
|
42511
|
+
format: "uuid"
|
|
42512
|
+
}
|
|
42513
|
+
}
|
|
42514
|
+
],
|
|
42515
|
+
requestBody: {
|
|
42516
|
+
required: true,
|
|
42517
|
+
content: {
|
|
42518
|
+
"application/json": {
|
|
42519
|
+
schema: {
|
|
42520
|
+
type: "object",
|
|
42521
|
+
required: [
|
|
42522
|
+
"effect"
|
|
42523
|
+
],
|
|
42524
|
+
properties: {
|
|
42525
|
+
effect: {
|
|
42526
|
+
type: "string",
|
|
42527
|
+
enum: [
|
|
42528
|
+
"condition",
|
|
42529
|
+
"general",
|
|
42530
|
+
"payer"
|
|
42531
|
+
]
|
|
42532
|
+
}
|
|
42533
|
+
}
|
|
42534
|
+
}
|
|
42535
|
+
}
|
|
42536
|
+
}
|
|
42537
|
+
},
|
|
42538
|
+
responses: {
|
|
42539
|
+
"201": {
|
|
42540
|
+
description: "Saved."
|
|
42541
|
+
},
|
|
42542
|
+
"404": {
|
|
42543
|
+
$ref: "#/components/responses/NotFound"
|
|
42544
|
+
}
|
|
42545
|
+
}
|
|
42546
|
+
}
|
|
42547
|
+
},
|
|
42217
42548
|
"/v1/ap/intake": {
|
|
42218
42549
|
post: {
|
|
42219
42550
|
operationId: "postApIntake",
|
|
@@ -43205,6 +43536,120 @@ var openapi_default = {
|
|
|
43205
43536
|
}
|
|
43206
43537
|
}
|
|
43207
43538
|
},
|
|
43539
|
+
"/v1/transport-folders/worklist": {
|
|
43540
|
+
get: {
|
|
43541
|
+
operationId: "getTransportFolderWorklist",
|
|
43542
|
+
summary: "Everything that needs a person, across all folders",
|
|
43543
|
+
description: "`loads` lists every load that is not complete with its flags (missing document types, no delivery confirmation, quantity difference). `documents` lists every document not assigned to a load, with the load the evidence points to most (`suggested_load_key`) when one stands out.",
|
|
43544
|
+
tags: [
|
|
43545
|
+
"Transport Folders"
|
|
43546
|
+
],
|
|
43547
|
+
responses: {
|
|
43548
|
+
"200": {
|
|
43549
|
+
description: "The work list."
|
|
43550
|
+
}
|
|
43551
|
+
}
|
|
43552
|
+
}
|
|
43553
|
+
},
|
|
43554
|
+
"/v1/transport-folders/{folderId}/loads/{loadKey}/confirm": {
|
|
43555
|
+
post: {
|
|
43556
|
+
operationId: "confirmTransportLoad",
|
|
43557
|
+
summary: "Confirm a load and hand it over",
|
|
43558
|
+
description: "Records who confirmed the load and which documents form the customer set; the load is then ready to invoice. Idempotent. Requires the `write` scope.",
|
|
43559
|
+
tags: [
|
|
43560
|
+
"Transport Folders"
|
|
43561
|
+
],
|
|
43562
|
+
parameters: [
|
|
43563
|
+
{
|
|
43564
|
+
name: "folderId",
|
|
43565
|
+
in: "path",
|
|
43566
|
+
required: true,
|
|
43567
|
+
schema: {
|
|
43568
|
+
type: "string",
|
|
43569
|
+
format: "uuid"
|
|
43570
|
+
}
|
|
43571
|
+
},
|
|
43572
|
+
{
|
|
43573
|
+
name: "loadKey",
|
|
43574
|
+
in: "path",
|
|
43575
|
+
required: true,
|
|
43576
|
+
schema: {
|
|
43577
|
+
type: "string"
|
|
43578
|
+
}
|
|
43579
|
+
}
|
|
43580
|
+
],
|
|
43581
|
+
responses: {
|
|
43582
|
+
"201": {
|
|
43583
|
+
description: "The folder after the confirmation."
|
|
43584
|
+
}
|
|
43585
|
+
}
|
|
43586
|
+
},
|
|
43587
|
+
delete: {
|
|
43588
|
+
operationId: "unconfirmTransportLoad",
|
|
43589
|
+
summary: "Withdraw a load's confirmation",
|
|
43590
|
+
tags: [
|
|
43591
|
+
"Transport Folders"
|
|
43592
|
+
],
|
|
43593
|
+
parameters: [
|
|
43594
|
+
{
|
|
43595
|
+
name: "folderId",
|
|
43596
|
+
in: "path",
|
|
43597
|
+
required: true,
|
|
43598
|
+
schema: {
|
|
43599
|
+
type: "string",
|
|
43600
|
+
format: "uuid"
|
|
43601
|
+
}
|
|
43602
|
+
},
|
|
43603
|
+
{
|
|
43604
|
+
name: "loadKey",
|
|
43605
|
+
in: "path",
|
|
43606
|
+
required: true,
|
|
43607
|
+
schema: {
|
|
43608
|
+
type: "string"
|
|
43609
|
+
}
|
|
43610
|
+
}
|
|
43611
|
+
],
|
|
43612
|
+
responses: {
|
|
43613
|
+
"200": {
|
|
43614
|
+
description: "The folder after the withdrawal."
|
|
43615
|
+
}
|
|
43616
|
+
}
|
|
43617
|
+
}
|
|
43618
|
+
},
|
|
43619
|
+
"/v1/transport-folders/{folderId}/loads/{loadKey}/handover": {
|
|
43620
|
+
get: {
|
|
43621
|
+
operationId: "getTransportLoadHandover",
|
|
43622
|
+
summary: "The customer document set of a load",
|
|
43623
|
+
description: "One document per required type, the copy the recipient confirmed when there is one, merged into one PDF (`pdf_base64`), with the index values an archive needs per document (`index`: transport, order, consignee, document type, source pages, pages in the set).",
|
|
43624
|
+
tags: [
|
|
43625
|
+
"Transport Folders"
|
|
43626
|
+
],
|
|
43627
|
+
parameters: [
|
|
43628
|
+
{
|
|
43629
|
+
name: "folderId",
|
|
43630
|
+
in: "path",
|
|
43631
|
+
required: true,
|
|
43632
|
+
schema: {
|
|
43633
|
+
type: "string",
|
|
43634
|
+
format: "uuid"
|
|
43635
|
+
}
|
|
43636
|
+
},
|
|
43637
|
+
{
|
|
43638
|
+
name: "loadKey",
|
|
43639
|
+
in: "path",
|
|
43640
|
+
required: true,
|
|
43641
|
+
schema: {
|
|
43642
|
+
type: "string"
|
|
43643
|
+
}
|
|
43644
|
+
}
|
|
43645
|
+
],
|
|
43646
|
+
responses: {
|
|
43647
|
+
"200": {
|
|
43648
|
+
description: "`{ filename, index, pdf_base64 }`"
|
|
43649
|
+
}
|
|
43650
|
+
}
|
|
43651
|
+
}
|
|
43652
|
+
},
|
|
43208
43653
|
"/v1/transport-folders/{folderId}/documents/{documentId}/boxes": {
|
|
43209
43654
|
get: {
|
|
43210
43655
|
operationId: "getTransportDocumentBoxes",
|
|
@@ -61225,6 +61670,46 @@ var openapi_default = {
|
|
|
61225
61670
|
}
|
|
61226
61671
|
}
|
|
61227
61672
|
},
|
|
61673
|
+
ChartToDataReadChartsPreview: {
|
|
61674
|
+
type: "object",
|
|
61675
|
+
required: [
|
|
61676
|
+
"documents",
|
|
61677
|
+
"charts",
|
|
61678
|
+
"calls_max",
|
|
61679
|
+
"cost_max_usd",
|
|
61680
|
+
"currency"
|
|
61681
|
+
],
|
|
61682
|
+
properties: {
|
|
61683
|
+
documents: {
|
|
61684
|
+
type: "integer",
|
|
61685
|
+
minimum: 0,
|
|
61686
|
+
description: "The selected documents that would be queued."
|
|
61687
|
+
},
|
|
61688
|
+
charts: {
|
|
61689
|
+
type: "integer",
|
|
61690
|
+
minimum: 0,
|
|
61691
|
+
nullable: true,
|
|
61692
|
+
description: "The scanned charts they would read; null while one of them is not scanned yet."
|
|
61693
|
+
},
|
|
61694
|
+
calls_max: {
|
|
61695
|
+
type: "integer",
|
|
61696
|
+
minimum: 0,
|
|
61697
|
+
description: "The paid calls those charts make at most (scanned documents only)."
|
|
61698
|
+
},
|
|
61699
|
+
cost_max_usd: {
|
|
61700
|
+
type: "number",
|
|
61701
|
+
minimum: 0,
|
|
61702
|
+
description: "calls_max at the highest price one call may cost",
|
|
61703
|
+
"rounded up to the cent.": null
|
|
61704
|
+
},
|
|
61705
|
+
currency: {
|
|
61706
|
+
type: "string",
|
|
61707
|
+
enum: [
|
|
61708
|
+
"USD"
|
|
61709
|
+
]
|
|
61710
|
+
}
|
|
61711
|
+
}
|
|
61712
|
+
},
|
|
61228
61713
|
ChartToDataCharts: {
|
|
61229
61714
|
type: "object",
|
|
61230
61715
|
properties: {
|
|
@@ -67673,7 +68158,8 @@ var openapi_default = {
|
|
|
67673
68158
|
"bank_changed",
|
|
67674
68159
|
"already_paid",
|
|
67675
68160
|
"date_check",
|
|
67676
|
-
"policy_rule"
|
|
68161
|
+
"policy_rule",
|
|
68162
|
+
"above_order_value"
|
|
67677
68163
|
]
|
|
67678
68164
|
},
|
|
67679
68165
|
label: {
|
|
@@ -67758,7 +68244,8 @@ var openapi_default = {
|
|
|
67758
68244
|
"bank_changed",
|
|
67759
68245
|
"already_paid",
|
|
67760
68246
|
"date_check",
|
|
67761
|
-
"policy_rule"
|
|
68247
|
+
"policy_rule",
|
|
68248
|
+
"above_order_value"
|
|
67762
68249
|
],
|
|
67763
68250
|
description: "The kind of hold that decides the risk."
|
|
67764
68251
|
},
|
|
@@ -67803,6 +68290,99 @@ var openapi_default = {
|
|
|
67803
68290
|
}
|
|
67804
68291
|
}
|
|
67805
68292
|
},
|
|
68293
|
+
ApDossier: {
|
|
68294
|
+
type: "object",
|
|
68295
|
+
required: [
|
|
68296
|
+
"schema_id",
|
|
68297
|
+
"columns"
|
|
68298
|
+
],
|
|
68299
|
+
properties: {
|
|
68300
|
+
schema_id: {
|
|
68301
|
+
type: "string",
|
|
68302
|
+
format: "uuid"
|
|
68303
|
+
},
|
|
68304
|
+
columns: {
|
|
68305
|
+
type: "object",
|
|
68306
|
+
properties: {
|
|
68307
|
+
supplier_id: {
|
|
68308
|
+
type: "string"
|
|
68309
|
+
},
|
|
68310
|
+
order_number: {
|
|
68311
|
+
type: "string"
|
|
68312
|
+
},
|
|
68313
|
+
contract_number: {
|
|
68314
|
+
type: "string"
|
|
68315
|
+
},
|
|
68316
|
+
invoice_number: {
|
|
68317
|
+
type: "string"
|
|
68318
|
+
},
|
|
68319
|
+
document_type: {
|
|
68320
|
+
type: "string"
|
|
68321
|
+
}
|
|
68322
|
+
}
|
|
68323
|
+
}
|
|
68324
|
+
}
|
|
68325
|
+
},
|
|
68326
|
+
ApDossierOptions: {
|
|
68327
|
+
type: "object",
|
|
68328
|
+
properties: {
|
|
68329
|
+
selected: {
|
|
68330
|
+
nullable: true,
|
|
68331
|
+
allOf: [
|
|
68332
|
+
{
|
|
68333
|
+
$ref: "#/components/schemas/ApDossier"
|
|
68334
|
+
}
|
|
68335
|
+
]
|
|
68336
|
+
},
|
|
68337
|
+
state: {
|
|
68338
|
+
type: "string",
|
|
68339
|
+
enum: [
|
|
68340
|
+
"none",
|
|
68341
|
+
"processing",
|
|
68342
|
+
"ready"
|
|
68343
|
+
]
|
|
68344
|
+
},
|
|
68345
|
+
specs: {
|
|
68346
|
+
type: "array",
|
|
68347
|
+
items: {
|
|
68348
|
+
type: "object",
|
|
68349
|
+
properties: {
|
|
68350
|
+
schema_id: {
|
|
68351
|
+
type: "string",
|
|
68352
|
+
format: "uuid"
|
|
68353
|
+
},
|
|
68354
|
+
name: {
|
|
68355
|
+
type: "string"
|
|
68356
|
+
},
|
|
68357
|
+
columns: {
|
|
68358
|
+
type: "array",
|
|
68359
|
+
items: {
|
|
68360
|
+
type: "string"
|
|
68361
|
+
}
|
|
68362
|
+
}
|
|
68363
|
+
}
|
|
68364
|
+
}
|
|
68365
|
+
}
|
|
68366
|
+
}
|
|
68367
|
+
},
|
|
68368
|
+
ApValueTolerance: {
|
|
68369
|
+
type: "object",
|
|
68370
|
+
required: [
|
|
68371
|
+
"value_tolerance_pct",
|
|
68372
|
+
"default"
|
|
68373
|
+
],
|
|
68374
|
+
properties: {
|
|
68375
|
+
value_tolerance_pct: {
|
|
68376
|
+
type: "number",
|
|
68377
|
+
nullable: true,
|
|
68378
|
+
description: "The workspace's percent; null when it set none."
|
|
68379
|
+
},
|
|
68380
|
+
default: {
|
|
68381
|
+
type: "number",
|
|
68382
|
+
description: "The platform's percent, in force when the workspace set none."
|
|
68383
|
+
}
|
|
68384
|
+
}
|
|
68385
|
+
},
|
|
67806
68386
|
ApRiskMatrix: {
|
|
67807
68387
|
type: "object",
|
|
67808
68388
|
properties: {
|
|
@@ -68037,6 +68617,49 @@ var openapi_default = {
|
|
|
68037
68617
|
type: "string",
|
|
68038
68618
|
nullable: true
|
|
68039
68619
|
},
|
|
68620
|
+
reviewed_documents: {
|
|
68621
|
+
type: "array",
|
|
68622
|
+
description: "The documents the reviewers read for this invoice's payment rules.",
|
|
68623
|
+
items: {
|
|
68624
|
+
type: "object",
|
|
68625
|
+
properties: {
|
|
68626
|
+
document_id: {
|
|
68627
|
+
type: "string",
|
|
68628
|
+
format: "uuid"
|
|
68629
|
+
},
|
|
68630
|
+
filename: {
|
|
68631
|
+
type: "string",
|
|
68632
|
+
nullable: true
|
|
68633
|
+
}
|
|
68634
|
+
}
|
|
68635
|
+
}
|
|
68636
|
+
},
|
|
68637
|
+
documents_missing: {
|
|
68638
|
+
type: "array",
|
|
68639
|
+
description: "What the payment rules need that is not among the invoice's documents. Without it there is no final result.",
|
|
68640
|
+
items: {
|
|
68641
|
+
type: "object",
|
|
68642
|
+
properties: {
|
|
68643
|
+
what: {
|
|
68644
|
+
type: "string"
|
|
68645
|
+
},
|
|
68646
|
+
rule: {
|
|
68647
|
+
type: "string"
|
|
68648
|
+
},
|
|
68649
|
+
reason: {
|
|
68650
|
+
type: "string"
|
|
68651
|
+
},
|
|
68652
|
+
source: {
|
|
68653
|
+
type: "string",
|
|
68654
|
+
nullable: true
|
|
68655
|
+
},
|
|
68656
|
+
rule_quote: {
|
|
68657
|
+
type: "string",
|
|
68658
|
+
nullable: true
|
|
68659
|
+
}
|
|
68660
|
+
}
|
|
68661
|
+
}
|
|
68662
|
+
},
|
|
68040
68663
|
status: {
|
|
68041
68664
|
type: "string",
|
|
68042
68665
|
enum: [
|
|
@@ -68184,7 +68807,8 @@ var openapi_default = {
|
|
|
68184
68807
|
"bank_changed",
|
|
68185
68808
|
"already_paid",
|
|
68186
68809
|
"date_check",
|
|
68187
|
-
"policy_rule"
|
|
68810
|
+
"policy_rule",
|
|
68811
|
+
"above_order_value"
|
|
68188
68812
|
]
|
|
68189
68813
|
},
|
|
68190
68814
|
label: {
|