From: jo47011 Date: Mon, 15 Sep 2025 07:52:24 +0000 (+0200) Subject: add: support for multiple bank accounts (#67) X-Git-Tag: 2025.2.0~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=1bc41a7732a316df473c0aa1b7189ad0f7ad9949;p=thirdparty%2Fpython-drafthorse.git add: support for multiple bank accounts (#67) --- diff --git a/drafthorse/models/trade.py b/drafthorse/models/trade.py index 75dc566..8afa7f9 100644 --- a/drafthorse/models/trade.py +++ b/drafthorse/models/trade.py @@ -196,7 +196,7 @@ class TradeSettlement(Element): invoice_currency: TaxApplicableTradeCurrencyExchange = Field( TaxApplicableTradeCurrencyExchange, profile=EXTENDED ) - payment_means: PaymentMeans = Field(PaymentMeans) + payment_means: Container = MultiField(PaymentMeans, required=False, profile=EXTENDED) trade_tax: Container = MultiField(ApplicableTradeTax) period: BillingSpecifiedPeriod = Field( BillingSpecifiedPeriod, required=False, profile=BASIC