Skip to content

Commit 1bc41a7

Browse files
authored
add: support for multiple bank accounts (#67)
1 parent 263766b commit 1bc41a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drafthorse/models/trade.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ class TradeSettlement(Element):
196196
invoice_currency: TaxApplicableTradeCurrencyExchange = Field(
197197
TaxApplicableTradeCurrencyExchange, profile=EXTENDED
198198
)
199-
payment_means: PaymentMeans = Field(PaymentMeans)
199+
payment_means: Container = MultiField(PaymentMeans, required=False, profile=EXTENDED)
200200
trade_tax: Container = MultiField(ApplicableTradeTax)
201201
period: BillingSpecifiedPeriod = Field(
202202
BillingSpecifiedPeriod, required=False, profile=BASIC

0 commit comments

Comments
 (0)