summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAldrik Ramaekers <aldrikboy@gmail.com>2025-10-11 09:41:14 +0200
committerAldrik Ramaekers <aldrikboy@gmail.com>2025-10-11 09:41:14 +0200
commitd83e5e8cd66f05ca7e6aa9fc645788313d89dfe7 (patch)
tree987e9c3acc0232e2df2109d776f410bee591eacd /include
parentcf5dfa405fa3d9b480794f7f2c32e325fdfd134c (diff)
multi currency invoice handling for tax report
Diffstat (limited to 'include')
-rw-r--r--include/administration.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/administration.hpp b/include/administration.hpp
index f2ca9e4..ebb30d0 100644
--- a/include/administration.hpp
+++ b/include/administration.hpp
@@ -334,6 +334,8 @@ typedef struct
char tax_category[MAX_LEN_SHORT_DESC];
float total_net;
float total_tax;
+ bool show_net;
+ bool show_tax;
} tax_line;
typedef struct
@@ -567,6 +569,7 @@ namespace administration {
a_err billing_item_update_in_invoice(invoice* invoice, billing_item item);
a_err billing_item_remove_from_invoice(invoice* invoice, billing_item item);
+ tax_subtotal billing_item_convert_to_default_currency(invoice* invoice, billing_item item);
a_err billing_item_is_valid(billing_item item);
u32 billing_item_get_all_for_invoice(invoice* invoice, billing_item* buffer);