...
field | type | comment | |||||
HistoryBusinessModel fields | |||||||
subject | json |
| |||||
recipient sender | json |
| |||||
id | UUID | ||||||
code | str | or reference for the insurance | |||||
code_rcp | str | or reference for the recipient | |||||
code_ext | str | if required for external system integration such as payment systems | |||||
date_due | date | date on which the payment is due | |||||
date_invoice | date | Date of the “invoice“ | |||||
date_from | date | invoice covering service/item from | |||||
date_to | date | invoice covering service/item to | |||||
date_payed | date | Date on which the payment was actually documented as Done | |||||
amount_discount | float | total of the detail discount | |||||
amount_net | float | Total without tax | |||||
tax_analysis | json |
| |||||
amount_total | float | total net + tax total | |||||
status | int | ENUM: draft, validated, payed, cancelled, deleted | |||||
currency_rcp_code | str | currency of the recipient (if different) | |||||
currency_code | str | currency of insurance | |||||
note | bigttext | ||||||
terms | bigttext | conditions |
...