diff options
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; |
