diff options
| author | Aldrik Ramaekers <aldrikboy@gmail.com> | 2025-10-20 08:29:53 +0200 |
|---|---|---|
| committer | Aldrik Ramaekers <aldrikboy@gmail.com> | 2025-10-20 08:29:53 +0200 |
| commit | fdc74456a98fe9076ff5d029b37cdf5fdd18b1d1 (patch) | |
| tree | 70e5520d8a2a0ae618d5a8df82f01bde66381d98 /tests/test_helper.cpp | |
| parent | 82f783595f654b62ce57a7cfb537d23efce7affc (diff) | |
nl tax tests
Diffstat (limited to 'tests/test_helper.cpp')
| -rw-r--r-- | tests/test_helper.cpp | 13 |
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; |
