model updates

This commit is contained in:
Ralph Soika 2025-12-16 13:25:26 +01:00
parent 851519dbbd
commit f90afb959a
9 changed files with 5111 additions and 6 deletions

View file

@ -2,7 +2,10 @@
Invoice
| No | currency | Tax % | Netto | Brutto | Status |
| ---- | -------- | ----- | -------- | ------- | ------ |
| No | currency | Tax % | Netto | Brutto | Imixs | TAXMAN |
| ---- | -------- | ----- | ---------- | ---------- | --------- | ------ |
| 6562 | EUR | 0 | 964,16 | 964,16 | OK |
| 6555 | PLN | 23 | 31820,10 | 40894,7 | OK |
| 6586 | PLN | 23 | 110.146,50 | 141.820,90 | OK |
| 6467 | USD | 0 | 1540,00 | 1540,00 | OK |
| 6567 | EUR | 0 | 9940,96 | 9940,96 | NIP Fehlt |

View file

@ -323,8 +323,10 @@ public class KSeFAdapter implements SignalAdapter {
// if we do NOT have a partner.vat we can not upload the invoice!
String partnerVAT = businessPartner.getItemValueString("partner.vat");
if (partnerVAT.isBlank()) {
throw new PluginException(this.getClass().getName(), BUSINESSPARTNER_ERROR,
"Business Partner ID '" + partnerID + "' does not contain a VAT ID !");
// Just a warning
logger.warning("│ ├── ⚠️ Business Partner ID '" + partnerID + "' does not contain a VAT ID !");
// throw new PluginException(this.getClass().getName(), BUSINESSPARTNER_ERROR,
// "Business Partner ID '" + partnerID + "' does not contain a VAT ID !");
}
workitem.setItemValue("partner.vat", partnerVAT);
tradeParty.setVatNumber(partnerVAT);

File diff suppressed because it is too large Load diff