From e38940f592c267f1fcd6fd6be28d195dbcef4883 Mon Sep 17 00:00:00 2001
From: Andreas Ellewsen <andreas@ellewsen.no>
Date: Tue, 13 Jul 2021 12:10:30 +0200
Subject: [PATCH] Make vouchertype optional

Setra supports vouchertype being optional, so the client should as well.
---
 setra_client/models.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/setra_client/models.py b/setra_client/models.py
index 343285a..1947477 100644
--- a/setra_client/models.py
+++ b/setra_client/models.py
@@ -81,7 +81,7 @@ class InputBatch(BaseModel):
     batchid: str
     period: Optional[int]
     interface: str
-    vouchertype: str
+    vouchertype: Optional[str]
     vouchers: List[Voucher]
 
 
-- 
GitLab