From 1bc41a7732a316df473c0aa1b7189ad0f7ad9949 Mon Sep 17 00:00:00 2001 From: jo47011 Date: Mon, 15 Sep 2025 09:52:24 +0200 Subject: [PATCH] add: support for multiple bank accounts (#67) --- drafthorse/models/trade.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.47.3