summaryrefslogtreecommitdiff
path: root/include/administration.hpp
diff options
context:
space:
mode:
authorAldrik Ramaekers <aldrikboy@gmail.com>2025-09-13 18:47:01 +0200
committerAldrik Ramaekers <aldrikboy@gmail.com>2025-09-13 18:47:01 +0200
commit38019a9693375ac6719ffec43bff63774e142387 (patch)
treee9374df460f7949c93a9dc031f450bffb906f6c2 /include/administration.hpp
parentd8a9d534a5a39fd3d51a6ffaf92fde39a4b4077c (diff)
invoice peppol work
Diffstat (limited to 'include/administration.hpp')
-rw-r--r--include/administration.hpp12
1 files changed, 2 insertions, 10 deletions
diff --git a/include/administration.hpp b/include/administration.hpp
index fe3d7b2..95d4622 100644
--- a/include/administration.hpp
+++ b/include/administration.hpp
@@ -109,18 +109,15 @@ typedef struct
float amount;
bool amount_is_percentage;
char description[MAX_LEN_LONG_DESC];
- float net_per_item;
+ float net_per_item; // Net per item before discount.
float discount;
bool discount_is_percentage;
float allowance; // Total discount.
- float net;
+ float net; // Total net, with discount.
char currency[MAX_LEN_CURRENCY]; // 3 letter code
char tax_bracket_id[MAX_LEN_ID]; // T/[id]
float tax;
float total;
-
- // TODO uninplemented
- char tax_section[MAX_LEN_TAX_SECTION];
} billing_item;
/**
@@ -257,11 +254,6 @@ typedef struct
invoice_status status;
bool is_outgoing; // Outgoing or incomming invoice.
payment_information payment_means;
-
- bool is_intra_community; // TODO uninplemented
- time_t payment_on_account_date; // TODO uninplemented
- char tax_representative[MAX_LEN_LONG_DESC]; // TODO uninplemented
- char corrected_sequential_number[MAX_LEN_ID]; // TODO uninplemented
// Used for forms, not stored on disk. Filled when retrieved.
contact supplier;