@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/openapi.json
CHANGED
|
@@ -34831,7 +34831,7 @@
|
|
|
34831
34831
|
"post": {
|
|
34832
34832
|
"operationId": "syncParties",
|
|
34833
34833
|
"summary": "Start a sync of the rows with the data products",
|
|
34834
|
-
"description": "
|
|
34834
|
+
"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.",
|
|
34835
34835
|
"tags": [
|
|
34836
34836
|
"Contract Party Management"
|
|
34837
34837
|
],
|
|
@@ -37188,6 +37188,53 @@
|
|
|
37188
37188
|
}
|
|
37189
37189
|
}
|
|
37190
37190
|
},
|
|
37191
|
+
"/v1/chart-to-data/read-charts/preview": {
|
|
37192
|
+
"get": {
|
|
37193
|
+
"operationId": "previewChartToDataReadCharts",
|
|
37194
|
+
"summary": "What reading the charts of selected documents would read and cost at most",
|
|
37195
|
+
"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.",
|
|
37196
|
+
"tags": [
|
|
37197
|
+
"Chart Extraction"
|
|
37198
|
+
],
|
|
37199
|
+
"parameters": [
|
|
37200
|
+
{
|
|
37201
|
+
"name": "document_ids",
|
|
37202
|
+
"in": "query",
|
|
37203
|
+
"required": true,
|
|
37204
|
+
"description": "Comma-separated document ids, 1 to 1,000.",
|
|
37205
|
+
"style": "form",
|
|
37206
|
+
"explode": false,
|
|
37207
|
+
"schema": {
|
|
37208
|
+
"type": "array",
|
|
37209
|
+
"minItems": 1,
|
|
37210
|
+
"maxItems": 1000,
|
|
37211
|
+
"items": {
|
|
37212
|
+
"type": "string",
|
|
37213
|
+
"format": "uuid"
|
|
37214
|
+
}
|
|
37215
|
+
}
|
|
37216
|
+
}
|
|
37217
|
+
],
|
|
37218
|
+
"responses": {
|
|
37219
|
+
"200": {
|
|
37220
|
+
"description": "At most what the selection would read and cost.",
|
|
37221
|
+
"content": {
|
|
37222
|
+
"application/json": {
|
|
37223
|
+
"schema": {
|
|
37224
|
+
"$ref": "#/components/schemas/ChartToDataReadChartsPreview"
|
|
37225
|
+
}
|
|
37226
|
+
}
|
|
37227
|
+
}
|
|
37228
|
+
},
|
|
37229
|
+
"400": {
|
|
37230
|
+
"$ref": "#/components/responses/BadRequest"
|
|
37231
|
+
},
|
|
37232
|
+
"403": {
|
|
37233
|
+
"$ref": "#/components/responses/Forbidden"
|
|
37234
|
+
}
|
|
37235
|
+
}
|
|
37236
|
+
}
|
|
37237
|
+
},
|
|
37191
37238
|
"/v1/chart-to-data/runs": {
|
|
37192
37239
|
"post": {
|
|
37193
37240
|
"operationId": "queueChartToDataRun",
|
|
@@ -41540,7 +41587,8 @@
|
|
|
41540
41587
|
"bank_changed",
|
|
41541
41588
|
"already_paid",
|
|
41542
41589
|
"date_check",
|
|
41543
|
-
"policy_rule"
|
|
41590
|
+
"policy_rule",
|
|
41591
|
+
"above_order_value"
|
|
41544
41592
|
]
|
|
41545
41593
|
},
|
|
41546
41594
|
"description": "Bills with a hold of this reason."
|
|
@@ -41707,6 +41755,186 @@
|
|
|
41707
41755
|
}
|
|
41708
41756
|
}
|
|
41709
41757
|
},
|
|
41758
|
+
"/v1/ap/tolerance": {
|
|
41759
|
+
"get": {
|
|
41760
|
+
"operationId": "getApValueTolerance",
|
|
41761
|
+
"summary": "The tolerance on a purchase order's value",
|
|
41762
|
+
"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`).",
|
|
41763
|
+
"tags": [
|
|
41764
|
+
"Accounts Payable"
|
|
41765
|
+
],
|
|
41766
|
+
"responses": {
|
|
41767
|
+
"200": {
|
|
41768
|
+
"description": "The tolerance.",
|
|
41769
|
+
"content": {
|
|
41770
|
+
"application/json": {
|
|
41771
|
+
"schema": {
|
|
41772
|
+
"$ref": "#/components/schemas/ApValueTolerance"
|
|
41773
|
+
}
|
|
41774
|
+
}
|
|
41775
|
+
}
|
|
41776
|
+
}
|
|
41777
|
+
}
|
|
41778
|
+
},
|
|
41779
|
+
"put": {
|
|
41780
|
+
"operationId": "saveApValueTolerance",
|
|
41781
|
+
"summary": "Save the tolerance on a purchase order's value",
|
|
41782
|
+
"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.",
|
|
41783
|
+
"tags": [
|
|
41784
|
+
"Accounts Payable"
|
|
41785
|
+
],
|
|
41786
|
+
"requestBody": {
|
|
41787
|
+
"required": true,
|
|
41788
|
+
"content": {
|
|
41789
|
+
"application/json": {
|
|
41790
|
+
"schema": {
|
|
41791
|
+
"type": "object",
|
|
41792
|
+
"properties": {
|
|
41793
|
+
"value_tolerance_pct": {
|
|
41794
|
+
"type": "number",
|
|
41795
|
+
"minimum": 0,
|
|
41796
|
+
"maximum": 50,
|
|
41797
|
+
"nullable": true
|
|
41798
|
+
}
|
|
41799
|
+
}
|
|
41800
|
+
}
|
|
41801
|
+
}
|
|
41802
|
+
}
|
|
41803
|
+
},
|
|
41804
|
+
"responses": {
|
|
41805
|
+
"200": {
|
|
41806
|
+
"description": "The tolerance as saved.",
|
|
41807
|
+
"content": {
|
|
41808
|
+
"application/json": {
|
|
41809
|
+
"schema": {
|
|
41810
|
+
"$ref": "#/components/schemas/ApValueTolerance"
|
|
41811
|
+
}
|
|
41812
|
+
}
|
|
41813
|
+
}
|
|
41814
|
+
},
|
|
41815
|
+
"400": {
|
|
41816
|
+
"$ref": "#/components/responses/BadRequest"
|
|
41817
|
+
}
|
|
41818
|
+
}
|
|
41819
|
+
}
|
|
41820
|
+
},
|
|
41821
|
+
"/v1/ap/rules/checks/approve": {
|
|
41822
|
+
"post": {
|
|
41823
|
+
"operationId": "approveApRuleChecks",
|
|
41824
|
+
"summary": "Put field checks in force",
|
|
41825
|
+
"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.",
|
|
41826
|
+
"tags": [
|
|
41827
|
+
"Accounts Payable"
|
|
41828
|
+
],
|
|
41829
|
+
"requestBody": {
|
|
41830
|
+
"required": true,
|
|
41831
|
+
"content": {
|
|
41832
|
+
"application/json": {
|
|
41833
|
+
"schema": {
|
|
41834
|
+
"type": "object",
|
|
41835
|
+
"required": [
|
|
41836
|
+
"rule_ids"
|
|
41837
|
+
],
|
|
41838
|
+
"properties": {
|
|
41839
|
+
"rule_ids": {
|
|
41840
|
+
"type": "array",
|
|
41841
|
+
"items": {
|
|
41842
|
+
"type": "string",
|
|
41843
|
+
"format": "uuid"
|
|
41844
|
+
}
|
|
41845
|
+
}
|
|
41846
|
+
}
|
|
41847
|
+
}
|
|
41848
|
+
}
|
|
41849
|
+
}
|
|
41850
|
+
},
|
|
41851
|
+
"responses": {
|
|
41852
|
+
"201": {
|
|
41853
|
+
"description": "How many rules changed.",
|
|
41854
|
+
"content": {
|
|
41855
|
+
"application/json": {
|
|
41856
|
+
"schema": {
|
|
41857
|
+
"type": "object",
|
|
41858
|
+
"properties": {
|
|
41859
|
+
"approved": {
|
|
41860
|
+
"type": "integer"
|
|
41861
|
+
}
|
|
41862
|
+
}
|
|
41863
|
+
}
|
|
41864
|
+
}
|
|
41865
|
+
}
|
|
41866
|
+
},
|
|
41867
|
+
"400": {
|
|
41868
|
+
"$ref": "#/components/responses/BadRequest"
|
|
41869
|
+
}
|
|
41870
|
+
}
|
|
41871
|
+
}
|
|
41872
|
+
},
|
|
41873
|
+
"/v1/ap/dossier": {
|
|
41874
|
+
"get": {
|
|
41875
|
+
"operationId": "getApDossier",
|
|
41876
|
+
"summary": "Talonic's finished table for payment rules",
|
|
41877
|
+
"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.",
|
|
41878
|
+
"tags": [
|
|
41879
|
+
"Accounts Payable"
|
|
41880
|
+
],
|
|
41881
|
+
"responses": {
|
|
41882
|
+
"200": {
|
|
41883
|
+
"description": "The choice and the options.",
|
|
41884
|
+
"content": {
|
|
41885
|
+
"application/json": {
|
|
41886
|
+
"schema": {
|
|
41887
|
+
"$ref": "#/components/schemas/ApDossierOptions"
|
|
41888
|
+
}
|
|
41889
|
+
}
|
|
41890
|
+
}
|
|
41891
|
+
}
|
|
41892
|
+
}
|
|
41893
|
+
},
|
|
41894
|
+
"put": {
|
|
41895
|
+
"operationId": "saveApDossier",
|
|
41896
|
+
"summary": "Choose the Spec that connects documents",
|
|
41897
|
+
"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.",
|
|
41898
|
+
"tags": [
|
|
41899
|
+
"Accounts Payable"
|
|
41900
|
+
],
|
|
41901
|
+
"requestBody": {
|
|
41902
|
+
"required": true,
|
|
41903
|
+
"content": {
|
|
41904
|
+
"application/json": {
|
|
41905
|
+
"schema": {
|
|
41906
|
+
"type": "object",
|
|
41907
|
+
"properties": {
|
|
41908
|
+
"dossier": {
|
|
41909
|
+
"nullable": true,
|
|
41910
|
+
"allOf": [
|
|
41911
|
+
{
|
|
41912
|
+
"$ref": "#/components/schemas/ApDossier"
|
|
41913
|
+
}
|
|
41914
|
+
]
|
|
41915
|
+
}
|
|
41916
|
+
}
|
|
41917
|
+
}
|
|
41918
|
+
}
|
|
41919
|
+
}
|
|
41920
|
+
},
|
|
41921
|
+
"responses": {
|
|
41922
|
+
"200": {
|
|
41923
|
+
"description": "The choice as saved and the options.",
|
|
41924
|
+
"content": {
|
|
41925
|
+
"application/json": {
|
|
41926
|
+
"schema": {
|
|
41927
|
+
"$ref": "#/components/schemas/ApDossierOptions"
|
|
41928
|
+
}
|
|
41929
|
+
}
|
|
41930
|
+
}
|
|
41931
|
+
},
|
|
41932
|
+
"400": {
|
|
41933
|
+
"$ref": "#/components/responses/BadRequest"
|
|
41934
|
+
}
|
|
41935
|
+
}
|
|
41936
|
+
}
|
|
41937
|
+
},
|
|
41710
41938
|
"/v1/ap/config": {
|
|
41711
41939
|
"get": {
|
|
41712
41940
|
"operationId": "getApConfig",
|
|
@@ -42194,6 +42422,109 @@
|
|
|
42194
42422
|
}
|
|
42195
42423
|
}
|
|
42196
42424
|
},
|
|
42425
|
+
"/v1/ap/rules/effects": {
|
|
42426
|
+
"post": {
|
|
42427
|
+
"operationId": "setApRuleEffects",
|
|
42428
|
+
"summary": "Say whether payment depends on several rules",
|
|
42429
|
+
"description": "Nothing is checked again when it changes. Requires scope `write`.",
|
|
42430
|
+
"tags": [
|
|
42431
|
+
"Accounts Payable"
|
|
42432
|
+
],
|
|
42433
|
+
"requestBody": {
|
|
42434
|
+
"required": true,
|
|
42435
|
+
"content": {
|
|
42436
|
+
"application/json": {
|
|
42437
|
+
"schema": {
|
|
42438
|
+
"type": "object",
|
|
42439
|
+
"required": [
|
|
42440
|
+
"rule_ids",
|
|
42441
|
+
"effect"
|
|
42442
|
+
],
|
|
42443
|
+
"properties": {
|
|
42444
|
+
"rule_ids": {
|
|
42445
|
+
"type": "array",
|
|
42446
|
+
"minItems": 1,
|
|
42447
|
+
"maxItems": 500,
|
|
42448
|
+
"items": {
|
|
42449
|
+
"type": "string",
|
|
42450
|
+
"format": "uuid"
|
|
42451
|
+
}
|
|
42452
|
+
},
|
|
42453
|
+
"effect": {
|
|
42454
|
+
"type": "string",
|
|
42455
|
+
"enum": [
|
|
42456
|
+
"condition",
|
|
42457
|
+
"general",
|
|
42458
|
+
"payer"
|
|
42459
|
+
]
|
|
42460
|
+
}
|
|
42461
|
+
}
|
|
42462
|
+
}
|
|
42463
|
+
}
|
|
42464
|
+
}
|
|
42465
|
+
},
|
|
42466
|
+
"responses": {
|
|
42467
|
+
"201": {
|
|
42468
|
+
"description": "Saved."
|
|
42469
|
+
},
|
|
42470
|
+
"404": {
|
|
42471
|
+
"$ref": "#/components/responses/NotFound"
|
|
42472
|
+
}
|
|
42473
|
+
}
|
|
42474
|
+
}
|
|
42475
|
+
},
|
|
42476
|
+
"/v1/ap/rules/rules/{ruleId}/effect": {
|
|
42477
|
+
"post": {
|
|
42478
|
+
"operationId": "setApRuleEffect",
|
|
42479
|
+
"summary": "Say whether payment depends on a rule",
|
|
42480
|
+
"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`.",
|
|
42481
|
+
"tags": [
|
|
42482
|
+
"Accounts Payable"
|
|
42483
|
+
],
|
|
42484
|
+
"parameters": [
|
|
42485
|
+
{
|
|
42486
|
+
"name": "ruleId",
|
|
42487
|
+
"in": "path",
|
|
42488
|
+
"required": true,
|
|
42489
|
+
"schema": {
|
|
42490
|
+
"type": "string",
|
|
42491
|
+
"format": "uuid"
|
|
42492
|
+
}
|
|
42493
|
+
}
|
|
42494
|
+
],
|
|
42495
|
+
"requestBody": {
|
|
42496
|
+
"required": true,
|
|
42497
|
+
"content": {
|
|
42498
|
+
"application/json": {
|
|
42499
|
+
"schema": {
|
|
42500
|
+
"type": "object",
|
|
42501
|
+
"required": [
|
|
42502
|
+
"effect"
|
|
42503
|
+
],
|
|
42504
|
+
"properties": {
|
|
42505
|
+
"effect": {
|
|
42506
|
+
"type": "string",
|
|
42507
|
+
"enum": [
|
|
42508
|
+
"condition",
|
|
42509
|
+
"general",
|
|
42510
|
+
"payer"
|
|
42511
|
+
]
|
|
42512
|
+
}
|
|
42513
|
+
}
|
|
42514
|
+
}
|
|
42515
|
+
}
|
|
42516
|
+
}
|
|
42517
|
+
},
|
|
42518
|
+
"responses": {
|
|
42519
|
+
"201": {
|
|
42520
|
+
"description": "Saved."
|
|
42521
|
+
},
|
|
42522
|
+
"404": {
|
|
42523
|
+
"$ref": "#/components/responses/NotFound"
|
|
42524
|
+
}
|
|
42525
|
+
}
|
|
42526
|
+
}
|
|
42527
|
+
},
|
|
42197
42528
|
"/v1/ap/intake": {
|
|
42198
42529
|
"post": {
|
|
42199
42530
|
"operationId": "postApIntake",
|
|
@@ -43185,6 +43516,120 @@
|
|
|
43185
43516
|
}
|
|
43186
43517
|
}
|
|
43187
43518
|
},
|
|
43519
|
+
"/v1/transport-folders/worklist": {
|
|
43520
|
+
"get": {
|
|
43521
|
+
"operationId": "getTransportFolderWorklist",
|
|
43522
|
+
"summary": "Everything that needs a person, across all folders",
|
|
43523
|
+
"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.",
|
|
43524
|
+
"tags": [
|
|
43525
|
+
"Transport Folders"
|
|
43526
|
+
],
|
|
43527
|
+
"responses": {
|
|
43528
|
+
"200": {
|
|
43529
|
+
"description": "The work list."
|
|
43530
|
+
}
|
|
43531
|
+
}
|
|
43532
|
+
}
|
|
43533
|
+
},
|
|
43534
|
+
"/v1/transport-folders/{folderId}/loads/{loadKey}/confirm": {
|
|
43535
|
+
"post": {
|
|
43536
|
+
"operationId": "confirmTransportLoad",
|
|
43537
|
+
"summary": "Confirm a load and hand it over",
|
|
43538
|
+
"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.",
|
|
43539
|
+
"tags": [
|
|
43540
|
+
"Transport Folders"
|
|
43541
|
+
],
|
|
43542
|
+
"parameters": [
|
|
43543
|
+
{
|
|
43544
|
+
"name": "folderId",
|
|
43545
|
+
"in": "path",
|
|
43546
|
+
"required": true,
|
|
43547
|
+
"schema": {
|
|
43548
|
+
"type": "string",
|
|
43549
|
+
"format": "uuid"
|
|
43550
|
+
}
|
|
43551
|
+
},
|
|
43552
|
+
{
|
|
43553
|
+
"name": "loadKey",
|
|
43554
|
+
"in": "path",
|
|
43555
|
+
"required": true,
|
|
43556
|
+
"schema": {
|
|
43557
|
+
"type": "string"
|
|
43558
|
+
}
|
|
43559
|
+
}
|
|
43560
|
+
],
|
|
43561
|
+
"responses": {
|
|
43562
|
+
"201": {
|
|
43563
|
+
"description": "The folder after the confirmation."
|
|
43564
|
+
}
|
|
43565
|
+
}
|
|
43566
|
+
},
|
|
43567
|
+
"delete": {
|
|
43568
|
+
"operationId": "unconfirmTransportLoad",
|
|
43569
|
+
"summary": "Withdraw a load's confirmation",
|
|
43570
|
+
"tags": [
|
|
43571
|
+
"Transport Folders"
|
|
43572
|
+
],
|
|
43573
|
+
"parameters": [
|
|
43574
|
+
{
|
|
43575
|
+
"name": "folderId",
|
|
43576
|
+
"in": "path",
|
|
43577
|
+
"required": true,
|
|
43578
|
+
"schema": {
|
|
43579
|
+
"type": "string",
|
|
43580
|
+
"format": "uuid"
|
|
43581
|
+
}
|
|
43582
|
+
},
|
|
43583
|
+
{
|
|
43584
|
+
"name": "loadKey",
|
|
43585
|
+
"in": "path",
|
|
43586
|
+
"required": true,
|
|
43587
|
+
"schema": {
|
|
43588
|
+
"type": "string"
|
|
43589
|
+
}
|
|
43590
|
+
}
|
|
43591
|
+
],
|
|
43592
|
+
"responses": {
|
|
43593
|
+
"200": {
|
|
43594
|
+
"description": "The folder after the withdrawal."
|
|
43595
|
+
}
|
|
43596
|
+
}
|
|
43597
|
+
}
|
|
43598
|
+
},
|
|
43599
|
+
"/v1/transport-folders/{folderId}/loads/{loadKey}/handover": {
|
|
43600
|
+
"get": {
|
|
43601
|
+
"operationId": "getTransportLoadHandover",
|
|
43602
|
+
"summary": "The customer document set of a load",
|
|
43603
|
+
"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).",
|
|
43604
|
+
"tags": [
|
|
43605
|
+
"Transport Folders"
|
|
43606
|
+
],
|
|
43607
|
+
"parameters": [
|
|
43608
|
+
{
|
|
43609
|
+
"name": "folderId",
|
|
43610
|
+
"in": "path",
|
|
43611
|
+
"required": true,
|
|
43612
|
+
"schema": {
|
|
43613
|
+
"type": "string",
|
|
43614
|
+
"format": "uuid"
|
|
43615
|
+
}
|
|
43616
|
+
},
|
|
43617
|
+
{
|
|
43618
|
+
"name": "loadKey",
|
|
43619
|
+
"in": "path",
|
|
43620
|
+
"required": true,
|
|
43621
|
+
"schema": {
|
|
43622
|
+
"type": "string"
|
|
43623
|
+
}
|
|
43624
|
+
}
|
|
43625
|
+
],
|
|
43626
|
+
"responses": {
|
|
43627
|
+
"200": {
|
|
43628
|
+
"description": "`{ filename, index, pdf_base64 }`"
|
|
43629
|
+
}
|
|
43630
|
+
}
|
|
43631
|
+
}
|
|
43632
|
+
},
|
|
43188
43633
|
"/v1/transport-folders/{folderId}/documents/{documentId}/boxes": {
|
|
43189
43634
|
"get": {
|
|
43190
43635
|
"operationId": "getTransportDocumentBoxes",
|
|
@@ -61205,6 +61650,46 @@
|
|
|
61205
61650
|
}
|
|
61206
61651
|
}
|
|
61207
61652
|
},
|
|
61653
|
+
"ChartToDataReadChartsPreview": {
|
|
61654
|
+
"type": "object",
|
|
61655
|
+
"required": [
|
|
61656
|
+
"documents",
|
|
61657
|
+
"charts",
|
|
61658
|
+
"calls_max",
|
|
61659
|
+
"cost_max_usd",
|
|
61660
|
+
"currency"
|
|
61661
|
+
],
|
|
61662
|
+
"properties": {
|
|
61663
|
+
"documents": {
|
|
61664
|
+
"type": "integer",
|
|
61665
|
+
"minimum": 0,
|
|
61666
|
+
"description": "The selected documents that would be queued."
|
|
61667
|
+
},
|
|
61668
|
+
"charts": {
|
|
61669
|
+
"type": "integer",
|
|
61670
|
+
"minimum": 0,
|
|
61671
|
+
"nullable": true,
|
|
61672
|
+
"description": "The scanned charts they would read; null while one of them is not scanned yet."
|
|
61673
|
+
},
|
|
61674
|
+
"calls_max": {
|
|
61675
|
+
"type": "integer",
|
|
61676
|
+
"minimum": 0,
|
|
61677
|
+
"description": "The paid calls those charts make at most (scanned documents only)."
|
|
61678
|
+
},
|
|
61679
|
+
"cost_max_usd": {
|
|
61680
|
+
"type": "number",
|
|
61681
|
+
"minimum": 0,
|
|
61682
|
+
"description": "calls_max at the highest price one call may cost",
|
|
61683
|
+
"rounded up to the cent.": null
|
|
61684
|
+
},
|
|
61685
|
+
"currency": {
|
|
61686
|
+
"type": "string",
|
|
61687
|
+
"enum": [
|
|
61688
|
+
"USD"
|
|
61689
|
+
]
|
|
61690
|
+
}
|
|
61691
|
+
}
|
|
61692
|
+
},
|
|
61208
61693
|
"ChartToDataCharts": {
|
|
61209
61694
|
"type": "object",
|
|
61210
61695
|
"properties": {
|
|
@@ -67653,7 +68138,8 @@
|
|
|
67653
68138
|
"bank_changed",
|
|
67654
68139
|
"already_paid",
|
|
67655
68140
|
"date_check",
|
|
67656
|
-
"policy_rule"
|
|
68141
|
+
"policy_rule",
|
|
68142
|
+
"above_order_value"
|
|
67657
68143
|
]
|
|
67658
68144
|
},
|
|
67659
68145
|
"label": {
|
|
@@ -67738,7 +68224,8 @@
|
|
|
67738
68224
|
"bank_changed",
|
|
67739
68225
|
"already_paid",
|
|
67740
68226
|
"date_check",
|
|
67741
|
-
"policy_rule"
|
|
68227
|
+
"policy_rule",
|
|
68228
|
+
"above_order_value"
|
|
67742
68229
|
],
|
|
67743
68230
|
"description": "The kind of hold that decides the risk."
|
|
67744
68231
|
},
|
|
@@ -67783,6 +68270,99 @@
|
|
|
67783
68270
|
}
|
|
67784
68271
|
}
|
|
67785
68272
|
},
|
|
68273
|
+
"ApDossier": {
|
|
68274
|
+
"type": "object",
|
|
68275
|
+
"required": [
|
|
68276
|
+
"schema_id",
|
|
68277
|
+
"columns"
|
|
68278
|
+
],
|
|
68279
|
+
"properties": {
|
|
68280
|
+
"schema_id": {
|
|
68281
|
+
"type": "string",
|
|
68282
|
+
"format": "uuid"
|
|
68283
|
+
},
|
|
68284
|
+
"columns": {
|
|
68285
|
+
"type": "object",
|
|
68286
|
+
"properties": {
|
|
68287
|
+
"supplier_id": {
|
|
68288
|
+
"type": "string"
|
|
68289
|
+
},
|
|
68290
|
+
"order_number": {
|
|
68291
|
+
"type": "string"
|
|
68292
|
+
},
|
|
68293
|
+
"contract_number": {
|
|
68294
|
+
"type": "string"
|
|
68295
|
+
},
|
|
68296
|
+
"invoice_number": {
|
|
68297
|
+
"type": "string"
|
|
68298
|
+
},
|
|
68299
|
+
"document_type": {
|
|
68300
|
+
"type": "string"
|
|
68301
|
+
}
|
|
68302
|
+
}
|
|
68303
|
+
}
|
|
68304
|
+
}
|
|
68305
|
+
},
|
|
68306
|
+
"ApDossierOptions": {
|
|
68307
|
+
"type": "object",
|
|
68308
|
+
"properties": {
|
|
68309
|
+
"selected": {
|
|
68310
|
+
"nullable": true,
|
|
68311
|
+
"allOf": [
|
|
68312
|
+
{
|
|
68313
|
+
"$ref": "#/components/schemas/ApDossier"
|
|
68314
|
+
}
|
|
68315
|
+
]
|
|
68316
|
+
},
|
|
68317
|
+
"state": {
|
|
68318
|
+
"type": "string",
|
|
68319
|
+
"enum": [
|
|
68320
|
+
"none",
|
|
68321
|
+
"processing",
|
|
68322
|
+
"ready"
|
|
68323
|
+
]
|
|
68324
|
+
},
|
|
68325
|
+
"specs": {
|
|
68326
|
+
"type": "array",
|
|
68327
|
+
"items": {
|
|
68328
|
+
"type": "object",
|
|
68329
|
+
"properties": {
|
|
68330
|
+
"schema_id": {
|
|
68331
|
+
"type": "string",
|
|
68332
|
+
"format": "uuid"
|
|
68333
|
+
},
|
|
68334
|
+
"name": {
|
|
68335
|
+
"type": "string"
|
|
68336
|
+
},
|
|
68337
|
+
"columns": {
|
|
68338
|
+
"type": "array",
|
|
68339
|
+
"items": {
|
|
68340
|
+
"type": "string"
|
|
68341
|
+
}
|
|
68342
|
+
}
|
|
68343
|
+
}
|
|
68344
|
+
}
|
|
68345
|
+
}
|
|
68346
|
+
}
|
|
68347
|
+
},
|
|
68348
|
+
"ApValueTolerance": {
|
|
68349
|
+
"type": "object",
|
|
68350
|
+
"required": [
|
|
68351
|
+
"value_tolerance_pct",
|
|
68352
|
+
"default"
|
|
68353
|
+
],
|
|
68354
|
+
"properties": {
|
|
68355
|
+
"value_tolerance_pct": {
|
|
68356
|
+
"type": "number",
|
|
68357
|
+
"nullable": true,
|
|
68358
|
+
"description": "The workspace's percent; null when it set none."
|
|
68359
|
+
},
|
|
68360
|
+
"default": {
|
|
68361
|
+
"type": "number",
|
|
68362
|
+
"description": "The platform's percent, in force when the workspace set none."
|
|
68363
|
+
}
|
|
68364
|
+
}
|
|
68365
|
+
},
|
|
67786
68366
|
"ApRiskMatrix": {
|
|
67787
68367
|
"type": "object",
|
|
67788
68368
|
"properties": {
|
|
@@ -68017,6 +68597,49 @@
|
|
|
68017
68597
|
"type": "string",
|
|
68018
68598
|
"nullable": true
|
|
68019
68599
|
},
|
|
68600
|
+
"reviewed_documents": {
|
|
68601
|
+
"type": "array",
|
|
68602
|
+
"description": "The documents the reviewers read for this invoice's payment rules.",
|
|
68603
|
+
"items": {
|
|
68604
|
+
"type": "object",
|
|
68605
|
+
"properties": {
|
|
68606
|
+
"document_id": {
|
|
68607
|
+
"type": "string",
|
|
68608
|
+
"format": "uuid"
|
|
68609
|
+
},
|
|
68610
|
+
"filename": {
|
|
68611
|
+
"type": "string",
|
|
68612
|
+
"nullable": true
|
|
68613
|
+
}
|
|
68614
|
+
}
|
|
68615
|
+
}
|
|
68616
|
+
},
|
|
68617
|
+
"documents_missing": {
|
|
68618
|
+
"type": "array",
|
|
68619
|
+
"description": "What the payment rules need that is not among the invoice's documents. Without it there is no final result.",
|
|
68620
|
+
"items": {
|
|
68621
|
+
"type": "object",
|
|
68622
|
+
"properties": {
|
|
68623
|
+
"what": {
|
|
68624
|
+
"type": "string"
|
|
68625
|
+
},
|
|
68626
|
+
"rule": {
|
|
68627
|
+
"type": "string"
|
|
68628
|
+
},
|
|
68629
|
+
"reason": {
|
|
68630
|
+
"type": "string"
|
|
68631
|
+
},
|
|
68632
|
+
"source": {
|
|
68633
|
+
"type": "string",
|
|
68634
|
+
"nullable": true
|
|
68635
|
+
},
|
|
68636
|
+
"rule_quote": {
|
|
68637
|
+
"type": "string",
|
|
68638
|
+
"nullable": true
|
|
68639
|
+
}
|
|
68640
|
+
}
|
|
68641
|
+
}
|
|
68642
|
+
},
|
|
68020
68643
|
"status": {
|
|
68021
68644
|
"type": "string",
|
|
68022
68645
|
"enum": [
|
|
@@ -68164,7 +68787,8 @@
|
|
|
68164
68787
|
"bank_changed",
|
|
68165
68788
|
"already_paid",
|
|
68166
68789
|
"date_check",
|
|
68167
|
-
"policy_rule"
|
|
68790
|
+
"policy_rule",
|
|
68791
|
+
"above_order_value"
|
|
68168
68792
|
]
|
|
68169
68793
|
},
|
|
68170
68794
|
"label": {
|