summaryrefslogtreecommitdiff
path: root/tests/test_helper.cpp
diff options
context:
space:
mode:
authorAldrik Ramaekers <aldrikboy@gmail.com>2025-10-20 08:29:53 +0200
committerAldrik Ramaekers <aldrikboy@gmail.com>2025-10-20 08:29:53 +0200
commitfdc74456a98fe9076ff5d029b37cdf5fdd18b1d1 (patch)
tree70e5520d8a2a0ae618d5a8df82f01bde66381d98 /tests/test_helper.cpp
parent82f783595f654b62ce57a7cfb537d23efce7affc (diff)
nl tax tests
Diffstat (limited to 'tests/test_helper.cpp')
-rw-r--r--tests/test_helper.cpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/test_helper.cpp b/tests/test_helper.cpp
index 63f64ed..ebc61a3 100644
--- a/tests/test_helper.cpp
+++ b/tests/test_helper.cpp
@@ -179,6 +179,19 @@ static invoice _create_nl_b2b_inv_outgoing()
return inv;
}
+static invoice _create_nl_b2b_inv_incomming()
+{
+ invoice inv = administration::invoice_create_empty();
+ inv.supplier = _create_nl_business();
+ inv.customer = administration::company_info_get();
+ inv.is_outgoing = 0;
+ inv.status = invoice_status::INVOICE_CONCEPT;
+ inv.issued_at = time(NULL);
+ inv.delivered_at = inv.issued_at;
+ inv.expires_at = inv.issued_at + 1000;
+ return inv;
+}
+
static bool _test_peppol_file(char* id)
{
bool result = 1;