From fdc74456a98fe9076ff5d029b37cdf5fdd18b1d1 Mon Sep 17 00:00:00 2001 From: Aldrik Ramaekers Date: Mon, 20 Oct 2025 08:29:53 +0200 Subject: nl tax tests --- tests/test_helper.cpp | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'tests/test_helper.cpp') 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; -- cgit v1.2.3-70-g09d2