From 148fc91b582b90c5e2db753753926f5801a372f7 Mon Sep 17 00:00:00 2001 From: dankito Date: Thu, 14 Nov 2024 20:59:07 +0100 Subject: [PATCH] Fixed setting VatId --- .../main/kotlin/net/codinux/invoicing/mapper/MustangMapper.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/e-invoicing-domain/src/main/kotlin/net/codinux/invoicing/mapper/MustangMapper.kt b/e-invoicing-domain/src/main/kotlin/net/codinux/invoicing/mapper/MustangMapper.kt index 25322ff..29670fc 100644 --- a/e-invoicing-domain/src/main/kotlin/net/codinux/invoicing/mapper/MustangMapper.kt +++ b/e-invoicing-domain/src/main/kotlin/net/codinux/invoicing/mapper/MustangMapper.kt @@ -29,7 +29,7 @@ class MustangMapper { fun mapParty(party: Party): TradeParty = TradeParty( party.name, party.street, party.postalCode, party.city, party.countryIsoCode ).apply { - this.taxID = party.vatId + this.setVATID(party.vatId) // TODO: description? this.email = party.email