summaryrefslogtreecommitdiff
path: root/src/countries.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/countries.cpp')
-rw-r--r--src/countries.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/countries.cpp b/src/countries.cpp
index 7170e5b..d03848b 100644
--- a/src/countries.cpp
+++ b/src/countries.cpp
@@ -101,4 +101,12 @@ time_t country::get_invoice_date_to_use_for_tax_report(char* country_code, invoi
assert(index != -1);
return country_map[index].get_invoice_date_to_use_for_tax_report(inv);
+}
+
+u32 country::get_available_tax_rates(char* country_code, tax_rate* buffer, u32 buffer_size)
+{
+ s32 index = get_index_by_country_code(country_code);
+ assert(index != -1);
+
+ return country_map[index].get_available_tax_rates(buffer, buffer_size);
} \ No newline at end of file