-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
5419 lines (5386 loc) · 622 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<!DOCTYPE html><html><head><meta charset="utf-8"><title>WP ERP REST API</title><link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css"><style>@font-face{font-family:'Inconsolata';font-style:normal;font-weight:400;font-stretch:normal;src:url(https://fonts.gstatic.com/s/inconsolata/v20/QldgNThLqRwH-OJ1UHjlKENVzkWGVkL3GZQmAwLYxYWI2qfdm7Lpp4U8WR32kg.ttf) format('truetype')}@font-face{font-family:'Raleway';font-style:normal;font-weight:200;src:url(https://fonts.gstatic.com/s/raleway/v17/1Ptxg8zYS_SKggPN4iEgvnHyvveLxVtaorCIPrQ.ttf) format('truetype')}@font-face{font-family:'Roboto';font-style:normal;font-weight:400;src:local('Roboto'),local('Roboto-Regular'),url(https://fonts.gstatic.com/s/roboto/v20/KFOmCnqEu92Fr1Mu4mxP.ttf) format('truetype')}@font-face{font-family:'Roboto';font-style:normal;font-weight:700;src:local('Roboto Bold'),local('Roboto-Bold'),url(https://fonts.gstatic.com/s/roboto/v20/KFOlCnqEu92Fr1MmWUlfBBc9.ttf) format('truetype')}.hljs-comment,.hljs-title{color:#8e908c}.hljs-variable,.hljs-attribute,.hljs-tag,.hljs-regexp,.ruby .hljs-constant,.xml .hljs-tag .hljs-title,.xml .hljs-pi,.xml .hljs-doctype,.html .hljs-doctype,.css .hljs-id,.css .hljs-class,.css .hljs-pseudo{color:#c82829}.hljs-number,.hljs-preprocessor,.hljs-pragma,.hljs-built_in,.hljs-literal,.hljs-params,.hljs-constant{color:#f5871f}.ruby .hljs-class .hljs-title,.css .hljs-rules .hljs-attribute{color:#eab700}.hljs-string,.hljs-value,.hljs-inheritance,.hljs-header,.ruby .hljs-symbol,.xml .hljs-cdata{color:#718c00}.css .hljs-hexcolor{color:#3e999f}.hljs-function,.python .hljs-decorator,.python .hljs-title,.ruby .hljs-function .hljs-title,.ruby .hljs-title .hljs-keyword,.perl .hljs-sub,.javascript .hljs-title,.coffeescript .hljs-title{color:#4271ae}.hljs-keyword,.javascript .hljs-function{color:#8959a8}.hljs{display:block;background:white;color:#4d4d4c;padding:.5em}.coffeescript .javascript,.javascript .xml,.tex .hljs-formula,.xml .javascript,.xml .vbscript,.xml .css,.xml .hljs-cdata{opacity:.5}.right .hljs-comment{color:#969896}.right .css .hljs-class,.right .css .hljs-id,.right .css .hljs-pseudo,.right .hljs-attribute,.right .hljs-regexp,.right .hljs-tag,.right .hljs-variable,.right .html .hljs-doctype,.right .ruby .hljs-constant,.right .xml .hljs-doctype,.right .xml .hljs-pi,.right .xml .hljs-tag .hljs-title{color:#c66}.right .hljs-built_in,.right .hljs-constant,.right .hljs-literal,.right .hljs-number,.right .hljs-params,.right .hljs-pragma,.right .hljs-preprocessor{color:#de935f}.right .css .hljs-rule .hljs-attribute,.right .ruby .hljs-class .hljs-title{color:#f0c674}.right .hljs-header,.right .hljs-inheritance,.right .hljs-name,.right .hljs-string,.right .hljs-value,.right .ruby .hljs-symbol,.right .xml .hljs-cdata{color:#b5bd68}.right .css .hljs-hexcolor,.right .hljs-title{color:#8abeb7}.right .coffeescript .hljs-title,.right .hljs-function,.right .javascript .hljs-title,.right .perl .hljs-sub,.right .python .hljs-decorator,.right .python .hljs-title,.right .ruby .hljs-function .hljs-title,.right .ruby .hljs-title .hljs-keyword{color:#81a2be}.right .hljs-keyword,.right .javascript .hljs-function{color:#b294bb}.right .hljs{display:block;overflow-x:auto;background:#1d1f21;color:#c5c8c6;padding:.5em;-webkit-text-size-adjust:none}.right .coffeescript .javascript,.right .javascript .xml,.right .tex .hljs-formula,.right .xml .css,.right .xml .hljs-cdata,.right .xml .javascript,.right .xml .vbscript{opacity:.5}body{color:black;background:white;font:400 14px / 1.42 'Roboto',Helvetica,sans-serif}header{border-bottom:1px solid #ededed;margin-bottom:12px}h1,h2,h3,h4,h5{color:black;margin:12px 0}h1 .permalink,h2 .permalink,h3 .permalink,h4 .permalink,h5 .permalink{margin-left:0;opacity:0;transition:opacity .25s ease}h1:hover .permalink,h2:hover .permalink,h3:hover .permalink,h4:hover .permalink,h5:hover .permalink{opacity:1}.triple h1 .permalink,.triple h2 .permalink,.triple h3 .permalink,.triple h4 .permalink,.triple h5 .permalink{opacity:.15}.triple h1:hover .permalink,.triple h2:hover .permalink,.triple h3:hover .permalink,.triple h4:hover .permalink,.triple h5:hover .permalink{opacity:.15}h1{font:200 36px 'Raleway',Helvetica,sans-serif;font-size:36px}h2{font:200 36px 'Raleway',Helvetica,sans-serif;font-size:30px}h3{font-size:100%;text-transform:uppercase}h5{font-size:100%;font-weight:normal}p{margin:0 0 10px}p.choices{line-height:1.6}a{color:#18bc9c;text-decoration:none}li p{margin:0}hr.split{border:0;height:1px;width:100%;padding-left:6px;margin:12px auto;background-image:linear-gradient(to right, rgba(0,0,0,0) 20%, rgba(0,0,0,0.2) 51.4%, rgba(255,255,255,0.2) 51.4%, rgba(255,255,255,0) 80%)}dl dt{float:left;width:130px;clear:left;text-align:right;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:700}dl dd{margin-left:150px}blockquote{color:rgba(0,0,0,0.5);font-size:15.5px;padding:10px 20px;margin:12px 0;border-left:5px solid #e8e8e8}blockquote p:last-child{margin-bottom:0}pre{background-color:#f5f5f5;padding:12px;border:1px solid #cfcfcf;border-radius:6px;overflow:auto}pre code{color:black;background-color:transparent;padding:0;border:none}code{color:#444;background-color:#f5f5f5;font:'Inconsolata',monospace;padding:1px 4px;border:1px solid #cfcfcf;border-radius:3px}ul,ol{padding-left:2em}table{border-collapse:collapse;border-spacing:0;margin-bottom:12px}table tr:nth-child(2n){background-color:#fafafa}table th,table td{padding:6px 12px;border:1px solid #e6e6e6}.text-muted{opacity:.5}.note,.warning{padding:.3em 1em;margin:1em 0;border-radius:2px;font-size:90%}.note h1,.warning h1,.note h2,.warning h2,.note h3,.warning h3,.note h4,.warning h4,.note h5,.warning h5,.note h6,.warning h6{font-family:200 36px 'Raleway',Helvetica,sans-serif;font-size:135%;font-weight:500}.note p,.warning p{margin:.5em 0}.note{color:black;background-color:#eff7fc;border-left:4px solid #3498db}.note h1,.note h2,.note h3,.note h4,.note h5,.note h6{color:#3498db}.warning{color:black;background-color:#fcf0ef;border-left:4px solid #d62c1a}.warning h1,.warning h2,.warning h3,.warning h4,.warning h5,.warning h6{color:#d62c1a}header{margin-top:24px}nav{position:fixed;top:24px;bottom:0;overflow-y:auto}nav .resource-group{padding:0}nav .resource-group .heading{position:relative}nav .resource-group .heading .chevron{position:absolute;top:12px;right:12px;opacity:.5}nav .resource-group .heading a{display:block;color:black;opacity:.7;border-left:2px solid transparent;margin:0}nav .resource-group .heading a:hover{text-decoration:none;background-color:bad-color;border-left:2px solid black}nav ul{list-style-type:none;padding-left:0}nav ul a{display:block;font-size:13px;color:rgba(0,0,0,0.7);padding:8px 12px;border-top:1px solid #ededed;border-left:2px solid transparent;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}nav ul a:hover{text-decoration:none;background-color:bad-color;border-left:2px solid black}nav ul>li{margin:0}nav ul>li:first-child{margin-top:-12px}nav ul>li:last-child{margin-bottom:-12px}nav ul ul a{padding-left:24px}nav ul ul li{margin:0}nav ul ul li:first-child{margin-top:0}nav ul ul li:last-child{margin-bottom:0}nav>div>div>ul>li:first-child>a{border-top:none}.preload *{transition:none !important}.pull-left{float:left}.pull-right{float:right}.badge{display:inline-block;float:right;min-width:10px;min-height:14px;padding:3px 7px;font-size:12px;color:#000;background-color:#ededed;border-radius:10px;margin:-2px 0}.badge.get{color:white;background-color:#3498db}.badge.head{color:white;background-color:#3498db}.badge.options{color:white;background-color:#3498db}.badge.put{color:white;background-color:#f39c12}.badge.patch{color:white;background-color:#f39c12}.badge.post{color:white;background-color:#18bc9c}.badge.delete{color:white;background-color:#e74c3c}.collapse-button{float:right}.collapse-button .close{display:none;color:#18bc9c;cursor:pointer}.collapse-button .open{color:#18bc9c;cursor:pointer}.collapse-button.show .close{display:inline}.collapse-button.show .open{display:none}.collapse-content{max-height:0;overflow:hidden;transition:max-height .3s ease-in-out}nav{width:220px}.container{max-width:940px;margin-left:auto;margin-right:auto}.container .row .content{margin-left:244px;width:696px}.container .row:after{content:'';display:block;clear:both}.container-fluid nav{width:22%}.container-fluid .row .content{margin-left:24%}.container-fluid.triple nav{width:16.5%;padding-right:1px}.container-fluid.triple .row .content{position:relative;margin-left:16.5%;padding-left:24px}.middle:before,.middle:after{content:'';display:table}.middle:after{clear:both}.middle{box-sizing:border-box;width:51.5%;padding-right:12px}.right{box-sizing:border-box;float:right;width:48.5%;padding-left:12px}.right a{color:#18bc9c}.right h1,.right h2,.right h3,.right h4,.right h5,.right p,.right div{color:white}.right pre{background-color:#1d1f21;border:1px solid #1d1f21}.right pre code{color:#c5c8c6}.right .description{margin-top:12px}.triple .resource-heading{font-size:125%}.definition{margin-top:12px;margin-bottom:12px}.definition .method{font-weight:bold}.definition .method.get{color:hsl(204.07185629,60%,45%)}.definition .method.head{color:hsl(204.07185629,60%,45%)}.definition .method.options{color:hsl(204.07185629,60%,45%)}.definition .method.post{color:hsl(168.29268293,60%,45%)}.definition .method.put{color:hsl(36.8,60%,45%)}.definition .method.patch{color:hsl(36.8,60%,45%)}.definition .method.delete{color:hsl(5.61403509,60%,45%)}.definition .uri{word-break:break-all;word-wrap:break-word}.definition .hostname{opacity:.5}.example-names{background-color:#eee;padding:12px;border-radius:6px}.example-names .tab-button{cursor:pointer;color:black;border:1px solid #ddd;padding:6px;margin-left:12px}.example-names .tab-button.active{background-color:#d5d5d5}.right .example-names{background-color:#444}.right .example-names .tab-button{color:white;border:1px solid #666;border-radius:6px}.right .example-names .tab-button.active{background-color:#5e5e5e}#nav-background{position:fixed;left:0;top:0;bottom:0;width:16.5%;padding-right:14.4px;background-color:#fbfbfb;border-right:1px solid #f0f0f0;z-index:-1}#right-panel-background{position:absolute;right:-12px;top:-12px;bottom:-12px;width:48.6%;background-color:#333;z-index:-1}@media (max-width:1200px){nav{width:198px}.container{max-width:840px}.container .row .content{margin-left:224px;width:606px}}@media (max-width:992px){nav{width:169.4px}.container{max-width:720px}.container .row .content{margin-left:194px;width:526px}}@media (max-width:768px){nav{display:none}.container{width:95%;max-width:none}.container .row .content,.container-fluid .row .content,.container-fluid.triple .row .content{margin-left:auto;margin-right:auto;width:95%}#nav-background{display:none}#right-panel-background{width:48.6%}}.back-to-top{position:fixed;z-index:1;bottom:0px;right:24px;padding:4px 8px;color:rgba(0,0,0,0.5);background-color:#ededed;text-decoration:none !important;border-top:1px solid #ededed;border-left:1px solid #ededed;border-right:1px solid #ededed;border-top-left-radius:3px;border-top-right-radius:3px}.resource-group{padding:12px;margin-bottom:12px;background-color:white;border:1px solid #ededed;border-radius:6px}.resource-group h2.group-heading,.resource-group .heading a{padding:12px;margin:-12px -12px 12px -12px;background-color:#ededed;border-bottom:1px solid #ededed;border-top-left-radius:6px;border-top-right-radius:6px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.triple .content .resource-group{padding:0;border:none}.triple .content .resource-group h2.group-heading,.triple .content .resource-group .heading a{margin:0 0 12px 0;border:1px solid #ededed}nav .resource-group .heading a{padding:12px;margin-bottom:0}nav .resource-group .collapse-content{padding:0}.action{margin-bottom:12px;padding:12px 12px 0 12px;overflow:hidden;border:1px solid transparent;border-radius:6px}.action h4.action-heading{padding:6px 12px;margin:-12px -12px 12px -12px;border-bottom:1px solid transparent;border-top-left-radius:6px;border-top-right-radius:6px;overflow:hidden}.action h4.action-heading .name{float:right;font-weight:normal;padding:6px 0}.action h4.action-heading .method{padding:6px 12px;margin-right:12px;border-radius:3px;display:inline-block}.action h4.action-heading .method.get{color:#000;background-color:white}.action h4.action-heading .method.head{color:#000;background-color:white}.action h4.action-heading .method.options{color:#000;background-color:white}.action h4.action-heading .method.put{color:#000;background-color:white}.action h4.action-heading .method.patch{color:#000;background-color:white}.action h4.action-heading .method.post{color:#000;background-color:white}.action h4.action-heading .method.delete{color:#000;background-color:white}.action h4.action-heading code{color:#444;background-color:rgba(255,255,255,0.7);border-color:transparent;font-weight:normal;word-break:break-all;display:inline-block;margin-top:2px}.action dl.inner{padding-bottom:2px}.action .title{border-bottom:1px solid white;margin:0 -12px -1px -12px;padding:12px}.action.get{border-color:#3498db}.action.get h4.action-heading{color:white;background:#3498db;border-bottom-color:#3498db}.action.head{border-color:#3498db}.action.head h4.action-heading{color:white;background:#3498db;border-bottom-color:#3498db}.action.options{border-color:#3498db}.action.options h4.action-heading{color:white;background:#3498db;border-bottom-color:#3498db}.action.post{border-color:#18bc9c}.action.post h4.action-heading{color:white;background:#18bc9c;border-bottom-color:#18bc9c}.action.put{border-color:#f39c12}.action.put h4.action-heading{color:white;background:#f39c12;border-bottom-color:#f39c12}.action.patch{border-color:#f39c12}.action.patch h4.action-heading{color:white;background:#f39c12;border-bottom-color:#f39c12}.action.delete{border-color:#e74c3c}.action.delete h4.action-heading{color:white;background:#e74c3c;border-bottom-color:#e74c3c}</style></head><body class="preload"><div id="nav-background"></div><div class="container-fluid triple"><div class="row"><nav><div class="resource-group"><div class="heading"><div class="chevron"><i class="open fa fa-angle-down"></i></div><a href="#top">Overview</a></div><div class="collapse-content"><ul><li><a href="#header-accounting-api">Accounting API</a></li></ul></div></div><div class="resource-group"><div class="heading"><div class="chevron"><i class="open fa fa-angle-down"></i></div><a href="#customers">Customers</a></div><div class="collapse-content"><ul><li><a href="#customers-customer-list">Customer List</a><ul><li><a href="#customers-customer-list-customer-list-get"><span class="badge get"><i class="fa fa-arrow-down"></i></span>List All Customers</a></li><li><a href="#customers-customer-list-customer-list-post"><span class="badge post"><i class="fa fa-plus"></i></span>Create A Customer</a></li></ul></li><li><a href="#customers-manage-single-customer">Manage Single Customer</a><ul><li><a href="#customers-manage-single-customer-manage-single-customer-get"><span class="badge get"><i class="fa fa-arrow-down"></i></span>Retrieve A Customer</a></li><li><a href="#customers-manage-single-customer-manage-single-customer-put"><span class="badge put"><i class="fa fa-pencil"></i></span>Edit A Customer</a></li><li><a href="#customers-manage-single-customer-manage-single-customer-delete"><span class="badge delete"><i class="fa fa-times"></i></span>Delete A Customer</a></li></ul></li><li><a href="#customers-customers-transactions-customers-transactions-get"><span class="badge get"><i class="fa fa-arrow-down"></i></span>List All Transactions of a Customer</a></li></ul></div></div><div class="resource-group"><div class="heading"><div class="chevron"><i class="open fa fa-angle-down"></i></div><a href="#vendors">Vendors</a></div><div class="collapse-content"><ul><li><a href="#vendors-vendor-list">Vendor List</a><ul><li><a href="#vendors-vendor-list-vendor-list-get"><span class="badge get"><i class="fa fa-arrow-down"></i></span>List All Vendors</a></li><li><a href="#vendors-vendor-list-vendor-list-post"><span class="badge post"><i class="fa fa-plus"></i></span>Create A Vendor</a></li></ul></li><li><a href="#vendors-manage-single-vendor">Manage Single Vendor</a><ul><li><a href="#vendors-manage-single-vendor-manage-single-vendor-get"><span class="badge get"><i class="fa fa-arrow-down"></i></span>Retrieve A Vendor</a></li><li><a href="#vendors-manage-single-vendor-manage-single-vendor-put"><span class="badge put"><i class="fa fa-pencil"></i></span>Edit A Vendor</a></li><li><a href="#vendors-manage-single-vendor-manage-single-vendor-delete"><span class="badge delete"><i class="fa fa-times"></i></span>Delete A Vendor</a></li></ul></li><li><a href="#vendors-vendors-transactions-vendors-transactions-get"><span class="badge get"><i class="fa fa-arrow-down"></i></span>List All Transactions of a Vendor</a></li></ul></div></div><div class="resource-group"><div class="heading"><div class="chevron"><i class="open fa fa-angle-down"></i></div><a href="#vendors-1">Vendors</a></div><div class="collapse-content"><ul><li><a href="#vendors-1-vendor-list">Vendor List</a><ul><li><a href="#vendors-1-vendor-list-vendor-list-get"><span class="badge get"><i class="fa fa-arrow-down"></i></span>List All Vendors</a></li><li><a href="#vendors-1-vendor-list-vendor-list-post"><span class="badge post"><i class="fa fa-plus"></i></span>Create A Vendor</a></li></ul></li><li><a href="#vendors-1-manage-single-vendor">Manage Single Vendor</a><ul><li><a href="#vendors-1-manage-single-vendor-manage-single-vendor-get"><span class="badge get"><i class="fa fa-arrow-down"></i></span>Retrieve A Vendor</a></li><li><a href="#vendors-1-manage-single-vendor-manage-single-vendor-put"><span class="badge put"><i class="fa fa-pencil"></i></span>Edit A Vendor</a></li><li><a href="#vendors-1-manage-single-vendor-manage-single-vendor-delete"><span class="badge delete"><i class="fa fa-times"></i></span>Delete A Vendor</a></li></ul></li><li><a href="#vendors-1-vendors-transactions-vendors-transactions-get"><span class="badge get"><i class="fa fa-arrow-down"></i></span>List All Transactions of a Vendor</a></li></ul></div></div><div class="resource-group"><div class="heading"><div class="chevron"><i class="open fa fa-angle-down"></i></div><a href="#people">People</a></div><div class="collapse-content"><ul><li><a href="#people-people-list-people-list-get"><span class="badge get"><i class="fa fa-arrow-down"></i></span>List All Peoples</a></li><li><a href="#people-manage-single-people-manage-single-people-get"><span class="badge get"><i class="fa fa-arrow-down"></i></span>Retrieve A People</a></li></ul></div></div><div class="resource-group"><div class="heading"><div class="chevron"><i class="open fa fa-angle-down"></i></div><a href="#people-address">People Address</a></div><div class="collapse-content"><ul><li><a href="#people-address-get-address-of-a-people-get-address-of-a-people-get"><span class="badge get"><i class="fa fa-arrow-down"></i></span>Retrieve Address of A People</a></li><li><a href="#people-address-get-opening-balance-of-a-people-get-opening-balance-of-a-people-get"><span class="badge get"><i class="fa fa-arrow-down"></i></span>Retrieve Opening Balance of A People</a></li><li><a href="#people-address-check-if-email-exist-already-for-a-people-check-if-email-exist-already-for-a-people-get"><span class="badge get"><i class="fa fa-arrow-down"></i></span>Check the email of a people</a></li></ul></div></div><div class="resource-group"><div class="heading"><div class="chevron"><i class="open fa fa-angle-down"></i></div><a href="#chart-of-accounts-&-ledgers">Chart of Accounts & Ledgers</a></div><div class="collapse-content"><ul><li><a href="#chart-of-accounts-&-ledgers-ledger-list-ledger-list-get"><span class="badge get"><i class="fa fa-arrow-down"></i></span>List All Ledgers</a></li><li><a href="#chart-of-accounts-&-ledgers-ledger-list-ledger-list-post"><span class="badge post"><i class="fa fa-plus"></i></span>Create A Ledger Account</a></li><li><a href="#chart-of-accounts-&-ledgers-manage-single-ledger-manage-single-ledger-get"><span class="badge get"><i class="fa fa-arrow-down"></i></span>Retrieve A Ledger</a></li><li><a href="#chart-of-accounts-&-ledgers-chart-of-account-list-chart-of-account-list-get"><span class="badge get"><i class="fa fa-arrow-down"></i></span>List All Chart of Accounts</a></li><li><a href="#chart-of-accounts-&-ledgers-bank-accounts-list-bank-accounts-list-get"><span class="badge get"><i class="fa fa-arrow-down"></i></span>List All Bank Accounts</a></li><li><a href="#chart-of-accounts-&-ledgers-cash-accounts-list-cash-accounts-list-get"><span class="badge get"><i class="fa fa-arrow-down"></i></span>List All Cash Accounts</a></li></ul></div></div><div class="resource-group"><div class="heading"><div class="chevron"><i class="open fa fa-angle-down"></i></div><a href="#accounts-and-transfers">Accounts and Transfers</a></div><div class="collapse-content"><ul><li><a href="#accounts-and-transfers-account-list-account-list-get"><span class="badge get"><i class="fa fa-arrow-down"></i></span>List All Accounts</a></li><li><a href="#accounts-and-transfers-manage-single-accounts">Manage Single Accounts</a><ul><li><a href="#accounts-and-transfers-manage-single-accounts-manage-single-accounts-get"><span class="badge get"><i class="fa fa-arrow-down"></i></span>Retrieve an Account</a></li><li><a href="#accounts-and-transfers-manage-single-accounts-manage-single-accounts-delete"><span class="badge delete"><i class="fa fa-times"></i></span>Delete an Account</a></li></ul></li><li><a href="#accounts-and-transfers-get-cash-and-bamk-accounts-get-cash-and-bamk-accounts-get"><span class="badge get"><i class="fa fa-arrow-down"></i></span>Get all Cash related Accounts</a></li><li><a href="#accounts-and-transfers-get-dashboard-accounts-get-dashboard-accounts-get"><span class="badge get"><i class="fa fa-arrow-down"></i></span>Get all Accounts shown in dashboard</a></li><li><a href="#accounts-and-transfers-transfer-money-transfer-money-post"><span class="badge post"><i class="fa fa-plus"></i></span>Transfer between two Accounts</a></li><li><a href="#accounts-and-transfers-list-all-transfers-list-all-transfers-get"><span class="badge get"><i class="fa fa-arrow-down"></i></span>Retrieve all Transfer transactions</a></li><li><a href="#accounts-and-transfers-manage-single-transfers-manage-single-transfers-get"><span class="badge get"><i class="fa fa-arrow-down"></i></span>Retrieve an Account</a></li></ul></div></div><div class="resource-group"><div class="heading"><div class="chevron"><i class="open fa fa-angle-down"></i></div><a href="#companies">Companies</a></div><div class="collapse-content"><ul><li><a href="#companies-manage-single-company-manage-single-company-get"><span class="badge get"><i class="fa fa-arrow-down"></i></span>Retrieve A Company</a></li></ul></div></div><div class="resource-group"><div class="heading"><div class="chevron"><i class="open fa fa-angle-down"></i></div><a href="#currencies">Currencies</a></div><div class="collapse-content"><ul><li><a href="#currencies-currency-list-currency-list-get"><span class="badge get"><i class="fa fa-arrow-down"></i></span>List All Currencies</a></li></ul></div></div><div class="resource-group"><div class="heading"><div class="chevron"><i class="open fa fa-angle-down"></i></div><a href="#opening-balances">Opening Balances</a></div><div class="collapse-content"><ul><li><a href="#opening-balances-opening-balance-list">Opening Balance List</a><ul><li><a href="#opening-balances-opening-balance-list-opening-balance-list-get"><span class="badge get"><i class="fa fa-arrow-down"></i></span>List All Opening Balances</a></li><li><a href="#opening-balances-opening-balance-list-opening-balance-list-post"><span class="badge post"><i class="fa fa-plus"></i></span>Create A Opening Balance</a></li></ul></li><li><a href="#opening-balances-manage-single-opening-balance-manage-single-opening-balance-get"><span class="badge get"><i class="fa fa-arrow-down"></i></span>Retrieve A Opening Balance</a></li><li><a href="#opening-balances-get-opening-balance-names-get-opening-balance-names-get"><span class="badge get"><i class="fa fa-arrow-down"></i></span>List All Opening Balance Names</a></li><li><a href="#opening-balances-manage-opening-balance-count-manage-opening-balance-count-get"><span class="badge get"><i class="fa fa-arrow-down"></i></span>Retrieve Opening Balance Count of a financial year</a></li><li><a href="#opening-balances-manage-opening-balance-virtual-accounts-manage-opening-balance-virtual-accounts-get"><span class="badge get"><i class="fa fa-arrow-down"></i></span>Retrieve virtual accounts of an Opening Balance of a financial year</a></li><li><a href="#opening-balances-manage-opening-balance-payables-&-receivables-manage-opening-balance-payables-&-receivables-get"><span class="badge get"><i class="fa fa-arrow-down"></i></span>Retrieve Opening Balance Payables & Receivablesr</a></li></ul></div></div><div class="resource-group"><div class="heading"><div class="chevron"><i class="open fa fa-angle-down"></i></div><a href="#closing-balances">Closing Balances</a></div><div class="collapse-content"><ul><li><a href="#closing-balances-closing-balance-list-closing-balance-list-post"><span class="badge post"><i class="fa fa-plus"></i></span>Closing Balance Sheet of Current Financial Year</a></li><li><a href="#closing-balances-get-closest-financial-year-get-closest-financial-year-get"><span class="badge get"><i class="fa fa-arrow-down"></i></span>Get Closest Financial Year</a></li><li><a href="#closing-balances-get-next-financial-year-get-next-financial-year-get"><span class="badge get"><i class="fa fa-arrow-down"></i></span>List Next Financial Year</a></li></ul></div></div><div class="resource-group"><div class="heading"><div class="chevron"><i class="open fa fa-angle-down"></i></div><a href="#products">Products</a></div><div class="collapse-content"><ul><li><a href="#products-product-list-product-list-get"><span class="badge get"><i class="fa fa-arrow-down"></i></span>List All Products</a></li><li><a href="#products-product-list-product-list-post"><span class="badge post"><i class="fa fa-plus"></i></span>Create A Product</a></li><li><a href="#products-manage-single-product">Manage Single Product</a><ul><li><a href="#products-manage-single-product-manage-single-product-get"><span class="badge get"><i class="fa fa-arrow-down"></i></span>Retrieve A Product</a></li><li><a href="#products-manage-single-product-manage-single-product-put"><span class="badge put"><i class="fa fa-pencil"></i></span>Update A Product</a></li><li><a href="#products-manage-single-product-manage-single-product-delete"><span class="badge delete"><i class="fa fa-times"></i></span>Delete A Product</a></li></ul></li><li><a href="#products-bulk-delete-products-bulk-delete-products-delete"><span class="badge delete"><i class="fa fa-times"></i></span>Bulk Delete Products</a></li><li><a href="#products-get-product-types-get-product-types-get"><span class="badge get"><i class="fa fa-arrow-down"></i></span>Retrieves the product types</a></li></ul></div></div><div class="resource-group"><div class="heading"><div class="chevron"><i class="open fa fa-angle-down"></i></div><a href="#product-categories">Product Categories</a></div><div class="collapse-content"><ul><li><a href="#product-categories-product-categories-list-product-categories-list-get"><span class="badge get"><i class="fa fa-arrow-down"></i></span>List All Product Categories</a></li><li><a href="#product-categories-product-categories-list-product-categories-list-post"><span class="badge post"><i class="fa fa-plus"></i></span>Create A Product Category</a></li><li><a href="#product-categories-manage-single-product-category">Manage Single Product Category</a><ul><li><a href="#product-categories-manage-single-product-category-manage-single-product-category-get"><span class="badge get"><i class="fa fa-arrow-down"></i></span>Retrieve A Product Category</a></li><li><a href="#product-categories-manage-single-product-category-manage-single-product-category-put"><span class="badge put"><i class="fa fa-pencil"></i></span>Update A Product Category</a></li><li><a href="#product-categories-manage-single-product-category-manage-single-product-category-delete"><span class="badge delete"><i class="fa fa-times"></i></span>Delete A Product Category</a></li></ul></li><li><a href="#product-categories-bulk-delete-product-categories-bulk-delete-product-categories-delete"><span class="badge delete"><i class="fa fa-times"></i></span>Bulk Delete Product Categories</a></li></ul></div></div><div class="resource-group"><div class="heading"><div class="chevron"><i class="open fa fa-angle-down"></i></div><a href="#tax-rates">Tax Rates</a></div><div class="collapse-content"><ul><li><a href="#header-tax-rate-list-[taxes-{?per_page,page,search}]">Tax Rate List [taxes/{?per_page,page,search}]</a></li><li><a href="#header-list-all-tax-rates-[get]">List All Tax Rates [GET]</a></li><li><a href="#header-create-a-tax-rate-[post]">Create A Tax Rate [POST]</a></li><li><a href="#header-manage-single-tax-rate-[taxes-{id}]">Manage Single Tax Rate [taxes/{id}]</a></li><li><a href="#header-retrieve-a-tax-rate-[get]">Retrieve A Tax Rate [GET]</a></li><li><a href="#header-update-a-tax-rate-[put]">Update A Tax Rate [PUT]</a></li><li><a href="#header-delete-a-tax-rate-[delete]">Delete A Tax Rate [DELETE]</a></li><li><a href="#tax-rates-bulk-delete-tax-rates-bulk-delete-tax-rates-delete"><span class="badge delete"><i class="fa fa-times"></i></span>Bulk Delete Tax Rates</a></li></ul></div></div><div class="resource-group"><div class="heading"><div class="chevron"><i class="open fa fa-angle-down"></i></div><a href="#tax-rate-lines">Tax Rate Lines</a></div><div class="collapse-content"><ul><li><a href="#header-manage-single-tax-rate-line-add-[taxes-{id}-line-add]">Manage Single Tax Rate Line Add [taxes/{id}/line-add]</a></li><li><a href="#header-add-a-line-in-tax-rate-[post]">Add A Line in Tax Rate [POST]</a></li><li><a href="#header-manage-single-tax-rate-line-edit-[taxes-{id}-line-edit]">Manage Single Tax Rate Line Edit [taxes/{id}/line-edit]</a></li><li><a href="#header-update-a-line-in-tax-rate-[put]">Update A Line in Tax Rate [PUT]</a></li><li><a href="#header-manage-single-tax-rate-line-delete-[taxes-{id}-line-delete-{db_id}]">Manage Single Tax Rate Line Delete [taxes/{id}/line-delete/{db_id}]</a></li></ul></div></div><div class="resource-group"><div class="heading"><div class="chevron"><i class="open fa fa-angle-down"></i></div><a href="#tax-records">Tax Records</a></div><div class="collapse-content"><ul><li><a href="#header-manage-all-tax-records-[taxes-tax-records]">Manage All Tax Records [taxes/tax-records]</a></li><li><a href="#header-retrieve-all-tax-records-[get]">Retrieve All Tax Records [GET]</a></li><li><a href="#header-manage-single-tax-record-[taxes-tax-records-{id}]">Manage Single Tax Record [taxes/tax-records/{id}]</a></li><li><a href="#header-retrieve-a-single-tax-record-[get]">Retrieve A SIngle Tax Record [GET]</a></li><li><a href="#header-manage-all-tax-records-[taxes-tax-records]-1">Manage All Tax Records [taxes/tax-records]</a></li><li><a href="#header-retrieve-all-tax-records-[get]-1">Retrieve All Tax Records [GET]</a></li><li><a href="#header-pay-against-tax-records-[taxes-pay-tax]">Pay against Tax Records [taxes/pay-tax]</a></li><li><a href="#header-pay-against-a-tax-record-[post]">Pay against a Tax Record [POST]</a></li></ul></div></div><div class="resource-group"><div class="heading"><div class="chevron"><i class="open fa fa-angle-down"></i></div><a href="#tax-agencies">Tax Agencies</a></div><div class="collapse-content"><ul><li><a href="#tax-agencies-tax-agency-list-tax-agency-list-get"><span class="badge get"><i class="fa fa-arrow-down"></i></span>List All Tax Agencies</a></li><li><a href="#tax-agencies-tax-agency-list-tax-agency-list-post"><span class="badge post"><i class="fa fa-plus"></i></span>Create A Tax Agency</a></li><li><a href="#tax-agencies-manage-single-tax-agency">Manage Single Tax Agency</a><ul><li><a href="#tax-agencies-manage-single-tax-agency-manage-single-tax-agency-get"><span class="badge get"><i class="fa fa-arrow-down"></i></span>Retrieve A Tax Agency</a></li><li><a href="#tax-agencies-manage-single-tax-agency-manage-single-tax-agency-put"><span class="badge put"><i class="fa fa-pencil"></i></span>Update A Tax Agency</a></li><li><a href="#tax-agencies-manage-single-tax-agency-manage-single-tax-agency-delete"><span class="badge delete"><i class="fa fa-times"></i></span>Delete A Tax Agency</a></li></ul></li><li><a href="#tax-agencies-bulk-delete-tax-agencies-bulk-delete-tax-agencies-delete"><span class="badge delete"><i class="fa fa-times"></i></span>Bulk Delete Tax Agencies</a></li></ul></div></div><div class="resource-group"><div class="heading"><div class="chevron"><i class="open fa fa-angle-down"></i></div><a href="#tax-categories">Tax Categories</a></div><div class="collapse-content"><ul><li><a href="#tax-categories-tax-category-list-tax-category-list-get"><span class="badge get"><i class="fa fa-arrow-down"></i></span>List All Tax Categories</a></li><li><a href="#tax-categories-tax-category-list-tax-category-list-post"><span class="badge post"><i class="fa fa-plus"></i></span>Create A Tax Category</a></li><li><a href="#tax-categories-manage-single-tax-category">Manage Single Tax Category</a><ul><li><a href="#tax-categories-manage-single-tax-category-manage-single-tax-category-get"><span class="badge get"><i class="fa fa-arrow-down"></i></span>Retrieve A Tax Category</a></li><li><a href="#tax-categories-manage-single-tax-category-manage-single-tax-category-put"><span class="badge put"><i class="fa fa-pencil"></i></span>Update A Tax Category</a></li><li><a href="#tax-categories-manage-single-tax-category-manage-single-tax-category-delete"><span class="badge delete"><i class="fa fa-times"></i></span>Delete A Tax Category</a></li></ul></li><li><a href="#tax-categories-bulk-delete-tax-categories-bulk-delete-tax-categories-delete"><span class="badge delete"><i class="fa fa-times"></i></span>Bulk Delete Tax Categories</a></li></ul></div></div><div class="resource-group"><div class="heading"><div class="chevron"><i class="open fa fa-angle-down"></i></div><a href="#tax-rate-names">Tax Rate Names</a></div><div class="collapse-content"><ul><li><a href="#tax-rate-names-tax-rate-name-list-tax-rate-name-list-get"><span class="badge get"><i class="fa fa-arrow-down"></i></span>List All Tax Rate Names</a></li><li><a href="#tax-rate-names-tax-rate-name-list-tax-rate-name-list-post"><span class="badge post"><i class="fa fa-plus"></i></span>Create A Tax Rate Name</a></li><li><a href="#tax-rate-names-manage-single-tax-rate-name">Manage Single Tax Rate Name</a><ul><li><a href="#tax-rate-names-manage-single-tax-rate-name-manage-single-tax-rate-name-get"><span class="badge get"><i class="fa fa-arrow-down"></i></span>Retrieve A Tax Rate Name</a></li><li><a href="#tax-rate-names-manage-single-tax-rate-name-manage-single-tax-rate-name-put"><span class="badge put"><i class="fa fa-pencil"></i></span>Update A Tax Rate Name</a></li><li><a href="#tax-rate-names-manage-single-tax-rate-name-manage-single-tax-rate-name-delete"><span class="badge delete"><i class="fa fa-times"></i></span>Delete A Tax Rate Name</a></li></ul></li><li><a href="#tax-rate-names-bulk-delete-tax-rate-names-bulk-delete-tax-rate-names-delete"><span class="badge delete"><i class="fa fa-times"></i></span>Bulk Delete Tax Rate Names</a></li></ul></div></div><div class="resource-group"><div class="heading"><div class="chevron"><i class="open fa fa-angle-down"></i></div><a href="#invoices">Invoices</a></div><div class="collapse-content"><ul><li><a href="#invoices-invoice-list-invoice-list-get"><span class="badge get"><i class="fa fa-arrow-down"></i></span>List All Invoices</a></li><li><a href="#invoices-invoice-list-invoice-list-post"><span class="badge post"><i class="fa fa-plus"></i></span>Create An Invoice</a></li><li><a href="#invoices-manage-single-invoice">Manage Single Invoice</a><ul><li><a href="#invoices-manage-single-invoice-manage-single-invoice-get"><span class="badge get"><i class="fa fa-arrow-down"></i></span>Retrieve An Invoice</a></li><li><a href="#invoices-manage-single-invoice-manage-single-invoice-put"><span class="badge put"><i class="fa fa-pencil"></i></span>Update An Invoice</a></li></ul></li><li><a href="#invoices-void-invoice-void-invoice-post"><span class="badge post"><i class="fa fa-plus"></i></span>Void an Invoices</a></li><li><a href="#invoices-due-invoices-of-a-customer-due-invoices-of-a-customer-get"><span class="badge get"><i class="fa fa-arrow-down"></i></span>List All Due Invoices</a></li><li><a href="#invoices-upload-attachments-upload-attachments-post"><span class="badge post"><i class="fa fa-plus"></i></span>Upload an Attachment</a></li><li><a href="#invoices-get-receivables-overview-get-receivables-overview-get"><span class="badge get"><i class="fa fa-arrow-down"></i></span>List Receivables overview</a></li></ul></div></div><div class="resource-group"><div class="heading"><div class="chevron"><i class="open fa fa-angle-down"></i></div><a href="#payments">Payments</a></div><div class="collapse-content"><ul><li><a href="#payments-payments-list">Payments List</a><ul><li><a href="#payments-payments-list-payments-list-get"><span class="badge get"><i class="fa fa-arrow-down"></i></span>List All Payments</a></li><li><a href="#payments-payments-list-payments-list-post"><span class="badge post"><i class="fa fa-plus"></i></span>Create A Payment</a></li></ul></li><li><a href="#payments-manage-single-payment">Manage Single Payment</a><ul><li><a href="#payments-manage-single-payment-manage-single-payment-get"><span class="badge get"><i class="fa fa-arrow-down"></i></span>Retrieve A Payment</a></li><li><a href="#payments-manage-single-payment-manage-single-payment-put"><span class="badge put"><i class="fa fa-pencil"></i></span>Update A Payment</a></li></ul></li><li><a href="#payments-void-payment-void-payment-post"><span class="badge post"><i class="fa fa-plus"></i></span>Void a Payment</a></li></ul></div></div><div class="resource-group"><div class="heading"><div class="chevron"><i class="open fa fa-angle-down"></i></div><a href="#expenses">Expenses</a></div><div class="collapse-content"><ul><li><a href="#expenses-manage-expense-collection-manage-expense-collection-get"><span class="badge get"><i class="fa fa-arrow-down"></i></span>List All Expenses</a></li><li><a href="#expenses-expense-list-expense-list-post"><span class="badge post"><i class="fa fa-plus"></i></span>Create An Expense</a></li><li><a href="#expenses-manage-single-expense">Manage Single Expense</a><ul><li><a href="#expenses-manage-single-expense-manage-single-expense-get"><span class="badge get"><i class="fa fa-arrow-down"></i></span>Retrieve An Expense</a></li><li><a href="#expenses-manage-single-expense-manage-single-expense-put"><span class="badge put"><i class="fa fa-pencil"></i></span>Update An Expense</a></li></ul></li><li><a href="#expenses-void-expense-void-expense-post"><span class="badge post"><i class="fa fa-plus"></i></span>Void an Expenses</a></li><li><a href="#expenses-manage-single-check-manage-single-check-get"><span class="badge get"><i class="fa fa-arrow-down"></i></span>Retrieve A Check</a></li></ul></div></div><div class="resource-group"><div class="heading"><div class="chevron"><i class="open fa fa-angle-down"></i></div><a href="#bills">Bills</a></div><div class="collapse-content"><ul><li><a href="#bills-bill-list-bill-list-get"><span class="badge get"><i class="fa fa-arrow-down"></i></span>List All Bills</a></li><li><a href="#bills-bill-list-bill-list-post"><span class="badge post"><i class="fa fa-plus"></i></span>Create A Bill</a></li><li><a href="#bills-manage-single-bill">Manage Single Bill</a><ul><li><a href="#bills-manage-single-bill-manage-single-bill-get"><span class="badge get"><i class="fa fa-arrow-down"></i></span>Retrieve A Bill</a></li><li><a href="#bills-manage-single-bill-manage-single-bill-put"><span class="badge put"><i class="fa fa-pencil"></i></span>Update A Bill</a></li></ul></li><li><a href="#bills-void-bills-void-bills-post"><span class="badge post"><i class="fa fa-plus"></i></span>Void a Bill</a></li><li><a href="#bills-due-bills-of-a-vendor-due-bills-of-a-vendor-get"><span class="badge get"><i class="fa fa-arrow-down"></i></span>List All Due Bills</a></li><li><a href="#bills-get-payables-overview-get-payables-overview-get"><span class="badge get"><i class="fa fa-arrow-down"></i></span>List Payables overview</a></li></ul></div></div><div class="resource-group"><div class="heading"><div class="chevron"><i class="open fa fa-angle-down"></i></div><a href="#pay-bills">Pay Bills</a></div><div class="collapse-content"><ul><li><a href="#pay-bills-pay-bill-list-pay-bill-list-get"><span class="badge get"><i class="fa fa-arrow-down"></i></span>List All Pay Bills</a></li><li><a href="#pay-bills-pay-bill-list-pay-bill-list-post"><span class="badge post"><i class="fa fa-plus"></i></span>Create A Pay Bill</a></li><li><a href="#pay-bills-manage-single-pay-bill">Manage Single Pay Bill</a><ul><li><a href="#pay-bills-manage-single-pay-bill-manage-single-pay-bill-get"><span class="badge get"><i class="fa fa-arrow-down"></i></span>Retrieve An Pay Bill</a></li><li><a href="#pay-bills-manage-single-pay-bill-manage-single-pay-bill-put"><span class="badge put"><i class="fa fa-pencil"></i></span>Update An Pay Bill</a></li></ul></li><li><a href="#pay-bills-void-pay-bill-void-pay-bill-post"><span class="badge post"><i class="fa fa-plus"></i></span>Void a Pay Bill</a></li></ul></div></div><div class="resource-group"><div class="heading"><div class="chevron"><i class="open fa fa-angle-down"></i></div><a href="#purchases">Purchases</a></div><div class="collapse-content"><ul><li><a href="#purchases-purchase-list-purchase-list-get"><span class="badge get"><i class="fa fa-arrow-down"></i></span>List All Purchases</a></li><li><a href="#purchases-purchase-list-purchase-list-post"><span class="badge post"><i class="fa fa-plus"></i></span>Create A Purchase</a></li><li><a href="#purchases-manage-single-purchase">Manage Single Purchase</a><ul><li><a href="#purchases-manage-single-purchase-manage-single-purchase-get"><span class="badge get"><i class="fa fa-arrow-down"></i></span>Retrieve A Purchase</a></li><li><a href="#purchases-manage-single-purchase-manage-single-purchase-put"><span class="badge put"><i class="fa fa-pencil"></i></span>Update A Purchase</a></li></ul></li><li><a href="#purchases-void-purchases-void-purchases-post"><span class="badge post"><i class="fa fa-plus"></i></span>Void a Purchase</a></li><li><a href="#purchases-due-purchases-from-a-vendor-due-purchases-from-a-vendor-get"><span class="badge get"><i class="fa fa-arrow-down"></i></span>List All Due Purchases</a></li></ul></div></div><div class="resource-group"><div class="heading"><div class="chevron"><i class="open fa fa-angle-down"></i></div><a href="#pay-purchases">Pay Purchases</a></div><div class="collapse-content"><ul><li><a href="#pay-purchases-pay-purchases-list-pay-purchases-list-get"><span class="badge get"><i class="fa fa-arrow-down"></i></span>List All Pay Purchases</a></li><li><a href="#pay-purchases-pay-purchases-list-pay-purchases-list-post"><span class="badge post"><i class="fa fa-plus"></i></span>Create A Pay Purchase</a></li><li><a href="#pay-purchases-manage-single-pay-purchase">Manage Single Pay Purchase</a><ul><li><a href="#pay-purchases-manage-single-pay-purchase-manage-single-pay-purchase-get"><span class="badge get"><i class="fa fa-arrow-down"></i></span>Retrieve A Pay Purchase</a></li><li><a href="#pay-purchases-manage-single-pay-purchase-manage-single-pay-purchase-put"><span class="badge put"><i class="fa fa-pencil"></i></span>Update A Pay Purchase</a></li></ul></li><li><a href="#pay-purchases-void-pay-purchases-void-pay-purchases-post"><span class="badge post"><i class="fa fa-plus"></i></span>Void a Pay Purchase</a></li></ul></div></div><div class="resource-group"><div class="heading"><div class="chevron"><i class="open fa fa-angle-down"></i></div><a href="#journals">Journals</a></div><div class="collapse-content"><ul><li><a href="#journals-journal-list-journal-list-get"><span class="badge get"><i class="fa fa-arrow-down"></i></span>List All Journals</a></li><li><a href="#journals-journal-list-journal-list-post"><span class="badge post"><i class="fa fa-plus"></i></span>Create A Journal</a></li><li><a href="#journals-manage-single-journal-manage-single-journal-get"><span class="badge get"><i class="fa fa-arrow-down"></i></span>Retrieve A Journal</a></li><li><a href="#journals-next-journal-number-next-journal-number-get"><span class="badge get"><i class="fa fa-arrow-down"></i></span>Retrieve the index number of next Journal</a></li></ul></div></div><div class="resource-group"><div class="heading"><div class="chevron"><i class="open fa fa-angle-down"></i></div><a href="#transactions">Transactions</a></div><div class="collapse-content"><ul><li><a href="#transactions-retrieve-transaction-type-of-a-voucher-number-retrieve-transaction-type-of-a-voucher-number-get"><span class="badge get"><i class="fa fa-arrow-down"></i></span>Retrieve The Type of a Transaction</a></li><li><a href="#transactions-retrieve-transaction-statuses-retrieve-transaction-statuses-get"><span class="badge get"><i class="fa fa-arrow-down"></i></span>Retrieve all The Statuses of a Transactions</a></li><li><a href="#transactions-retrieve-sales-transactions-retrieve-sales-transactions-get"><span class="badge get"><i class="fa fa-arrow-down"></i></span>Retrieve all The Sales Transactions</a></li><li><a href="#transactions-retrieve-expenses-transactions-retrieve-expenses-transactions-get"><span class="badge get"><i class="fa fa-arrow-down"></i></span>Retrieve all The Expenses Transactions</a></li><li><a href="#transactions-retrieve-purchases-transactions-retrieve-purchases-transactions-get"><span class="badge get"><i class="fa fa-arrow-down"></i></span>Retrieve all The Purchases Transactions</a></li><li><a href="#transactions-retrieve-sales-chart-statuses-retrieve-sales-chart-statuses-get"><span class="badge get"><i class="fa fa-arrow-down"></i></span>Retrieve Sales Chart Status Data</a></li><li><a href="#transactions-retrieve-sales-chart-payments-retrieve-sales-chart-payments-get"><span class="badge get"><i class="fa fa-arrow-down"></i></span>Retrieve Sales Chart Payment Data</a></li><li><a href="#transactions-get-incomes-expense-overview-get-incomes-expense-overview-get"><span class="badge get"><i class="fa fa-arrow-down"></i></span>Retrieve Incomes Expense Overview Data</a></li><li><a href="#transactions-retrieve-expenses-chart-payments-retrieve-expenses-chart-payments-get"><span class="badge get"><i class="fa fa-arrow-down"></i></span>Retrieve Expenses Chart Payment Data</a></li><li><a href="#transactions-retrieve-expenses-chart-statuses-retrieve-expenses-chart-statuses-get"><span class="badge get"><i class="fa fa-arrow-down"></i></span>Retrieve Expenses Chart Status Data</a></li><li><a href="#transactions-retrieve-purchases-chart-payments-retrieve-purchases-chart-payments-get"><span class="badge get"><i class="fa fa-arrow-down"></i></span>Retrieve Purchases Chart Payment Data</a></li><li><a href="#transactions-retrieve-purchases-chart-statuses-retrieve-purchases-chart-statuses-get"><span class="badge get"><i class="fa fa-arrow-down"></i></span>Retrieve Purchases Chart Status Data</a></li><li><a href="#transactions-retrieve-payment-methods-retrieve-payment-methods-get"><span class="badge get"><i class="fa fa-arrow-down"></i></span>Retrieve Available Payment Methods data</a></li><li><a href="#transactions-retrieve-people-transaction-data-retrieve-people-transaction-data-get"><span class="badge get"><i class="fa fa-arrow-down"></i></span>Retrieve Purchases Chart Payment Data</a></li><li><a href="#transactions-retrieve-purchases-chart-statuses-retrieve-purchases-chart-statuses-get-1"><span class="badge get"><i class="fa fa-arrow-down"></i></span>Retrieve Purchases Chart Status Data</a></li></ul></div></div><div class="resource-group"><div class="heading"><div class="chevron"><i class="open fa fa-angle-down"></i></div><a href="#transaction-pdf-&-mail">Transaction Pdf & Mail</a></div><div class="collapse-content"><ul><li><a href="#header-send-a-transaction-copy-by-mail-[transactions-send-pdf-{id}]">Send a transaction copy by mail [transactions/send-pdf/{id}]</a></li><li><a href="#header-send-a-transaction-copy-by-mail-as-pdf-[post]">Send a transaction copy by mail as pdf [POST]</a></li></ul></div></div><div class="resource-group"><div class="heading"><div class="chevron"><i class="open fa fa-angle-down"></i></div><a href="#reports">Reports</a></div><div class="collapse-content"><ul><li><a href="#reports-trial-balance-trial-balance-get"><span class="badge get"><i class="fa fa-arrow-down"></i></span>Show All Trial Balance</a></li><li><a href="#reports-income-statement-income-statement-get"><span class="badge get"><i class="fa fa-arrow-down"></i></span>Show All Income Statement</a></li><li><a href="#reports-sales-tax-sales-tax-get"><span class="badge get"><i class="fa fa-arrow-down"></i></span>Show Sales Tax Report of an Agency</a></li><li><a href="#reports-balance-sheet-balance-sheet-get"><span class="badge get"><i class="fa fa-arrow-down"></i></span>Show All Balance Sheet</a></li><li><a href="#reports-ledger-report-ledger-report-get"><span class="badge get"><i class="fa fa-arrow-down"></i></span>Show Ledger Report of an Account</a></li></ul></div></div><p style="text-align: center; word-wrap: break-word;"><a href="https://example.com/wp-json/erp/v1/accounting">https://example.com/wp-json/erp/v1/accounting</a></p></nav><div class="content"><div id="right-panel-background"></div><div class="middle"><header><h1 id="top">WP ERP REST API</h1></header></div><div class="right"><h5>API Endpoint</h5><a href="https://example.com/wp-json/erp/v1/accounting">https://example.com/wp-json/erp/v1/accounting</a></div><div class="middle"><h1 id="header-accounting-api">Accounting API <a class="permalink" href="#header-accounting-api" aria-hidden="true">¶</a></h1>
</div><div class="middle"><section class="resource-group" id="customers"><h2 class="group-heading">Customers <a class="permalink" href="#customers">¶</a></h2></section></div><div class="middle"><div class="resource" id="customers-customer-list"><h3 class="resource-heading">Customer List <a class="permalink" href="#customers-customer-list">¶</a></h3></div></div><div class="right"><div class="definition"><span class="method get">GET</span> <span class="uri"><span class="hostname">https://example.com/wp-json/erp/v1/accounting</span>/customers/?<span class="hljs-attribute">per_page=</span><span class="hljs-literal">20</span>&<span class="hljs-attribute">page=</span><span class="hljs-literal">1</span>&<span class="hljs-attribute">search=</span><span class="hljs-literal"></span></span></div><div class="tabs"><div class="example-names"><span>Requests</span><span class="tab-button">example 1</span></div><div class="tab"><div><div class="inner"><h5>Headers</h5><pre><code><span class="hljs-attribute">Content-Type</span>: application/json</code></pre><div style="height: 1px;"></div></div></div><div class="tabs"><div class="example-names"><span>Responses</span><span class="tab-button">200</span></div><div class="tab"><div><div class="inner"><h5>Headers</h5><pre><code><span class="hljs-attribute">Content-Type</span>: application/json</code></pre><div style="height: 1px;"></div><h5>Body</h5><pre><code>[
{
<span class="hljs-attr">"id"</span>: <span class="hljs-number">41</span>,
<span class="hljs-attr">"first_name"</span>: <span class="hljs-string">"John"</span>,
<span class="hljs-attr">"last_name"</span>: <span class="hljs-string">"Smith"</span>,
<span class="hljs-attr">"email"</span>: <span class="hljs-string">"[email protected]"</span>,
<span class="hljs-attr">"phone"</span>: <span class="hljs-string">"1234567890"</span>,
<span class="hljs-attr">"mobile"</span>: <span class="hljs-string">""</span>,
<span class="hljs-attr">"fax"</span>: <span class="hljs-literal">null</span>,
<span class="hljs-attr">"website"</span>: <span class="hljs-string">""</span>,
<span class="hljs-attr">"notes"</span>: <span class="hljs-string">""</span>,
<span class="hljs-attr">"other"</span>: <span class="hljs-literal">null</span>,
<span class="hljs-attr">"company"</span>: <span class="hljs-string">"ABC Inc."</span>,
<span class="hljs-attr">"photo_id"</span>: <span class="hljs-literal">null</span>,
<span class="hljs-attr">"photo"</span>: <span class="hljs-literal">null</span>,
<span class="hljs-attr">"billing"</span>: {
<span class="hljs-attr">"first_name"</span>: <span class="hljs-string">"John"</span>,
<span class="hljs-attr">"last_name"</span>: <span class="hljs-string">"Smith"</span>,
<span class="hljs-attr">"street_1"</span>: <span class="hljs-string">"43 Edgewood Rd."</span>,
<span class="hljs-attr">"street_2"</span>: <span class="hljs-string">""</span>,
<span class="hljs-attr">"city"</span>: <span class="hljs-string">"Riverside"</span>,
<span class="hljs-attr">"state"</span>: <span class="hljs-string">"CA"</span>,
<span class="hljs-attr">"postal_code"</span>: <span class="hljs-string">"94544"</span>,
<span class="hljs-attr">"country"</span>: <span class="hljs-string">"US"</span>,
<span class="hljs-attr">"email"</span>: <span class="hljs-string">"[email protected]"</span>,
<span class="hljs-attr">"phone"</span>: <span class="hljs-string">"1234567890"</span>
},
<span class="hljs-attr">"namespace"</span>: <span class="hljs-string">"erp/v1"</span>,
<span class="hljs-attr">"rest_base"</span>: <span class="hljs-string">"accounting/v1/customers"</span>,
<span class="hljs-attr">"_links"</span>: {
<span class="hljs-attr">"self"</span>: {
<span class="hljs-attr">"href"</span>: <span class="hljs-string">"https://example.com/wp-json/erp/v1/accounting/v1/customers/41"</span>
},
<span class="hljs-attr">"collection"</span>: {
<span class="hljs-attr">"href"</span>: <span class="hljs-string">"https://example.com/wp-json/erp/v1/accounting/v1/customers"</span>
}
}
}
]</code></pre><div style="height: 1px;"></div></div></div></div></div></div></div></div><div class="middle"><div class="action get" id="customers-customer-list-customer-list-get"><h4 class="action-heading"><div class="name">List All Customers</div><a class="method get" href="#customers-customer-list-customer-list-get">GET</a><code class="uri">/customers/{?per_page,page,search}</code></h4><p>Fetches all available customers with pagination</p>
<div class="title"><strong>URI Parameters</strong><div class="collapse-button show"><span class="close">Hide</span><span class="open">Show</span></div></div><div class="collapse-content"><dl class="inner"><dt>per_page</dt><dd><code>number</code> <span>(optional)</span> <span class="text-muted example"><strong>Example: </strong><span>20</span></span><p>The number of results per page.</p>
</dd><dt>page</dt><dd><code>number</code> <span>(optional)</span> <span class="text-muted example"><strong>Example: </strong><span>1</span></span><p>The current page number of results.</p>
</dd><dt>search</dt><dd><code>string</code> <span>(optional)</span> <p>The search keyword.</p>
</dd></dl></div></div></div><hr class="split"><div class="right"><div class="definition"><span class="method post">POST</span> <span class="uri"><span class="hostname">https://example.com/wp-json/erp/v1/accounting</span>/customers/?<span class="hljs-attribute">per_page=</span><span class="hljs-literal">20</span>&<span class="hljs-attribute">page=</span><span class="hljs-literal">1</span>&<span class="hljs-attribute">search=</span><span class="hljs-literal"></span></span></div><div class="tabs"><div class="example-names"><span>Requests</span><span class="tab-button">example 1</span></div><div class="tab"><div><div class="inner"><h5>Headers</h5><pre><code><span class="hljs-attribute">Content-Type</span>: application/json</code></pre><div style="height: 1px;"></div></div></div><div class="tabs"><div class="example-names"><span>Responses</span><span class="tab-button">201</span></div><div class="tab"><div><div class="inner"><h5>Headers</h5><pre><code><span class="hljs-attribute">Content-Type</span>: application/json</code></pre><div style="height: 1px;"></div><h5>Body</h5><pre><code>{
<span class="hljs-attr">"id"</span>: <span class="hljs-number">41</span>,
<span class="hljs-attr">"first_name"</span>: <span class="hljs-string">"John"</span>,
<span class="hljs-attr">"last_name"</span>: <span class="hljs-string">"Smith"</span>,
<span class="hljs-attr">"email"</span>: <span class="hljs-string">"[email protected]"</span>,
<span class="hljs-attr">"phone"</span>: <span class="hljs-string">"1234567890"</span>,
<span class="hljs-attr">"mobile"</span>: <span class="hljs-string">""</span>,
<span class="hljs-attr">"fax"</span>: <span class="hljs-literal">null</span>,
<span class="hljs-attr">"website"</span>: <span class="hljs-string">""</span>,
<span class="hljs-attr">"notes"</span>: <span class="hljs-string">""</span>,
<span class="hljs-attr">"other"</span>: <span class="hljs-literal">null</span>,
<span class="hljs-attr">"company"</span>: <span class="hljs-string">"ABC Inc."</span>,
<span class="hljs-attr">"photo_id"</span>: <span class="hljs-literal">null</span>,
<span class="hljs-attr">"photo"</span>: <span class="hljs-literal">null</span>,
<span class="hljs-attr">"billing"</span>: {
<span class="hljs-attr">"first_name"</span>: <span class="hljs-string">"John"</span>,
<span class="hljs-attr">"last_name"</span>: <span class="hljs-string">"Smith"</span>,
<span class="hljs-attr">"street_1"</span>: <span class="hljs-string">"43 Edgewood Rd."</span>,
<span class="hljs-attr">"street_2"</span>: <span class="hljs-string">""</span>,
<span class="hljs-attr">"city"</span>: <span class="hljs-string">"Riverside"</span>,
<span class="hljs-attr">"state"</span>: <span class="hljs-string">"CA"</span>,
<span class="hljs-attr">"postal_code"</span>: <span class="hljs-string">"94544"</span>,
<span class="hljs-attr">"country"</span>: <span class="hljs-string">"US"</span>,
<span class="hljs-attr">"email"</span>: <span class="hljs-string">"[email protected]"</span>,
<span class="hljs-attr">"phone"</span>: <span class="hljs-string">"1234567890"</span>
},
<span class="hljs-attr">"namespace"</span>: <span class="hljs-string">"erp/v1"</span>,
<span class="hljs-attr">"rest_base"</span>: <span class="hljs-string">"accounting/v1/customers"</span>,
<span class="hljs-attr">"_links"</span>: {
<span class="hljs-attr">"self"</span>: {
<span class="hljs-attr">"href"</span>: <span class="hljs-string">"https://example.com/wp-json/erp/v1/accounting/v1/customers/41"</span>
},
<span class="hljs-attr">"collection"</span>: {
<span class="hljs-attr">"href"</span>: <span class="hljs-string">"https://example.com/wp-json/erp/v1/accounting/v1/customers"</span>
}
}
}</code></pre><div style="height: 1px;"></div></div></div></div></div></div></div></div><div class="middle"><div class="action post" id="customers-customer-list-customer-list-post"><h4 class="action-heading"><div class="name">Create A Customer</div><a class="method post" href="#customers-customer-list-customer-list-post">POST</a><code class="uri">/customers/{?per_page,page,search}</code></h4><p>Model (application/json)</p>
<pre><code>{
<span class="hljs-attr">"first_name"</span>:<span class="hljs-string">"John"</span>,
<span class="hljs-attr">"last_name"</span>:<span class="hljs-string">"Smith"</span>,
<span class="hljs-attr">"email"</span>:<span class="hljs-string">"[email protected]"</span>,
<span class="hljs-attr">"mobile"</span>:<span class="hljs-string">""</span>,
<span class="hljs-attr">"company"</span>:<span class="hljs-string">"ABC Inc."</span>,
<span class="hljs-attr">"phone"</span>:<span class="hljs-string">"1234567890"</span>,
<span class="hljs-attr">"website"</span>:<span class="hljs-string">""</span>,
<span class="hljs-attr">"notes"</span>:<span class="hljs-string">""</span>,
<span class="hljs-attr">"fax"</span>:<span class="hljs-string">""</span>,
<span class="hljs-attr">"street_1"</span>:<span class="hljs-string">"43 Edgewood Rd."</span>,
<span class="hljs-attr">"street_2"</span>:<span class="hljs-string">""</span>,
<span class="hljs-attr">"city"</span>:<span class="hljs-string">"Riverside"</span>,
<span class="hljs-attr">"country"</span>:{
<span class="hljs-attr">"id"</span>:<span class="hljs-string">"US"</span>,
<span class="hljs-attr">"name"</span>:<span class="hljs-string">"United States (US)"</span>
},
<span class="hljs-attr">"state"</span>:{
<span class="hljs-attr">"id"</span>:<span class="hljs-string">"CA"</span>,
<span class="hljs-attr">"name"</span>:<span class="hljs-string">"California"</span>
},
<span class="hljs-attr">"postal_code"</span>:<span class="hljs-string">"94544"</span>,
<span class="hljs-attr">"photo_id"</span>:<span class="hljs-literal">null</span>,
<span class="hljs-attr">"photo"</span>:<span class="hljs-string">"https://example.com/wp-content/plugins/wp-erp/assets/images/mystery-person.png"</span>
}</code></pre>
<div class="title"><strong>URI Parameters</strong><div class="collapse-button show"><span class="close">Hide</span><span class="open">Show</span></div></div><div class="collapse-content"><dl class="inner"><dt>per_page</dt><dd><code>number</code> <span>(optional)</span> <span class="text-muted example"><strong>Example: </strong><span>20</span></span><p>The number of results per page.</p>
</dd><dt>page</dt><dd><code>number</code> <span>(optional)</span> <span class="text-muted example"><strong>Example: </strong><span>1</span></span><p>The current page number of results.</p>
</dd><dt>search</dt><dd><code>string</code> <span>(optional)</span> <p>The search keyword.</p>
</dd></dl></div></div></div><hr class="split"><div class="middle"><div class="resource" id="customers-manage-single-customer"><h3 class="resource-heading">Manage Single Customer <a class="permalink" href="#customers-manage-single-customer">¶</a></h3></div></div><div class="right"><div class="definition"><span class="method get">GET</span> <span class="uri"><span class="hostname">https://example.com/wp-json/erp/v1/accounting</span>/customers/<span class="hljs-attribute" title="id">id</span></span></div><div class="tabs"><div class="example-names"><span>Requests</span><span class="tab-button">example 1</span></div><div class="tab"><div><div class="inner"><h5>Headers</h5><pre><code><span class="hljs-attribute">Content-Type</span>: application/json</code></pre><div style="height: 1px;"></div></div></div><div class="tabs"><div class="example-names"><span>Responses</span><span class="tab-button">200</span></div><div class="tab"><div><div class="inner"><h5>Headers</h5><pre><code><span class="hljs-attribute">Content-Type</span>: application/json</code></pre><div style="height: 1px;"></div><h5>Body</h5><pre><code>{
<span class="hljs-attr">"id"</span>: <span class="hljs-number">41</span>,
<span class="hljs-attr">"first_name"</span>: <span class="hljs-string">"John"</span>,
<span class="hljs-attr">"last_name"</span>: <span class="hljs-string">"Smith"</span>,
<span class="hljs-attr">"email"</span>: <span class="hljs-string">"[email protected]"</span>,
<span class="hljs-attr">"phone"</span>: <span class="hljs-string">"1234567890"</span>,
<span class="hljs-attr">"mobile"</span>: <span class="hljs-string">""</span>,
<span class="hljs-attr">"fax"</span>: <span class="hljs-literal">null</span>,
<span class="hljs-attr">"website"</span>: <span class="hljs-string">""</span>,
<span class="hljs-attr">"notes"</span>: <span class="hljs-string">""</span>,
<span class="hljs-attr">"other"</span>: <span class="hljs-literal">null</span>,
<span class="hljs-attr">"company"</span>: <span class="hljs-string">"ABC Inc."</span>,
<span class="hljs-attr">"photo_id"</span>: <span class="hljs-literal">null</span>,
<span class="hljs-attr">"photo"</span>: <span class="hljs-literal">null</span>,
<span class="hljs-attr">"billing"</span>: {
<span class="hljs-attr">"first_name"</span>: <span class="hljs-string">"John"</span>,
<span class="hljs-attr">"last_name"</span>: <span class="hljs-string">"Smith"</span>,
<span class="hljs-attr">"street_1"</span>: <span class="hljs-string">"43 Edgewood Rd."</span>,
<span class="hljs-attr">"street_2"</span>: <span class="hljs-string">""</span>,
<span class="hljs-attr">"city"</span>: <span class="hljs-string">"Riverside"</span>,
<span class="hljs-attr">"state"</span>: <span class="hljs-string">"CA"</span>,
<span class="hljs-attr">"postal_code"</span>: <span class="hljs-string">"94544"</span>,
<span class="hljs-attr">"country"</span>: <span class="hljs-string">"US"</span>,
<span class="hljs-attr">"email"</span>: <span class="hljs-string">"[email protected]"</span>,
<span class="hljs-attr">"phone"</span>: <span class="hljs-string">"1234567890"</span>
},
<span class="hljs-attr">"namespace"</span>: <span class="hljs-string">"erp/v1"</span>,
<span class="hljs-attr">"rest_base"</span>: <span class="hljs-string">"accounting/v1/customers"</span>,
<span class="hljs-attr">"_links"</span>: {
<span class="hljs-attr">"self"</span>: {
<span class="hljs-attr">"href"</span>: <span class="hljs-string">"https://example.com/wp-json/erp/v1/accounting/v1/customers/41"</span>
},
<span class="hljs-attr">"collection"</span>: {
<span class="hljs-attr">"href"</span>: <span class="hljs-string">"https://example.com/wp-json/erp/v1/accounting/v1/customers"</span>
}
}
}</code></pre><div style="height: 1px;"></div></div></div></div></div></div></div></div><div class="middle"><div class="action get" id="customers-manage-single-customer-manage-single-customer-get"><h4 class="action-heading"><div class="name">Retrieve A Customer</div><a class="method get" href="#customers-manage-single-customer-manage-single-customer-get">GET</a><code class="uri">/customers/{id}</code></h4><div class="title"><strong>URI Parameters</strong><div class="collapse-button show"><span class="close">Hide</span><span class="open">Show</span></div></div><div class="collapse-content"><dl class="inner"><dt>id</dt><dd><code>string</code> <span class="required">(required)</span> <p>id of the customer in the form of an string</p>
</dd></dl></div></div></div><hr class="split"><div class="right"><div class="definition"><span class="method put">PUT</span> <span class="uri"><span class="hostname">https://example.com/wp-json/erp/v1/accounting</span>/customers/<span class="hljs-attribute" title="id">id</span></span></div><div class="tabs"><div class="example-names"><span>Requests</span><span class="tab-button">example 1</span></div><div class="tab"><div><div class="inner"><h5>Headers</h5><pre><code><span class="hljs-attribute">Content-Type</span>: application/json</code></pre><div style="height: 1px;"></div></div></div><div class="tabs"><div class="example-names"><span>Responses</span><span class="tab-button">201</span></div><div class="tab"><div><div class="inner"><h5>Headers</h5><pre><code><span class="hljs-attribute">Content-Type</span>: application/json</code></pre><div style="height: 1px;"></div><h5>Body</h5><pre><code>{
<span class="hljs-attr">"id"</span>: <span class="hljs-number">41</span>,
<span class="hljs-attr">"first_name"</span>: <span class="hljs-string">"John"</span>,
<span class="hljs-attr">"last_name"</span>: <span class="hljs-string">"Smith"</span>,
<span class="hljs-attr">"email"</span>: <span class="hljs-string">"[email protected]"</span>,
<span class="hljs-attr">"phone"</span>: <span class="hljs-string">"1234567890"</span>,
<span class="hljs-attr">"mobile"</span>: <span class="hljs-string">""</span>,
<span class="hljs-attr">"fax"</span>: <span class="hljs-literal">null</span>,
<span class="hljs-attr">"website"</span>: <span class="hljs-string">""</span>,
<span class="hljs-attr">"notes"</span>: <span class="hljs-string">""</span>,
<span class="hljs-attr">"other"</span>: <span class="hljs-literal">null</span>,
<span class="hljs-attr">"company"</span>: <span class="hljs-string">"ABC Inc."</span>,
<span class="hljs-attr">"photo_id"</span>: <span class="hljs-literal">null</span>,
<span class="hljs-attr">"photo"</span>: <span class="hljs-literal">null</span>,
<span class="hljs-attr">"billing"</span>: {
<span class="hljs-attr">"first_name"</span>: <span class="hljs-string">"John"</span>,
<span class="hljs-attr">"last_name"</span>: <span class="hljs-string">"Smith"</span>,
<span class="hljs-attr">"street_1"</span>: <span class="hljs-string">"43 Edgewood Rd."</span>,
<span class="hljs-attr">"street_2"</span>: <span class="hljs-string">""</span>,
<span class="hljs-attr">"city"</span>: <span class="hljs-string">"Riverside"</span>,
<span class="hljs-attr">"state"</span>: <span class="hljs-string">"CA"</span>,
<span class="hljs-attr">"postal_code"</span>: <span class="hljs-string">"94544"</span>,
<span class="hljs-attr">"country"</span>: <span class="hljs-string">"US"</span>,
<span class="hljs-attr">"email"</span>: <span class="hljs-string">"[email protected]"</span>,
<span class="hljs-attr">"phone"</span>: <span class="hljs-string">"1234567890"</span>
},
<span class="hljs-attr">"namespace"</span>: <span class="hljs-string">"erp/v1"</span>,
<span class="hljs-attr">"rest_base"</span>: <span class="hljs-string">"accounting/v1/customers"</span>,
<span class="hljs-attr">"_links"</span>: {
<span class="hljs-attr">"self"</span>: {
<span class="hljs-attr">"href"</span>: <span class="hljs-string">"https://example.com/wp-json/erp/v1/accounting/v1/customers/41"</span>
},
<span class="hljs-attr">"collection"</span>: {
<span class="hljs-attr">"href"</span>: <span class="hljs-string">"https://example.com/wp-json/erp/v1/accounting/v1/customers"</span>
}
}
}</code></pre><div style="height: 1px;"></div></div></div></div></div></div></div></div><div class="middle"><div class="action put" id="customers-manage-single-customer-manage-single-customer-put"><h4 class="action-heading"><div class="name">Edit A Customer</div><a class="method put" href="#customers-manage-single-customer-manage-single-customer-put">PUT</a><code class="uri">/customers/{id}</code></h4><p>Model (application/json)</p>
<pre><code>{
<span class="hljs-attr">"first_name"</span>:<span class="hljs-string">"John"</span>,
<span class="hljs-attr">"last_name"</span>:<span class="hljs-string">"Smith"</span>,
<span class="hljs-attr">"email"</span>:<span class="hljs-string">"[email protected]"</span>,
<span class="hljs-attr">"mobile"</span>:<span class="hljs-string">""</span>,
<span class="hljs-attr">"company"</span>:<span class="hljs-string">"ABC Inc."</span>,
<span class="hljs-attr">"phone"</span>:<span class="hljs-string">"1234567890"</span>,
<span class="hljs-attr">"website"</span>:<span class="hljs-string">""</span>,
<span class="hljs-attr">"notes"</span>:<span class="hljs-string">""</span>,
<span class="hljs-attr">"fax"</span>:<span class="hljs-string">""</span>,
<span class="hljs-attr">"street_1"</span>:<span class="hljs-string">"43 Edgewood Rd."</span>,
<span class="hljs-attr">"street_2"</span>:<span class="hljs-string">""</span>,
<span class="hljs-attr">"city"</span>:<span class="hljs-string">"Riverside"</span>,
<span class="hljs-attr">"country"</span>:{
<span class="hljs-attr">"id"</span>:<span class="hljs-string">"US"</span>,
<span class="hljs-attr">"name"</span>:<span class="hljs-string">"United States (US)"</span>
},
<span class="hljs-attr">"state"</span>:{
<span class="hljs-attr">"id"</span>:<span class="hljs-string">"CA"</span>,
<span class="hljs-attr">"name"</span>:<span class="hljs-string">"California"</span>
},
<span class="hljs-attr">"postal_code"</span>:<span class="hljs-string">"94544"</span>,
<span class="hljs-attr">"photo_id"</span>:<span class="hljs-literal">null</span>,
<span class="hljs-attr">"photo"</span>:<span class="hljs-string">"https://example.com/wp-content/plugins/wp-erp/assets/images/mystery-person.png"</span>
}</code></pre>
<div class="title"><strong>URI Parameters</strong><div class="collapse-button show"><span class="close">Hide</span><span class="open">Show</span></div></div><div class="collapse-content"><dl class="inner"><dt>id</dt><dd><code>string</code> <span class="required">(required)</span> <p>id of the customer in the form of an string</p>
</dd></dl></div></div></div><hr class="split"><div class="right"><div class="definition"><span class="method delete">DELETE</span> <span class="uri"><span class="hostname">https://example.com/wp-json/erp/v1/accounting</span>/customers/<span class="hljs-attribute" title="id">id</span></span></div><div class="tabs"><div class="example-names"><span>Requests</span><span class="tab-button">example 1</span></div><div class="tab"><div><div class="inner"><h5>Headers</h5><pre><code><span class="hljs-attribute">Content-Type</span>: application/json</code></pre><div style="height: 1px;"></div></div></div><div class="tabs"><div class="example-names"><span>Responses</span><span class="tab-button">204</span></div><div class="tab"><div><div class="inner"><h5>Headers</h5><pre><code><span class="hljs-attribute">Content-Type</span>: application/json</code></pre><div style="height: 1px;"></div></div></div></div></div></div></div></div><div class="middle"><div class="action delete" id="customers-manage-single-customer-manage-single-customer-delete"><h4 class="action-heading"><div class="name">Delete A Customer</div><a class="method delete" href="#customers-manage-single-customer-manage-single-customer-delete">DELETE</a><code class="uri">/customers/{id}</code></h4><div class="title"><strong>URI Parameters</strong><div class="collapse-button show"><span class="close">Hide</span><span class="open">Show</span></div></div><div class="collapse-content"><dl class="inner"><dt>id</dt><dd><code>string</code> <span class="required">(required)</span> <p>id of the customer in the form of an string</p>
</dd></dl></div></div></div><hr class="split"><div class="middle"><div class="resource" id="customers-customers-transactions"><h3 class="resource-heading">Customers Transactions <a class="permalink" href="#customers-customers-transactions">¶</a></h3></div></div><div class="right"><div class="definition"><span class="method get">GET</span> <span class="uri"><span class="hostname">https://example.com/wp-json/erp/v1/accounting</span>/customers/<span class="hljs-attribute" title="id">id</span>/transactions/?<span class="hljs-attribute">per_page=</span><span class="hljs-literal">20</span>&<span class="hljs-attribute">page=</span><span class="hljs-literal">1</span>&<span class="hljs-attribute">search=</span><span class="hljs-literal"></span></span></div><div class="tabs"><div class="example-names"><span>Requests</span><span class="tab-button">example 1</span></div><div class="tab"><div><div class="inner"><h5>Headers</h5><pre><code><span class="hljs-attribute">Content-Type</span>: application/json</code></pre><div style="height: 1px;"></div></div></div><div class="tabs"><div class="example-names"><span>Responses</span><span class="tab-button">200</span></div><div class="tab"><div><div class="inner"><h5>Headers</h5><pre><code><span class="hljs-attribute">Content-Type</span>: application/json</code></pre><div style="height: 1px;"></div><h5>Body</h5><pre><code>[
{
<span class="hljs-attr">"voucher_no"</span>: <span class="hljs-literal">null</span>,
<span class="hljs-attr">"particulars"</span>: <span class="hljs-string">"Opening Balance"</span>,
<span class="hljs-attr">"people_id"</span>: <span class="hljs-literal">null</span>,
<span class="hljs-attr">"trn_no"</span>: <span class="hljs-literal">null</span>,
<span class="hljs-attr">"trn_date"</span>: <span class="hljs-literal">null</span>,
<span class="hljs-attr">"created_at"</span>: <span class="hljs-literal">null</span>,
<span class="hljs-attr">"debit"</span>: <span class="hljs-literal">null</span>,
<span class="hljs-attr">"credit"</span>: <span class="hljs-literal">null</span>,
<span class="hljs-attr">"balance"</span>: <span class="hljs-number">50</span>,
<span class="hljs-attr">"balance_val"</span>: <span class="hljs-number">0</span>
},
{
<span class="hljs-attr">"voucher_no"</span>: <span class="hljs-string">"2"</span>,
<span class="hljs-attr">"people_id"</span>: <span class="hljs-string">"23"</span>,
<span class="hljs-attr">"trn_date"</span>: <span class="hljs-string">"2020-03-30"</span>,
<span class="hljs-attr">"debit"</span>: <span class="hljs-string">"50.00"</span>,
<span class="hljs-attr">"credit"</span>: <span class="hljs-string">"0.00"</span>,
<span class="hljs-attr">"particulars"</span>: <span class="hljs-string">"Sales invoice"</span>,
<span class="hljs-attr">"created_at"</span>: <span class="hljs-string">"2020-03-30"</span>,
<span class="hljs-attr">"balance_val"</span>: <span class="hljs-number">50</span>,
<span class="hljs-attr">"balance"</span>: <span class="hljs-string">"$50 Dr"</span>
},
{
<span class="hljs-attr">"voucher_no"</span>: <span class="hljs-literal">null</span>,
<span class="hljs-attr">"particulars"</span>: <span class="hljs-string">"Total"</span>,
<span class="hljs-attr">"people_id"</span>: <span class="hljs-literal">null</span>,
<span class="hljs-attr">"trn_no"</span>: <span class="hljs-literal">null</span>,
<span class="hljs-attr">"trn_date"</span>: <span class="hljs-literal">null</span>,
<span class="hljs-attr">"created_at"</span>: <span class="hljs-literal">null</span>,
<span class="hljs-attr">"debit"</span>: <span class="hljs-number">50</span>,
<span class="hljs-attr">"credit"</span>: <span class="hljs-number">0</span>,
<span class="hljs-attr">"balance"</span>: <span class="hljs-literal">null</span>
}
]</code></pre><div style="height: 1px;"></div></div></div></div></div></div></div></div><div class="middle"><div class="action get" id="customers-customers-transactions-customers-transactions-get"><h4 class="action-heading"><div class="name">List All Transactions of a Customer</div><a class="method get" href="#customers-customers-transactions-customers-transactions-get">GET</a><code class="uri">/customers/{id}/transactions/{?per_page,page,search}</code></h4><div class="title"><strong>URI Parameters</strong><div class="collapse-button show"><span class="close">Hide</span><span class="open">Show</span></div></div><div class="collapse-content"><dl class="inner"><dt>id</dt><dd><code>string</code> <span class="required">(required)</span> <p>id of the customer in the form of an string</p>
</dd><dt>per_page</dt><dd><code>number</code> <span>(optional)</span> <span class="text-muted example"><strong>Example: </strong><span>20</span></span><p>The number of results per page.</p>
</dd><dt>page</dt><dd><code>number</code> <span>(optional)</span> <span class="text-muted example"><strong>Example: </strong><span>1</span></span><p>The current page number of results.</p>
</dd><dt>search</dt><dd><code>string</code> <span>(optional)</span> <p>The search keyword.</p>
</dd></dl></div></div></div><hr class="split"><div class="middle"><section class="resource-group" id="vendors"><h2 class="group-heading">Vendors <a class="permalink" href="#vendors">¶</a></h2></section></div><div class="middle"><div class="resource" id="vendors-vendor-list"><h3 class="resource-heading">Vendor List <a class="permalink" href="#vendors-vendor-list">¶</a></h3></div></div><div class="right"><div class="definition"><span class="method get">GET</span> <span class="uri"><span class="hostname">https://example.com/wp-json/erp/v1/accounting</span>/vendors/?<span class="hljs-attribute">per_page=</span><span class="hljs-literal">20</span>&<span class="hljs-attribute">page=</span><span class="hljs-literal">1</span>&<span class="hljs-attribute">search=</span><span class="hljs-literal"></span></span></div><div class="tabs"><div class="example-names"><span>Requests</span></div></div></div><div class="middle"><div class="action get" id="vendors-vendor-list-vendor-list-get"><h4 class="action-heading"><div class="name">List All Vendors</div><a class="method get" href="#vendors-vendor-list-vendor-list-get">GET</a><code class="uri">/vendors/{?per_page,page,search}</code></h4><p>Fetches all available vendors with pagination</p>
<div class="title"><strong>URI Parameters</strong><div class="collapse-button show"><span class="close">Hide</span><span class="open">Show</span></div></div><div class="collapse-content"><dl class="inner"><dt>per_page</dt><dd><code>number</code> <span>(optional)</span> <span class="text-muted example"><strong>Example: </strong><span>20</span></span><p>The number of results per page.</p>
</dd><dt>page</dt><dd><code>number</code> <span>(optional)</span> <span class="text-muted example"><strong>Example: </strong><span>1</span></span><p>The current page number of results.</p>
</dd><dt>search</dt><dd><code>string</code> <span>(optional)</span> <p>The search keyword.</p>
</dd></dl></div></div></div><hr class="split"><div class="right"><div class="definition"><span class="method post">POST</span> <span class="uri"><span class="hostname">https://example.com/wp-json/erp/v1/accounting</span>/vendors/?<span class="hljs-attribute">per_page=</span><span class="hljs-literal">20</span>&<span class="hljs-attribute">page=</span><span class="hljs-literal">1</span>&<span class="hljs-attribute">search=</span><span class="hljs-literal"></span></span></div><div class="tabs"><div class="example-names"><span>Requests</span></div></div></div><div class="middle"><div class="action post" id="vendors-vendor-list-vendor-list-post"><h4 class="action-heading"><div class="name">Create A Vendor</div><a class="method post" href="#vendors-vendor-list-vendor-list-post">POST</a><code class="uri">/vendors/{?per_page,page,search}</code></h4><p>Model (application/json)</p>
<pre><code>{
<span class="hljs-attr">"first_name"</span>:<span class="hljs-string">"John"</span>,
<span class="hljs-attr">"last_name"</span>:<span class="hljs-string">"Smith"</span>,
<span class="hljs-attr">"email"</span>:<span class="hljs-string">"[email protected]"</span>,
<span class="hljs-attr">"mobile"</span>:<span class="hljs-string">""</span>,
<span class="hljs-attr">"company"</span>:<span class="hljs-string">"ABC Inc."</span>,
<span class="hljs-attr">"phone"</span>:<span class="hljs-string">"1234567890"</span>,
<span class="hljs-attr">"website"</span>:<span class="hljs-string">""</span>,
<span class="hljs-attr">"notes"</span>:<span class="hljs-string">""</span>,
<span class="hljs-attr">"fax"</span>:<span class="hljs-string">""</span>,
<span class="hljs-attr">"street_1"</span>:<span class="hljs-string">"43 Edgewood Rd."</span>,
<span class="hljs-attr">"street_2"</span>:<span class="hljs-string">""</span>,
<span class="hljs-attr">"city"</span>:<span class="hljs-string">"Riverside"</span>,
<span class="hljs-attr">"country"</span>:{
<span class="hljs-attr">"id"</span>:<span class="hljs-string">"US"</span>,
<span class="hljs-attr">"name"</span>:<span class="hljs-string">"United States (US)"</span>
},
<span class="hljs-attr">"state"</span>:{
<span class="hljs-attr">"id"</span>:<span class="hljs-string">"CA"</span>,
<span class="hljs-attr">"name"</span>:<span class="hljs-string">"California"</span>
},
<span class="hljs-attr">"postal_code"</span>:<span class="hljs-string">"94544"</span>,
<span class="hljs-attr">"photo_id"</span>:<span class="hljs-literal">null</span>,
<span class="hljs-attr">"photo"</span>:<span class="hljs-string">"https://example.com/wp-content/plugins/wp-erp/assets/images/mystery-person.png"</span>
}</code></pre>
<div class="title"><strong>URI Parameters</strong><div class="collapse-button show"><span class="close">Hide</span><span class="open">Show</span></div></div><div class="collapse-content"><dl class="inner"><dt>per_page</dt><dd><code>number</code> <span>(optional)</span> <span class="text-muted example"><strong>Example: </strong><span>20</span></span><p>The number of results per page.</p>
</dd><dt>page</dt><dd><code>number</code> <span>(optional)</span> <span class="text-muted example"><strong>Example: </strong><span>1</span></span><p>The current page number of results.</p>
</dd><dt>search</dt><dd><code>string</code> <span>(optional)</span> <p>The search keyword.</p>
</dd></dl></div></div></div><hr class="split"><div class="middle"><div class="resource" id="vendors-manage-single-vendor"><h3 class="resource-heading">Manage Single Vendor <a class="permalink" href="#vendors-manage-single-vendor">¶</a></h3></div></div><div class="right"><div class="definition"><span class="method get">GET</span> <span class="uri"><span class="hostname">https://example.com/wp-json/erp/v1/accounting</span>/vendors/<span class="hljs-attribute" title="id">id</span></span></div><div class="tabs"><div class="example-names"><span>Requests</span></div></div></div><div class="middle"><div class="action get" id="vendors-manage-single-vendor-manage-single-vendor-get"><h4 class="action-heading"><div class="name">Retrieve A Vendor</div><a class="method get" href="#vendors-manage-single-vendor-manage-single-vendor-get">GET</a><code class="uri">/vendors/{id}</code></h4><div class="title"><strong>URI Parameters</strong><div class="collapse-button show"><span class="close">Hide</span><span class="open">Show</span></div></div><div class="collapse-content"><dl class="inner"><dt>id</dt><dd><code>string</code> <span class="required">(required)</span> <p>id of the vendor in the form of an string</p>
</dd></dl></div></div></div><hr class="split"><div class="right"><div class="definition"><span class="method put">PUT</span> <span class="uri"><span class="hostname">https://example.com/wp-json/erp/v1/accounting</span>/vendors/<span class="hljs-attribute" title="id">id</span></span></div><div class="tabs"><div class="example-names"><span>Requests</span></div></div></div><div class="middle"><div class="action put" id="vendors-manage-single-vendor-manage-single-vendor-put"><h4 class="action-heading"><div class="name">Edit A Vendor</div><a class="method put" href="#vendors-manage-single-vendor-manage-single-vendor-put">PUT</a><code class="uri">/vendors/{id}</code></h4><p>Model (application/json)</p>
<pre><code>{
<span class="hljs-attr">"first_name"</span>:<span class="hljs-string">"John"</span>,
<span class="hljs-attr">"last_name"</span>:<span class="hljs-string">"Smith"</span>,
<span class="hljs-attr">"email"</span>:<span class="hljs-string">"[email protected]"</span>,
<span class="hljs-attr">"mobile"</span>:<span class="hljs-string">""</span>,
<span class="hljs-attr">"company"</span>:<span class="hljs-string">"ABC Inc."</span>,
<span class="hljs-attr">"phone"</span>:<span class="hljs-string">"1234567890"</span>,
<span class="hljs-attr">"website"</span>:<span class="hljs-string">""</span>,
<span class="hljs-attr">"notes"</span>:<span class="hljs-string">""</span>,
<span class="hljs-attr">"fax"</span>:<span class="hljs-string">""</span>,
<span class="hljs-attr">"street_1"</span>:<span class="hljs-string">"43 Edgewood Rd."</span>,
<span class="hljs-attr">"street_2"</span>:<span class="hljs-string">""</span>,
<span class="hljs-attr">"city"</span>:<span class="hljs-string">"Riverside"</span>,
<span class="hljs-attr">"country"</span>:{
<span class="hljs-attr">"id"</span>:<span class="hljs-string">"US"</span>,
<span class="hljs-attr">"name"</span>:<span class="hljs-string">"United States (US)"</span>
},
<span class="hljs-attr">"state"</span>:{
<span class="hljs-attr">"id"</span>:<span class="hljs-string">"CA"</span>,
<span class="hljs-attr">"name"</span>:<span class="hljs-string">"California"</span>
},
<span class="hljs-attr">"postal_code"</span>:<span class="hljs-string">"94544"</span>,
<span class="hljs-attr">"photo_id"</span>:<span class="hljs-literal">null</span>,
<span class="hljs-attr">"photo"</span>:<span class="hljs-string">"https://example.com/wp-content/plugins/wp-erp/assets/images/mystery-person.png"</span>
}</code></pre>
<div class="title"><strong>URI Parameters</strong><div class="collapse-button show"><span class="close">Hide</span><span class="open">Show</span></div></div><div class="collapse-content"><dl class="inner"><dt>id</dt><dd><code>string</code> <span class="required">(required)</span> <p>id of the vendor in the form of an string</p>
</dd></dl></div></div></div><hr class="split"><div class="right"><div class="definition"><span class="method delete">DELETE</span> <span class="uri"><span class="hostname">https://example.com/wp-json/erp/v1/accounting</span>/vendors/<span class="hljs-attribute" title="id">id</span></span></div><div class="tabs"><div class="example-names"><span>Requests</span><span class="tab-button">example 1</span></div><div class="tab"><div><div class="inner"><h5>Headers</h5><pre><code><span class="hljs-attribute">Content-Type</span>: application/json</code></pre><div style="height: 1px;"></div></div></div><div class="tabs"><div class="example-names"><span>Responses</span><span class="tab-button">204</span></div><div class="tab"><div><div class="inner"><h5>Headers</h5><pre><code><span class="hljs-attribute">Content-Type</span>: application/json</code></pre><div style="height: 1px;"></div></div></div></div></div></div></div></div><div class="middle"><div class="action delete" id="vendors-manage-single-vendor-manage-single-vendor-delete"><h4 class="action-heading"><div class="name">Delete A Vendor</div><a class="method delete" href="#vendors-manage-single-vendor-manage-single-vendor-delete">DELETE</a><code class="uri">/vendors/{id}</code></h4><div class="title"><strong>URI Parameters</strong><div class="collapse-button show"><span class="close">Hide</span><span class="open">Show</span></div></div><div class="collapse-content"><dl class="inner"><dt>id</dt><dd><code>string</code> <span class="required">(required)</span> <p>id of the vendor in the form of an string</p>
</dd></dl></div></div></div><hr class="split"><div class="middle"><div class="resource" id="vendors-vendors-transactions"><h3 class="resource-heading">Vendors Transactions <a class="permalink" href="#vendors-vendors-transactions">¶</a></h3></div></div><div class="right"><div class="definition"><span class="method get">GET</span> <span class="uri"><span class="hostname">https://example.com/wp-json/erp/v1/accounting</span>/vendors/<span class="hljs-attribute" title="id">id</span>/transactions/?<span class="hljs-attribute">per_page=</span><span class="hljs-literal">20</span>&<span class="hljs-attribute">page=</span><span class="hljs-literal">1</span>&<span class="hljs-attribute">search=</span><span class="hljs-literal"></span></span></div><div class="tabs"><div class="example-names"><span>Requests</span><span class="tab-button">example 1</span></div><div class="tab"><div><div class="inner"><h5>Headers</h5><pre><code><span class="hljs-attribute">Content-Type</span>: application/json</code></pre><div style="height: 1px;"></div></div></div><div class="tabs"><div class="example-names"><span>Responses</span><span class="tab-button">200</span></div><div class="tab"><div><div class="inner"><h5>Headers</h5><pre><code><span class="hljs-attribute">Content-Type</span>: application/json</code></pre><div style="height: 1px;"></div><h5>Body</h5><pre><code>[
{
<span class="hljs-attr">"voucher_no"</span>: <span class="hljs-literal">null</span>,
<span class="hljs-attr">"particulars"</span>: <span class="hljs-string">"Opening Balance"</span>,
<span class="hljs-attr">"people_id"</span>: <span class="hljs-literal">null</span>,
<span class="hljs-attr">"trn_no"</span>: <span class="hljs-literal">null</span>,
<span class="hljs-attr">"trn_date"</span>: <span class="hljs-literal">null</span>,
<span class="hljs-attr">"created_at"</span>: <span class="hljs-literal">null</span>,
<span class="hljs-attr">"debit"</span>: <span class="hljs-literal">null</span>,
<span class="hljs-attr">"credit"</span>: <span class="hljs-literal">null</span>,
<span class="hljs-attr">"balance"</span>: <span class="hljs-number">-40</span>,
<span class="hljs-attr">"balance_val"</span>: <span class="hljs-number">0</span>
},
{
<span class="hljs-attr">"voucher_no"</span>: <span class="hljs-string">"3"</span>,
<span class="hljs-attr">"people_id"</span>: <span class="hljs-string">"25"</span>,
<span class="hljs-attr">"trn_date"</span>: <span class="hljs-string">"2020-03-30"</span>,
<span class="hljs-attr">"debit"</span>: <span class="hljs-string">"0.00"</span>,
<span class="hljs-attr">"credit"</span>: <span class="hljs-string">"40.00"</span>,
<span class="hljs-attr">"particulars"</span>: <span class="hljs-string">""</span>,
<span class="hljs-attr">"created_at"</span>: <span class="hljs-string">"2020-03-30"</span>,
<span class="hljs-attr">"balance_val"</span>: <span class="hljs-number">-40</span>,
<span class="hljs-attr">"balance"</span>: <span class="hljs-string">"$40 Cr"</span>
},
{
<span class="hljs-attr">"voucher_no"</span>: <span class="hljs-literal">null</span>,
<span class="hljs-attr">"particulars"</span>: <span class="hljs-string">"Total"</span>,
<span class="hljs-attr">"people_id"</span>: <span class="hljs-literal">null</span>,
<span class="hljs-attr">"trn_no"</span>: <span class="hljs-literal">null</span>,
<span class="hljs-attr">"trn_date"</span>: <span class="hljs-literal">null</span>,
<span class="hljs-attr">"created_at"</span>: <span class="hljs-literal">null</span>,
<span class="hljs-attr">"debit"</span>: <span class="hljs-number">0</span>,
<span class="hljs-attr">"credit"</span>: <span class="hljs-number">40</span>,
<span class="hljs-attr">"balance"</span>: <span class="hljs-literal">null</span>
}
]</code></pre><div style="height: 1px;"></div></div></div></div></div></div></div></div><div class="middle"><div class="action get" id="vendors-vendors-transactions-vendors-transactions-get"><h4 class="action-heading"><div class="name">List All Transactions of a Vendor</div><a class="method get" href="#vendors-vendors-transactions-vendors-transactions-get">GET</a><code class="uri">/vendors/{id}/transactions/{?per_page,page,search}</code></h4><div class="title"><strong>URI Parameters</strong><div class="collapse-button show"><span class="close">Hide</span><span class="open">Show</span></div></div><div class="collapse-content"><dl class="inner"><dt>id</dt><dd><code>string</code> <span class="required">(required)</span> <p>id of the vendor in the form of an string</p>
</dd><dt>per_page</dt><dd><code>number</code> <span>(optional)</span> <span class="text-muted example"><strong>Example: </strong><span>20</span></span><p>The number of results per page.</p>
</dd><dt>page</dt><dd><code>number</code> <span>(optional)</span> <span class="text-muted example"><strong>Example: </strong><span>1</span></span><p>The current page number of results.</p>
</dd><dt>search</dt><dd><code>string</code> <span>(optional)</span> <p>The search keyword.</p>
</dd></dl></div></div></div><hr class="split"><div class="middle"><section class="resource-group" id="vendors-1"><h2 class="group-heading">Vendors <a class="permalink" href="#vendors-1">¶</a></h2></section></div><div class="middle"><div class="resource" id="vendors-1-vendor-list"><h3 class="resource-heading">Vendor List <a class="permalink" href="#vendors-1-vendor-list">¶</a></h3></div></div><div class="right"><div class="definition"><span class="method get">GET</span> <span class="uri"><span class="hostname">https://example.com/wp-json/erp/v1/accounting</span>/vendors/?<span class="hljs-attribute">per_page=</span><span class="hljs-literal">20</span>&<span class="hljs-attribute">page=</span><span class="hljs-literal">1</span>&<span class="hljs-attribute">search=</span><span class="hljs-literal"></span></span></div><div class="tabs"><div class="example-names"><span>Requests</span></div></div></div><div class="middle"><div class="action get" id="vendors-1-vendor-list-vendor-list-get"><h4 class="action-heading"><div class="name">List All Vendors</div><a class="method get" href="#vendors-1-vendor-list-vendor-list-get">GET</a><code class="uri">/vendors/{?per_page,page,search}</code></h4><p>Fetches all available vendors with pagination</p>
<div class="title"><strong>URI Parameters</strong><div class="collapse-button show"><span class="close">Hide</span><span class="open">Show</span></div></div><div class="collapse-content"><dl class="inner"><dt>per_page</dt><dd><code>number</code> <span>(optional)</span> <span class="text-muted example"><strong>Example: </strong><span>20</span></span><p>The number of results per page.</p>
</dd><dt>page</dt><dd><code>number</code> <span>(optional)</span> <span class="text-muted example"><strong>Example: </strong><span>1</span></span><p>The current page number of results.</p>
</dd><dt>search</dt><dd><code>string</code> <span>(optional)</span> <p>The search keyword.</p>
</dd></dl></div></div></div><hr class="split"><div class="right"><div class="definition"><span class="method post">POST</span> <span class="uri"><span class="hostname">https://example.com/wp-json/erp/v1/accounting</span>/vendors/?<span class="hljs-attribute">per_page=</span><span class="hljs-literal">20</span>&<span class="hljs-attribute">page=</span><span class="hljs-literal">1</span>&<span class="hljs-attribute">search=</span><span class="hljs-literal"></span></span></div><div class="tabs"><div class="example-names"><span>Requests</span></div></div></div><div class="middle"><div class="action post" id="vendors-1-vendor-list-vendor-list-post"><h4 class="action-heading"><div class="name">Create A Vendor</div><a class="method post" href="#vendors-1-vendor-list-vendor-list-post">POST</a><code class="uri">/vendors/{?per_page,page,search}</code></h4><p>Model (application/json)</p>
<pre><code>{
<span class="hljs-attr">"first_name"</span>:<span class="hljs-string">"John"</span>,
<span class="hljs-attr">"last_name"</span>:<span class="hljs-string">"Smith"</span>,
<span class="hljs-attr">"email"</span>:<span class="hljs-string">"[email protected]"</span>,
<span class="hljs-attr">"mobile"</span>:<span class="hljs-string">""</span>,
<span class="hljs-attr">"company"</span>:<span class="hljs-string">"ABC Inc."</span>,
<span class="hljs-attr">"phone"</span>:<span class="hljs-string">"1234567890"</span>,
<span class="hljs-attr">"website"</span>:<span class="hljs-string">""</span>,
<span class="hljs-attr">"notes"</span>:<span class="hljs-string">""</span>,
<span class="hljs-attr">"fax"</span>:<span class="hljs-string">""</span>,
<span class="hljs-attr">"street_1"</span>:<span class="hljs-string">"43 Edgewood Rd."</span>,
<span class="hljs-attr">"street_2"</span>:<span class="hljs-string">""</span>,
<span class="hljs-attr">"city"</span>:<span class="hljs-string">"Riverside"</span>,
<span class="hljs-attr">"country"</span>:{
<span class="hljs-attr">"id"</span>:<span class="hljs-string">"US"</span>,
<span class="hljs-attr">"name"</span>:<span class="hljs-string">"United States (US)"</span>
},
<span class="hljs-attr">"state"</span>:{
<span class="hljs-attr">"id"</span>:<span class="hljs-string">"CA"</span>,
<span class="hljs-attr">"name"</span>:<span class="hljs-string">"California"</span>
},
<span class="hljs-attr">"postal_code"</span>:<span class="hljs-string">"94544"</span>,
<span class="hljs-attr">"photo_id"</span>:<span class="hljs-literal">null</span>,
<span class="hljs-attr">"photo"</span>:<span class="hljs-string">"https://example.com/wp-content/plugins/wp-erp/assets/images/mystery-person.png"</span>
}</code></pre>
<div class="title"><strong>URI Parameters</strong><div class="collapse-button show"><span class="close">Hide</span><span class="open">Show</span></div></div><div class="collapse-content"><dl class="inner"><dt>per_page</dt><dd><code>number</code> <span>(optional)</span> <span class="text-muted example"><strong>Example: </strong><span>20</span></span><p>The number of results per page.</p>
</dd><dt>page</dt><dd><code>number</code> <span>(optional)</span> <span class="text-muted example"><strong>Example: </strong><span>1</span></span><p>The current page number of results.</p>
</dd><dt>search</dt><dd><code>string</code> <span>(optional)</span> <p>The search keyword.</p>
</dd></dl></div></div></div><hr class="split"><div class="middle"><div class="resource" id="vendors-1-manage-single-vendor"><h3 class="resource-heading">Manage Single Vendor <a class="permalink" href="#vendors-1-manage-single-vendor">¶</a></h3></div></div><div class="right"><div class="definition"><span class="method get">GET</span> <span class="uri"><span class="hostname">https://example.com/wp-json/erp/v1/accounting</span>/vendors/<span class="hljs-attribute" title="id">id</span></span></div><div class="tabs"><div class="example-names"><span>Requests</span></div></div></div><div class="middle"><div class="action get" id="vendors-1-manage-single-vendor-manage-single-vendor-get"><h4 class="action-heading"><div class="name">Retrieve A Vendor</div><a class="method get" href="#vendors-1-manage-single-vendor-manage-single-vendor-get">GET</a><code class="uri">/vendors/{id}</code></h4><div class="title"><strong>URI Parameters</strong><div class="collapse-button show"><span class="close">Hide</span><span class="open">Show</span></div></div><div class="collapse-content"><dl class="inner"><dt>id</dt><dd><code>string</code> <span class="required">(required)</span> <p>id of the vendor in the form of an string</p>
</dd></dl></div></div></div><hr class="split"><div class="right"><div class="definition"><span class="method put">PUT</span> <span class="uri"><span class="hostname">https://example.com/wp-json/erp/v1/accounting</span>/vendors/<span class="hljs-attribute" title="id">id</span></span></div><div class="tabs"><div class="example-names"><span>Requests</span></div></div></div><div class="middle"><div class="action put" id="vendors-1-manage-single-vendor-manage-single-vendor-put"><h4 class="action-heading"><div class="name">Edit A Vendor</div><a class="method put" href="#vendors-1-manage-single-vendor-manage-single-vendor-put">PUT</a><code class="uri">/vendors/{id}</code></h4><p>Model (application/json)</p>
<pre><code>{
<span class="hljs-attr">"first_name"</span>:<span class="hljs-string">"John"</span>,
<span class="hljs-attr">"last_name"</span>:<span class="hljs-string">"Smith"</span>,
<span class="hljs-attr">"email"</span>:<span class="hljs-string">"[email protected]"</span>,
<span class="hljs-attr">"mobile"</span>:<span class="hljs-string">""</span>,
<span class="hljs-attr">"company"</span>:<span class="hljs-string">"ABC Inc."</span>,
<span class="hljs-attr">"phone"</span>:<span class="hljs-string">"1234567890"</span>,
<span class="hljs-attr">"website"</span>:<span class="hljs-string">""</span>,
<span class="hljs-attr">"notes"</span>:<span class="hljs-string">""</span>,
<span class="hljs-attr">"fax"</span>:<span class="hljs-string">""</span>,
<span class="hljs-attr">"street_1"</span>:<span class="hljs-string">"43 Edgewood Rd."</span>,
<span class="hljs-attr">"street_2"</span>:<span class="hljs-string">""</span>,
<span class="hljs-attr">"city"</span>:<span class="hljs-string">"Riverside"</span>,
<span class="hljs-attr">"country"</span>:{
<span class="hljs-attr">"id"</span>:<span class="hljs-string">"US"</span>,
<span class="hljs-attr">"name"</span>:<span class="hljs-string">"United States (US)"</span>
},
<span class="hljs-attr">"state"</span>:{
<span class="hljs-attr">"id"</span>:<span class="hljs-string">"CA"</span>,
<span class="hljs-attr">"name"</span>:<span class="hljs-string">"California"</span>
},
<span class="hljs-attr">"postal_code"</span>:<span class="hljs-string">"94544"</span>,
<span class="hljs-attr">"photo_id"</span>:<span class="hljs-literal">null</span>,
<span class="hljs-attr">"photo"</span>:<span class="hljs-string">"https://example.com/wp-content/plugins/wp-erp/assets/images/mystery-person.png"</span>
}</code></pre>
<div class="title"><strong>URI Parameters</strong><div class="collapse-button show"><span class="close">Hide</span><span class="open">Show</span></div></div><div class="collapse-content"><dl class="inner"><dt>id</dt><dd><code>string</code> <span class="required">(required)</span> <p>id of the vendor in the form of an string</p>
</dd></dl></div></div></div><hr class="split"><div class="right"><div class="definition"><span class="method delete">DELETE</span> <span class="uri"><span class="hostname">https://example.com/wp-json/erp/v1/accounting</span>/vendors/<span class="hljs-attribute" title="id">id</span></span></div><div class="tabs"><div class="example-names"><span>Requests</span><span class="tab-button">example 1</span></div><div class="tab"><div><div class="inner"><h5>Headers</h5><pre><code><span class="hljs-attribute">Content-Type</span>: application/json</code></pre><div style="height: 1px;"></div></div></div><div class="tabs"><div class="example-names"><span>Responses</span><span class="tab-button">204</span></div><div class="tab"><div><div class="inner"><h5>Headers</h5><pre><code><span class="hljs-attribute">Content-Type</span>: application/json</code></pre><div style="height: 1px;"></div></div></div></div></div></div></div></div><div class="middle"><div class="action delete" id="vendors-1-manage-single-vendor-manage-single-vendor-delete"><h4 class="action-heading"><div class="name">Delete A Vendor</div><a class="method delete" href="#vendors-1-manage-single-vendor-manage-single-vendor-delete">DELETE</a><code class="uri">/vendors/{id}</code></h4><div class="title"><strong>URI Parameters</strong><div class="collapse-button show"><span class="close">Hide</span><span class="open">Show</span></div></div><div class="collapse-content"><dl class="inner"><dt>id</dt><dd><code>string</code> <span class="required">(required)</span> <p>id of the vendor in the form of an string</p>
</dd></dl></div></div></div><hr class="split"><div class="middle"><div class="resource" id="vendors-1-vendors-transactions"><h3 class="resource-heading">Vendors Transactions <a class="permalink" href="#vendors-1-vendors-transactions">¶</a></h3></div></div><div class="right"><div class="definition"><span class="method get">GET</span> <span class="uri"><span class="hostname">https://example.com/wp-json/erp/v1/accounting</span>/vendors/<span class="hljs-attribute" title="id">id</span>/transactions/?<span class="hljs-attribute">per_page=</span><span class="hljs-literal">20</span>&<span class="hljs-attribute">page=</span><span class="hljs-literal">1</span>&<span class="hljs-attribute">search=</span><span class="hljs-literal"></span></span></div><div class="tabs"><div class="example-names"><span>Requests</span><span class="tab-button">example 1</span></div><div class="tab"><div><div class="inner"><h5>Headers</h5><pre><code><span class="hljs-attribute">Content-Type</span>: application/json</code></pre><div style="height: 1px;"></div></div></div><div class="tabs"><div class="example-names"><span>Responses</span><span class="tab-button">200</span></div><div class="tab"><div><div class="inner"><h5>Headers</h5><pre><code><span class="hljs-attribute">Content-Type</span>: application/json</code></pre><div style="height: 1px;"></div><h5>Body</h5><pre><code>[
{
<span class="hljs-attr">"voucher_no"</span>: <span class="hljs-literal">null</span>,
<span class="hljs-attr">"particulars"</span>: <span class="hljs-string">"Opening Balance"</span>,
<span class="hljs-attr">"people_id"</span>: <span class="hljs-literal">null</span>,
<span class="hljs-attr">"trn_no"</span>: <span class="hljs-literal">null</span>,
<span class="hljs-attr">"trn_date"</span>: <span class="hljs-literal">null</span>,
<span class="hljs-attr">"created_at"</span>: <span class="hljs-literal">null</span>,
<span class="hljs-attr">"debit"</span>: <span class="hljs-literal">null</span>,
<span class="hljs-attr">"credit"</span>: <span class="hljs-literal">null</span>,
<span class="hljs-attr">"balance"</span>: <span class="hljs-number">-40</span>,
<span class="hljs-attr">"balance_val"</span>: <span class="hljs-number">0</span>
},
{
<span class="hljs-attr">"voucher_no"</span>: <span class="hljs-string">"3"</span>,
<span class="hljs-attr">"people_id"</span>: <span class="hljs-string">"25"</span>,
<span class="hljs-attr">"trn_date"</span>: <span class="hljs-string">"2020-03-30"</span>,
<span class="hljs-attr">"debit"</span>: <span class="hljs-string">"0.00"</span>,
<span class="hljs-attr">"credit"</span>: <span class="hljs-string">"40.00"</span>,
<span class="hljs-attr">"particulars"</span>: <span class="hljs-string">""</span>,
<span class="hljs-attr">"created_at"</span>: <span class="hljs-string">"2020-03-30"</span>,
<span class="hljs-attr">"balance_val"</span>: <span class="hljs-number">-40</span>,
<span class="hljs-attr">"balance"</span>: <span class="hljs-string">"$40 Cr"</span>
},
{
<span class="hljs-attr">"voucher_no"</span>: <span class="hljs-literal">null</span>,
<span class="hljs-attr">"particulars"</span>: <span class="hljs-string">"Total"</span>,
<span class="hljs-attr">"people_id"</span>: <span class="hljs-literal">null</span>,
<span class="hljs-attr">"trn_no"</span>: <span class="hljs-literal">null</span>,
<span class="hljs-attr">"trn_date"</span>: <span class="hljs-literal">null</span>,
<span class="hljs-attr">"created_at"</span>: <span class="hljs-literal">null</span>,
<span class="hljs-attr">"debit"</span>: <span class="hljs-number">0</span>,
<span class="hljs-attr">"credit"</span>: <span class="hljs-number">40</span>,
<span class="hljs-attr">"balance"</span>: <span class="hljs-literal">null</span>
}
]</code></pre><div style="height: 1px;"></div></div></div></div></div></div></div></div><div class="middle"><div class="action get" id="vendors-1-vendors-transactions-vendors-transactions-get"><h4 class="action-heading"><div class="name">List All Transactions of a Vendor</div><a class="method get" href="#vendors-1-vendors-transactions-vendors-transactions-get">GET</a><code class="uri">/vendors/{id}/transactions/{?per_page,page,search}</code></h4><div class="title"><strong>URI Parameters</strong><div class="collapse-button show"><span class="close">Hide</span><span class="open">Show</span></div></div><div class="collapse-content"><dl class="inner"><dt>id</dt><dd><code>string</code> <span class="required">(required)</span> <p>id of the vendor in the form of an string</p>
</dd><dt>per_page</dt><dd><code>number</code> <span>(optional)</span> <span class="text-muted example"><strong>Example: </strong><span>20</span></span><p>The number of results per page.</p>
</dd><dt>page</dt><dd><code>number</code> <span>(optional)</span> <span class="text-muted example"><strong>Example: </strong><span>1</span></span><p>The current page number of results.</p>
</dd><dt>search</dt><dd><code>string</code> <span>(optional)</span> <p>The search keyword.</p>
</dd></dl></div></div></div><hr class="split"><div class="middle"><section class="resource-group" id="people"><h2 class="group-heading">People <a class="permalink" href="#people">¶</a></h2></section></div><div class="middle"><div class="resource" id="people-people-list"><h3 class="resource-heading">People List <a class="permalink" href="#people-people-list">¶</a></h3></div></div><div class="right"><div class="definition"><span class="method get">GET</span> <span class="uri"><span class="hostname">https://example.com/wp-json/erp/v1/accounting</span>/people/?<span class="hljs-attribute">per_page=</span><span class="hljs-literal">20</span>&<span class="hljs-attribute">page=</span><span class="hljs-literal">1</span>&<span class="hljs-attribute">search=</span><span class="hljs-literal"></span></span></div><div class="tabs"><div class="example-names"><span>Requests</span></div></div></div><div class="middle"><div class="action get" id="people-people-list-people-list-get"><h4 class="action-heading"><div class="name">List All Peoples</div><a class="method get" href="#people-people-list-people-list-get">GET</a><code class="uri">/people/{?per_page,page,search}</code></h4><p>Fetches all available people with pagination</p>
<div class="title"><strong>URI Parameters</strong><div class="collapse-button show"><span class="close">Hide</span><span class="open">Show</span></div></div><div class="collapse-content"><dl class="inner"><dt>per_page</dt><dd><code>number</code> <span>(optional)</span> <span class="text-muted example"><strong>Example: </strong><span>20</span></span><p>The number of results per page.</p>
</dd><dt>page</dt><dd><code>number</code> <span>(optional)</span> <span class="text-muted example"><strong>Example: </strong><span>1</span></span><p>The current page number of results.</p>
</dd><dt>search</dt><dd><code>string</code> <span>(optional)</span> <p>The search keyword.</p>
</dd></dl></div></div></div><hr class="split"><div class="middle"><div class="resource" id="people-manage-single-people"><h3 class="resource-heading">Manage Single People <a class="permalink" href="#people-manage-single-people">¶</a></h3></div></div><div class="right"><div class="definition"><span class="method get">GET</span> <span class="uri"><span class="hostname">https://example.com/wp-json/erp/v1/accounting</span>/people/<span class="hljs-attribute" title="id">id</span></span></div><div class="tabs"><div class="example-names"><span>Requests</span></div></div></div><div class="middle"><div class="action get" id="people-manage-single-people-manage-single-people-get"><h4 class="action-heading"><div class="name">Retrieve A People</div><a class="method get" href="#people-manage-single-people-manage-single-people-get">GET</a><code class="uri">/people/{id}</code></h4><div class="title"><strong>URI Parameters</strong><div class="collapse-button show"><span class="close">Hide</span><span class="open">Show</span></div></div><div class="collapse-content"><dl class="inner"><dt>id</dt><dd><code>string</code> <span class="required">(required)</span> <p>id of the people in the form of an string</p>
</dd></dl></div></div></div><hr class="split"><div class="middle"><section class="resource-group" id="people-address"><h2 class="group-heading">People Address <a class="permalink" href="#people-address">¶</a></h2></section></div><div class="middle"><div class="resource" id="people-address-get-address-of-a-people"><h3 class="resource-heading">Get Address of a People <a class="permalink" href="#people-address-get-address-of-a-people">¶</a></h3></div></div><div class="right"><div class="definition"><span class="method get">GET</span> <span class="uri"><span class="hostname">https://example.com/wp-json/erp/v1/accounting</span>/people/<span class="hljs-attribute" title="id">id</span>/address</span></div><div class="tabs"><div class="example-names"><span>Requests</span></div></div></div><div class="middle"><div class="action get" id="people-address-get-address-of-a-people-get-address-of-a-people-get"><h4 class="action-heading"><div class="name">Retrieve Address of A People</div><a class="method get" href="#people-address-get-address-of-a-people-get-address-of-a-people-get">GET</a><code class="uri">/people/{id}/address</code></h4><div class="title"><strong>URI Parameters</strong><div class="collapse-button show"><span class="close">Hide</span><span class="open">Show</span></div></div><div class="collapse-content"><dl class="inner"><dt>id</dt><dd><code>string</code> <span class="required">(required)</span> <p>id of the people in the form of an string</p>
</dd></dl></div></div></div><hr class="split"><div class="middle"><div class="resource" id="people-address-get-opening-balance-of-a-people"><h3 class="resource-heading">Get Opening Balance of a People <a class="permalink" href="#people-address-get-opening-balance-of-a-people">¶</a></h3></div></div><div class="right"><div class="definition"><span class="method get">GET</span> <span class="uri"><span class="hostname">https://example.com/wp-json/erp/v1/accounting</span>/people/<span class="hljs-attribute" title="id">id</span>/opening-balance</span></div><div class="tabs"><div class="example-names"><span>Requests</span></div></div></div><div class="middle"><div class="action get" id="people-address-get-opening-balance-of-a-people-get-opening-balance-of-a-people-get"><h4 class="action-heading"><div class="name">Retrieve Opening Balance of A People</div><a class="method get" href="#people-address-get-opening-balance-of-a-people-get-opening-balance-of-a-people-get">GET</a><code class="uri">/people/{id}/opening-balance</code></h4><div class="title"><strong>URI Parameters</strong><div class="collapse-button show"><span class="close">Hide</span><span class="open">Show</span></div></div><div class="collapse-content"><dl class="inner"><dt>id</dt><dd><code>string</code> <span class="required">(required)</span> <p>id of the people in the form of an string</p>
</dd></dl></div></div></div><hr class="split"><div class="middle"><div class="resource" id="people-address-check-if-email-exist-already-for-a-people"><h3 class="resource-heading">Check if email exist already for a people <a class="permalink" href="#people-address-check-if-email-exist-already-for-a-people">¶</a></h3></div></div><div class="right"><div class="definition"><span class="method get">GET</span> <span class="uri"><span class="hostname">https://example.com/wp-json/erp/v1/accounting</span>/people/check-email/?<span class="hljs-attribute">email=</span><span class="hljs-literal"></span></span></div><div class="tabs"><div class="example-names"><span>Requests</span></div></div></div><div class="middle"><div class="action get" id="people-address-check-if-email-exist-already-for-a-people-check-if-email-exist-already-for-a-people-get"><h4 class="action-heading"><div class="name">Check the email of a people</div><a class="method get" href="#people-address-check-if-email-exist-already-for-a-people-check-if-email-exist-already-for-a-people-get">GET</a><code class="uri">/people/check-email/{?email}</code></h4><div class="title"><strong>URI Parameters</strong><div class="collapse-button show"><span class="close">Hide</span><span class="open">Show</span></div></div><div class="collapse-content"><dl class="inner"><dt>email</dt><dd><code>string</code> <span class="required">(required)</span> <p>email of the people to be checked</p>
</dd></dl></div></div></div><hr class="split"><div class="middle"><section class="resource-group" id="chart-of-accounts-&-ledgers"><h2 class="group-heading">Chart of Accounts & Ledgers <a class="permalink" href="#chart-of-accounts-&-ledgers">¶</a></h2></section></div><div class="middle"><div class="resource" id="chart-of-accounts-&-ledgers-ledger-list"><h3 class="resource-heading">Ledger List <a class="permalink" href="#chart-of-accounts-&-ledgers-ledger-list">¶</a></h3></div></div><div class="right"><div class="definition"><span class="method get">GET</span> <span class="uri"><span class="hostname">https://example.com/wp-json/erp/v1/accounting</span>/ledgers/?<span class="hljs-attribute">per_page=</span><span class="hljs-literal">20</span>&<span class="hljs-attribute">page=</span><span class="hljs-literal">1</span>&<span class="hljs-attribute">search=</span><span class="hljs-literal"></span></span></div><div class="tabs"><div class="example-names"><span>Requests</span></div></div></div><div class="middle"><div class="action get" id="chart-of-accounts-&-ledgers-ledger-list-ledger-list-get"><h4 class="action-heading"><div class="name">List All Ledgers</div><a class="method get" href="#chart-of-accounts-&-ledgers-ledger-list-ledger-list-get">GET</a><code class="uri">/ledgers/{?per_page,page,search}</code></h4><p>Fetches all available ledgers with pagination</p>
<div class="title"><strong>URI Parameters</strong><div class="collapse-button show"><span class="close">Hide</span><span class="open">Show</span></div></div><div class="collapse-content"><dl class="inner"><dt>per_page</dt><dd><code>number</code> <span>(optional)</span> <span class="text-muted example"><strong>Example: </strong><span>20</span></span><p>The number of results per page.</p>
</dd><dt>page</dt><dd><code>number</code> <span>(optional)</span> <span class="text-muted example"><strong>Example: </strong><span>1</span></span><p>The current page number of results.</p>
</dd><dt>search</dt><dd><code>string</code> <span>(optional)</span> <p>The search keyword.</p>
</dd></dl></div></div></div><hr class="split"><div class="middle"><div class="resource" id="chart-of-accounts-&-ledgers-ledger-list-1"><h3 class="resource-heading">Ledger List <a class="permalink" href="#chart-of-accounts-&-ledgers-ledger-list-1">¶</a></h3></div></div><div class="right"><div class="definition"><span class="method post">POST</span> <span class="uri"><span class="hostname">https://example.com/wp-json/erp/v1/accounting</span>/ledgers/</span></div><div class="tabs"><div class="example-names"><span>Requests</span></div></div></div><div class="middle"><div class="action post" id="chart-of-accounts-&-ledgers-ledger-list-ledger-list-post"><h4 class="action-heading"><div class="name">Create A Ledger Account</div><a class="method post" href="#chart-of-accounts-&-ledgers-ledger-list-ledger-list-post">POST</a><code class="uri">/ledgers/</code></h4><p>Model (application/json)</p>
<pre><code>{
<span class="hljs-attr">"chart_id"</span>: <span class="hljs-string">"7"</span>,
<span class="hljs-attr">"category_id"</span>: <span class="hljs-literal">null</span>,
<span class="hljs-attr">"name"</span>: <span class="hljs-string">"Bank Account"</span>,
<span class="hljs-attr">"code"</span>: <span class="hljs-string">"0123232"</span>
}</code></pre>
</div></div><hr class="split"><div class="middle"><div class="resource" id="chart-of-accounts-&-ledgers-manage-single-ledger"><h3 class="resource-heading">Manage Single Ledger <a class="permalink" href="#chart-of-accounts-&-ledgers-manage-single-ledger">¶</a></h3></div></div><div class="right"><div class="definition"><span class="method get">GET</span> <span class="uri"><span class="hostname">https://example.com/wp-json/erp/v1/accounting</span>/ledgers/<span class="hljs-attribute" title="id">id</span></span></div><div class="tabs"><div class="example-names"><span>Requests</span></div></div></div><div class="middle"><div class="action get" id="chart-of-accounts-&-ledgers-manage-single-ledger-manage-single-ledger-get"><h4 class="action-heading"><div class="name">Retrieve A Ledger</div><a class="method get" href="#chart-of-accounts-&-ledgers-manage-single-ledger-manage-single-ledger-get">GET</a><code class="uri">/ledgers/{id}</code></h4><div class="title"><strong>URI Parameters</strong><div class="collapse-button show"><span class="close">Hide</span><span class="open">Show</span></div></div><div class="collapse-content"><dl class="inner"><dt>id</dt><dd><code>string</code> <span class="required">(required)</span> <p>id of the journal in the form of an string</p>
</dd></dl></div></div></div><hr class="split"><div class="middle"><div class="resource" id="chart-of-accounts-&-ledgers-chart-of-account-list"><h3 class="resource-heading">Chart of Account List <a class="permalink" href="#chart-of-accounts-&-ledgers-chart-of-account-list">¶</a></h3><p>A list of Chart of Accounts</p>
</div></div><div class="right"><div class="definition"><span class="method get">GET</span> <span class="uri"><span class="hostname">https://example.com/wp-json/erp/v1/accounting</span>/chart-of-accounts</span></div><div class="tabs"><div class="example-names"><span>Requests</span></div></div></div><div class="middle"><div class="action get" id="chart-of-accounts-&-ledgers-chart-of-account-list-chart-of-account-list-get"><h4 class="action-heading"><div class="name">List All Chart of Accounts</div><a class="method get" href="#chart-of-accounts-&-ledgers-chart-of-account-list-chart-of-account-list-get">GET</a><code class="uri">/chart-of-accounts</code></h4><p>Fetches all available chart-of-accounts</p>
</div></div><hr class="split"><div class="middle"><div class="resource" id="chart-of-accounts-&-ledgers-bank-accounts-list"><h3 class="resource-heading">Bank Accounts List <a class="permalink" href="#chart-of-accounts-&-ledgers-bank-accounts-list">¶</a></h3><p>A list of Bank Accounts</p>
</div></div><div class="right"><div class="definition"><span class="method get">GET</span> <span class="uri"><span class="hostname">https://example.com/wp-json/erp/v1/accounting</span>/bank-accounts</span></div><div class="tabs"><div class="example-names"><span>Requests</span></div></div></div><div class="middle"><div class="action get" id="chart-of-accounts-&-ledgers-bank-accounts-list-bank-accounts-list-get"><h4 class="action-heading"><div class="name">List All Bank Accounts</div><a class="method get" href="#chart-of-accounts-&-ledgers-bank-accounts-list-bank-accounts-list-get">GET</a><code class="uri">/bank-accounts</code></h4><p>Fetches all available bank accounts</p>
</div></div><hr class="split"><div class="middle"><div class="resource" id="chart-of-accounts-&-ledgers-cash-accounts-list"><h3 class="resource-heading">Cash Accounts List <a class="permalink" href="#chart-of-accounts-&-ledgers-cash-accounts-list">¶</a></h3><p>A list of Cash Accounts</p>
</div></div><div class="right"><div class="definition"><span class="method get">GET</span> <span class="uri"><span class="hostname">https://example.com/wp-json/erp/v1/accounting</span>/cash-accounts</span></div><div class="tabs"><div class="example-names"><span>Requests</span></div></div></div><div class="middle"><div class="action get" id="chart-of-accounts-&-ledgers-cash-accounts-list-cash-accounts-list-get"><h4 class="action-heading"><div class="name">List All Cash Accounts</div><a class="method get" href="#chart-of-accounts-&-ledgers-cash-accounts-list-cash-accounts-list-get">GET</a><code class="uri">/cash-accounts</code></h4><p>Fetches all available cash accounts</p>
</div></div><hr class="split"><div class="middle"><section class="resource-group" id="accounts-and-transfers"><h2 class="group-heading">Accounts and Transfers <a class="permalink" href="#accounts-and-transfers">¶</a></h2></section></div><div class="middle"><div class="resource" id="accounts-and-transfers-account-list"><h3 class="resource-heading">Account List <a class="permalink" href="#accounts-and-transfers-account-list">¶</a></h3></div></div><div class="right"><div class="definition"><span class="method get">GET</span> <span class="uri"><span class="hostname">https://example.com/wp-json/erp/v1/accounting</span>/accounts/?<span class="hljs-attribute">per_page=</span><span class="hljs-literal">20</span>&<span class="hljs-attribute">page=</span><span class="hljs-literal">1</span>&<span class="hljs-attribute">search=</span><span class="hljs-literal"></span></span></div><div class="tabs"><div class="example-names"><span>Requests</span></div></div></div><div class="middle"><div class="action get" id="accounts-and-transfers-account-list-account-list-get"><h4 class="action-heading"><div class="name">List All Accounts</div><a class="method get" href="#accounts-and-transfers-account-list-account-list-get">GET</a><code class="uri">/accounts/{?per_page,page,search}</code></h4><p>Fetches all available accounts with pagination</p>
<div class="title"><strong>URI Parameters</strong><div class="collapse-button show"><span class="close">Hide</span><span class="open">Show</span></div></div><div class="collapse-content"><dl class="inner"><dt>per_page</dt><dd><code>number</code> <span>(optional)</span> <span class="text-muted example"><strong>Example: </strong><span>20</span></span><p>The number of results per page.</p>
</dd><dt>page</dt><dd><code>number</code> <span>(optional)</span> <span class="text-muted example"><strong>Example: </strong><span>1</span></span><p>The current page number of results.</p>
</dd><dt>search</dt><dd><code>string</code> <span>(optional)</span> <p>The search keyword.</p>
</dd></dl></div></div></div><hr class="split"><div class="middle"><div class="resource" id="accounts-and-transfers-manage-single-accounts"><h3 class="resource-heading">Manage Single Accounts <a class="permalink" href="#accounts-and-transfers-manage-single-accounts">¶</a></h3></div></div><div class="right"><div class="definition"><span class="method get">GET</span> <span class="uri"><span class="hostname">https://example.com/wp-json/erp/v1/accounting</span>/accounts/<span class="hljs-attribute" title="id">id</span></span></div><div class="tabs"><div class="example-names"><span>Requests</span></div></div></div><div class="middle"><div class="action get" id="accounts-and-transfers-manage-single-accounts-manage-single-accounts-get"><h4 class="action-heading"><div class="name">Retrieve an Account</div><a class="method get" href="#accounts-and-transfers-manage-single-accounts-manage-single-accounts-get">GET</a><code class="uri">/accounts/{id}</code></h4><div class="title"><strong>URI Parameters</strong><div class="collapse-button show"><span class="close">Hide</span><span class="open">Show</span></div></div><div class="collapse-content"><dl class="inner"><dt>id</dt><dd><code>string</code> <span class="required">(required)</span> <p>id of the account in the form of an string</p>
</dd></dl></div></div></div><hr class="split"><div class="right"><div class="definition"><span class="method delete">DELETE</span> <span class="uri"><span class="hostname">https://example.com/wp-json/erp/v1/accounting</span>/accounts/<span class="hljs-attribute" title="id">id</span></span></div><div class="tabs"><div class="example-names"><span>Requests</span><span class="tab-button">example 1</span></div><div class="tab"><div><div class="inner"><h5>Headers</h5><pre><code><span class="hljs-attribute">Content-Type</span>: application/json</code></pre><div style="height: 1px;"></div></div></div><div class="tabs"><div class="example-names"><span>Responses</span><span class="tab-button">204</span></div><div class="tab"><div><div class="inner"><h5>Headers</h5><pre><code><span class="hljs-attribute">Content-Type</span>: application/json</code></pre><div style="height: 1px;"></div></div></div></div></div></div></div></div><div class="middle"><div class="action delete" id="accounts-and-transfers-manage-single-accounts-manage-single-accounts-delete"><h4 class="action-heading"><div class="name">Delete an Account</div><a class="method delete" href="#accounts-and-transfers-manage-single-accounts-manage-single-accounts-delete">DELETE</a><code class="uri">/accounts/{id}</code></h4><div class="title"><strong>URI Parameters</strong><div class="collapse-button show"><span class="close">Hide</span><span class="open">Show</span></div></div><div class="collapse-content"><dl class="inner"><dt>id</dt><dd><code>string</code> <span class="required">(required)</span> <p>id of the account in the form of an string</p>
</dd></dl></div></div></div><hr class="split"><div class="middle"><div class="resource" id="accounts-and-transfers-get-cash-and-bamk-accounts"><h3 class="resource-heading">Get Cash and Bamk Accounts <a class="permalink" href="#accounts-and-transfers-get-cash-and-bamk-accounts">¶</a></h3></div></div><div class="right"><div class="definition"><span class="method get">GET</span> <span class="uri"><span class="hostname">https://example.com/wp-json/erp/v1/accounting</span>/accounts/bank-accounts</span></div><div class="tabs"><div class="example-names"><span>Requests</span></div></div></div><div class="middle"><div class="action get" id="accounts-and-transfers-get-cash-and-bamk-accounts-get-cash-and-bamk-accounts-get"><h4 class="action-heading"><div class="name">Get all Cash related Accounts</div><a class="method get" href="#accounts-and-transfers-get-cash-and-bamk-accounts-get-cash-and-bamk-accounts-get">GET</a><code class="uri">/accounts/bank-accounts</code></h4></div></div><hr class="split"><div class="middle"><div class="resource" id="accounts-and-transfers-get-dashboard-accounts"><h3 class="resource-heading">Get Dashboard Accounts <a class="permalink" href="#accounts-and-transfers-get-dashboard-accounts">¶</a></h3></div></div><div class="right"><div class="definition"><span class="method get">GET</span> <span class="uri"><span class="hostname">https://example.com/wp-json/erp/v1/accounting</span>/accounts/cash-at-bank</span></div><div class="tabs"><div class="example-names"><span>Requests</span></div></div></div><div class="middle"><div class="action get" id="accounts-and-transfers-get-dashboard-accounts-get-dashboard-accounts-get"><h4 class="action-heading"><div class="name">Get all Accounts shown in dashboard</div><a class="method get" href="#accounts-and-transfers-get-dashboard-accounts-get-dashboard-accounts-get">GET</a><code class="uri">/accounts/cash-at-bank</code></h4></div></div><hr class="split"><div class="middle"><div class="resource" id="accounts-and-transfers-transfer-money"><h3 class="resource-heading">Transfer Money <a class="permalink" href="#accounts-and-transfers-transfer-money">¶</a></h3></div></div><div class="right"><div class="definition"><span class="method post">POST</span> <span class="uri"><span class="hostname">https://example.com/wp-json/erp/v1/accounting</span>/accounts/transfer</span></div><div class="tabs"><div class="example-names"><span>Requests</span><span class="tab-button">example 1</span></div><div class="tab"><div><div class="inner"><h5>Headers</h5><pre><code><span class="hljs-attribute">Content-Type</span>: application/json</code></pre><div style="height: 1px;"></div></div></div><div class="tabs"><div class="example-names"><span>Responses</span><span class="tab-button">201</span></div><div class="tab"><div><div class="inner"><h5>Headers</h5><pre><code><span class="hljs-attribute">Content-Type</span>: application/json</code></pre><div style="height: 1px;"></div></div></div></div></div></div></div></div><div class="middle"><div class="action post" id="accounts-and-transfers-transfer-money-transfer-money-post"><h4 class="action-heading"><div class="name">Transfer between two Accounts</div><a class="method post" href="#accounts-and-transfers-transfer-money-transfer-money-post">POST</a><code class="uri">/accounts/transfer</code></h4><p>Model (application/json)</p>
<pre><code>{
<span class="hljs-attr">"date"</span>: <span class="hljs-string">"2020-03-25"</span>,
<span class="hljs-attr">"from_account_id"</span>: <span class="hljs-number">7</span>,
<span class="hljs-attr">"to_account_id"</span>: <span class="hljs-number">105</span>,
<span class="hljs-attr">"amount"</span>: <span class="hljs-string">"200"</span>,
<span class="hljs-attr">"particulars"</span>: <span class="hljs-string">"cash transfer"</span>
}</code></pre>
</div></div><hr class="split"><div class="middle"><div class="resource" id="accounts-and-transfers-list-all-transfers"><h3 class="resource-heading">List all Transfers <a class="permalink" href="#accounts-and-transfers-list-all-transfers">¶</a></h3></div></div><div class="right"><div class="definition"><span class="method get">GET</span> <span class="uri"><span class="hostname">https://example.com/wp-json/erp/v1/accounting</span>/accounts/transfers/list</span></div><div class="tabs"><div class="example-names"><span>Requests</span></div></div></div><div class="middle"><div class="action get" id="accounts-and-transfers-list-all-transfers-list-all-transfers-get"><h4 class="action-heading"><div class="name">Retrieve all Transfer transactions</div><a class="method get" href="#accounts-and-transfers-list-all-transfers-list-all-transfers-get">GET</a><code class="uri">/accounts/transfers/list</code></h4></div></div><hr class="split"><div class="middle"><div class="resource" id="accounts-and-transfers-manage-single-transfers"><h3 class="resource-heading">Manage Single Transfers <a class="permalink" href="#accounts-and-transfers-manage-single-transfers">¶</a></h3></div></div><div class="right"><div class="definition"><span class="method get">GET</span> <span class="uri"><span class="hostname">https://example.com/wp-json/erp/v1/accounting</span>/accounts/transfers/<span class="hljs-attribute" title="id">id</span></span></div><div class="tabs"><div class="example-names"><span>Requests</span></div></div></div><div class="middle"><div class="action get" id="accounts-and-transfers-manage-single-transfers-manage-single-transfers-get"><h4 class="action-heading"><div class="name">Retrieve an Account</div><a class="method get" href="#accounts-and-transfers-manage-single-transfers-manage-single-transfers-get">GET</a><code class="uri">/accounts/transfers/{id}</code></h4><div class="title"><strong>URI Parameters</strong><div class="collapse-button show"><span class="close">Hide</span><span class="open">Show</span></div></div><div class="collapse-content"><dl class="inner"><dt>id</dt><dd><code>string</code> <span class="required">(required)</span> <p>id of the account in the form of an string</p>
</dd></dl></div></div></div><hr class="split"><div class="middle"><section class="resource-group" id="companies"><h2 class="group-heading">Companies <a class="permalink" href="#companies">¶</a></h2></section></div><div class="middle"><div class="resource" id="companies-manage-single-company"><h3 class="resource-heading">Manage Single Company <a class="permalink" href="#companies-manage-single-company">¶</a></h3></div></div><div class="right"><div class="definition"><span class="method get">GET</span> <span class="uri"><span class="hostname">https://example.com/wp-json/erp/v1/accounting</span>/companies/<span class="hljs-attribute" title="id">id</span></span></div><div class="tabs"><div class="example-names"><span>Requests</span></div></div></div><div class="middle"><div class="action get" id="companies-manage-single-company-manage-single-company-get"><h4 class="action-heading"><div class="name">Retrieve A Company</div><a class="method get" href="#companies-manage-single-company-manage-single-company-get">GET</a><code class="uri">/companies/{id}</code></h4><div class="title"><strong>URI Parameters</strong><div class="collapse-button show"><span class="close">Hide</span><span class="open">Show</span></div></div><div class="collapse-content"><dl class="inner"><dt>id</dt><dd><code>string</code> <span class="required">(required)</span> <p>id of the bill in the form of an string</p>
</dd></dl></div></div></div><hr class="split"><div class="middle"><section class="resource-group" id="currencies"><h2 class="group-heading">Currencies <a class="permalink" href="#currencies">¶</a></h2></section></div><div class="middle"><div class="resource" id="currencies-currency-list"><h3 class="resource-heading">Currency List <a class="permalink" href="#currencies-currency-list">¶</a></h3></div></div><div class="right"><div class="definition"><span class="method get">GET</span> <span class="uri"><span class="hostname">https://example.com/wp-json/erp/v1/accounting</span>/currencies/?<span class="hljs-attribute">per_page=</span><span class="hljs-literal">20</span>&<span class="hljs-attribute">page=</span><span class="hljs-literal">1</span>&<span class="hljs-attribute">search=</span><span class="hljs-literal"></span></span></div><div class="tabs"><div class="example-names"><span>Requests</span></div></div></div><div class="middle"><div class="action get" id="currencies-currency-list-currency-list-get"><h4 class="action-heading"><div class="name">List All Currencies</div><a class="method get" href="#currencies-currency-list-currency-list-get">GET</a><code class="uri">/currencies/{?per_page,page,search}</code></h4><p>Fetches all available currencies</p>
<div class="title"><strong>URI Parameters</strong><div class="collapse-button show"><span class="close">Hide</span><span class="open">Show</span></div></div><div class="collapse-content"><dl class="inner"><dt>per_page</dt><dd><code>number</code> <span>(optional)</span> <span class="text-muted example"><strong>Example: </strong><span>20</span></span><p>The number of results per page.</p>
</dd><dt>page</dt><dd><code>number</code> <span>(optional)</span> <span class="text-muted example"><strong>Example: </strong><span>1</span></span><p>The current page number of results.</p>
</dd><dt>search</dt><dd><code>string</code> <span>(optional)</span> <p>The search keyword.</p>
</dd></dl></div></div></div><hr class="split"><div class="middle"><section class="resource-group" id="opening-balances"><h2 class="group-heading">Opening Balances <a class="permalink" href="#opening-balances">¶</a></h2></section></div><div class="middle"><div class="resource" id="opening-balances-opening-balance-list"><h3 class="resource-heading">Opening Balance List <a class="permalink" href="#opening-balances-opening-balance-list">¶</a></h3><p>Retrievs A list of available Opening Balances</p>
</div></div><div class="right"><div class="definition"><span class="method get">GET</span> <span class="uri"><span class="hostname">https://example.com/wp-json/erp/v1/accounting</span>/opening-balances</span></div><div class="tabs"><div class="example-names"><span>Requests</span></div></div></div><div class="middle"><div class="action get" id="opening-balances-opening-balance-list-opening-balance-list-get"><h4 class="action-heading"><div class="name">List All Opening Balances</div><a class="method get" href="#opening-balances-opening-balance-list-opening-balance-list-get">GET</a><code class="uri">/opening-balances</code></h4><p>Fetches all available opening-balances</p>
</div></div><hr class="split"><div class="right"><div class="definition"><span class="method post">POST</span> <span class="uri"><span class="hostname">https://example.com/wp-json/erp/v1/accounting</span>/opening-balances</span></div><div class="tabs"><div class="example-names"><span>Requests</span></div></div></div><div class="middle"><div class="action post" id="opening-balances-opening-balance-list-opening-balance-list-post"><h4 class="action-heading"><div class="name">Create A Opening Balance</div><a class="method post" href="#opening-balances-opening-balance-list-opening-balance-list-post">POST</a><code class="uri">/opening-balances</code></h4><p>Model (application/json)</p>
<pre><code>{
<span class="hljs-attr">"description"</span>: <span class="hljs-string">""</span>,
<span class="hljs-attr">"ledgers"</span>: {
<span class="hljs-attr">"4"</span>: [
{
<span class="hljs-attr">"id"</span>: <span class="hljs-string">"54"</span>,
<span class="hljs-attr">"name"</span>: <span class="hljs-string">"Sales"</span>,
<span class="hljs-attr">"balance"</span>: <span class="hljs-string">"Dr. $0"</span>,
<span class="hljs-attr">"namespace"</span>: <span class="hljs-string">"erp/v1"</span>,
<span class="hljs-attr">"code"</span>: <span class="hljs-string">"400"</span>,
<span class="hljs-attr">"system"</span>: <span class="hljs-string">"0"</span>,
<span class="hljs-attr">"category_id"</span>: <span class="hljs-literal">null</span>,
<span class="hljs-attr">"slug"</span>: <span class="hljs-string">"sales"</span>,
<span class="hljs-attr">"chart_id"</span>: <span class="hljs-string">"4"</span>,
<span class="hljs-attr">"rest_base"</span>: <span class="hljs-string">"accounting/v1/ledgers"</span>,
<span class="hljs-attr">"ledger_id"</span>: <span class="hljs-string">"54"</span>
},
{
<span class="hljs-attr">"id"</span>: <span class="hljs-string">"55"</span>,
<span class="hljs-attr">"name"</span>: <span class="hljs-string">"Interest Income"</span>,
<span class="hljs-attr">"balance"</span>: <span class="hljs-string">"Dr. $0"</span>,
<span class="hljs-attr">"namespace"</span>: <span class="hljs-string">"erp/v1"</span>,
<span class="hljs-attr">"code"</span>: <span class="hljs-string">"460"</span>,
<span class="hljs-attr">"system"</span>: <span class="hljs-string">"0"</span>,
<span class="hljs-attr">"category_id"</span>: <span class="hljs-literal">null</span>,
<span class="hljs-attr">"slug"</span>: <span class="hljs-string">"interest_income"</span>,
<span class="hljs-attr">"chart_id"</span>: <span class="hljs-string">"4"</span>,
<span class="hljs-attr">"rest_base"</span>: <span class="hljs-string">"accounting/v1/ledgers"</span>,
<span class="hljs-attr">"ledger_id"</span>: <span class="hljs-string">"55"</span>
},
{
<span class="hljs-attr">"id"</span>: <span class="hljs-string">"56"</span>,
<span class="hljs-attr">"name"</span>: <span class="hljs-string">"Other Revenue"</span>,
<span class="hljs-attr">"balance"</span>: <span class="hljs-string">"Dr. $0"</span>,
<span class="hljs-attr">"namespace"</span>: <span class="hljs-string">"erp/v1"</span>,
<span class="hljs-attr">"code"</span>: <span class="hljs-string">"470"</span>,
<span class="hljs-attr">"system"</span>: <span class="hljs-string">"0"</span>,
<span class="hljs-attr">"category_id"</span>: <span class="hljs-literal">null</span>,
<span class="hljs-attr">"slug"</span>: <span class="hljs-string">"other_revenue"</span>,
<span class="hljs-attr">"chart_id"</span>: <span class="hljs-string">"4"</span>,
<span class="hljs-attr">"rest_base"</span>: <span class="hljs-string">"accounting/v1/ledgers"</span>,
<span class="hljs-attr">"ledger_id"</span>: <span class="hljs-string">"56"</span>
},
{
<span class="hljs-attr">"id"</span>: <span class="hljs-string">"57"</span>,
<span class="hljs-attr">"name"</span>: <span class="hljs-string">"Purchase Discount"</span>,
<span class="hljs-attr">"balance"</span>: <span class="hljs-string">"Dr. $0"</span>,
<span class="hljs-attr">"namespace"</span>: <span class="hljs-string">"erp/v1"</span>,
<span class="hljs-attr">"code"</span>: <span class="hljs-string">"475"</span>,
<span class="hljs-attr">"system"</span>: <span class="hljs-string">"1"</span>,
<span class="hljs-attr">"category_id"</span>: <span class="hljs-literal">null</span>,
<span class="hljs-attr">"slug"</span>: <span class="hljs-string">"purchase_discount"</span>,
<span class="hljs-attr">"chart_id"</span>: <span class="hljs-string">"4"</span>,
<span class="hljs-attr">"rest_base"</span>: <span class="hljs-string">"accounting/v1/ledgers"</span>,
<span class="hljs-attr">"ledger_id"</span>: <span class="hljs-string">"57"</span>
},
{
<span class="hljs-attr">"id"</span>: <span class="hljs-string">"93"</span>,
<span class="hljs-attr">"name"</span>: <span class="hljs-string">"Service Revenue"</span>,
<span class="hljs-attr">"balance"</span>: <span class="hljs-string">"Dr. $0"</span>,
<span class="hljs-attr">"namespace"</span>: <span class="hljs-string">"erp/v1"</span>,
<span class="hljs-attr">"code"</span>: <span class="hljs-string">"1401"</span>,
<span class="hljs-attr">"system"</span>: <span class="hljs-string">"1"</span>,
<span class="hljs-attr">"category_id"</span>: <span class="hljs-literal">null</span>,
<span class="hljs-attr">"slug"</span>: <span class="hljs-string">"service_revenue"</span>,
<span class="hljs-attr">"chart_id"</span>: <span class="hljs-string">"4"</span>,
<span class="hljs-attr">"rest_base"</span>: <span class="hljs-string">"accounting/v1/ledgers"</span>,
<span class="hljs-attr">"ledger_id"</span>: <span class="hljs-string">"93"</span>
},
{
<span class="hljs-attr">"id"</span>: <span class="hljs-string">"94"</span>,
<span class="hljs-attr">"name"</span>: <span class="hljs-string">"Sales Revenue"</span>,
<span class="hljs-attr">"balance"</span>: <span class="hljs-string">"Cr. $100"</span>,
<span class="hljs-attr">"namespace"</span>: <span class="hljs-string">"erp/v1"</span>,
<span class="hljs-attr">"code"</span>: <span class="hljs-string">"1402"</span>,
<span class="hljs-attr">"system"</span>: <span class="hljs-string">"1"</span>,
<span class="hljs-attr">"category_id"</span>: <span class="hljs-literal">null</span>,
<span class="hljs-attr">"slug"</span>: <span class="hljs-string">"sales_revenue"</span>,
<span class="hljs-attr">"chart_id"</span>: <span class="hljs-string">"4"</span>,
<span class="hljs-attr">"rest_base"</span>: <span class="hljs-string">"accounting/v1/ledgers"</span>,
<span class="hljs-attr">"ledger_id"</span>: <span class="hljs-string">"94"</span>
},
{
<span class="hljs-attr">"id"</span>: <span class="hljs-string">"95"</span>,
<span class="hljs-attr">"name"</span>: <span class="hljs-string">"Sales Returns and Allowance"</span>,
<span class="hljs-attr">"balance"</span>: <span class="hljs-string">"Dr. $0"</span>,
<span class="hljs-attr">"namespace"</span>: <span class="hljs-string">"erp/v1"</span>,
<span class="hljs-attr">"code"</span>: <span class="hljs-string">"1403"</span>,
<span class="hljs-attr">"system"</span>: <span class="hljs-string">"1"</span>,
<span class="hljs-attr">"category_id"</span>: <span class="hljs-literal">null</span>,
<span class="hljs-attr">"slug"</span>: <span class="hljs-string">"sales_returns_and_allowance"</span>,
<span class="hljs-attr">"chart_id"</span>: <span class="hljs-string">"4"</span>,
<span class="hljs-attr">"rest_base"</span>: <span class="hljs-string">"accounting/v1/ledgers"</span>,
<span class="hljs-attr">"ledger_id"</span>: <span class="hljs-string">"95"</span>
},
{
<span class="hljs-attr">"id"</span>: <span class="hljs-string">"96"</span>,
<span class="hljs-attr">"name"</span>: <span class="hljs-string">"Gain on Disposal of Plant Assets"</span>,
<span class="hljs-attr">"balance"</span>: <span class="hljs-string">"Dr. $0"</span>,
<span class="hljs-attr">"namespace"</span>: <span class="hljs-string">"erp/v1"</span>,
<span class="hljs-attr">"code"</span>: <span class="hljs-string">"1404"</span>,
<span class="hljs-attr">"system"</span>: <span class="hljs-string">"1"</span>,
<span class="hljs-attr">"category_id"</span>: <span class="hljs-literal">null</span>,
<span class="hljs-attr">"slug"</span>: <span class="hljs-string">"gain_on_disposal_of_plant_assets"</span>,
<span class="hljs-attr">"chart_id"</span>: <span class="hljs-string">"4"</span>,
<span class="hljs-attr">"rest_base"</span>: <span class="hljs-string">"accounting/v1/ledgers"</span>,
<span class="hljs-attr">"ledger_id"</span>: <span class="hljs-string">"96"</span>
},
{
<span class="hljs-attr">"id"</span>: <span class="hljs-string">"97"</span>,
<span class="hljs-attr">"name"</span>: <span class="hljs-string">"Asset Sales"</span>,
<span class="hljs-attr">"balance"</span>: <span class="hljs-string">"Dr. $0"</span>,
<span class="hljs-attr">"namespace"</span>: <span class="hljs-string">"erp/v1"</span>,
<span class="hljs-attr">"code"</span>: <span class="hljs-string">"1405"</span>,
<span class="hljs-attr">"system"</span>: <span class="hljs-string">"1"</span>,
<span class="hljs-attr">"category_id"</span>: <span class="hljs-literal">null</span>,
<span class="hljs-attr">"slug"</span>: <span class="hljs-string">"asset_sales"</span>,
<span class="hljs-attr">"chart_id"</span>: <span class="hljs-string">"4"</span>,
<span class="hljs-attr">"rest_base"</span>: <span class="hljs-string">"accounting/v1/ledgers"</span>,
<span class="hljs-attr">"ledger_id"</span>: <span class="hljs-string">"97"</span>
}
],
<span class="hljs-attr">"5"</span>: [
{
<span class="hljs-attr">"id"</span>: <span class="hljs-string">"24"</span>,
<span class="hljs-attr">"name"</span>: <span class="hljs-string">"Costs of Goods Sold"</span>,
<span class="hljs-attr">"balance"</span>: <span class="hljs-string">"Dr. $450"</span>,
<span class="hljs-attr">"namespace"</span>: <span class="hljs-string">"erp/v1"</span>,
<span class="hljs-attr">"code"</span>: <span class="hljs-string">"500"</span>,
<span class="hljs-attr">"system"</span>: <span class="hljs-string">"1"</span>,
<span class="hljs-attr">"category_id"</span>: <span class="hljs-literal">null</span>,
<span class="hljs-attr">"slug"</span>: <span class="hljs-string">"costs_of_goods_sold"</span>,
<span class="hljs-attr">"chart_id"</span>: <span class="hljs-string">"5"</span>,
<span class="hljs-attr">"rest_base"</span>: <span class="hljs-string">"accounting/v1/ledgers"</span>,
<span class="hljs-attr">"ledger_id"</span>: <span class="hljs-string">"24"</span>
},
{
<span class="hljs-attr">"id"</span>: <span class="hljs-string">"25"</span>,
<span class="hljs-attr">"name"</span>: <span class="hljs-string">"Advertising"</span>,
<span class="hljs-attr">"balance"</span>: <span class="hljs-string">"Dr. $0"</span>,
<span class="hljs-attr">"namespace"</span>: <span class="hljs-string">"erp/v1"</span>,
<span class="hljs-attr">"code"</span>: <span class="hljs-string">"600"</span>,
<span class="hljs-attr">"system"</span>: <span class="hljs-string">"0"</span>,
<span class="hljs-attr">"category_id"</span>: <span class="hljs-literal">null</span>,
<span class="hljs-attr">"slug"</span>: <span class="hljs-string">"advertising"</span>,
<span class="hljs-attr">"chart_id"</span>: <span class="hljs-string">"5"</span>,
<span class="hljs-attr">"rest_base"</span>: <span class="hljs-string">"accounting/v1/ledgers"</span>,
<span class="hljs-attr">"ledger_id"</span>: <span class="hljs-string">"25"</span>
},
{
<span class="hljs-attr">"id"</span>: <span class="hljs-string">"26"</span>,
<span class="hljs-attr">"name"</span>: <span class="hljs-string">"Bank Service Charges"</span>,
<span class="hljs-attr">"balance"</span>: <span class="hljs-string">"Dr. $0"</span>,
<span class="hljs-attr">"namespace"</span>: <span class="hljs-string">"erp/v1"</span>,
<span class="hljs-attr">"code"</span>: <span class="hljs-string">"605"</span>,
<span class="hljs-attr">"system"</span>: <span class="hljs-string">"0"</span>,
<span class="hljs-attr">"category_id"</span>: <span class="hljs-literal">null</span>,
<span class="hljs-attr">"slug"</span>: <span class="hljs-string">"bank_service_charges"</span>,
<span class="hljs-attr">"chart_id"</span>: <span class="hljs-string">"5"</span>,
<span class="hljs-attr">"rest_base"</span>: <span class="hljs-string">"accounting/v1/ledgers"</span>,
<span class="hljs-attr">"ledger_id"</span>: <span class="hljs-string">"26"</span>
},
{
<span class="hljs-attr">"id"</span>: <span class="hljs-string">"27"</span>,
<span class="hljs-attr">"name"</span>: <span class="hljs-string">"Janitorial Expenses"</span>,
<span class="hljs-attr">"balance"</span>: <span class="hljs-string">"Dr. $0"</span>,
<span class="hljs-attr">"namespace"</span>: <span class="hljs-string">"erp/v1"</span>,
<span class="hljs-attr">"code"</span>: <span class="hljs-string">"610"</span>,
<span class="hljs-attr">"system"</span>: <span class="hljs-string">"0"</span>,
<span class="hljs-attr">"category_id"</span>: <span class="hljs-literal">null</span>,
<span class="hljs-attr">"slug"</span>: <span class="hljs-string">"janitorial_expenses"</span>,
<span class="hljs-attr">"chart_id"</span>: <span class="hljs-string">"5"</span>,
<span class="hljs-attr">"rest_base"</span>: <span class="hljs-string">"accounting/v1/ledgers"</span>,
<span class="hljs-attr">"ledger_id"</span>: <span class="hljs-string">"27"</span>
},
{
<span class="hljs-attr">"id"</span>: <span class="hljs-string">"28"</span>,
<span class="hljs-attr">"name"</span>: <span class="hljs-string">"Consulting & Accounting"</span>,
<span class="hljs-attr">"balance"</span>: <span class="hljs-string">"Dr. $0"</span>,
<span class="hljs-attr">"namespace"</span>: <span class="hljs-string">"erp/v1"</span>,
<span class="hljs-attr">"code"</span>: <span class="hljs-string">"615"</span>,
<span class="hljs-attr">"system"</span>: <span class="hljs-string">"0"</span>,
<span class="hljs-attr">"category_id"</span>: <span class="hljs-literal">null</span>,
<span class="hljs-attr">"slug"</span>: <span class="hljs-string">"consulting_accounting"</span>,
<span class="hljs-attr">"chart_id"</span>: <span class="hljs-string">"5"</span>,
<span class="hljs-attr">"rest_base"</span>: <span class="hljs-string">"accounting/v1/ledgers"</span>,
<span class="hljs-attr">"ledger_id"</span>: <span class="hljs-string">"28"</span>
},
{
<span class="hljs-attr">"id"</span>: <span class="hljs-string">"29"</span>,
<span class="hljs-attr">"name"</span>: <span class="hljs-string">"Entertainment"</span>,
<span class="hljs-attr">"balance"</span>: <span class="hljs-string">"Dr. $0"</span>,
<span class="hljs-attr">"namespace"</span>: <span class="hljs-string">"erp/v1"</span>,
<span class="hljs-attr">"code"</span>: <span class="hljs-string">"620"</span>,
<span class="hljs-attr">"system"</span>: <span class="hljs-string">"0"</span>,
<span class="hljs-attr">"category_id"</span>: <span class="hljs-literal">null</span>,
<span class="hljs-attr">"slug"</span>: <span class="hljs-string">"entertainment"</span>,
<span class="hljs-attr">"chart_id"</span>: <span class="hljs-string">"5"</span>,
<span class="hljs-attr">"rest_base"</span>: <span class="hljs-string">"accounting/v1/ledgers"</span>,
<span class="hljs-attr">"ledger_id"</span>: <span class="hljs-string">"29"</span>
},
{
<span class="hljs-attr">"id"</span>: <span class="hljs-string">"30"</span>,
<span class="hljs-attr">"name"</span>: <span class="hljs-string">"Postage & Delivary"</span>,
<span class="hljs-attr">"balance"</span>: <span class="hljs-string">"Dr. $100"</span>,
<span class="hljs-attr">"namespace"</span>: <span class="hljs-string">"erp/v1"</span>,
<span class="hljs-attr">"code"</span>: <span class="hljs-string">"624"</span>,
<span class="hljs-attr">"system"</span>: <span class="hljs-string">"0"</span>,
<span class="hljs-attr">"category_id"</span>: <span class="hljs-literal">null</span>,
<span class="hljs-attr">"slug"</span>: <span class="hljs-string">"postage_delivary"</span>,
<span class="hljs-attr">"chart_id"</span>: <span class="hljs-string">"5"</span>,
<span class="hljs-attr">"rest_base"</span>: <span class="hljs-string">"accounting/v1/ledgers"</span>,
<span class="hljs-attr">"ledger_id"</span>: <span class="hljs-string">"30"</span>
},
{
<span class="hljs-attr">"id"</span>: <span class="hljs-string">"31"</span>,
<span class="hljs-attr">"name"</span>: <span class="hljs-string">"General Expenses"</span>,
<span class="hljs-attr">"balance"</span>: <span class="hljs-string">"Dr. $520"</span>,
<span class="hljs-attr">"namespace"</span>: <span class="hljs-string">"erp/v1"</span>,
<span class="hljs-attr">"code"</span>: <span class="hljs-string">"628"</span>,
<span class="hljs-attr">"system"</span>: <span class="hljs-string">"0"</span>,
<span class="hljs-attr">"category_id"</span>: <span class="hljs-literal">null</span>,
<span class="hljs-attr">"slug"</span>: <span class="hljs-string">"general_expenses"</span>,
<span class="hljs-attr">"chart_id"</span>: <span class="hljs-string">"5"</span>,
<span class="hljs-attr">"rest_base"</span>: <span class="hljs-string">"accounting/v1/ledgers"</span>,
<span class="hljs-attr">"ledger_id"</span>: <span class="hljs-string">"31"</span>
},
{
<span class="hljs-attr">"id"</span>: <span class="hljs-string">"32"</span>,
<span class="hljs-attr">"name"</span>: <span class="hljs-string">"Insurance"</span>,
<span class="hljs-attr">"balance"</span>: <span class="hljs-string">"Dr. $0"</span>,
<span class="hljs-attr">"namespace"</span>: <span class="hljs-string">"erp/v1"</span>,
<span class="hljs-attr">"code"</span>: <span class="hljs-string">"632"</span>,
<span class="hljs-attr">"system"</span>: <span class="hljs-string">"0"</span>,
<span class="hljs-attr">"category_id"</span>: <span class="hljs-literal">null</span>,
<span class="hljs-attr">"slug"</span>: <span class="hljs-string">"insurance"</span>,
<span class="hljs-attr">"chart_id"</span>: <span class="hljs-string">"5"</span>,
<span class="hljs-attr">"rest_base"</span>: <span class="hljs-string">"accounting/v1/ledgers"</span>,
<span class="hljs-attr">"ledger_id"</span>: <span class="hljs-string">"32"</span>
},
{
<span class="hljs-attr">"id"</span>: <span class="hljs-string">"33"</span>,
<span class="hljs-attr">"name"</span>: <span class="hljs-string">"Legal Expenses"</span>,
<span class="hljs-attr">"balance"</span>: <span class="hljs-string">"Dr. $0"</span>,
<span class="hljs-attr">"namespace"</span>: <span class="hljs-string">"erp/v1"</span>,
<span class="hljs-attr">"code"</span>: <span class="hljs-string">"636"</span>,
<span class="hljs-attr">"system"</span>: <span class="hljs-string">"0"</span>,
<span class="hljs-attr">"category_id"</span>: <span class="hljs-literal">null</span>,
<span class="hljs-attr">"slug"</span>: <span class="hljs-string">"legal_expenses"</span>,
<span class="hljs-attr">"chart_id"</span>: <span class="hljs-string">"5"</span>,
<span class="hljs-attr">"rest_base"</span>: <span class="hljs-string">"accounting/v1/ledgers"</span>,
<span class="hljs-attr">"ledger_id"</span>: <span class="hljs-string">"33"</span>
},
{
<span class="hljs-attr">"id"</span>: <span class="hljs-string">"34"</span>,
<span class="hljs-attr">"name"</span>: <span class="hljs-string">"Utilities"</span>,
<span class="hljs-attr">"balance"</span>: <span class="hljs-string">"Dr. $0"</span>,
<span class="hljs-attr">"namespace"</span>: <span class="hljs-string">"erp/v1"</span>,
<span class="hljs-attr">"code"</span>: <span class="hljs-string">"640"</span>,
<span class="hljs-attr">"system"</span>: <span class="hljs-string">"1"</span>,
<span class="hljs-attr">"category_id"</span>: <span class="hljs-literal">null</span>,
<span class="hljs-attr">"slug"</span>: <span class="hljs-string">"utilities"</span>,
<span class="hljs-attr">"chart_id"</span>: <span class="hljs-string">"5"</span>,
<span class="hljs-attr">"rest_base"</span>: <span class="hljs-string">"accounting/v1/ledgers"</span>,
<span class="hljs-attr">"ledger_id"</span>: <span class="hljs-string">"34"</span>
},
{
<span class="hljs-attr">"id"</span>: <span class="hljs-string">"35"</span>,
<span class="hljs-attr">"name"</span>: <span class="hljs-string">"Automobile Expenses"</span>,
<span class="hljs-attr">"balance"</span>: <span class="hljs-string">"Dr. $0"</span>,
<span class="hljs-attr">"namespace"</span>: <span class="hljs-string">"erp/v1"</span>,
<span class="hljs-attr">"code"</span>: <span class="hljs-string">"644"</span>,
<span class="hljs-attr">"system"</span>: <span class="hljs-string">"0"</span>,
<span class="hljs-attr">"category_id"</span>: <span class="hljs-literal">null</span>,
<span class="hljs-attr">"slug"</span>: <span class="hljs-string">"automobile_expenses"</span>,
<span class="hljs-attr">"chart_id"</span>: <span class="hljs-string">"5"</span>,
<span class="hljs-attr">"rest_base"</span>: <span class="hljs-string">"accounting/v1/ledgers"</span>,
<span class="hljs-attr">"ledger_id"</span>: <span class="hljs-string">"35"</span>
},
{
<span class="hljs-attr">"id"</span>: <span class="hljs-string">"36"</span>,
<span class="hljs-attr">"name"</span>: <span class="hljs-string">"Office Expenses"</span>,
<span class="hljs-attr">"balance"</span>: <span class="hljs-string">"Dr. $0"</span>,
<span class="hljs-attr">"namespace"</span>: <span class="hljs-string">"erp/v1"</span>,
<span class="hljs-attr">"code"</span>: <span class="hljs-string">"648"</span>,
<span class="hljs-attr">"system"</span>: <span class="hljs-string">"1"</span>,
<span class="hljs-attr">"category_id"</span>: <span class="hljs-literal">null</span>,
<span class="hljs-attr">"slug"</span>: <span class="hljs-string">"office_expenses"</span>,
<span class="hljs-attr">"chart_id"</span>: <span class="hljs-string">"5"</span>,
<span class="hljs-attr">"rest_base"</span>: <span class="hljs-string">"accounting/v1/ledgers"</span>,
<span class="hljs-attr">"ledger_id"</span>: <span class="hljs-string">"36"</span>
},
{
<span class="hljs-attr">"id"</span>: <span class="hljs-string">"37"</span>,
<span class="hljs-attr">"name"</span>: <span class="hljs-string">"Printing & Stationary"</span>,
<span class="hljs-attr">"balance"</span>: <span class="hljs-string">"Dr. $0"</span>,
<span class="hljs-attr">"namespace"</span>: <span class="hljs-string">"erp/v1"</span>,
<span class="hljs-attr">"code"</span>: <span class="hljs-string">"652"</span>,
<span class="hljs-attr">"system"</span>: <span class="hljs-string">"0"</span>,
<span class="hljs-attr">"category_id"</span>: <span class="hljs-literal">null</span>,
<span class="hljs-attr">"slug"</span>: <span class="hljs-string">"printing_stationary"</span>,
<span class="hljs-attr">"chart_id"</span>: <span class="hljs-string">"5"</span>,
<span class="hljs-attr">"rest_base"</span>: <span class="hljs-string">"accounting/v1/ledgers"</span>,
<span class="hljs-attr">"ledger_id"</span>: <span class="hljs-string">"37"</span>
},
{
<span class="hljs-attr">"id"</span>: <span class="hljs-string">"38"</span>,
<span class="hljs-attr">"name"</span>: <span class="hljs-string">"Rent"</span>,
<span class="hljs-attr">"balance"</span>: <span class="hljs-string">"Dr. $0"</span>,
<span class="hljs-attr">"namespace"</span>: <span class="hljs-string">"erp/v1"</span>,
<span class="hljs-attr">"code"</span>: <span class="hljs-string">"656"</span>,
<span class="hljs-attr">"system"</span>: <span class="hljs-string">"1"</span>,
<span class="hljs-attr">"category_id"</span>: <span class="hljs-literal">null</span>,
<span class="hljs-attr">"slug"</span>: <span class="hljs-string">"rent"</span>,
<span class="hljs-attr">"chart_id"</span>: <span class="hljs-string">"5"</span>,
<span class="hljs-attr">"rest_base"</span>: <span class="hljs-string">"accounting/v1/ledgers"</span>,
<span class="hljs-attr">"ledger_id"</span>: <span class="hljs-string">"38"</span>
},
{
<span class="hljs-attr">"id"</span>: <span class="hljs-string">"39"</span>,
<span class="hljs-attr">"name"</span>: <span class="hljs-string">"Repairs & Maintenance"</span>,
<span class="hljs-attr">"balance"</span>: <span class="hljs-string">"Dr. $0"</span>,
<span class="hljs-attr">"namespace"</span>: <span class="hljs-string">"erp/v1"</span>,
<span class="hljs-attr">"code"</span>: <span class="hljs-string">"660"</span>,
<span class="hljs-attr">"system"</span>: <span class="hljs-string">"0"</span>,
<span class="hljs-attr">"category_id"</span>: <span class="hljs-literal">null</span>,
<span class="hljs-attr">"slug"</span>: <span class="hljs-string">"repairs_maintenance"</span>,
<span class="hljs-attr">"chart_id"</span>: <span class="hljs-string">"5"</span>,
<span class="hljs-attr">"rest_base"</span>: <span class="hljs-string">"accounting/v1/ledgers"</span>,
<span class="hljs-attr">"ledger_id"</span>: <span class="hljs-string">"39"</span>
},
{
<span class="hljs-attr">"id"</span>: <span class="hljs-string">"40"</span>,
<span class="hljs-attr">"name"</span>: <span class="hljs-string">"Wages & Salaries"</span>,
<span class="hljs-attr">"balance"</span>: <span class="hljs-string">"Dr. $0"</span>,
<span class="hljs-attr">"namespace"</span>: <span class="hljs-string">"erp/v1"</span>,
<span class="hljs-attr">"code"</span>: <span class="hljs-string">"664"</span>,
<span class="hljs-attr">"system"</span>: <span class="hljs-string">"0"</span>,
<span class="hljs-attr">"category_id"</span>: <span class="hljs-literal">null</span>,
<span class="hljs-attr">"slug"</span>: <span class="hljs-string">"wages_salaries"</span>,
<span class="hljs-attr">"chart_id"</span>: <span class="hljs-string">"5"</span>,
<span class="hljs-attr">"rest_base"</span>: <span class="hljs-string">"accounting/v1/ledgers"</span>,
<span class="hljs-attr">"ledger_id"</span>: <span class="hljs-string">"40"</span>
},
{
<span class="hljs-attr">"id"</span>: <span class="hljs-string">"41"</span>,
<span class="hljs-attr">"name"</span>: <span class="hljs-string">"Payroll Tax Expense"</span>,
<span class="hljs-attr">"balance"</span>: <span class="hljs-string">"Dr. $0"</span>,
<span class="hljs-attr">"namespace"</span>: <span class="hljs-string">"erp/v1"</span>,
<span class="hljs-attr">"code"</span>: <span class="hljs-string">"668"</span>,
<span class="hljs-attr">"system"</span>: <span class="hljs-string">"0"</span>,
<span class="hljs-attr">"category_id"</span>: <span class="hljs-literal">null</span>,
<span class="hljs-attr">"slug"</span>: <span class="hljs-string">"payroll_tax_expense"</span>,
<span class="hljs-attr">"chart_id"</span>: <span class="hljs-string">"5"</span>,
<span class="hljs-attr">"rest_base"</span>: <span class="hljs-string">"accounting/v1/ledgers"</span>,
<span class="hljs-attr">"ledger_id"</span>: <span class="hljs-string">"41"</span>
},
{
<span class="hljs-attr">"id"</span>: <span class="hljs-string">"42"</span>,
<span class="hljs-attr">"name"</span>: <span class="hljs-string">"Dues & Subscriptions"</span>,
<span class="hljs-attr">"balance"</span>: <span class="hljs-string">"Dr. $0"</span>,
<span class="hljs-attr">"namespace"</span>: <span class="hljs-string">"erp/v1"</span>,
<span class="hljs-attr">"code"</span>: <span class="hljs-string">"672"</span>,
<span class="hljs-attr">"system"</span>: <span class="hljs-string">"0"</span>,
<span class="hljs-attr">"category_id"</span>: <span class="hljs-literal">null</span>,
<span class="hljs-attr">"slug"</span>: <span class="hljs-string">"dues_subscriptions"</span>,
<span class="hljs-attr">"chart_id"</span>: <span class="hljs-string">"5"</span>,
<span class="hljs-attr">"rest_base"</span>: <span class="hljs-string">"accounting/v1/ledgers"</span>,
<span class="hljs-attr">"ledger_id"</span>: <span class="hljs-string">"42"</span>
},
{
<span class="hljs-attr">"id"</span>: <span class="hljs-string">"43"</span>,
<span class="hljs-attr">"name"</span>: <span class="hljs-string">"Telephone & Internet"</span>,
<span class="hljs-attr">"balance"</span>: <span class="hljs-string">"Dr. $0"</span>,
<span class="hljs-attr">"namespace"</span>: <span class="hljs-string">"erp/v1"</span>,
<span class="hljs-attr">"code"</span>: <span class="hljs-string">"676"</span>,
<span class="hljs-attr">"system"</span>: <span class="hljs-string">"0"</span>,
<span class="hljs-attr">"category_id"</span>: <span class="hljs-literal">null</span>,
<span class="hljs-attr">"slug"</span>: <span class="hljs-string">"telephone_internet"</span>,
<span class="hljs-attr">"chart_id"</span>: <span class="hljs-string">"5"</span>,
<span class="hljs-attr">"rest_base"</span>: <span class="hljs-string">"accounting/v1/ledgers"</span>,
<span class="hljs-attr">"ledger_id"</span>: <span class="hljs-string">"43"</span>
},
{
<span class="hljs-attr">"id"</span>: <span class="hljs-string">"44"</span>,
<span class="hljs-attr">"name"</span>: <span class="hljs-string">"Travel"</span>,
<span class="hljs-attr">"balance"</span>: <span class="hljs-string">"Dr. $0"</span>,
<span class="hljs-attr">"namespace"</span>: <span class="hljs-string">"erp/v1"</span>,
<span class="hljs-attr">"code"</span>: <span class="hljs-string">"680"</span>,
<span class="hljs-attr">"system"</span>: <span class="hljs-string">"0"</span>,
<span class="hljs-attr">"category_id"</span>: <span class="hljs-literal">null</span>,
<span class="hljs-attr">"slug"</span>: <span class="hljs-string">"travel"</span>,
<span class="hljs-attr">"chart_id"</span>: <span class="hljs-string">"5"</span>,
<span class="hljs-attr">"rest_base"</span>: <span class="hljs-string">"accounting/v1/ledgers"</span>,
<span class="hljs-attr">"ledger_id"</span>: <span class="hljs-string">"44"</span>
},
{
<span class="hljs-attr">"id"</span>: <span class="hljs-string">"45"</span>,
<span class="hljs-attr">"name"</span>: <span class="hljs-string">"Bad Debts"</span>,
<span class="hljs-attr">"balance"</span>: <span class="hljs-string">"Dr. $0"</span>,
<span class="hljs-attr">"namespace"</span>: <span class="hljs-string">"erp/v1"</span>,
<span class="hljs-attr">"code"</span>: <span class="hljs-string">"684"</span>,
<span class="hljs-attr">"system"</span>: <span class="hljs-string">"0"</span>,
<span class="hljs-attr">"category_id"</span>: <span class="hljs-literal">null</span>,
<span class="hljs-attr">"slug"</span>: <span class="hljs-string">"bad_debts"</span>,
<span class="hljs-attr">"chart_id"</span>: <span class="hljs-string">"5"</span>,
<span class="hljs-attr">"rest_base"</span>: <span class="hljs-string">"accounting/v1/ledgers"</span>,
<span class="hljs-attr">"ledger_id"</span>: <span class="hljs-string">"45"</span>
},
{
<span class="hljs-attr">"id"</span>: <span class="hljs-string">"46"</span>,
<span class="hljs-attr">"name"</span>: <span class="hljs-string">"Depreciation"</span>,
<span class="hljs-attr">"balance"</span>: <span class="hljs-string">"Dr. $0"</span>,
<span class="hljs-attr">"namespace"</span>: <span class="hljs-string">"erp/v1"</span>,
<span class="hljs-attr">"code"</span>: <span class="hljs-string">"700"</span>,
<span class="hljs-attr">"system"</span>: <span class="hljs-string">"1"</span>,
<span class="hljs-attr">"category_id"</span>: <span class="hljs-literal">null</span>,
<span class="hljs-attr">"slug"</span>: <span class="hljs-string">"depreciation"</span>,
<span class="hljs-attr">"chart_id"</span>: <span class="hljs-string">"5"</span>,
<span class="hljs-attr">"rest_base"</span>: <span class="hljs-string">"accounting/v1/ledgers"</span>,
<span class="hljs-attr">"ledger_id"</span>: <span class="hljs-string">"46"</span>
},
{
<span class="hljs-attr">"id"</span>: <span class="hljs-string">"47"</span>,
<span class="hljs-attr">"name"</span>: <span class="hljs-string">"Income Tax Expense"</span>,
<span class="hljs-attr">"balance"</span>: <span class="hljs-string">"Dr. $0"</span>,
<span class="hljs-attr">"namespace"</span>: <span class="hljs-string">"erp/v1"</span>,
<span class="hljs-attr">"code"</span>: <span class="hljs-string">"710"</span>,
<span class="hljs-attr">"system"</span>: <span class="hljs-string">"0"</span>,
<span class="hljs-attr">"category_id"</span>: <span class="hljs-literal">null</span>,
<span class="hljs-attr">"slug"</span>: <span class="hljs-string">"income_tax_expense"</span>,
<span class="hljs-attr">"chart_id"</span>: <span class="hljs-string">"5"</span>,
<span class="hljs-attr">"rest_base"</span>: <span class="hljs-string">"accounting/v1/ledgers"</span>,
<span class="hljs-attr">"ledger_id"</span>: <span class="hljs-string">"47"</span>
},
{
<span class="hljs-attr">"id"</span>: <span class="hljs-string">"48"</span>,
<span class="hljs-attr">"name"</span>: <span class="hljs-string">"Employee Benefits Expense"</span>,
<span class="hljs-attr">"balance"</span>: <span class="hljs-string">"Dr. $0"</span>,
<span class="hljs-attr">"namespace"</span>: <span class="hljs-string">"erp/v1"</span>,
<span class="hljs-attr">"code"</span>: <span class="hljs-string">"715"</span>,
<span class="hljs-attr">"system"</span>: <span class="hljs-string">"0"</span>,
<span class="hljs-attr">"category_id"</span>: <span class="hljs-literal">null</span>,
<span class="hljs-attr">"slug"</span>: <span class="hljs-string">"employee_benefits_expense"</span>,
<span class="hljs-attr">"chart_id"</span>: <span class="hljs-string">"5"</span>,
<span class="hljs-attr">"rest_base"</span>: <span class="hljs-string">"accounting/v1/ledgers"</span>,
<span class="hljs-attr">"ledger_id"</span>: <span class="hljs-string">"48"</span>
},
{
<span class="hljs-attr">"id"</span>: <span class="hljs-string">"49"</span>,
<span class="hljs-attr">"name"</span>: <span class="hljs-string">"Interest Expense"</span>,
<span class="hljs-attr">"balance"</span>: <span class="hljs-string">"Dr. $0"</span>,
<span class="hljs-attr">"namespace"</span>: <span class="hljs-string">"erp/v1"</span>,
<span class="hljs-attr">"code"</span>: <span class="hljs-string">"800"</span>,
<span class="hljs-attr">"system"</span>: <span class="hljs-string">"0"</span>,
<span class="hljs-attr">"category_id"</span>: <span class="hljs-literal">null</span>,
<span class="hljs-attr">"slug"</span>: <span class="hljs-string">"interest_expense"</span>,
<span class="hljs-attr">"chart_id"</span>: <span class="hljs-string">"5"</span>,
<span class="hljs-attr">"rest_base"</span>: <span class="hljs-string">"accounting/v1/ledgers"</span>,
<span class="hljs-attr">"ledger_id"</span>: <span class="hljs-string">"49"</span>
},
{
<span class="hljs-attr">"id"</span>: <span class="hljs-string">"50"</span>,
<span class="hljs-attr">"name"</span>: <span class="hljs-string">"Bank Revaluations"</span>,
<span class="hljs-attr">"balance"</span>: <span class="hljs-string">"Dr. $0"</span>,
<span class="hljs-attr">"namespace"</span>: <span class="hljs-string">"erp/v1"</span>,
<span class="hljs-attr">"code"</span>: <span class="hljs-string">"810"</span>,
<span class="hljs-attr">"system"</span>: <span class="hljs-string">"1"</span>,
<span class="hljs-attr">"category_id"</span>: <span class="hljs-literal">null</span>,
<span class="hljs-attr">"slug"</span>: <span class="hljs-string">"bank_revaluations"</span>,
<span class="hljs-attr">"chart_id"</span>: <span class="hljs-string">"5"</span>,
<span class="hljs-attr">"rest_base"</span>: <span class="hljs-string">"accounting/v1/ledgers"</span>,
<span class="hljs-attr">"ledger_id"</span>: <span class="hljs-string">"50"</span>
},
{
<span class="hljs-attr">"id"</span>: <span class="hljs-string">"51"</span>,
<span class="hljs-attr">"name"</span>: <span class="hljs-string">"Unrealized Currency Gains"</span>,
<span class="hljs-attr">"balance"</span>: <span class="hljs-string">"Dr. $0"</span>,
<span class="hljs-attr">"namespace"</span>: <span class="hljs-string">"erp/v1"</span>,
<span class="hljs-attr">"code"</span>: <span class="hljs-string">"815"</span>,
<span class="hljs-attr">"system"</span>: <span class="hljs-string">"1"</span>,
<span class="hljs-attr">"category_id"</span>: <span class="hljs-literal">null</span>,
<span class="hljs-attr">"slug"</span>: <span class="hljs-string">"unrealized_currency_gains"</span>,
<span class="hljs-attr">"chart_id"</span>: <span class="hljs-string">"5"</span>,
<span class="hljs-attr">"rest_base"</span>: <span class="hljs-string">"accounting/v1/ledgers"</span>,
<span class="hljs-attr">"ledger_id"</span>: <span class="hljs-string">"51"</span>
},
{
<span class="hljs-attr">"id"</span>: <span class="hljs-string">"52"</span>,
<span class="hljs-attr">"name"</span>: <span class="hljs-string">"Realized Currency Gains"</span>,
<span class="hljs-attr">"balance"</span>: <span class="hljs-string">"Dr. $0"</span>,
<span class="hljs-attr">"namespace"</span>: <span class="hljs-string">"erp/v1"</span>,
<span class="hljs-attr">"code"</span>: <span class="hljs-string">"820"</span>,
<span class="hljs-attr">"system"</span>: <span class="hljs-string">"1"</span>,
<span class="hljs-attr">"category_id"</span>: <span class="hljs-literal">null</span>,
<span class="hljs-attr">"slug"</span>: <span class="hljs-string">"realized_currency_gains"</span>,
<span class="hljs-attr">"chart_id"</span>: <span class="hljs-string">"5"</span>,
<span class="hljs-attr">"rest_base"</span>: <span class="hljs-string">"accounting/v1/ledgers"</span>,
<span class="hljs-attr">"ledger_id"</span>: <span class="hljs-string">"52"</span>
},
{