From 380195f7cd5e57acf2c1cf2bc41069e6b0b979ed Mon Sep 17 00:00:00 2001 From: Anders Betts Date: Thu, 17 Sep 2026 19:55:36 +0200 Subject: Initial commit: daemon, clients, docs, Docker deploy pipeline --- src/reports.h | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 src/reports.h (limited to 'src/reports.h') 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 +#include + +#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 -- cgit v1.3