aboutsummaryrefslogtreecommitdiff
path: root/src/reports.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/reports.h')
-rw-r--r--src/reports.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/reports.h b/src/reports.h
new file mode 100644
index 0000000..37d5f67
--- /dev/null
+++ b/src/reports.h
@@ -0,0 +1,23 @@
+#ifndef BOKF_REPORTS_H
+#define BOKF_REPORTS_H
+
+#include <sqlite3.h>
+#include <stdint.h>
+
+#include "yyjson.h"
+
+yyjson_mut_val *report_trial_balance(yyjson_mut_doc *doc, sqlite3 *db,
+ int64_t org_id, int64_t fy_id,
+ const char *from, const char *to,
+ int include_zero, char **err);
+yyjson_mut_val *report_income_statement(yyjson_mut_doc *doc, sqlite3 *db,
+ int64_t org_id, int64_t fy_id,
+ const char *from, const char *to,
+ char **err);
+yyjson_mut_val *report_balance_sheet(yyjson_mut_doc *doc, sqlite3 *db,
+ int64_t org_id, int64_t fy_id,
+ const char *to, char **err);
+yyjson_mut_val *report_vat(yyjson_mut_doc *doc, sqlite3 *db, int64_t org_id,
+ const char *from, const char *to, char **err);
+
+#endif