@tracken/sdk 0.0.0-stage → 0.2.1

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.
@@ -0,0 +1,2746 @@
1
+ /** The public API document this SDK was generated from. */
2
+ export const DOCUMENT = {
3
+ "repository": "Tracken-Technologies/tracken_accounts",
4
+ "commit": "24e91d23078ce4360a7ce9477439358e90f8e553",
5
+ "document_version": "2026-11-09",
6
+ "sha256": "5c6a3a21654ee6eae6b0ced16f12106733c595f17f9c03306db6102c4100e5b4"
7
+ };
8
+ export const OPERATIONS = {
9
+ "listAuditLog": {
10
+ "method": "get",
11
+ "path": "/audit-log",
12
+ "resource": "auditLog",
13
+ "name": "list",
14
+ "organization": true,
15
+ "paginated": true,
16
+ "async": false,
17
+ "headers": []
18
+ },
19
+ "listFiscalYears": {
20
+ "method": "get",
21
+ "path": "/fiscal-years",
22
+ "resource": "fiscalYears",
23
+ "name": "list",
24
+ "organization": true,
25
+ "paginated": true,
26
+ "async": false,
27
+ "headers": []
28
+ },
29
+ "createFiscalYear": {
30
+ "method": "post",
31
+ "path": "/fiscal-years",
32
+ "resource": "fiscalYears",
33
+ "name": "create",
34
+ "organization": true,
35
+ "paginated": false,
36
+ "async": false,
37
+ "headers": [
38
+ "Idempotency-Key",
39
+ "Tracken-On-Behalf-Of"
40
+ ],
41
+ "body": "json"
42
+ },
43
+ "getFiscalYear": {
44
+ "method": "get",
45
+ "path": "/fiscal-years/{id}",
46
+ "resource": "fiscalYears",
47
+ "name": "get",
48
+ "organization": true,
49
+ "paginated": false,
50
+ "async": false,
51
+ "headers": []
52
+ },
53
+ "getOrganization": {
54
+ "method": "get",
55
+ "path": "/organization",
56
+ "resource": "organization",
57
+ "name": "get",
58
+ "organization": true,
59
+ "paginated": false,
60
+ "async": false,
61
+ "headers": []
62
+ },
63
+ "listPeriods": {
64
+ "method": "get",
65
+ "path": "/periods",
66
+ "resource": "periods",
67
+ "name": "list",
68
+ "organization": true,
69
+ "paginated": true,
70
+ "async": false,
71
+ "headers": []
72
+ },
73
+ "createPeriod": {
74
+ "method": "post",
75
+ "path": "/periods",
76
+ "resource": "periods",
77
+ "name": "create",
78
+ "organization": true,
79
+ "paginated": false,
80
+ "async": false,
81
+ "headers": [
82
+ "Idempotency-Key",
83
+ "Tracken-On-Behalf-Of"
84
+ ],
85
+ "body": "json"
86
+ },
87
+ "getPeriod": {
88
+ "method": "get",
89
+ "path": "/periods/{id}",
90
+ "resource": "periods",
91
+ "name": "get",
92
+ "organization": true,
93
+ "paginated": false,
94
+ "async": false,
95
+ "headers": []
96
+ },
97
+ "search": {
98
+ "method": "get",
99
+ "path": "/search",
100
+ "resource": "search",
101
+ "name": "search",
102
+ "organization": true,
103
+ "paginated": false,
104
+ "async": false,
105
+ "headers": [],
106
+ "csvQuery": [
107
+ "types"
108
+ ]
109
+ },
110
+ "getCurrentUser": {
111
+ "method": "get",
112
+ "path": "/users/me",
113
+ "resource": "users",
114
+ "name": "getMe",
115
+ "organization": false,
116
+ "paginated": false,
117
+ "async": false,
118
+ "headers": []
119
+ },
120
+ "listAccounts": {
121
+ "method": "get",
122
+ "path": "/accounts",
123
+ "resource": "accounts",
124
+ "name": "list",
125
+ "organization": true,
126
+ "paginated": true,
127
+ "async": false,
128
+ "headers": []
129
+ },
130
+ "createAccount": {
131
+ "method": "post",
132
+ "path": "/accounts",
133
+ "resource": "accounts",
134
+ "name": "create",
135
+ "organization": true,
136
+ "paginated": false,
137
+ "async": false,
138
+ "headers": [
139
+ "Idempotency-Key",
140
+ "Tracken-On-Behalf-Of"
141
+ ],
142
+ "body": "json"
143
+ },
144
+ "getAccount": {
145
+ "method": "get",
146
+ "path": "/accounts/{id}",
147
+ "resource": "accounts",
148
+ "name": "get",
149
+ "organization": true,
150
+ "paginated": false,
151
+ "async": false,
152
+ "headers": []
153
+ },
154
+ "updateAccount": {
155
+ "method": "patch",
156
+ "path": "/accounts/{id}",
157
+ "resource": "accounts",
158
+ "name": "update",
159
+ "organization": true,
160
+ "paginated": false,
161
+ "async": false,
162
+ "headers": [
163
+ "If-Match",
164
+ "Tracken-On-Behalf-Of"
165
+ ],
166
+ "body": "json"
167
+ },
168
+ "deleteAccount": {
169
+ "method": "delete",
170
+ "path": "/accounts/{id}",
171
+ "resource": "accounts",
172
+ "name": "delete",
173
+ "organization": true,
174
+ "paginated": false,
175
+ "async": false,
176
+ "headers": [
177
+ "Tracken-On-Behalf-Of"
178
+ ]
179
+ },
180
+ "archiveAccount": {
181
+ "method": "post",
182
+ "path": "/accounts/{id}:archive",
183
+ "resource": "accounts",
184
+ "name": "archive",
185
+ "organization": true,
186
+ "paginated": false,
187
+ "async": false,
188
+ "headers": [
189
+ "Idempotency-Key",
190
+ "Tracken-On-Behalf-Of"
191
+ ]
192
+ },
193
+ "unarchiveAccount": {
194
+ "method": "post",
195
+ "path": "/accounts/{id}:unarchive",
196
+ "resource": "accounts",
197
+ "name": "unarchive",
198
+ "organization": true,
199
+ "paginated": false,
200
+ "async": false,
201
+ "headers": [
202
+ "Idempotency-Key",
203
+ "Tracken-On-Behalf-Of"
204
+ ]
205
+ },
206
+ "listDimensions": {
207
+ "method": "get",
208
+ "path": "/dimensions",
209
+ "resource": "dimensions",
210
+ "name": "list",
211
+ "organization": true,
212
+ "paginated": true,
213
+ "async": false,
214
+ "headers": []
215
+ },
216
+ "createDimension": {
217
+ "method": "post",
218
+ "path": "/dimensions",
219
+ "resource": "dimensions",
220
+ "name": "create",
221
+ "organization": true,
222
+ "paginated": false,
223
+ "async": false,
224
+ "headers": [
225
+ "Idempotency-Key",
226
+ "Tracken-On-Behalf-Of"
227
+ ],
228
+ "body": "json"
229
+ },
230
+ "listDimensionValues": {
231
+ "method": "get",
232
+ "path": "/dimensions/{dimension_id}/values",
233
+ "resource": "dimensions",
234
+ "name": "listValues",
235
+ "organization": true,
236
+ "paginated": true,
237
+ "async": false,
238
+ "headers": []
239
+ },
240
+ "createDimensionValue": {
241
+ "method": "post",
242
+ "path": "/dimensions/{dimension_id}/values",
243
+ "resource": "dimensions",
244
+ "name": "createValue",
245
+ "organization": true,
246
+ "paginated": false,
247
+ "async": false,
248
+ "headers": [
249
+ "Idempotency-Key",
250
+ "Tracken-On-Behalf-Of"
251
+ ],
252
+ "body": "json"
253
+ },
254
+ "getDimensionValue": {
255
+ "method": "get",
256
+ "path": "/dimensions/{dimension_id}/values/{id}",
257
+ "resource": "dimensions",
258
+ "name": "getValue",
259
+ "organization": true,
260
+ "paginated": false,
261
+ "async": false,
262
+ "headers": []
263
+ },
264
+ "updateDimensionValue": {
265
+ "method": "patch",
266
+ "path": "/dimensions/{dimension_id}/values/{id}",
267
+ "resource": "dimensions",
268
+ "name": "updateValue",
269
+ "organization": true,
270
+ "paginated": false,
271
+ "async": false,
272
+ "headers": [
273
+ "If-Match",
274
+ "Tracken-On-Behalf-Of"
275
+ ],
276
+ "body": "json"
277
+ },
278
+ "deleteDimensionValue": {
279
+ "method": "delete",
280
+ "path": "/dimensions/{dimension_id}/values/{id}",
281
+ "resource": "dimensions",
282
+ "name": "deleteValue",
283
+ "organization": true,
284
+ "paginated": false,
285
+ "async": false,
286
+ "headers": [
287
+ "Tracken-On-Behalf-Of"
288
+ ]
289
+ },
290
+ "archiveDimensionValue": {
291
+ "method": "post",
292
+ "path": "/dimensions/{dimension_id}/values/{id}:archive",
293
+ "resource": "dimensions",
294
+ "name": "archiveValue",
295
+ "organization": true,
296
+ "paginated": false,
297
+ "async": false,
298
+ "headers": [
299
+ "Idempotency-Key",
300
+ "Tracken-On-Behalf-Of"
301
+ ]
302
+ },
303
+ "unarchiveDimensionValue": {
304
+ "method": "post",
305
+ "path": "/dimensions/{dimension_id}/values/{id}:unarchive",
306
+ "resource": "dimensions",
307
+ "name": "unarchiveValue",
308
+ "organization": true,
309
+ "paginated": false,
310
+ "async": false,
311
+ "headers": [
312
+ "Idempotency-Key",
313
+ "Tracken-On-Behalf-Of"
314
+ ]
315
+ },
316
+ "getDimension": {
317
+ "method": "get",
318
+ "path": "/dimensions/{id}",
319
+ "resource": "dimensions",
320
+ "name": "get",
321
+ "organization": true,
322
+ "paginated": false,
323
+ "async": false,
324
+ "headers": []
325
+ },
326
+ "updateDimension": {
327
+ "method": "patch",
328
+ "path": "/dimensions/{id}",
329
+ "resource": "dimensions",
330
+ "name": "update",
331
+ "organization": true,
332
+ "paginated": false,
333
+ "async": false,
334
+ "headers": [
335
+ "If-Match",
336
+ "Tracken-On-Behalf-Of"
337
+ ],
338
+ "body": "json"
339
+ },
340
+ "deleteDimension": {
341
+ "method": "delete",
342
+ "path": "/dimensions/{id}",
343
+ "resource": "dimensions",
344
+ "name": "delete",
345
+ "organization": true,
346
+ "paginated": false,
347
+ "async": false,
348
+ "headers": [
349
+ "Tracken-On-Behalf-Of"
350
+ ]
351
+ },
352
+ "archiveDimension": {
353
+ "method": "post",
354
+ "path": "/dimensions/{id}:archive",
355
+ "resource": "dimensions",
356
+ "name": "archive",
357
+ "organization": true,
358
+ "paginated": false,
359
+ "async": false,
360
+ "headers": [
361
+ "Idempotency-Key",
362
+ "Tracken-On-Behalf-Of"
363
+ ]
364
+ },
365
+ "unarchiveDimension": {
366
+ "method": "post",
367
+ "path": "/dimensions/{id}:unarchive",
368
+ "resource": "dimensions",
369
+ "name": "unarchive",
370
+ "organization": true,
371
+ "paginated": false,
372
+ "async": false,
373
+ "headers": [
374
+ "Idempotency-Key",
375
+ "Tracken-On-Behalf-Of"
376
+ ]
377
+ },
378
+ "listTaxCodes": {
379
+ "method": "get",
380
+ "path": "/tax-codes",
381
+ "resource": "taxCodes",
382
+ "name": "list",
383
+ "organization": true,
384
+ "paginated": true,
385
+ "async": false,
386
+ "headers": []
387
+ },
388
+ "getTaxCode": {
389
+ "method": "get",
390
+ "path": "/tax-codes/{id}",
391
+ "resource": "taxCodes",
392
+ "name": "get",
393
+ "organization": true,
394
+ "paginated": false,
395
+ "async": false,
396
+ "headers": []
397
+ },
398
+ "listContacts": {
399
+ "method": "get",
400
+ "path": "/contacts",
401
+ "resource": "contacts",
402
+ "name": "list",
403
+ "organization": true,
404
+ "paginated": true,
405
+ "async": false,
406
+ "headers": []
407
+ },
408
+ "createContact": {
409
+ "method": "post",
410
+ "path": "/contacts",
411
+ "resource": "contacts",
412
+ "name": "create",
413
+ "organization": true,
414
+ "paginated": false,
415
+ "async": false,
416
+ "headers": [
417
+ "Idempotency-Key",
418
+ "Tracken-On-Behalf-Of"
419
+ ],
420
+ "body": "json"
421
+ },
422
+ "getContact": {
423
+ "method": "get",
424
+ "path": "/contacts/{id}",
425
+ "resource": "contacts",
426
+ "name": "get",
427
+ "organization": true,
428
+ "paginated": false,
429
+ "async": false,
430
+ "headers": []
431
+ },
432
+ "updateContact": {
433
+ "method": "patch",
434
+ "path": "/contacts/{id}",
435
+ "resource": "contacts",
436
+ "name": "update",
437
+ "organization": true,
438
+ "paginated": false,
439
+ "async": false,
440
+ "headers": [
441
+ "If-Match",
442
+ "Tracken-On-Behalf-Of"
443
+ ],
444
+ "body": "json"
445
+ },
446
+ "deleteContact": {
447
+ "method": "delete",
448
+ "path": "/contacts/{id}",
449
+ "resource": "contacts",
450
+ "name": "delete",
451
+ "organization": true,
452
+ "paginated": false,
453
+ "async": false,
454
+ "headers": [
455
+ "Tracken-On-Behalf-Of"
456
+ ]
457
+ },
458
+ "archiveContact": {
459
+ "method": "post",
460
+ "path": "/contacts/{id}:archive",
461
+ "resource": "contacts",
462
+ "name": "archive",
463
+ "organization": true,
464
+ "paginated": false,
465
+ "async": false,
466
+ "headers": [
467
+ "Idempotency-Key",
468
+ "Tracken-On-Behalf-Of"
469
+ ]
470
+ },
471
+ "unarchiveContact": {
472
+ "method": "post",
473
+ "path": "/contacts/{id}:unarchive",
474
+ "resource": "contacts",
475
+ "name": "unarchive",
476
+ "organization": true,
477
+ "paginated": false,
478
+ "async": false,
479
+ "headers": [
480
+ "Idempotency-Key",
481
+ "Tracken-On-Behalf-Of"
482
+ ]
483
+ },
484
+ "listItems": {
485
+ "method": "get",
486
+ "path": "/items",
487
+ "resource": "items",
488
+ "name": "list",
489
+ "organization": true,
490
+ "paginated": true,
491
+ "async": false,
492
+ "headers": []
493
+ },
494
+ "createItem": {
495
+ "method": "post",
496
+ "path": "/items",
497
+ "resource": "items",
498
+ "name": "create",
499
+ "organization": true,
500
+ "paginated": false,
501
+ "async": false,
502
+ "headers": [
503
+ "Idempotency-Key",
504
+ "Tracken-On-Behalf-Of"
505
+ ],
506
+ "body": "json",
507
+ "decimals": [
508
+ "/data/purchase_price",
509
+ "/data/selling_price"
510
+ ]
511
+ },
512
+ "getItem": {
513
+ "method": "get",
514
+ "path": "/items/{id}",
515
+ "resource": "items",
516
+ "name": "get",
517
+ "organization": true,
518
+ "paginated": false,
519
+ "async": false,
520
+ "headers": []
521
+ },
522
+ "updateItem": {
523
+ "method": "patch",
524
+ "path": "/items/{id}",
525
+ "resource": "items",
526
+ "name": "update",
527
+ "organization": true,
528
+ "paginated": false,
529
+ "async": false,
530
+ "headers": [
531
+ "If-Match",
532
+ "Tracken-On-Behalf-Of"
533
+ ],
534
+ "body": "json",
535
+ "decimals": [
536
+ "/data/purchase_price",
537
+ "/data/selling_price"
538
+ ]
539
+ },
540
+ "deleteItem": {
541
+ "method": "delete",
542
+ "path": "/items/{id}",
543
+ "resource": "items",
544
+ "name": "delete",
545
+ "organization": true,
546
+ "paginated": false,
547
+ "async": false,
548
+ "headers": [
549
+ "Tracken-On-Behalf-Of"
550
+ ]
551
+ },
552
+ "archiveItem": {
553
+ "method": "post",
554
+ "path": "/items/{id}:archive",
555
+ "resource": "items",
556
+ "name": "archive",
557
+ "organization": true,
558
+ "paginated": false,
559
+ "async": false,
560
+ "headers": [
561
+ "Idempotency-Key",
562
+ "Tracken-On-Behalf-Of"
563
+ ]
564
+ },
565
+ "unarchiveItem": {
566
+ "method": "post",
567
+ "path": "/items/{id}:unarchive",
568
+ "resource": "items",
569
+ "name": "unarchive",
570
+ "organization": true,
571
+ "paginated": false,
572
+ "async": false,
573
+ "headers": [
574
+ "Idempotency-Key",
575
+ "Tracken-On-Behalf-Of"
576
+ ]
577
+ },
578
+ "listTransactions": {
579
+ "method": "get",
580
+ "path": "/transactions",
581
+ "resource": "transactions",
582
+ "name": "list",
583
+ "organization": true,
584
+ "paginated": true,
585
+ "async": false,
586
+ "headers": [],
587
+ "csvQuery": [
588
+ "account_id"
589
+ ]
590
+ },
591
+ "createTransaction": {
592
+ "method": "post",
593
+ "path": "/transactions",
594
+ "resource": "transactions",
595
+ "name": "create",
596
+ "organization": true,
597
+ "paginated": false,
598
+ "async": false,
599
+ "headers": [
600
+ "Idempotency-Key",
601
+ "Tracken-On-Behalf-Of"
602
+ ],
603
+ "body": "json",
604
+ "decimals": [
605
+ "/data/entries/*/credit",
606
+ "/data/entries/*/debit",
607
+ "/data/entries/*/foreign_credit",
608
+ "/data/entries/*/foreign_debit",
609
+ "/data/exchange_rate"
610
+ ]
611
+ },
612
+ "getTransaction": {
613
+ "method": "get",
614
+ "path": "/transactions/{id}",
615
+ "resource": "transactions",
616
+ "name": "get",
617
+ "organization": true,
618
+ "paginated": false,
619
+ "async": false,
620
+ "headers": []
621
+ },
622
+ "updateTransaction": {
623
+ "method": "patch",
624
+ "path": "/transactions/{id}",
625
+ "resource": "transactions",
626
+ "name": "update",
627
+ "organization": true,
628
+ "paginated": false,
629
+ "async": false,
630
+ "headers": [
631
+ "If-Match",
632
+ "Tracken-On-Behalf-Of"
633
+ ],
634
+ "body": "json",
635
+ "decimals": [
636
+ "/data/entries/*/credit",
637
+ "/data/entries/*/debit",
638
+ "/data/entries/*/foreign_credit",
639
+ "/data/entries/*/foreign_debit",
640
+ "/data/exchange_rate"
641
+ ]
642
+ },
643
+ "deleteTransaction": {
644
+ "method": "delete",
645
+ "path": "/transactions/{id}",
646
+ "resource": "transactions",
647
+ "name": "delete",
648
+ "organization": true,
649
+ "paginated": false,
650
+ "async": false,
651
+ "headers": [
652
+ "Tracken-On-Behalf-Of"
653
+ ]
654
+ },
655
+ "listMeterReadings": {
656
+ "method": "get",
657
+ "path": "/meter-readings",
658
+ "resource": "meterReadings",
659
+ "name": "list",
660
+ "organization": true,
661
+ "paginated": true,
662
+ "async": false,
663
+ "headers": []
664
+ },
665
+ "createMeterReading": {
666
+ "method": "post",
667
+ "path": "/meter-readings",
668
+ "resource": "meterReadings",
669
+ "name": "create",
670
+ "organization": true,
671
+ "paginated": false,
672
+ "async": false,
673
+ "headers": [
674
+ "Idempotency-Key",
675
+ "Tracken-On-Behalf-Of"
676
+ ],
677
+ "body": "json",
678
+ "decimals": [
679
+ "/data/value"
680
+ ]
681
+ },
682
+ "getMeterReading": {
683
+ "method": "get",
684
+ "path": "/meter-readings/{id}",
685
+ "resource": "meterReadings",
686
+ "name": "get",
687
+ "organization": true,
688
+ "paginated": false,
689
+ "async": false,
690
+ "headers": []
691
+ },
692
+ "updateMeterReading": {
693
+ "method": "patch",
694
+ "path": "/meter-readings/{id}",
695
+ "resource": "meterReadings",
696
+ "name": "update",
697
+ "organization": true,
698
+ "paginated": false,
699
+ "async": false,
700
+ "headers": [
701
+ "If-Match",
702
+ "Tracken-On-Behalf-Of"
703
+ ],
704
+ "body": "json",
705
+ "decimals": [
706
+ "/data/value"
707
+ ]
708
+ },
709
+ "deleteMeterReading": {
710
+ "method": "delete",
711
+ "path": "/meter-readings/{id}",
712
+ "resource": "meterReadings",
713
+ "name": "delete",
714
+ "organization": true,
715
+ "paginated": false,
716
+ "async": false,
717
+ "headers": [
718
+ "Tracken-On-Behalf-Of"
719
+ ]
720
+ },
721
+ "listMeterTypes": {
722
+ "method": "get",
723
+ "path": "/meter-types",
724
+ "resource": "meterTypes",
725
+ "name": "list",
726
+ "organization": true,
727
+ "paginated": true,
728
+ "async": false,
729
+ "headers": []
730
+ },
731
+ "createMeterType": {
732
+ "method": "post",
733
+ "path": "/meter-types",
734
+ "resource": "meterTypes",
735
+ "name": "create",
736
+ "organization": true,
737
+ "paginated": false,
738
+ "async": false,
739
+ "headers": [
740
+ "Idempotency-Key",
741
+ "Tracken-On-Behalf-Of"
742
+ ],
743
+ "body": "json"
744
+ },
745
+ "getMeterType": {
746
+ "method": "get",
747
+ "path": "/meter-types/{id}",
748
+ "resource": "meterTypes",
749
+ "name": "get",
750
+ "organization": true,
751
+ "paginated": false,
752
+ "async": false,
753
+ "headers": []
754
+ },
755
+ "updateMeterType": {
756
+ "method": "patch",
757
+ "path": "/meter-types/{id}",
758
+ "resource": "meterTypes",
759
+ "name": "update",
760
+ "organization": true,
761
+ "paginated": false,
762
+ "async": false,
763
+ "headers": [
764
+ "If-Match",
765
+ "Tracken-On-Behalf-Of"
766
+ ],
767
+ "body": "json"
768
+ },
769
+ "deleteMeterType": {
770
+ "method": "delete",
771
+ "path": "/meter-types/{id}",
772
+ "resource": "meterTypes",
773
+ "name": "delete",
774
+ "organization": true,
775
+ "paginated": false,
776
+ "async": false,
777
+ "headers": [
778
+ "Tracken-On-Behalf-Of"
779
+ ]
780
+ },
781
+ "archiveMeterType": {
782
+ "method": "post",
783
+ "path": "/meter-types/{id}:archive",
784
+ "resource": "meterTypes",
785
+ "name": "archive",
786
+ "organization": true,
787
+ "paginated": false,
788
+ "async": false,
789
+ "headers": [
790
+ "Idempotency-Key",
791
+ "Tracken-On-Behalf-Of"
792
+ ]
793
+ },
794
+ "unarchiveMeterType": {
795
+ "method": "post",
796
+ "path": "/meter-types/{id}:unarchive",
797
+ "resource": "meterTypes",
798
+ "name": "unarchive",
799
+ "organization": true,
800
+ "paginated": false,
801
+ "async": false,
802
+ "headers": [
803
+ "Idempotency-Key",
804
+ "Tracken-On-Behalf-Of"
805
+ ]
806
+ },
807
+ "listMeters": {
808
+ "method": "get",
809
+ "path": "/meters",
810
+ "resource": "meters",
811
+ "name": "list",
812
+ "organization": true,
813
+ "paginated": true,
814
+ "async": false,
815
+ "headers": []
816
+ },
817
+ "createMeter": {
818
+ "method": "post",
819
+ "path": "/meters",
820
+ "resource": "meters",
821
+ "name": "create",
822
+ "organization": true,
823
+ "paginated": false,
824
+ "async": false,
825
+ "headers": [
826
+ "Idempotency-Key",
827
+ "Tracken-On-Behalf-Of"
828
+ ],
829
+ "body": "json",
830
+ "decimals": [
831
+ "/data/initial_value",
832
+ "/data/replaces/final_value",
833
+ "/data/rollover_value"
834
+ ]
835
+ },
836
+ "getMeter": {
837
+ "method": "get",
838
+ "path": "/meters/{id}",
839
+ "resource": "meters",
840
+ "name": "get",
841
+ "organization": true,
842
+ "paginated": false,
843
+ "async": false,
844
+ "headers": []
845
+ },
846
+ "updateMeter": {
847
+ "method": "patch",
848
+ "path": "/meters/{id}",
849
+ "resource": "meters",
850
+ "name": "update",
851
+ "organization": true,
852
+ "paginated": false,
853
+ "async": false,
854
+ "headers": [
855
+ "If-Match",
856
+ "Tracken-On-Behalf-Of"
857
+ ],
858
+ "body": "json",
859
+ "decimals": [
860
+ "/data/final_value",
861
+ "/data/initial_value",
862
+ "/data/rollover_value"
863
+ ]
864
+ },
865
+ "deleteMeter": {
866
+ "method": "delete",
867
+ "path": "/meters/{id}",
868
+ "resource": "meters",
869
+ "name": "delete",
870
+ "organization": true,
871
+ "paginated": false,
872
+ "async": false,
873
+ "headers": [
874
+ "Tracken-On-Behalf-Of"
875
+ ]
876
+ },
877
+ "listObjectTypes": {
878
+ "method": "get",
879
+ "path": "/object-types",
880
+ "resource": "objectTypes",
881
+ "name": "list",
882
+ "organization": true,
883
+ "paginated": true,
884
+ "async": false,
885
+ "headers": []
886
+ },
887
+ "createObjectType": {
888
+ "method": "post",
889
+ "path": "/object-types",
890
+ "resource": "objectTypes",
891
+ "name": "create",
892
+ "organization": true,
893
+ "paginated": false,
894
+ "async": false,
895
+ "headers": [
896
+ "Idempotency-Key",
897
+ "Tracken-On-Behalf-Of"
898
+ ],
899
+ "body": "json"
900
+ },
901
+ "getObjectType": {
902
+ "method": "get",
903
+ "path": "/object-types/{id}",
904
+ "resource": "objectTypes",
905
+ "name": "get",
906
+ "organization": true,
907
+ "paginated": false,
908
+ "async": false,
909
+ "headers": []
910
+ },
911
+ "updateObjectType": {
912
+ "method": "patch",
913
+ "path": "/object-types/{id}",
914
+ "resource": "objectTypes",
915
+ "name": "update",
916
+ "organization": true,
917
+ "paginated": false,
918
+ "async": false,
919
+ "headers": [
920
+ "If-Match",
921
+ "Tracken-On-Behalf-Of"
922
+ ],
923
+ "body": "json"
924
+ },
925
+ "deleteObjectType": {
926
+ "method": "delete",
927
+ "path": "/object-types/{id}",
928
+ "resource": "objectTypes",
929
+ "name": "delete",
930
+ "organization": true,
931
+ "paginated": false,
932
+ "async": false,
933
+ "headers": [
934
+ "Tracken-On-Behalf-Of"
935
+ ]
936
+ },
937
+ "archiveObjectType": {
938
+ "method": "post",
939
+ "path": "/object-types/{id}:archive",
940
+ "resource": "objectTypes",
941
+ "name": "archive",
942
+ "organization": true,
943
+ "paginated": false,
944
+ "async": false,
945
+ "headers": [
946
+ "Idempotency-Key",
947
+ "Tracken-On-Behalf-Of"
948
+ ]
949
+ },
950
+ "unarchiveObjectType": {
951
+ "method": "post",
952
+ "path": "/object-types/{id}:unarchive",
953
+ "resource": "objectTypes",
954
+ "name": "unarchive",
955
+ "organization": true,
956
+ "paginated": false,
957
+ "async": false,
958
+ "headers": [
959
+ "Idempotency-Key",
960
+ "Tracken-On-Behalf-Of"
961
+ ]
962
+ },
963
+ "listObjects": {
964
+ "method": "get",
965
+ "path": "/objects",
966
+ "resource": "objects",
967
+ "name": "list",
968
+ "organization": true,
969
+ "paginated": true,
970
+ "async": false,
971
+ "headers": [],
972
+ "csvQuery": [
973
+ "expand"
974
+ ]
975
+ },
976
+ "createObject": {
977
+ "method": "post",
978
+ "path": "/objects",
979
+ "resource": "objects",
980
+ "name": "create",
981
+ "organization": true,
982
+ "paginated": false,
983
+ "async": false,
984
+ "headers": [
985
+ "Idempotency-Key",
986
+ "Tracken-On-Behalf-Of"
987
+ ],
988
+ "body": "json",
989
+ "decimals": [
990
+ "/data/properties/*/items/*/value_numeric",
991
+ "/data/properties/*/value_numeric"
992
+ ]
993
+ },
994
+ "getObject": {
995
+ "method": "get",
996
+ "path": "/objects/{id}",
997
+ "resource": "objects",
998
+ "name": "get",
999
+ "organization": true,
1000
+ "paginated": false,
1001
+ "async": false,
1002
+ "headers": []
1003
+ },
1004
+ "updateObject": {
1005
+ "method": "patch",
1006
+ "path": "/objects/{id}",
1007
+ "resource": "objects",
1008
+ "name": "update",
1009
+ "organization": true,
1010
+ "paginated": false,
1011
+ "async": false,
1012
+ "headers": [
1013
+ "If-Match",
1014
+ "Tracken-On-Behalf-Of"
1015
+ ],
1016
+ "body": "json",
1017
+ "decimals": [
1018
+ "/data/properties/*/items/*/value_numeric",
1019
+ "/data/properties/*/value_numeric"
1020
+ ]
1021
+ },
1022
+ "deleteObject": {
1023
+ "method": "delete",
1024
+ "path": "/objects/{id}",
1025
+ "resource": "objects",
1026
+ "name": "delete",
1027
+ "organization": true,
1028
+ "paginated": false,
1029
+ "async": false,
1030
+ "headers": [
1031
+ "Tracken-On-Behalf-Of"
1032
+ ]
1033
+ },
1034
+ "archiveObject": {
1035
+ "method": "post",
1036
+ "path": "/objects/{id}:archive",
1037
+ "resource": "objects",
1038
+ "name": "archive",
1039
+ "organization": true,
1040
+ "paginated": false,
1041
+ "async": false,
1042
+ "headers": [
1043
+ "Idempotency-Key",
1044
+ "Tracken-On-Behalf-Of"
1045
+ ]
1046
+ },
1047
+ "unarchiveObject": {
1048
+ "method": "post",
1049
+ "path": "/objects/{id}:unarchive",
1050
+ "resource": "objects",
1051
+ "name": "unarchive",
1052
+ "organization": true,
1053
+ "paginated": false,
1054
+ "async": false,
1055
+ "headers": [
1056
+ "Idempotency-Key",
1057
+ "Tracken-On-Behalf-Of"
1058
+ ]
1059
+ },
1060
+ "assignObjectPaymentReferences": {
1061
+ "method": "post",
1062
+ "path": "/objects:assignPaymentReferences",
1063
+ "resource": "objects",
1064
+ "name": "assignPaymentReferences",
1065
+ "organization": true,
1066
+ "paginated": false,
1067
+ "async": false,
1068
+ "headers": [
1069
+ "Idempotency-Key",
1070
+ "Tracken-On-Behalf-Of"
1071
+ ],
1072
+ "body": "json"
1073
+ },
1074
+ "listQuotes": {
1075
+ "method": "get",
1076
+ "path": "/quotes",
1077
+ "resource": "quotes",
1078
+ "name": "list",
1079
+ "organization": true,
1080
+ "paginated": true,
1081
+ "async": false,
1082
+ "headers": [],
1083
+ "csvQuery": [
1084
+ "expand"
1085
+ ]
1086
+ },
1087
+ "createQuote": {
1088
+ "method": "post",
1089
+ "path": "/quotes",
1090
+ "resource": "quotes",
1091
+ "name": "create",
1092
+ "organization": true,
1093
+ "paginated": false,
1094
+ "async": false,
1095
+ "headers": [
1096
+ "Idempotency-Key",
1097
+ "Tracken-On-Behalf-Of"
1098
+ ],
1099
+ "body": "json",
1100
+ "decimals": [
1101
+ "/data/lines/*/discount_percent",
1102
+ "/data/lines/*/quantity",
1103
+ "/data/lines/*/unit_price"
1104
+ ]
1105
+ },
1106
+ "getQuote": {
1107
+ "method": "get",
1108
+ "path": "/quotes/{id}",
1109
+ "resource": "quotes",
1110
+ "name": "get",
1111
+ "organization": true,
1112
+ "paginated": false,
1113
+ "async": false,
1114
+ "headers": []
1115
+ },
1116
+ "updateQuote": {
1117
+ "method": "patch",
1118
+ "path": "/quotes/{id}",
1119
+ "resource": "quotes",
1120
+ "name": "update",
1121
+ "organization": true,
1122
+ "paginated": false,
1123
+ "async": false,
1124
+ "headers": [
1125
+ "If-Match",
1126
+ "Tracken-On-Behalf-Of"
1127
+ ],
1128
+ "body": "json",
1129
+ "decimals": [
1130
+ "/data/lines/*/discount_percent",
1131
+ "/data/lines/*/quantity",
1132
+ "/data/lines/*/unit_price"
1133
+ ]
1134
+ },
1135
+ "deleteQuote": {
1136
+ "method": "delete",
1137
+ "path": "/quotes/{id}",
1138
+ "resource": "quotes",
1139
+ "name": "delete",
1140
+ "organization": true,
1141
+ "paginated": false,
1142
+ "async": false,
1143
+ "headers": [
1144
+ "Tracken-On-Behalf-Of"
1145
+ ]
1146
+ },
1147
+ "acceptQuote": {
1148
+ "method": "post",
1149
+ "path": "/quotes/{id}:accept",
1150
+ "resource": "quotes",
1151
+ "name": "accept",
1152
+ "organization": true,
1153
+ "paginated": false,
1154
+ "async": false,
1155
+ "headers": [
1156
+ "Idempotency-Key",
1157
+ "Tracken-On-Behalf-Of"
1158
+ ]
1159
+ },
1160
+ "declineQuote": {
1161
+ "method": "post",
1162
+ "path": "/quotes/{id}:decline",
1163
+ "resource": "quotes",
1164
+ "name": "decline",
1165
+ "organization": true,
1166
+ "paginated": false,
1167
+ "async": false,
1168
+ "headers": [
1169
+ "Idempotency-Key",
1170
+ "Tracken-On-Behalf-Of"
1171
+ ]
1172
+ },
1173
+ "sendQuote": {
1174
+ "method": "post",
1175
+ "path": "/quotes/{id}:send",
1176
+ "resource": "quotes",
1177
+ "name": "send",
1178
+ "organization": true,
1179
+ "paginated": false,
1180
+ "async": false,
1181
+ "headers": [
1182
+ "Idempotency-Key",
1183
+ "Tracken-On-Behalf-Of"
1184
+ ],
1185
+ "body": "json"
1186
+ },
1187
+ "listSalesInvoices": {
1188
+ "method": "get",
1189
+ "path": "/sales-invoices",
1190
+ "resource": "salesInvoices",
1191
+ "name": "list",
1192
+ "organization": true,
1193
+ "paginated": true,
1194
+ "async": false,
1195
+ "headers": [],
1196
+ "csvQuery": [
1197
+ "expand"
1198
+ ]
1199
+ },
1200
+ "createSalesInvoice": {
1201
+ "method": "post",
1202
+ "path": "/sales-invoices",
1203
+ "resource": "salesInvoices",
1204
+ "name": "create",
1205
+ "organization": true,
1206
+ "paginated": false,
1207
+ "async": false,
1208
+ "headers": [
1209
+ "Idempotency-Key",
1210
+ "Tracken-On-Behalf-Of"
1211
+ ],
1212
+ "body": "json",
1213
+ "decimals": [
1214
+ "/data/exchange_rate",
1215
+ "/data/lines/*/discount_percent",
1216
+ "/data/lines/*/quantity",
1217
+ "/data/lines/*/tax_amount",
1218
+ "/data/lines/*/unit_price",
1219
+ "/data/rounding_amount"
1220
+ ]
1221
+ },
1222
+ "getSalesInvoice": {
1223
+ "method": "get",
1224
+ "path": "/sales-invoices/{id}",
1225
+ "resource": "salesInvoices",
1226
+ "name": "get",
1227
+ "organization": true,
1228
+ "paginated": false,
1229
+ "async": false,
1230
+ "headers": []
1231
+ },
1232
+ "updateSalesInvoice": {
1233
+ "method": "patch",
1234
+ "path": "/sales-invoices/{id}",
1235
+ "resource": "salesInvoices",
1236
+ "name": "update",
1237
+ "organization": true,
1238
+ "paginated": false,
1239
+ "async": false,
1240
+ "headers": [
1241
+ "If-Match",
1242
+ "Tracken-On-Behalf-Of"
1243
+ ],
1244
+ "body": "json",
1245
+ "decimals": [
1246
+ "/data/exchange_rate",
1247
+ "/data/lines/*/discount_percent",
1248
+ "/data/lines/*/quantity",
1249
+ "/data/lines/*/tax_amount",
1250
+ "/data/lines/*/unit_price",
1251
+ "/data/rounding_amount"
1252
+ ]
1253
+ },
1254
+ "deleteSalesInvoice": {
1255
+ "method": "delete",
1256
+ "path": "/sales-invoices/{id}",
1257
+ "resource": "salesInvoices",
1258
+ "name": "delete",
1259
+ "organization": true,
1260
+ "paginated": false,
1261
+ "async": false,
1262
+ "headers": [
1263
+ "Tracken-On-Behalf-Of"
1264
+ ]
1265
+ },
1266
+ "issueSalesInvoice": {
1267
+ "method": "post",
1268
+ "path": "/sales-invoices/{id}:issue",
1269
+ "resource": "salesInvoices",
1270
+ "name": "issue",
1271
+ "organization": true,
1272
+ "paginated": false,
1273
+ "async": false,
1274
+ "headers": [
1275
+ "Idempotency-Key",
1276
+ "Tracken-On-Behalf-Of"
1277
+ ]
1278
+ },
1279
+ "sendSalesInvoice": {
1280
+ "method": "post",
1281
+ "path": "/sales-invoices/{id}:send",
1282
+ "resource": "salesInvoices",
1283
+ "name": "send",
1284
+ "organization": true,
1285
+ "paginated": false,
1286
+ "async": false,
1287
+ "headers": [
1288
+ "Idempotency-Key",
1289
+ "Tracken-On-Behalf-Of"
1290
+ ],
1291
+ "body": "json"
1292
+ },
1293
+ "voidSalesInvoice": {
1294
+ "method": "post",
1295
+ "path": "/sales-invoices/{id}:void",
1296
+ "resource": "salesInvoices",
1297
+ "name": "void",
1298
+ "organization": true,
1299
+ "paginated": false,
1300
+ "async": false,
1301
+ "headers": [
1302
+ "Idempotency-Key",
1303
+ "Tracken-On-Behalf-Of"
1304
+ ],
1305
+ "body": "json"
1306
+ },
1307
+ "getBillingFormulaCatalog": {
1308
+ "method": "get",
1309
+ "path": "/billing-formula-catalog",
1310
+ "resource": "billingFormulaCatalog",
1311
+ "name": "get",
1312
+ "organization": true,
1313
+ "paginated": false,
1314
+ "async": false,
1315
+ "headers": []
1316
+ },
1317
+ "parseBillingFormula": {
1318
+ "method": "post",
1319
+ "path": "/billing-formulas:parse",
1320
+ "resource": "billingFormulas",
1321
+ "name": "parse",
1322
+ "organization": true,
1323
+ "paginated": false,
1324
+ "async": false,
1325
+ "headers": [
1326
+ "Idempotency-Key",
1327
+ "Tracken-On-Behalf-Of"
1328
+ ],
1329
+ "body": "json"
1330
+ },
1331
+ "listBillingPlans": {
1332
+ "method": "get",
1333
+ "path": "/billing-plans",
1334
+ "resource": "billingPlans",
1335
+ "name": "list",
1336
+ "organization": true,
1337
+ "paginated": true,
1338
+ "async": false,
1339
+ "headers": []
1340
+ },
1341
+ "createBillingPlan": {
1342
+ "method": "post",
1343
+ "path": "/billing-plans",
1344
+ "resource": "billingPlans",
1345
+ "name": "create",
1346
+ "organization": true,
1347
+ "paginated": false,
1348
+ "async": false,
1349
+ "headers": [
1350
+ "Idempotency-Key",
1351
+ "Tracken-On-Behalf-Of"
1352
+ ],
1353
+ "body": "json",
1354
+ "decimals": [
1355
+ "/data/lines/*/quantity",
1356
+ "/data/lines/*/unit_price",
1357
+ "/data/variables/*/segments/*/value"
1358
+ ]
1359
+ },
1360
+ "getBillingPlan": {
1361
+ "method": "get",
1362
+ "path": "/billing-plans/{id}",
1363
+ "resource": "billingPlans",
1364
+ "name": "get",
1365
+ "organization": true,
1366
+ "paginated": false,
1367
+ "async": false,
1368
+ "headers": [],
1369
+ "csvQuery": [
1370
+ "expand"
1371
+ ]
1372
+ },
1373
+ "updateBillingPlan": {
1374
+ "method": "patch",
1375
+ "path": "/billing-plans/{id}",
1376
+ "resource": "billingPlans",
1377
+ "name": "update",
1378
+ "organization": true,
1379
+ "paginated": false,
1380
+ "async": false,
1381
+ "headers": [
1382
+ "If-Match",
1383
+ "Tracken-On-Behalf-Of"
1384
+ ],
1385
+ "body": "json",
1386
+ "decimals": [
1387
+ "/data/lines/*/quantity",
1388
+ "/data/lines/*/unit_price",
1389
+ "/data/variables/*/segments/*/value"
1390
+ ]
1391
+ },
1392
+ "deleteBillingPlan": {
1393
+ "method": "delete",
1394
+ "path": "/billing-plans/{id}",
1395
+ "resource": "billingPlans",
1396
+ "name": "delete",
1397
+ "organization": true,
1398
+ "paginated": false,
1399
+ "async": false,
1400
+ "headers": [
1401
+ "Tracken-On-Behalf-Of"
1402
+ ]
1403
+ },
1404
+ "approveBillingPlan": {
1405
+ "method": "post",
1406
+ "path": "/billing-plans/{id}:approve",
1407
+ "resource": "billingPlans",
1408
+ "name": "approve",
1409
+ "organization": true,
1410
+ "paginated": false,
1411
+ "async": false,
1412
+ "headers": [
1413
+ "Idempotency-Key",
1414
+ "Tracken-On-Behalf-Of"
1415
+ ],
1416
+ "body": "json"
1417
+ },
1418
+ "archiveBillingPlan": {
1419
+ "method": "post",
1420
+ "path": "/billing-plans/{id}:archive",
1421
+ "resource": "billingPlans",
1422
+ "name": "archive",
1423
+ "organization": true,
1424
+ "paginated": false,
1425
+ "async": false,
1426
+ "headers": [
1427
+ "Idempotency-Key",
1428
+ "Tracken-On-Behalf-Of"
1429
+ ]
1430
+ },
1431
+ "unarchiveBillingPlan": {
1432
+ "method": "post",
1433
+ "path": "/billing-plans/{id}:unarchive",
1434
+ "resource": "billingPlans",
1435
+ "name": "unarchive",
1436
+ "organization": true,
1437
+ "paginated": false,
1438
+ "async": false,
1439
+ "headers": [
1440
+ "Idempotency-Key",
1441
+ "Tracken-On-Behalf-Of"
1442
+ ]
1443
+ },
1444
+ "listBillingRuns": {
1445
+ "method": "get",
1446
+ "path": "/billing-runs",
1447
+ "resource": "billingRuns",
1448
+ "name": "list",
1449
+ "organization": true,
1450
+ "paginated": true,
1451
+ "async": false,
1452
+ "headers": [],
1453
+ "csvQuery": [
1454
+ "expand"
1455
+ ]
1456
+ },
1457
+ "createBillingRun": {
1458
+ "method": "post",
1459
+ "path": "/billing-runs",
1460
+ "resource": "billingRuns",
1461
+ "name": "create",
1462
+ "organization": true,
1463
+ "paginated": false,
1464
+ "async": true,
1465
+ "headers": [
1466
+ "Idempotency-Key",
1467
+ "Tracken-On-Behalf-Of"
1468
+ ],
1469
+ "body": "json",
1470
+ "decimals": [
1471
+ "/data/exchange_rate",
1472
+ "/data/variable_values/*/value"
1473
+ ]
1474
+ },
1475
+ "getBillingRun": {
1476
+ "method": "get",
1477
+ "path": "/billing-runs/{id}",
1478
+ "resource": "billingRuns",
1479
+ "name": "get",
1480
+ "organization": true,
1481
+ "paginated": false,
1482
+ "async": false,
1483
+ "headers": [],
1484
+ "csvQuery": [
1485
+ "expand"
1486
+ ]
1487
+ },
1488
+ "listPurchaseInvoices": {
1489
+ "method": "get",
1490
+ "path": "/purchase-invoices",
1491
+ "resource": "purchaseInvoices",
1492
+ "name": "list",
1493
+ "organization": true,
1494
+ "paginated": true,
1495
+ "async": false,
1496
+ "headers": [],
1497
+ "csvQuery": [
1498
+ "expand"
1499
+ ]
1500
+ },
1501
+ "createPurchaseInvoice": {
1502
+ "method": "post",
1503
+ "path": "/purchase-invoices",
1504
+ "resource": "purchaseInvoices",
1505
+ "name": "create",
1506
+ "organization": true,
1507
+ "paginated": false,
1508
+ "async": false,
1509
+ "headers": [
1510
+ "Idempotency-Key",
1511
+ "Tracken-On-Behalf-Of"
1512
+ ],
1513
+ "body": "json",
1514
+ "decimals": [
1515
+ "/data/book_tax_total",
1516
+ "/data/exchange_rate",
1517
+ "/data/lines/*/quantity",
1518
+ "/data/lines/*/tax_amount",
1519
+ "/data/lines/*/unit_price",
1520
+ "/data/rounding_amount"
1521
+ ]
1522
+ },
1523
+ "getPurchaseInvoice": {
1524
+ "method": "get",
1525
+ "path": "/purchase-invoices/{id}",
1526
+ "resource": "purchaseInvoices",
1527
+ "name": "get",
1528
+ "organization": true,
1529
+ "paginated": false,
1530
+ "async": false,
1531
+ "headers": []
1532
+ },
1533
+ "updatePurchaseInvoice": {
1534
+ "method": "patch",
1535
+ "path": "/purchase-invoices/{id}",
1536
+ "resource": "purchaseInvoices",
1537
+ "name": "update",
1538
+ "organization": true,
1539
+ "paginated": false,
1540
+ "async": false,
1541
+ "headers": [
1542
+ "If-Match",
1543
+ "Tracken-On-Behalf-Of"
1544
+ ],
1545
+ "body": "json",
1546
+ "decimals": [
1547
+ "/data/book_tax_total",
1548
+ "/data/exchange_rate",
1549
+ "/data/lines/*/quantity",
1550
+ "/data/lines/*/tax_amount",
1551
+ "/data/lines/*/unit_price",
1552
+ "/data/rounding_amount"
1553
+ ]
1554
+ },
1555
+ "deletePurchaseInvoice": {
1556
+ "method": "delete",
1557
+ "path": "/purchase-invoices/{id}",
1558
+ "resource": "purchaseInvoices",
1559
+ "name": "delete",
1560
+ "organization": true,
1561
+ "paginated": false,
1562
+ "async": false,
1563
+ "headers": [
1564
+ "Tracken-On-Behalf-Of"
1565
+ ]
1566
+ },
1567
+ "archivePurchaseInvoice": {
1568
+ "method": "post",
1569
+ "path": "/purchase-invoices/{id}:archive",
1570
+ "resource": "purchaseInvoices",
1571
+ "name": "archive",
1572
+ "organization": true,
1573
+ "paginated": false,
1574
+ "async": false,
1575
+ "headers": [
1576
+ "Idempotency-Key",
1577
+ "Tracken-On-Behalf-Of"
1578
+ ]
1579
+ },
1580
+ "postPurchaseInvoice": {
1581
+ "method": "post",
1582
+ "path": "/purchase-invoices/{id}:post",
1583
+ "resource": "purchaseInvoices",
1584
+ "name": "post",
1585
+ "organization": true,
1586
+ "paginated": false,
1587
+ "async": false,
1588
+ "headers": [
1589
+ "Idempotency-Key",
1590
+ "Tracken-On-Behalf-Of"
1591
+ ]
1592
+ },
1593
+ "unarchivePurchaseInvoice": {
1594
+ "method": "post",
1595
+ "path": "/purchase-invoices/{id}:unarchive",
1596
+ "resource": "purchaseInvoices",
1597
+ "name": "unarchive",
1598
+ "organization": true,
1599
+ "paginated": false,
1600
+ "async": false,
1601
+ "headers": [
1602
+ "Idempotency-Key",
1603
+ "Tracken-On-Behalf-Of"
1604
+ ]
1605
+ },
1606
+ "voidPurchaseInvoice": {
1607
+ "method": "post",
1608
+ "path": "/purchase-invoices/{id}:void",
1609
+ "resource": "purchaseInvoices",
1610
+ "name": "void",
1611
+ "organization": true,
1612
+ "paginated": false,
1613
+ "async": false,
1614
+ "headers": [
1615
+ "Idempotency-Key",
1616
+ "Tracken-On-Behalf-Of"
1617
+ ],
1618
+ "body": "json"
1619
+ },
1620
+ "listPayments": {
1621
+ "method": "get",
1622
+ "path": "/payments",
1623
+ "resource": "payments",
1624
+ "name": "list",
1625
+ "organization": true,
1626
+ "paginated": true,
1627
+ "async": false,
1628
+ "headers": []
1629
+ },
1630
+ "createPayment": {
1631
+ "method": "post",
1632
+ "path": "/payments",
1633
+ "resource": "payments",
1634
+ "name": "create",
1635
+ "organization": true,
1636
+ "paginated": false,
1637
+ "async": false,
1638
+ "headers": [
1639
+ "Idempotency-Key",
1640
+ "Tracken-On-Behalf-Of"
1641
+ ],
1642
+ "body": "json",
1643
+ "decimals": [
1644
+ "/data/allocations/*/amount",
1645
+ "/data/amount"
1646
+ ]
1647
+ },
1648
+ "getPayment": {
1649
+ "method": "get",
1650
+ "path": "/payments/{id}",
1651
+ "resource": "payments",
1652
+ "name": "get",
1653
+ "organization": true,
1654
+ "paginated": false,
1655
+ "async": false,
1656
+ "headers": []
1657
+ },
1658
+ "deletePayment": {
1659
+ "method": "delete",
1660
+ "path": "/payments/{id}",
1661
+ "resource": "payments",
1662
+ "name": "delete",
1663
+ "organization": true,
1664
+ "paginated": false,
1665
+ "async": false,
1666
+ "headers": [
1667
+ "Tracken-On-Behalf-Of"
1668
+ ]
1669
+ },
1670
+ "listBankAccounts": {
1671
+ "method": "get",
1672
+ "path": "/bank-accounts",
1673
+ "resource": "bankAccounts",
1674
+ "name": "list",
1675
+ "organization": true,
1676
+ "paginated": true,
1677
+ "async": false,
1678
+ "headers": []
1679
+ },
1680
+ "createBankAccount": {
1681
+ "method": "post",
1682
+ "path": "/bank-accounts",
1683
+ "resource": "bankAccounts",
1684
+ "name": "create",
1685
+ "organization": true,
1686
+ "paginated": false,
1687
+ "async": false,
1688
+ "headers": [
1689
+ "Idempotency-Key",
1690
+ "Tracken-On-Behalf-Of"
1691
+ ],
1692
+ "body": "json"
1693
+ },
1694
+ "getBankAccount": {
1695
+ "method": "get",
1696
+ "path": "/bank-accounts/{id}",
1697
+ "resource": "bankAccounts",
1698
+ "name": "get",
1699
+ "organization": true,
1700
+ "paginated": false,
1701
+ "async": false,
1702
+ "headers": []
1703
+ },
1704
+ "updateBankAccount": {
1705
+ "method": "patch",
1706
+ "path": "/bank-accounts/{id}",
1707
+ "resource": "bankAccounts",
1708
+ "name": "update",
1709
+ "organization": true,
1710
+ "paginated": false,
1711
+ "async": false,
1712
+ "headers": [
1713
+ "If-Match",
1714
+ "Tracken-On-Behalf-Of"
1715
+ ],
1716
+ "body": "json"
1717
+ },
1718
+ "deleteBankAccount": {
1719
+ "method": "delete",
1720
+ "path": "/bank-accounts/{id}",
1721
+ "resource": "bankAccounts",
1722
+ "name": "delete",
1723
+ "organization": true,
1724
+ "paginated": false,
1725
+ "async": false,
1726
+ "headers": [
1727
+ "Tracken-On-Behalf-Of"
1728
+ ]
1729
+ },
1730
+ "archiveBankAccount": {
1731
+ "method": "post",
1732
+ "path": "/bank-accounts/{id}:archive",
1733
+ "resource": "bankAccounts",
1734
+ "name": "archive",
1735
+ "organization": true,
1736
+ "paginated": false,
1737
+ "async": false,
1738
+ "headers": [
1739
+ "Idempotency-Key",
1740
+ "Tracken-On-Behalf-Of"
1741
+ ]
1742
+ },
1743
+ "unarchiveBankAccount": {
1744
+ "method": "post",
1745
+ "path": "/bank-accounts/{id}:unarchive",
1746
+ "resource": "bankAccounts",
1747
+ "name": "unarchive",
1748
+ "organization": true,
1749
+ "paginated": false,
1750
+ "async": false,
1751
+ "headers": [
1752
+ "Idempotency-Key",
1753
+ "Tracken-On-Behalf-Of"
1754
+ ]
1755
+ },
1756
+ "listBankLines": {
1757
+ "method": "get",
1758
+ "path": "/bank-lines",
1759
+ "resource": "bankLines",
1760
+ "name": "list",
1761
+ "organization": true,
1762
+ "paginated": true,
1763
+ "async": false,
1764
+ "headers": []
1765
+ },
1766
+ "getBankLine": {
1767
+ "method": "get",
1768
+ "path": "/bank-lines/{id}",
1769
+ "resource": "bankLines",
1770
+ "name": "get",
1771
+ "organization": true,
1772
+ "paginated": false,
1773
+ "async": false,
1774
+ "headers": []
1775
+ },
1776
+ "reconcileBankLine": {
1777
+ "method": "post",
1778
+ "path": "/bank-lines/{id}:reconcile",
1779
+ "resource": "bankLines",
1780
+ "name": "reconcile",
1781
+ "organization": true,
1782
+ "paginated": false,
1783
+ "async": false,
1784
+ "headers": [
1785
+ "Idempotency-Key",
1786
+ "Tracken-On-Behalf-Of"
1787
+ ],
1788
+ "body": "json",
1789
+ "decimals": [
1790
+ "/data/allocations/*/amount"
1791
+ ]
1792
+ },
1793
+ "unreconcileBankLine": {
1794
+ "method": "post",
1795
+ "path": "/bank-lines/{id}:unreconcile",
1796
+ "resource": "bankLines",
1797
+ "name": "unreconcile",
1798
+ "organization": true,
1799
+ "paginated": false,
1800
+ "async": false,
1801
+ "headers": [
1802
+ "If-Match",
1803
+ "Idempotency-Key",
1804
+ "Tracken-On-Behalf-Of"
1805
+ ]
1806
+ },
1807
+ "listBankStatements": {
1808
+ "method": "get",
1809
+ "path": "/bank-statements",
1810
+ "resource": "bankStatements",
1811
+ "name": "list",
1812
+ "organization": true,
1813
+ "paginated": true,
1814
+ "async": false,
1815
+ "headers": []
1816
+ },
1817
+ "getBankStatement": {
1818
+ "method": "get",
1819
+ "path": "/bank-statements/{id}",
1820
+ "resource": "bankStatements",
1821
+ "name": "get",
1822
+ "organization": true,
1823
+ "paginated": false,
1824
+ "async": false,
1825
+ "headers": []
1826
+ },
1827
+ "importBankStatement": {
1828
+ "method": "post",
1829
+ "path": "/bank-statements:import",
1830
+ "resource": "bankStatements",
1831
+ "name": "import",
1832
+ "organization": true,
1833
+ "paginated": false,
1834
+ "async": true,
1835
+ "headers": [
1836
+ "Idempotency-Key",
1837
+ "Tracken-On-Behalf-Of"
1838
+ ],
1839
+ "body": "multipart"
1840
+ },
1841
+ "listDocuments": {
1842
+ "method": "get",
1843
+ "path": "/documents",
1844
+ "resource": "documents",
1845
+ "name": "list",
1846
+ "organization": true,
1847
+ "paginated": true,
1848
+ "async": false,
1849
+ "headers": []
1850
+ },
1851
+ "createDocument": {
1852
+ "method": "post",
1853
+ "path": "/documents",
1854
+ "resource": "documents",
1855
+ "name": "create",
1856
+ "organization": true,
1857
+ "paginated": false,
1858
+ "async": false,
1859
+ "headers": [
1860
+ "Idempotency-Key",
1861
+ "Tracken-On-Behalf-Of"
1862
+ ],
1863
+ "body": "json"
1864
+ },
1865
+ "listDocumentLinks": {
1866
+ "method": "get",
1867
+ "path": "/documents/{document_id}/links",
1868
+ "resource": "documents",
1869
+ "name": "listLinks",
1870
+ "organization": true,
1871
+ "paginated": true,
1872
+ "async": false,
1873
+ "headers": []
1874
+ },
1875
+ "createDocumentLink": {
1876
+ "method": "post",
1877
+ "path": "/documents/{document_id}/links",
1878
+ "resource": "documents",
1879
+ "name": "createLink",
1880
+ "organization": true,
1881
+ "paginated": false,
1882
+ "async": false,
1883
+ "headers": [
1884
+ "Idempotency-Key",
1885
+ "Tracken-On-Behalf-Of"
1886
+ ],
1887
+ "body": "json"
1888
+ },
1889
+ "deleteDocumentLink": {
1890
+ "method": "delete",
1891
+ "path": "/documents/{document_id}/links/{id}",
1892
+ "resource": "documents",
1893
+ "name": "deleteLink",
1894
+ "organization": true,
1895
+ "paginated": false,
1896
+ "async": false,
1897
+ "headers": [
1898
+ "Tracken-On-Behalf-Of"
1899
+ ]
1900
+ },
1901
+ "getDocument": {
1902
+ "method": "get",
1903
+ "path": "/documents/{id}",
1904
+ "resource": "documents",
1905
+ "name": "get",
1906
+ "organization": true,
1907
+ "paginated": false,
1908
+ "async": false,
1909
+ "headers": [],
1910
+ "csvQuery": [
1911
+ "expand"
1912
+ ]
1913
+ },
1914
+ "deleteDocument": {
1915
+ "method": "delete",
1916
+ "path": "/documents/{id}",
1917
+ "resource": "documents",
1918
+ "name": "delete",
1919
+ "organization": true,
1920
+ "paginated": false,
1921
+ "async": false,
1922
+ "headers": [
1923
+ "Tracken-On-Behalf-Of"
1924
+ ]
1925
+ },
1926
+ "archiveDocument": {
1927
+ "method": "post",
1928
+ "path": "/documents/{id}:archive",
1929
+ "resource": "documents",
1930
+ "name": "archive",
1931
+ "organization": true,
1932
+ "paginated": false,
1933
+ "async": false,
1934
+ "headers": [
1935
+ "Idempotency-Key",
1936
+ "Tracken-On-Behalf-Of"
1937
+ ],
1938
+ "body": "json"
1939
+ },
1940
+ "confirmDocument": {
1941
+ "method": "post",
1942
+ "path": "/documents/{id}:confirm",
1943
+ "resource": "documents",
1944
+ "name": "confirm",
1945
+ "organization": true,
1946
+ "paginated": false,
1947
+ "async": false,
1948
+ "headers": [
1949
+ "Idempotency-Key",
1950
+ "Tracken-On-Behalf-Of"
1951
+ ]
1952
+ },
1953
+ "digitizeDocument": {
1954
+ "method": "post",
1955
+ "path": "/documents/{id}:digitize",
1956
+ "resource": "documents",
1957
+ "name": "digitize",
1958
+ "organization": true,
1959
+ "paginated": false,
1960
+ "async": true,
1961
+ "headers": [
1962
+ "Idempotency-Key",
1963
+ "Tracken-On-Behalf-Of"
1964
+ ]
1965
+ },
1966
+ "unarchiveDocument": {
1967
+ "method": "post",
1968
+ "path": "/documents/{id}:unarchive",
1969
+ "resource": "documents",
1970
+ "name": "unarchive",
1971
+ "organization": true,
1972
+ "paginated": false,
1973
+ "async": false,
1974
+ "headers": [
1975
+ "Idempotency-Key",
1976
+ "Tracken-On-Behalf-Of"
1977
+ ],
1978
+ "body": "json"
1979
+ },
1980
+ "listDepreciationRuns": {
1981
+ "method": "get",
1982
+ "path": "/depreciation-runs",
1983
+ "resource": "depreciationRuns",
1984
+ "name": "list",
1985
+ "organization": true,
1986
+ "paginated": true,
1987
+ "async": false,
1988
+ "headers": []
1989
+ },
1990
+ "createDepreciationRun": {
1991
+ "method": "post",
1992
+ "path": "/depreciation-runs",
1993
+ "resource": "depreciationRuns",
1994
+ "name": "create",
1995
+ "organization": true,
1996
+ "paginated": false,
1997
+ "async": false,
1998
+ "headers": [
1999
+ "Idempotency-Key",
2000
+ "Tracken-On-Behalf-Of"
2001
+ ],
2002
+ "body": "json"
2003
+ },
2004
+ "getDepreciationRun": {
2005
+ "method": "get",
2006
+ "path": "/depreciation-runs/{id}",
2007
+ "resource": "depreciationRuns",
2008
+ "name": "get",
2009
+ "organization": true,
2010
+ "paginated": false,
2011
+ "async": false,
2012
+ "headers": []
2013
+ },
2014
+ "postDepreciationRun": {
2015
+ "method": "post",
2016
+ "path": "/depreciation-runs/{id}:post",
2017
+ "resource": "depreciationRuns",
2018
+ "name": "post",
2019
+ "organization": true,
2020
+ "paginated": false,
2021
+ "async": false,
2022
+ "headers": [
2023
+ "If-Match",
2024
+ "Idempotency-Key",
2025
+ "Tracken-On-Behalf-Of"
2026
+ ]
2027
+ },
2028
+ "listFixedAssetGroups": {
2029
+ "method": "get",
2030
+ "path": "/fixed-asset-groups",
2031
+ "resource": "fixedAssetGroups",
2032
+ "name": "list",
2033
+ "organization": true,
2034
+ "paginated": true,
2035
+ "async": false,
2036
+ "headers": []
2037
+ },
2038
+ "createFixedAssetGroup": {
2039
+ "method": "post",
2040
+ "path": "/fixed-asset-groups",
2041
+ "resource": "fixedAssetGroups",
2042
+ "name": "create",
2043
+ "organization": true,
2044
+ "paginated": false,
2045
+ "async": false,
2046
+ "headers": [
2047
+ "Idempotency-Key",
2048
+ "Tracken-On-Behalf-Of"
2049
+ ],
2050
+ "body": "json"
2051
+ },
2052
+ "getFixedAssetGroup": {
2053
+ "method": "get",
2054
+ "path": "/fixed-asset-groups/{id}",
2055
+ "resource": "fixedAssetGroups",
2056
+ "name": "get",
2057
+ "organization": true,
2058
+ "paginated": false,
2059
+ "async": false,
2060
+ "headers": []
2061
+ },
2062
+ "updateFixedAssetGroup": {
2063
+ "method": "patch",
2064
+ "path": "/fixed-asset-groups/{id}",
2065
+ "resource": "fixedAssetGroups",
2066
+ "name": "update",
2067
+ "organization": true,
2068
+ "paginated": false,
2069
+ "async": false,
2070
+ "headers": [
2071
+ "If-Match",
2072
+ "Tracken-On-Behalf-Of"
2073
+ ],
2074
+ "body": "json"
2075
+ },
2076
+ "deleteFixedAssetGroup": {
2077
+ "method": "delete",
2078
+ "path": "/fixed-asset-groups/{id}",
2079
+ "resource": "fixedAssetGroups",
2080
+ "name": "delete",
2081
+ "organization": true,
2082
+ "paginated": false,
2083
+ "async": false,
2084
+ "headers": [
2085
+ "Tracken-On-Behalf-Of"
2086
+ ]
2087
+ },
2088
+ "archiveFixedAssetGroup": {
2089
+ "method": "post",
2090
+ "path": "/fixed-asset-groups/{id}:archive",
2091
+ "resource": "fixedAssetGroups",
2092
+ "name": "archive",
2093
+ "organization": true,
2094
+ "paginated": false,
2095
+ "async": false,
2096
+ "headers": [
2097
+ "Idempotency-Key",
2098
+ "Tracken-On-Behalf-Of"
2099
+ ]
2100
+ },
2101
+ "unarchiveFixedAssetGroup": {
2102
+ "method": "post",
2103
+ "path": "/fixed-asset-groups/{id}:unarchive",
2104
+ "resource": "fixedAssetGroups",
2105
+ "name": "unarchive",
2106
+ "organization": true,
2107
+ "paginated": false,
2108
+ "async": false,
2109
+ "headers": [
2110
+ "Idempotency-Key",
2111
+ "Tracken-On-Behalf-Of"
2112
+ ]
2113
+ },
2114
+ "listFixedAssets": {
2115
+ "method": "get",
2116
+ "path": "/fixed-assets",
2117
+ "resource": "fixedAssets",
2118
+ "name": "list",
2119
+ "organization": true,
2120
+ "paginated": true,
2121
+ "async": false,
2122
+ "headers": []
2123
+ },
2124
+ "createFixedAsset": {
2125
+ "method": "post",
2126
+ "path": "/fixed-assets",
2127
+ "resource": "fixedAssets",
2128
+ "name": "create",
2129
+ "organization": true,
2130
+ "paginated": false,
2131
+ "async": false,
2132
+ "headers": [
2133
+ "Idempotency-Key",
2134
+ "Tracken-On-Behalf-Of"
2135
+ ],
2136
+ "body": "json",
2137
+ "decimals": [
2138
+ "/data/acquisition_cost",
2139
+ "/data/annual_rate",
2140
+ "/data/opening_accumulated_depreciation",
2141
+ "/data/residual_value"
2142
+ ]
2143
+ },
2144
+ "getFixedAsset": {
2145
+ "method": "get",
2146
+ "path": "/fixed-assets/{id}",
2147
+ "resource": "fixedAssets",
2148
+ "name": "get",
2149
+ "organization": true,
2150
+ "paginated": false,
2151
+ "async": false,
2152
+ "headers": [],
2153
+ "csvQuery": [
2154
+ "expand"
2155
+ ]
2156
+ },
2157
+ "updateFixedAsset": {
2158
+ "method": "patch",
2159
+ "path": "/fixed-assets/{id}",
2160
+ "resource": "fixedAssets",
2161
+ "name": "update",
2162
+ "organization": true,
2163
+ "paginated": false,
2164
+ "async": false,
2165
+ "headers": [
2166
+ "If-Match",
2167
+ "Tracken-On-Behalf-Of"
2168
+ ],
2169
+ "body": "json",
2170
+ "decimals": [
2171
+ "/data/acquisition_cost",
2172
+ "/data/annual_rate",
2173
+ "/data/opening_accumulated_depreciation",
2174
+ "/data/residual_value"
2175
+ ]
2176
+ },
2177
+ "deleteFixedAsset": {
2178
+ "method": "delete",
2179
+ "path": "/fixed-assets/{id}",
2180
+ "resource": "fixedAssets",
2181
+ "name": "delete",
2182
+ "organization": true,
2183
+ "paginated": false,
2184
+ "async": false,
2185
+ "headers": [
2186
+ "Tracken-On-Behalf-Of"
2187
+ ]
2188
+ },
2189
+ "activateFixedAsset": {
2190
+ "method": "post",
2191
+ "path": "/fixed-assets/{id}:activate",
2192
+ "resource": "fixedAssets",
2193
+ "name": "activate",
2194
+ "organization": true,
2195
+ "paginated": false,
2196
+ "async": false,
2197
+ "headers": [
2198
+ "Idempotency-Key",
2199
+ "Tracken-On-Behalf-Of"
2200
+ ]
2201
+ },
2202
+ "disposeFixedAsset": {
2203
+ "method": "post",
2204
+ "path": "/fixed-assets/{id}:dispose",
2205
+ "resource": "fixedAssets",
2206
+ "name": "dispose",
2207
+ "organization": true,
2208
+ "paginated": false,
2209
+ "async": false,
2210
+ "headers": [
2211
+ "Idempotency-Key",
2212
+ "Tracken-On-Behalf-Of"
2213
+ ],
2214
+ "body": "json"
2215
+ },
2216
+ "listReportDefinitions": {
2217
+ "method": "get",
2218
+ "path": "/report-definitions",
2219
+ "resource": "reportDefinitions",
2220
+ "name": "list",
2221
+ "organization": true,
2222
+ "paginated": true,
2223
+ "async": false,
2224
+ "headers": [],
2225
+ "csvQuery": [
2226
+ "expand"
2227
+ ]
2228
+ },
2229
+ "createReportDefinition": {
2230
+ "method": "post",
2231
+ "path": "/report-definitions",
2232
+ "resource": "reportDefinitions",
2233
+ "name": "create",
2234
+ "organization": true,
2235
+ "paginated": false,
2236
+ "async": false,
2237
+ "headers": [
2238
+ "Idempotency-Key",
2239
+ "Tracken-On-Behalf-Of"
2240
+ ],
2241
+ "body": "json"
2242
+ },
2243
+ "getReportDefinition": {
2244
+ "method": "get",
2245
+ "path": "/report-definitions/{id}",
2246
+ "resource": "reportDefinitions",
2247
+ "name": "get",
2248
+ "organization": true,
2249
+ "paginated": false,
2250
+ "async": false,
2251
+ "headers": []
2252
+ },
2253
+ "updateReportDefinition": {
2254
+ "method": "patch",
2255
+ "path": "/report-definitions/{id}",
2256
+ "resource": "reportDefinitions",
2257
+ "name": "update",
2258
+ "organization": true,
2259
+ "paginated": false,
2260
+ "async": false,
2261
+ "headers": [
2262
+ "If-Match",
2263
+ "Tracken-On-Behalf-Of"
2264
+ ],
2265
+ "body": "json"
2266
+ },
2267
+ "deleteReportDefinition": {
2268
+ "method": "delete",
2269
+ "path": "/report-definitions/{id}",
2270
+ "resource": "reportDefinitions",
2271
+ "name": "delete",
2272
+ "organization": true,
2273
+ "paginated": false,
2274
+ "async": false,
2275
+ "headers": [
2276
+ "If-Match",
2277
+ "Tracken-On-Behalf-Of"
2278
+ ]
2279
+ },
2280
+ "listReports": {
2281
+ "method": "get",
2282
+ "path": "/reports",
2283
+ "resource": "reports",
2284
+ "name": "list",
2285
+ "organization": true,
2286
+ "paginated": true,
2287
+ "async": false,
2288
+ "headers": []
2289
+ },
2290
+ "runReport": {
2291
+ "method": "get",
2292
+ "path": "/reports/{code}",
2293
+ "resource": "reports",
2294
+ "name": "run",
2295
+ "organization": true,
2296
+ "paginated": true,
2297
+ "async": false,
2298
+ "headers": []
2299
+ },
2300
+ "listReportRowEntries": {
2301
+ "method": "get",
2302
+ "path": "/reports/{code}/rows/{key}/entries",
2303
+ "resource": "reports",
2304
+ "name": "listRowEntries",
2305
+ "organization": true,
2306
+ "paginated": true,
2307
+ "async": false,
2308
+ "headers": []
2309
+ },
2310
+ "listVatReturns": {
2311
+ "method": "get",
2312
+ "path": "/vat-returns",
2313
+ "resource": "vatReturns",
2314
+ "name": "list",
2315
+ "organization": true,
2316
+ "paginated": true,
2317
+ "async": false,
2318
+ "headers": []
2319
+ },
2320
+ "createVatReturn": {
2321
+ "method": "post",
2322
+ "path": "/vat-returns",
2323
+ "resource": "vatReturns",
2324
+ "name": "create",
2325
+ "organization": true,
2326
+ "paginated": false,
2327
+ "async": false,
2328
+ "headers": [
2329
+ "Idempotency-Key",
2330
+ "Tracken-On-Behalf-Of"
2331
+ ],
2332
+ "body": "json"
2333
+ },
2334
+ "getVatReturn": {
2335
+ "method": "get",
2336
+ "path": "/vat-returns/{id}",
2337
+ "resource": "vatReturns",
2338
+ "name": "get",
2339
+ "organization": true,
2340
+ "paginated": false,
2341
+ "async": false,
2342
+ "headers": []
2343
+ },
2344
+ "getJob": {
2345
+ "method": "get",
2346
+ "path": "/jobs/{id}",
2347
+ "resource": "jobs",
2348
+ "name": "get",
2349
+ "organization": true,
2350
+ "paginated": false,
2351
+ "async": false,
2352
+ "headers": []
2353
+ },
2354
+ "listDeletions": {
2355
+ "method": "get",
2356
+ "path": "/deletions",
2357
+ "resource": "deletions",
2358
+ "name": "list",
2359
+ "organization": true,
2360
+ "paginated": true,
2361
+ "async": false,
2362
+ "headers": []
2363
+ },
2364
+ "getOpeningState": {
2365
+ "method": "get",
2366
+ "path": "/opening-state",
2367
+ "resource": "openingState",
2368
+ "name": "get",
2369
+ "organization": true,
2370
+ "paginated": false,
2371
+ "async": false,
2372
+ "headers": []
2373
+ },
2374
+ "replaceOpeningState": {
2375
+ "method": "put",
2376
+ "path": "/opening-state",
2377
+ "resource": "openingState",
2378
+ "name": "replace",
2379
+ "organization": true,
2380
+ "paginated": false,
2381
+ "async": false,
2382
+ "headers": [
2383
+ "If-Match",
2384
+ "Tracken-On-Behalf-Of"
2385
+ ],
2386
+ "body": "json",
2387
+ "decimals": [
2388
+ "/data/accounts/*/credit",
2389
+ "/data/accounts/*/debit",
2390
+ "/data/accounts/*/exchange_rate",
2391
+ "/data/accounts/*/foreign_amount",
2392
+ "/data/fixed_assets/*/acquisition_cost",
2393
+ "/data/fixed_assets/*/annual_rate",
2394
+ "/data/fixed_assets/*/opening_accumulated_depreciation",
2395
+ "/data/fixed_assets/*/residual_value",
2396
+ "/data/open_invoices/*/amount_paid",
2397
+ "/data/open_invoices/*/book_outstanding",
2398
+ "/data/open_invoices/*/exchange_rate",
2399
+ "/data/open_invoices/*/total",
2400
+ "/data/prepayments/*/amount",
2401
+ "/data/prepayments/*/book_amount",
2402
+ "/data/prepayments/*/exchange_rate"
2403
+ ]
2404
+ }
2405
+ };
2406
+ /** Error codes the document names; the API may answer others, which are still strings. */
2407
+ export const KNOWN_ERROR_CODES = [
2408
+ "ACCOUNT_CODE_NOT_NUMERIC",
2409
+ "ACCOUNT_CODE_TAKEN",
2410
+ "ACCOUNT_CURRENCY_HAS_BOOK_POSTINGS",
2411
+ "ACCOUNT_CURRENCY_HAS_FOREIGN_POSTINGS",
2412
+ "ACCOUNT_CURRENCY_IS_BOOK_CURRENCY",
2413
+ "ACCOUNT_CURRENCY_SET_BY_BANK_ACCOUNT",
2414
+ "ACCOUNT_EMAIL_CONFLICT",
2415
+ "ACCOUNT_IN_USE",
2416
+ "ACCOUNT_NOT_FOUND",
2417
+ "ACCOUNT_OPENING_IN_CURRENCY",
2418
+ "ADDRESS_STORE_UNAVAILABLE",
2419
+ "ADS_OID_NOT_FOUND",
2420
+ "APPROVAL_PENDING",
2421
+ "APPROVAL_REQUIRED",
2422
+ "BAD_REQUEST",
2423
+ "BANK_ACCOUNT_CURRENCY_LOCKED",
2424
+ "BANK_ACCOUNT_DEFAULT_CONFLICT",
2425
+ "BANK_ACCOUNT_GL_CURRENCY_CONFLICT",
2426
+ "BANK_ACCOUNT_GL_CURRENCY_MISMATCH",
2427
+ "BANK_ACCOUNT_GL_LINK_TAKEN",
2428
+ "BANK_ACCOUNT_IBAN_TAKEN",
2429
+ "BANK_ACCOUNT_IN_USE",
2430
+ "BANK_ACCOUNT_NAME_REQUIRED",
2431
+ "BANK_ACCOUNT_NOT_FOUND",
2432
+ "BANK_LINE_CURRENCY_MISMATCH",
2433
+ "BANK_LINE_NOT_RECONCILED",
2434
+ "BANK_LINE_RECONCILED",
2435
+ "BANK_STATEMENT_CURRENCY_MISMATCH",
2436
+ "BANK_STATEMENT_LINE_NOT_FOUND",
2437
+ "BANK_STATEMENT_LINE_NOT_REVERSIBLE",
2438
+ "BIC_INVALID",
2439
+ "BILLING_METER_NOT_FOUND",
2440
+ "BILLING_METRIC_IN_USE",
2441
+ "BILLING_METRIC_NOT_FOUND",
2442
+ "BILLING_OBJECT_CODE_LOCKED",
2443
+ "BILLING_OBJECT_GL_TAGGING_IRREVERSIBLE",
2444
+ "BILLING_OBJECT_METER_SLOT_CONFLICT",
2445
+ "BILLING_OBJECT_NOT_FOUND",
2446
+ "BILLING_OBJECT_PROPERTY_DEF_IMMUTABLE",
2447
+ "BILLING_OBJECT_PROPERTY_DEF_IN_USE",
2448
+ "BILLING_OBJECT_PROPERTY_DEF_MULTI_IN_USE",
2449
+ "BILLING_OBJECT_TYPE_ARCHIVED",
2450
+ "BILLING_OBJECT_TYPE_HAS_ACTIVE_OBJECTS",
2451
+ "BILLING_OBJECT_TYPE_NOT_FOUND",
2452
+ "BILLING_PLAN_APPROVED",
2453
+ "BILLING_PLAN_CURRENCY_LOCKED",
2454
+ "BILLING_PLAN_INVALID",
2455
+ "BILLING_PLAN_LINE_INVALID_KIND",
2456
+ "BILLING_PLAN_LINE_NOT_DELETABLE",
2457
+ "BILLING_PLAN_LINE_NOT_FOUND",
2458
+ "BILLING_PLAN_NOT_APPROVABLE",
2459
+ "BILLING_PLAN_NOT_DELETABLE",
2460
+ "BILLING_PLAN_NOT_FOUND",
2461
+ "BILLING_PLAN_REVISION_REQUIRED",
2462
+ "BILLING_PLAN_VARIABLE_INVOICE_FORMULA_INVALID",
2463
+ "BILLING_PLAN_VARIABLE_IN_USE",
2464
+ "BILLING_PLAN_VARIABLE_KEY_LOCKED",
2465
+ "BILLING_READING_NOT_FOUND",
2466
+ "BILLING_RUN_BLOCKED",
2467
+ "BILLING_RUN_DUE_BEFORE_INVOICE_DATE",
2468
+ "BILLING_RUN_INPUT_MISSING",
2469
+ "BILLING_RUN_IN_PROGRESS",
2470
+ "BILLING_RUN_NOT_FOUND",
2471
+ "BILLING_RUN_PERIOD_NOT_COVERED",
2472
+ "BILLING_RUN_PLAN_NOT_APPROVED",
2473
+ "BILLING_RUN_POSTING_PERIOD_CLOSED",
2474
+ "BILLING_RUN_PURCHASE_FORMULA_NO_VALUE",
2475
+ "BILLING_RUN_PURCHASE_INVOICE_INVALID",
2476
+ "BILLING_RUN_RESULT_CHANGED",
2477
+ "BOOK_TAX_TOTAL_OUT_OF_RANGE",
2478
+ "BUSINESS_PARTNER_ARCHIVED",
2479
+ "BUSINESS_PARTNER_IS_TAX_AUTHORITY",
2480
+ "BUSINESS_PARTNER_NOT_FOUND",
2481
+ "BUSINESS_PARTNER_PAYMENT_TERM_INVALID",
2482
+ "CANNOT_ARCHIVE_DEFAULT_BANK_ACCOUNT",
2483
+ "CAPABILITY_DISABLED",
2484
+ "CONFLICT",
2485
+ "CONTACT_IN_USE",
2486
+ "CREDITED_INVOICE_INVALID",
2487
+ "CREDIT_NOTE_SOURCE_NOT_CREDITABLE",
2488
+ "CREDIT_NOTE_SOURCE_NOT_INVOICE",
2489
+ "CURRENCY_NOT_ACTIVE",
2490
+ "DEFAULT_AP_ACCOUNT_NOT_CONFIGURED",
2491
+ "DEFAULT_AR_ACCOUNT_NOT_CONFIGURED",
2492
+ "DEFAULT_BANK_ACCOUNT_NOT_CONFIGURED",
2493
+ "DEFAULT_CASH_ACCOUNT_NOT_CONFIGURED",
2494
+ "DEFAULT_PURCHASE_TAX_CODE_INACTIVE",
2495
+ "DEMO_LIMIT_REACHED",
2496
+ "DEMO_ORG_ACTION_BLOCKED",
2497
+ "DEPRECIATION_RUN_INVALID_ASSET",
2498
+ "DEPRECIATION_RUN_LIVE_EXISTS",
2499
+ "DEPRECIATION_RUN_NOT_DRAFT",
2500
+ "DEPRECIATION_RUN_NOT_FOUND",
2501
+ "DIMENSION_CODE_IMMUTABLE",
2502
+ "DIMENSION_CODE_INVALID",
2503
+ "DIMENSION_CODE_REQUIRED",
2504
+ "DIMENSION_CODE_TAKEN",
2505
+ "DIMENSION_CONFIRM_REQUIRED",
2506
+ "DIMENSION_IN_USE",
2507
+ "DIMENSION_LINKED_TO_OBJECT_TYPE",
2508
+ "DIMENSION_NAME_REQUIRED",
2509
+ "DIMENSION_NOT_FOUND",
2510
+ "DIMENSION_PROHIBITED",
2511
+ "DIMENSION_REQUIRED_MISSING",
2512
+ "DIMENSION_VALUE_CIRCULAR_PARENT",
2513
+ "DIMENSION_VALUE_CODE_LOCKED",
2514
+ "DIMENSION_VALUE_CODE_REQUIRED",
2515
+ "DIMENSION_VALUE_CODE_TAKEN",
2516
+ "DIMENSION_VALUE_IN_USE",
2517
+ "DIMENSION_VALUE_NAME_REQUIRED",
2518
+ "DIMENSION_VALUE_NOT_FOUND",
2519
+ "DIMENSION_VALUE_PARENT_INVALID",
2520
+ "DOCUMENT_EXTRACTION_ALREADY_ACTIVE",
2521
+ "DOCUMENT_EXTRACTION_PERMANENT_FAILURE",
2522
+ "DOCUMENT_IN_USE",
2523
+ "DOCUMENT_IS_DUPLICATE",
2524
+ "DOCUMENT_NOT_DIGITIZABLE",
2525
+ "DOCUMENT_NOT_FOUND",
2526
+ "DOCUMENT_NUMBER_TAKEN",
2527
+ "DOCUMENT_TOO_LARGE",
2528
+ "DOCUMENT_TYPE_NOT_ALLOWED",
2529
+ "DUPLICATE_BILLING_METRIC_KEY",
2530
+ "DUPLICATE_BILLING_OBJECT_CODE",
2531
+ "DUPLICATE_BILLING_OBJECT_PROPERTY_KEY",
2532
+ "DUPLICATE_BILLING_OBJECT_TYPE_CODE",
2533
+ "DUPLICATE_BILLING_PLAN_RECIPIENT",
2534
+ "DUPLICATE_DIMENSION_CODE",
2535
+ "DUPLICATE_DIMENSION_VALUE_CODE",
2536
+ "ERROR",
2537
+ "EXCHANGE_RATE_FROZEN",
2538
+ "EXCHANGE_RATE_MISSING",
2539
+ "EXCHANGE_RATE_OVERRIDE_INVALID",
2540
+ "EXPORT_ALREADY_ACTIVE",
2541
+ "EXTERNAL_REF_EXISTS",
2542
+ "EXTRA_MONTH_CONFIRM_REQUIRED",
2543
+ "FILE_MALWARE_DETECTED",
2544
+ "FILE_MALWARE_SCAN_INCOMPLETE",
2545
+ "FILE_MALWARE_SCAN_PENDING",
2546
+ "FISCAL_YEAR_ANCHOR_MISMATCH",
2547
+ "FISCAL_YEAR_GAP_INVALID",
2548
+ "FISCAL_YEAR_NOT_FOUND",
2549
+ "FISCAL_YEAR_OVERLAP",
2550
+ "FISCAL_YEAR_RANGE_INVALID",
2551
+ "FISCAL_YEAR_TOO_LONG",
2552
+ "FIXED_ASSET_DEPRECIATION_ACCOUNTS_REQUIRED",
2553
+ "FIXED_ASSET_DEPRECIATION_ALREADY_POSTED",
2554
+ "FIXED_ASSET_DISPOSAL_BACKDATED",
2555
+ "FIXED_ASSET_DISPOSAL_LIVE_EXISTS",
2556
+ "FIXED_ASSET_DISPOSAL_LOSS_ACCOUNT_NOT_FOUND",
2557
+ "FIXED_ASSET_GROUP_CODE_CONFLICT",
2558
+ "FIXED_ASSET_GROUP_IN_USE",
2559
+ "FIXED_ASSET_GROUP_NOT_FOUND",
2560
+ "FIXED_ASSET_INVALID_TRANSITION",
2561
+ "FIXED_ASSET_INVENTORY_NUMBER_TAKEN",
2562
+ "FIXED_ASSET_LINE_ALREADY_CAPITALIZED",
2563
+ "FIXED_ASSET_NOT_CAUGHT_UP",
2564
+ "FIXED_ASSET_NOT_DISPOSABLE",
2565
+ "FIXED_ASSET_NOT_DRAFT",
2566
+ "FIXED_ASSET_NOT_EDITABLE",
2567
+ "FIXED_ASSET_NOT_FOUND",
2568
+ "FORBIDDEN",
2569
+ "FORMULA_PARSE_ERROR",
2570
+ "FORMULA_SUM_OBJECTS_INVALID_CONTEXT",
2571
+ "FORMULA_UNKNOWN_FUNCTION",
2572
+ "FX_ACCOUNT_CURRENCY_MISMATCH",
2573
+ "IBAN_INVALID",
2574
+ "IDEMPOTENCY_KEY_REUSED",
2575
+ "IGNORE_REASON_REQUIRED",
2576
+ "IMPORTED_INVOICE_CREDIT_NOTE_REQUIRED",
2577
+ "IMPORTED_INVOICE_RATE_SET_SEPARATELY",
2578
+ "INSUFFICIENT_SCOPE",
2579
+ "INTERNAL_ERROR",
2580
+ "INVALID_CURSOR",
2581
+ "INVALID_JSON",
2582
+ "INVALID_QUERY_PARAMETER",
2583
+ "INVOICE_EMAIL_SEND_FAILED",
2584
+ "INVOICE_LINES_PENDING",
2585
+ "INVOICE_LINE_NOT_FOUND",
2586
+ "INVOICE_LINE_REFERENCE_REQUIRED",
2587
+ "INVOICE_NOT_DRAFT",
2588
+ "INVOICE_NOT_FOUND",
2589
+ "INVOICE_NOT_ISSUED",
2590
+ "INVOICE_TOTAL_NEGATIVE",
2591
+ "INVOICE_TRANSACTION_NOT_LINKABLE",
2592
+ "INVOICE_TRANSACTION_VAT_PERIOD_FILED",
2593
+ "ITEM_CODE_EXISTS",
2594
+ "ITEM_IN_USE",
2595
+ "JOB_NOT_FOUND",
2596
+ "MATCH_ALLOCATIONS_REQUIRED",
2597
+ "METER_ACTION_INCOMPLETE",
2598
+ "METER_FINAL_VALUE_TOO_LOW",
2599
+ "METER_HAS_READINGS",
2600
+ "METER_INSTALLED_BEFORE_PREVIOUS_REMOVAL",
2601
+ "METER_PARENT_INVALID",
2602
+ "METER_READINGS_AFTER_REMOVAL",
2603
+ "METER_READING_DATE_TAKEN",
2604
+ "METER_READING_NOT_MONOTONE",
2605
+ "METER_READING_OUTSIDE_INSTALLATION",
2606
+ "METER_READING_REASON_NOTE_REQUIRED",
2607
+ "METER_REMOVED_BEFORE_INSTALLED",
2608
+ "METER_REPLACED_NOT_CURRENT",
2609
+ "METER_SLOT_ARCHIVED",
2610
+ "METER_SLOT_INVALID",
2611
+ "METER_SLOT_OCCUPIED",
2612
+ "METER_TYPE_IN_USE",
2613
+ "MISSING_REQUEST_BODY",
2614
+ "NOT_FOUND",
2615
+ "OBJECT_IN_USE",
2616
+ "OBJECT_NOT_FOUND",
2617
+ "OBJECT_TYPE_IN_USE",
2618
+ "OPENING_INVOICE_EDIT_IN_OPENING_STATE",
2619
+ "OPENING_STATE_AS_OF_DATE_INVALID",
2620
+ "OPENING_STATE_BOOKS_BEFORE_OPENING",
2621
+ "OPENING_STATE_CONTROL_ACCOUNT_UNRESOLVED",
2622
+ "OPENING_STATE_DUPLICATE_ENTRY",
2623
+ "OPENING_STATE_FIXED_ASSETS_IN_USE",
2624
+ "OPENING_STATE_FIXED_ASSET_INVALID",
2625
+ "OPENING_STATE_FOREIGN_RATE_OF_ONE",
2626
+ "OPENING_STATE_IMPORTED",
2627
+ "OPENING_STATE_INVALID_ACCOUNT_TYPE",
2628
+ "OPENING_STATE_INVOICE_HAS_CREDIT_NOTE",
2629
+ "OPENING_STATE_INVOICE_HAS_PAYMENTS",
2630
+ "OPENING_STATE_INVOICE_IN_USE",
2631
+ "OPENING_STATE_INVOICE_NUMBER_COLLISION",
2632
+ "OPENING_STATE_LINES_TOTAL_MISMATCH",
2633
+ "OPENING_STATE_NEGATIVE_AMOUNT",
2634
+ "OPENING_STATE_NO_ZERO_TAX_CODE",
2635
+ "OPENING_STATE_PREPAYMENTS_IN_USE",
2636
+ "OPENING_STATE_PREPAYMENT_INVALID",
2637
+ "OPENING_STATE_RECEIVED_PREPAYMENT_VAT",
2638
+ "OPENING_STATE_SUBLEDGER_MISMATCH",
2639
+ "OPENING_STATE_UNBALANCED",
2640
+ "OPENING_STATE_UNRESOLVED_REF",
2641
+ "OPERATION_NOT_PERMITTED",
2642
+ "OPERATION_NOT_PUBLIC",
2643
+ "ORGANIZATION_MISMATCH",
2644
+ "ORG_HEADER_REQUIRED",
2645
+ "ORG_MEMBERSHIP_REQUIRED",
2646
+ "ORG_NOT_FOUND",
2647
+ "ORG_PROFILE_INCOMPLETE",
2648
+ "PARTNER_ARCHIVED_MATCH",
2649
+ "PARTNER_CREDIT_APPLIED",
2650
+ "PARTNER_DATA_INCOMPLETE",
2651
+ "PAYMENT_AMOUNT_NOT_POSITIVE",
2652
+ "PAYMENT_DIRECTION_MISMATCH",
2653
+ "PAYMENT_EXCEEDS_BALANCE",
2654
+ "PAYMENT_INVOICE_NOT_ISSUED",
2655
+ "PAYMENT_IN_SETTLEMENT",
2656
+ "PAYMENT_IS_IMPORTED",
2657
+ "PAYMENT_METHOD_REQUIRES_SETTLEMENT",
2658
+ "PAYMENT_NOT_FOUND",
2659
+ "PAYMENT_ON_CREDIT_NOTE",
2660
+ "PAYMENT_ON_DRAFT",
2661
+ "PAYMENT_ON_PREPAYMENT_INVOICE",
2662
+ "PAYMENT_RECONCILED",
2663
+ "PAYMENT_REFERENCE_INVALID",
2664
+ "PAYMENT_REFERENCE_SPACE_EXHAUSTED",
2665
+ "PAYMENT_REFERENCE_TAKEN",
2666
+ "PAYMENT_TRANSACTION_LINKED",
2667
+ "PAYMENT_TRANSACTION_NOT_LINKABLE",
2668
+ "PERIOD_CONFIRM_REQUIRED",
2669
+ "PERIOD_DATE_RANGE_INVALID",
2670
+ "PERIOD_HARD_GATED",
2671
+ "PERIOD_NOT_FOUND",
2672
+ "PERIOD_NOT_FOUND_FOR_DATE",
2673
+ "PERIOD_OVERLAP",
2674
+ "PERMISSION_DENIED",
2675
+ "PLAN_FEATURE_NOT_INCLUDED",
2676
+ "PLAN_LIMIT_REACHED",
2677
+ "PLAN_REVISION_SUPERSEDED",
2678
+ "PRECONDITION_FAILED",
2679
+ "PREPAYMENT_ALREADY_DEDUCTED",
2680
+ "PREPAYMENT_INVOICE_NOT_EDITABLE",
2681
+ "PURCHASE_INVOICE_CANCELLED",
2682
+ "PURCHASE_INVOICE_POSTED_EDIT_REFUSED",
2683
+ "PURCHASE_INVOICE_USED_IN_BILLING_RUN",
2684
+ "PURCHASE_LINE_CONTROL_ACCOUNT",
2685
+ "QUOTE_ALREADY_CONVERTED",
2686
+ "QUOTE_EXPIRED",
2687
+ "QUOTE_NOT_ACCEPTED",
2688
+ "QUOTE_NOT_DRAFT",
2689
+ "QUOTE_NOT_EDITABLE",
2690
+ "QUOTE_NOT_FOUND",
2691
+ "QUOTE_NOT_SENT",
2692
+ "RATE_LIMITED",
2693
+ "READING_BILLED",
2694
+ "READING_PERIOD_INVALID",
2695
+ "RECIPIENT_NOT_ALLOWED",
2696
+ "REPORT_DEFINITION_BUILT_IN",
2697
+ "REPORT_DEFINITION_ROLE_LINE",
2698
+ "REPORT_NOT_FOUND",
2699
+ "REPORT_PLACEMENT_INVALID",
2700
+ "REPORT_ROW_NOT_FOUND",
2701
+ "REPORT_SCHEME_CONFLICT",
2702
+ "REPORT_SCHEME_NOT_FOUND",
2703
+ "REPORT_TOO_LARGE",
2704
+ "ROUNDING_AMOUNT_INVALID",
2705
+ "SANDBOX_ACTION_BLOCKED",
2706
+ "STATED_VAT_GROUP_MISMATCH",
2707
+ "STATEMENT_ACCOUNT_HAS_IBAN",
2708
+ "STATEMENT_BALANCE_MISMATCH",
2709
+ "STATEMENT_FILE_TOO_LARGE",
2710
+ "STATEMENT_PARSE_FAILED",
2711
+ "STATEMENT_TARGET_ACCOUNT_REQUIRED",
2712
+ "STATEMENT_UNKNOWN_ACCOUNT",
2713
+ "STEP_UP_REQUIRED",
2714
+ "SUBSCRIPTION_INACTIVE",
2715
+ "SUPPLIER_INVOICE_NUMBER_REQUIRED",
2716
+ "SUPPLIER_INVOICE_NUMBER_TAKEN",
2717
+ "SYNC_WINDOW_EXPIRED",
2718
+ "TAX_CODE_NOT_FOUND",
2719
+ "TRANSACTION_CURRENCY_NOT_SUPPORTED",
2720
+ "TRANSACTION_ENTRY_AMOUNT_INVALID",
2721
+ "TRANSACTION_ENTRY_DEBIT_XOR_CREDIT",
2722
+ "TRANSACTION_ENTRY_IN_USE",
2723
+ "TRANSACTION_ENTRY_NOT_FOUND",
2724
+ "TRANSACTION_IN_USE",
2725
+ "TRANSACTION_NOT_BALANCED",
2726
+ "TRANSACTION_NOT_EDITABLE",
2727
+ "TRANSACTION_NOT_FOUND",
2728
+ "TRIAL_LIMIT_REACHED",
2729
+ "UNAUTHENTICATED",
2730
+ "VALIDATION_ERROR",
2731
+ "VAT_RETURN_EXISTS",
2732
+ "VAT_RETURN_SCHEMA_INVALID",
2733
+ "VOID_INVOICE_HAS_CREDIT_NOTE",
2734
+ "VOID_INVOICE_HAS_PAYMENT",
2735
+ "VOID_INVOICE_NOT_VOIDABLE",
2736
+ "WORK_MONTH_CONFIRM_REQUIRED"
2737
+ ];
2738
+ /** The document's decimal-string schemas and the pattern each value must match. */
2739
+ export const DECIMAL_PATTERNS = {
2740
+ "MoneyAmount": "^-?(0|[1-9][0-9]{0,14})(\\.[0-9]{1,2})?$",
2741
+ "UnitPrice": "^-?(0|[1-9][0-9]{0,14})(\\.[0-9]{1,4})?$",
2742
+ "Quantity": "^-?(0|[1-9][0-9]{0,14})(\\.[0-9]{1,4})?$",
2743
+ "VariableDecimal": "^-?(0|[1-9][0-9]{0,14})(\\.[0-9]{1,6})?$",
2744
+ "LineDecimal": "^-?(0|[1-9][0-9]{0,14})(\\.[0-9]{1,10})?$",
2745
+ "ExchangeRate": "^([1-9][0-9]{0,14}(\\.[0-9]{1,10})?|0\\.([1-9][0-9]{0,9}|0[1-9][0-9]{0,8}|00[1-9][0-9]{0,7}|000[1-9][0-9]{0,6}|0000[1-9][0-9]{0,5}|00000[1-9][0-9]{0,4}|000000[1-9][0-9]{0,3}|0000000[1-9][0-9]{0,2}|00000000[1-9][0-9]?|000000000[1-9]))$"
2746
+ };