From 9b9ad9e9db81a4c9bfe7b81c9a41aa24b9999c69 Mon Sep 17 00:00:00 2001 From: gruhn Date: Wed, 29 Jan 2025 18:15:11 +0100 Subject: [PATCH] add: support for multiple bank accounts --- 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