From 55427c68ffc42c9524402f3f585a6bf0f7ee5909 Mon Sep 17 00:00:00 2001 From: dankito Date: Mon, 2 Dec 2024 22:27:56 +0100 Subject: [PATCH] Added logoUrl --- .../src/main/kotlin/net/codinux/invoicing/model/Party.kt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/e-invoice-domain/src/main/kotlin/net/codinux/invoicing/model/Party.kt b/e-invoice-domain/src/main/kotlin/net/codinux/invoicing/model/Party.kt index c9dbbb7..5553dfb 100644 --- a/e-invoice-domain/src/main/kotlin/net/codinux/invoicing/model/Party.kt +++ b/e-invoice-domain/src/main/kotlin/net/codinux/invoicing/model/Party.kt @@ -25,6 +25,12 @@ class Party( // actually there can be multiple bankDetails in eInvoice data model val bankDetails: BankDetails? = null, + + /** + * Currently only used to display the logo of the supplier in generated PDF. There is an element for it in Factur-X + * and XRechnung, but the underlying library doesn't map it. + */ + val logoUrl: String? = null, ) { override fun toString() = "$name, $city" } \ No newline at end of file