b4w export: some more tests

This commit is contained in:
2026-09-06 13:59:17 +02:00
parent d2d7c7fa74
commit edb5a75bf7
3 changed files with 31 additions and 4 deletions
+9 -1
View File
@@ -46,7 +46,15 @@ class B4wExport(BaseModel):
reference: str = Field(alias="RmtInf")
other_name: str = Field(alias="RmtdNm")
other_iban: str = Field(alias="RmtdAcctIBAN")
category: Category | None = Field(alias="Category")
category: Category | None = Field(
alias="Category",
examples=[
"Freizeit",
"Beruf:Gehalt:super Firma",
"Lebenshaltung:Lebensmitteleinkäuft",
"",
],
)
notes: str = Field(alias="Notes")
@property