summaryrefslogtreecommitdiff
path: root/include/countries.hpp
diff options
context:
space:
mode:
authorAldrik Ramaekers <aldrikboy@gmail.com>2025-10-25 15:41:46 +0200
committerAldrik Ramaekers <aldrikboy@gmail.com>2025-10-25 15:41:46 +0200
commit8df1486ca41edb625feb269fe7f7997fa5ffacfe (patch)
treef7bc978d2ffade72bb5c4f9ee1f4945c3984ec78 /include/countries.hpp
parent5f25180b3d79d9a03952217cd77a16601ae0a6d0 (diff)
add all countries
Diffstat (limited to 'include/countries.hpp')
-rw-r--r--include/countries.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/countries.hpp b/include/countries.hpp
index 68b6fa0..0e3704f 100644
--- a/include/countries.hpp
+++ b/include/countries.hpp
@@ -22,11 +22,14 @@ typedef struct
{
char* country_code;
bool is_EU;
+
time_t (*get_default_invoice_expire_duration)();
+
void (*fill_tax_report_with_categories)(tax_report* report);
bool (*add_billing_item_to_tax_report)(tax_report* report, invoice* inv, billing_item* item);
float (*calculate_tax_report_final)(tax_report* report);
time_t (*get_invoice_date_to_use_for_tax_report)(invoice* inv);
+
u32 (*get_available_tax_rates)(tax_rate* buffer, u32 buffer_size);
} country_impl;